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 PyObject
* obj2
= 0 ;
10256 char *kwnames
[] = {
10257 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
10260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10263 arg2
= (int) SWIG_AsInt(obj1
);
10264 if (PyErr_Occurred()) SWIG_fail
;
10265 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPoint
,
10266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10269 (arg1
)->DrawLines(arg2
,arg3
);
10271 wxPyEndAllowThreads(__tstate
);
10272 if (PyErr_Occurred()) SWIG_fail
;
10274 Py_INCREF(Py_None
); resultobj
= Py_None
;
10281 static PyObject
*_wrap_PseudoMetaFile_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10282 PyObject
*resultobj
;
10283 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10285 wxPoint
*arg3
= (wxPoint
*) 0 ;
10286 int arg4
= (int) 0 ;
10287 PyObject
* obj0
= 0 ;
10288 PyObject
* obj1
= 0 ;
10289 PyObject
* obj2
= 0 ;
10290 PyObject
* obj3
= 0 ;
10291 char *kwnames
[] = {
10292 (char *) "self",(char *) "PCOUNT",(char *) "points",(char *) "flags", NULL
10295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoMetaFile_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10298 arg2
= (int) SWIG_AsInt(obj1
);
10299 if (PyErr_Occurred()) SWIG_fail
;
10300 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPoint
,
10301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10303 arg4
= (int) SWIG_AsInt(obj3
);
10304 if (PyErr_Occurred()) SWIG_fail
;
10307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10308 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
);
10310 wxPyEndAllowThreads(__tstate
);
10311 if (PyErr_Occurred()) SWIG_fail
;
10313 Py_INCREF(Py_None
); resultobj
= Py_None
;
10320 static PyObject
*_wrap_PseudoMetaFile_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10321 PyObject
*resultobj
;
10322 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10324 wxPoint
*arg3
= (wxPoint
*) 0 ;
10325 PyObject
* obj0
= 0 ;
10326 PyObject
* obj1
= 0 ;
10327 PyObject
* obj2
= 0 ;
10328 char *kwnames
[] = {
10329 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
10332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_DrawSpline",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10335 arg2
= (int) SWIG_AsInt(obj1
);
10336 if (PyErr_Occurred()) SWIG_fail
;
10337 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPoint
,
10338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10341 (arg1
)->DrawSpline(arg2
,arg3
);
10343 wxPyEndAllowThreads(__tstate
);
10344 if (PyErr_Occurred()) SWIG_fail
;
10346 Py_INCREF(Py_None
); resultobj
= Py_None
;
10353 static PyObject
*_wrap_PseudoMetaFile_SetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10354 PyObject
*resultobj
;
10355 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10358 PyObject
* obj0
= 0 ;
10359 PyObject
* obj1
= 0 ;
10360 char *kwnames
[] = {
10361 (char *) "self",(char *) "rect", NULL
10364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10369 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10373 (arg1
)->SetClippingRect((wxRect
const &)*arg2
);
10375 wxPyEndAllowThreads(__tstate
);
10376 if (PyErr_Occurred()) SWIG_fail
;
10378 Py_INCREF(Py_None
); resultobj
= Py_None
;
10385 static PyObject
*_wrap_PseudoMetaFile_DestroyClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10386 PyObject
*resultobj
;
10387 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10388 PyObject
* obj0
= 0 ;
10389 char *kwnames
[] = {
10390 (char *) "self", NULL
10393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_DestroyClippingRect",kwnames
,&obj0
)) goto fail
;
10394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10398 (arg1
)->DestroyClippingRect();
10400 wxPyEndAllowThreads(__tstate
);
10401 if (PyErr_Occurred()) SWIG_fail
;
10403 Py_INCREF(Py_None
); resultobj
= Py_None
;
10410 static PyObject
*_wrap_PseudoMetaFile_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10411 PyObject
*resultobj
;
10412 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10413 wxPen
*arg2
= (wxPen
*) 0 ;
10414 bool arg3
= (bool) FALSE
;
10415 PyObject
* obj0
= 0 ;
10416 PyObject
* obj1
= 0 ;
10417 PyObject
* obj2
= 0 ;
10418 char *kwnames
[] = {
10419 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
10422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoMetaFile_SetPen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10428 if (obj1
== Py_None
) {
10431 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
10432 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
10437 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
10444 arg3
= (bool) SWIG_AsBool(obj2
);
10445 if (PyErr_Occurred()) SWIG_fail
;
10448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10449 (arg1
)->SetPen(arg2
,arg3
);
10451 wxPyEndAllowThreads(__tstate
);
10452 if (PyErr_Occurred()) SWIG_fail
;
10454 Py_INCREF(Py_None
); resultobj
= Py_None
;
10461 static PyObject
*_wrap_PseudoMetaFile_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10462 PyObject
*resultobj
;
10463 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10464 wxBrush
*arg2
= (wxBrush
*) 0 ;
10465 bool arg3
= (bool) FALSE
;
10466 PyObject
* obj0
= 0 ;
10467 PyObject
* obj1
= 0 ;
10468 PyObject
* obj2
= 0 ;
10469 char *kwnames
[] = {
10470 (char *) "self",(char *) "brush",(char *) "isFill", NULL
10473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoMetaFile_SetBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10479 if (obj1
== Py_None
) {
10482 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxBrush"))) {
10483 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxBrush.");
10488 arg2
= wxTheBrushList
->FindOrCreateBrush(temp
->GetColour(), temp
->GetStyle());
10493 arg3
= (bool) SWIG_AsBool(obj2
);
10494 if (PyErr_Occurred()) SWIG_fail
;
10497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10498 (arg1
)->SetBrush(arg2
,arg3
);
10500 wxPyEndAllowThreads(__tstate
);
10501 if (PyErr_Occurred()) SWIG_fail
;
10503 Py_INCREF(Py_None
); resultobj
= Py_None
;
10510 static PyObject
*_wrap_PseudoMetaFile_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10511 PyObject
*resultobj
;
10512 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10513 wxFont
*arg2
= (wxFont
*) 0 ;
10514 PyObject
* obj0
= 0 ;
10515 PyObject
* obj1
= 0 ;
10516 char *kwnames
[] = {
10517 (char *) "self",(char *) "font", NULL
10520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
10521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10526 if (obj1
== Py_None
) {
10529 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxFont"))) {
10530 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxFont.");
10535 arg2
= wxTheFontList
->FindOrCreateFont(temp
->GetPointSize(),
10539 temp
->GetUnderlined(),
10540 temp
->GetFaceName(),
10541 temp
->GetEncoding());
10546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10547 (arg1
)->SetFont(arg2
);
10549 wxPyEndAllowThreads(__tstate
);
10550 if (PyErr_Occurred()) SWIG_fail
;
10552 Py_INCREF(Py_None
); resultobj
= Py_None
;
10559 static PyObject
*_wrap_PseudoMetaFile_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10560 PyObject
*resultobj
;
10561 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10562 wxColour
*arg2
= 0 ;
10564 PyObject
* obj0
= 0 ;
10565 PyObject
* obj1
= 0 ;
10566 char *kwnames
[] = {
10567 (char *) "self",(char *) "colour", NULL
10570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10575 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10579 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
10581 wxPyEndAllowThreads(__tstate
);
10582 if (PyErr_Occurred()) SWIG_fail
;
10584 Py_INCREF(Py_None
); resultobj
= Py_None
;
10591 static PyObject
*_wrap_PseudoMetaFile_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10592 PyObject
*resultobj
;
10593 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10594 wxColour
*arg2
= 0 ;
10596 PyObject
* obj0
= 0 ;
10597 PyObject
* obj1
= 0 ;
10598 char *kwnames
[] = {
10599 (char *) "self",(char *) "colour", NULL
10602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10607 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10611 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
10613 wxPyEndAllowThreads(__tstate
);
10614 if (PyErr_Occurred()) SWIG_fail
;
10616 Py_INCREF(Py_None
); resultobj
= Py_None
;
10623 static PyObject
*_wrap_PseudoMetaFile_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10624 PyObject
*resultobj
;
10625 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10627 PyObject
* obj0
= 0 ;
10628 PyObject
* obj1
= 0 ;
10629 char *kwnames
[] = {
10630 (char *) "self",(char *) "mode", NULL
10633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
10634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10636 arg2
= (int) SWIG_AsInt(obj1
);
10637 if (PyErr_Occurred()) SWIG_fail
;
10639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10640 (arg1
)->SetBackgroundMode(arg2
);
10642 wxPyEndAllowThreads(__tstate
);
10643 if (PyErr_Occurred()) SWIG_fail
;
10645 Py_INCREF(Py_None
); resultobj
= Py_None
;
10652 static PyObject
* PseudoMetaFile_swigregister(PyObject
*self
, PyObject
*args
) {
10654 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10655 SWIG_TypeClientData(SWIGTYPE_p_wxPseudoMetaFile
, obj
);
10657 return Py_BuildValue((char *)"");
10659 static PyObject
*_wrap_new_PyRectangleShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10660 PyObject
*resultobj
;
10661 double arg1
= (double) 0.0 ;
10662 double arg2
= (double) 0.0 ;
10663 wxPyRectangleShape
*result
;
10664 PyObject
* obj0
= 0 ;
10665 PyObject
* obj1
= 0 ;
10666 char *kwnames
[] = {
10667 (char *) "width",(char *) "height", NULL
10670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyRectangleShape",kwnames
,&obj0
,&obj1
)) goto fail
;
10672 arg1
= (double) SWIG_AsDouble(obj0
);
10673 if (PyErr_Occurred()) SWIG_fail
;
10676 arg2
= (double) SWIG_AsDouble(obj1
);
10677 if (PyErr_Occurred()) SWIG_fail
;
10680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10681 result
= (wxPyRectangleShape
*)new wxPyRectangleShape(arg1
,arg2
);
10683 wxPyEndAllowThreads(__tstate
);
10684 if (PyErr_Occurred()) SWIG_fail
;
10686 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyRectangleShape
, 1);
10693 static PyObject
*_wrap_PyRectangleShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10694 PyObject
*resultobj
;
10695 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10696 PyObject
*arg2
= (PyObject
*) 0 ;
10697 PyObject
*arg3
= (PyObject
*) 0 ;
10698 PyObject
* obj0
= 0 ;
10699 PyObject
* obj1
= 0 ;
10700 PyObject
* obj2
= 0 ;
10701 char *kwnames
[] = {
10702 (char *) "self",(char *) "self",(char *) "_class", NULL
10705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyRectangleShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10712 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10714 wxPyEndAllowThreads(__tstate
);
10715 if (PyErr_Occurred()) SWIG_fail
;
10717 Py_INCREF(Py_None
); resultobj
= Py_None
;
10724 static PyObject
*_wrap_PyRectangleShape_SetCornerRadius(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10725 PyObject
*resultobj
;
10726 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10728 PyObject
* obj0
= 0 ;
10729 PyObject
* obj1
= 0 ;
10730 char *kwnames
[] = {
10731 (char *) "self",(char *) "radius", NULL
10734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_SetCornerRadius",kwnames
,&obj0
,&obj1
)) goto fail
;
10735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10737 arg2
= (double) SWIG_AsDouble(obj1
);
10738 if (PyErr_Occurred()) SWIG_fail
;
10740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10741 (arg1
)->SetCornerRadius(arg2
);
10743 wxPyEndAllowThreads(__tstate
);
10744 if (PyErr_Occurred()) SWIG_fail
;
10746 Py_INCREF(Py_None
); resultobj
= Py_None
;
10753 static PyObject
*_wrap_PyRectangleShape_GetCornerRadius(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10754 PyObject
*resultobj
;
10755 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10757 PyObject
* obj0
= 0 ;
10758 char *kwnames
[] = {
10759 (char *) "self", NULL
10762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyRectangleShape_GetCornerRadius",kwnames
,&obj0
)) goto fail
;
10763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10767 result
= (double)(arg1
)->GetCornerRadius();
10769 wxPyEndAllowThreads(__tstate
);
10770 if (PyErr_Occurred()) SWIG_fail
;
10772 resultobj
= SWIG_FromDouble((double)result
);
10779 static PyObject
*_wrap_PyRectangleShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10780 PyObject
*resultobj
;
10781 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10782 PyObject
* obj0
= 0 ;
10783 char *kwnames
[] = {
10784 (char *) "self", NULL
10787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyRectangleShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
10788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10792 (arg1
)->base_OnDelete();
10794 wxPyEndAllowThreads(__tstate
);
10795 if (PyErr_Occurred()) SWIG_fail
;
10797 Py_INCREF(Py_None
); resultobj
= Py_None
;
10804 static PyObject
*_wrap_PyRectangleShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10805 PyObject
*resultobj
;
10806 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10808 PyObject
* obj0
= 0 ;
10809 PyObject
* obj1
= 0 ;
10810 char *kwnames
[] = {
10811 (char *) "self",(char *) "dc", NULL
10814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
10815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10817 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
10818 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10820 if (arg2
== NULL
) {
10821 PyErr_SetString(PyExc_TypeError
,"null reference");
10825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10826 (arg1
)->base_OnDraw(*arg2
);
10828 wxPyEndAllowThreads(__tstate
);
10829 if (PyErr_Occurred()) SWIG_fail
;
10831 Py_INCREF(Py_None
); resultobj
= Py_None
;
10838 static PyObject
*_wrap_PyRectangleShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10839 PyObject
*resultobj
;
10840 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10842 PyObject
* obj0
= 0 ;
10843 PyObject
* obj1
= 0 ;
10844 char *kwnames
[] = {
10845 (char *) "self",(char *) "dc", NULL
10848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
10849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10851 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
10852 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10854 if (arg2
== NULL
) {
10855 PyErr_SetString(PyExc_TypeError
,"null reference");
10859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10860 (arg1
)->base_OnDrawContents(*arg2
);
10862 wxPyEndAllowThreads(__tstate
);
10863 if (PyErr_Occurred()) SWIG_fail
;
10865 Py_INCREF(Py_None
); resultobj
= Py_None
;
10872 static PyObject
*_wrap_PyRectangleShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10873 PyObject
*resultobj
;
10874 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10876 bool arg3
= (bool) FALSE
;
10877 PyObject
* obj0
= 0 ;
10878 PyObject
* obj1
= 0 ;
10879 PyObject
* obj2
= 0 ;
10880 char *kwnames
[] = {
10881 (char *) "self",(char *) "dc",(char *) "erase", NULL
10884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyRectangleShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10887 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
10888 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10890 if (arg2
== NULL
) {
10891 PyErr_SetString(PyExc_TypeError
,"null reference");
10895 arg3
= (bool) SWIG_AsBool(obj2
);
10896 if (PyErr_Occurred()) SWIG_fail
;
10899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10900 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
10902 wxPyEndAllowThreads(__tstate
);
10903 if (PyErr_Occurred()) SWIG_fail
;
10905 Py_INCREF(Py_None
); resultobj
= Py_None
;
10912 static PyObject
*_wrap_PyRectangleShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10913 PyObject
*resultobj
;
10914 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10916 PyObject
* obj0
= 0 ;
10917 PyObject
* obj1
= 0 ;
10918 char *kwnames
[] = {
10919 (char *) "self",(char *) "dc", NULL
10922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
10923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10925 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
10926 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10928 if (arg2
== NULL
) {
10929 PyErr_SetString(PyExc_TypeError
,"null reference");
10933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10934 (arg1
)->base_OnMoveLinks(*arg2
);
10936 wxPyEndAllowThreads(__tstate
);
10937 if (PyErr_Occurred()) SWIG_fail
;
10939 Py_INCREF(Py_None
); resultobj
= Py_None
;
10946 static PyObject
*_wrap_PyRectangleShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10947 PyObject
*resultobj
;
10948 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10950 PyObject
* obj0
= 0 ;
10951 PyObject
* obj1
= 0 ;
10952 char *kwnames
[] = {
10953 (char *) "self",(char *) "dc", NULL
10956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
10957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10959 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
10960 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10962 if (arg2
== NULL
) {
10963 PyErr_SetString(PyExc_TypeError
,"null reference");
10967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10968 (arg1
)->base_OnErase(*arg2
);
10970 wxPyEndAllowThreads(__tstate
);
10971 if (PyErr_Occurred()) SWIG_fail
;
10973 Py_INCREF(Py_None
); resultobj
= Py_None
;
10980 static PyObject
*_wrap_PyRectangleShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10981 PyObject
*resultobj
;
10982 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10984 PyObject
* obj0
= 0 ;
10985 PyObject
* obj1
= 0 ;
10986 char *kwnames
[] = {
10987 (char *) "self",(char *) "dc", NULL
10990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
10991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10993 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
10994 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10996 if (arg2
== NULL
) {
10997 PyErr_SetString(PyExc_TypeError
,"null reference");
11001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11002 (arg1
)->base_OnEraseContents(*arg2
);
11004 wxPyEndAllowThreads(__tstate
);
11005 if (PyErr_Occurred()) SWIG_fail
;
11007 Py_INCREF(Py_None
); resultobj
= Py_None
;
11014 static PyObject
*_wrap_PyRectangleShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11015 PyObject
*resultobj
;
11016 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11018 PyObject
* obj0
= 0 ;
11019 PyObject
* obj1
= 0 ;
11020 char *kwnames
[] = {
11021 (char *) "self",(char *) "dc", NULL
11024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
11025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11027 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
11028 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11030 if (arg2
== NULL
) {
11031 PyErr_SetString(PyExc_TypeError
,"null reference");
11035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11036 (arg1
)->base_OnHighlight(*arg2
);
11038 wxPyEndAllowThreads(__tstate
);
11039 if (PyErr_Occurred()) SWIG_fail
;
11041 Py_INCREF(Py_None
); resultobj
= Py_None
;
11048 static PyObject
*_wrap_PyRectangleShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11049 PyObject
*resultobj
;
11050 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11053 int arg4
= (int) 0 ;
11054 int arg5
= (int) 0 ;
11055 PyObject
* obj0
= 0 ;
11056 PyObject
* obj1
= 0 ;
11057 PyObject
* obj2
= 0 ;
11058 PyObject
* obj3
= 0 ;
11059 PyObject
* obj4
= 0 ;
11060 char *kwnames
[] = {
11061 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11067 arg2
= (double) SWIG_AsDouble(obj1
);
11068 if (PyErr_Occurred()) SWIG_fail
;
11069 arg3
= (double) SWIG_AsDouble(obj2
);
11070 if (PyErr_Occurred()) SWIG_fail
;
11072 arg4
= (int) SWIG_AsInt(obj3
);
11073 if (PyErr_Occurred()) SWIG_fail
;
11076 arg5
= (int) SWIG_AsInt(obj4
);
11077 if (PyErr_Occurred()) SWIG_fail
;
11080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11081 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
11083 wxPyEndAllowThreads(__tstate
);
11084 if (PyErr_Occurred()) SWIG_fail
;
11086 Py_INCREF(Py_None
); resultobj
= Py_None
;
11093 static PyObject
*_wrap_PyRectangleShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11094 PyObject
*resultobj
;
11095 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11098 int arg4
= (int) 0 ;
11099 int arg5
= (int) 0 ;
11100 PyObject
* obj0
= 0 ;
11101 PyObject
* obj1
= 0 ;
11102 PyObject
* obj2
= 0 ;
11103 PyObject
* obj3
= 0 ;
11104 PyObject
* obj4
= 0 ;
11105 char *kwnames
[] = {
11106 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11112 arg2
= (double) SWIG_AsDouble(obj1
);
11113 if (PyErr_Occurred()) SWIG_fail
;
11114 arg3
= (double) SWIG_AsDouble(obj2
);
11115 if (PyErr_Occurred()) SWIG_fail
;
11117 arg4
= (int) SWIG_AsInt(obj3
);
11118 if (PyErr_Occurred()) SWIG_fail
;
11121 arg5
= (int) SWIG_AsInt(obj4
);
11122 if (PyErr_Occurred()) SWIG_fail
;
11125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11126 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
11128 wxPyEndAllowThreads(__tstate
);
11129 if (PyErr_Occurred()) SWIG_fail
;
11131 Py_INCREF(Py_None
); resultobj
= Py_None
;
11138 static PyObject
*_wrap_PyRectangleShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11139 PyObject
*resultobj
;
11140 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11143 int arg4
= (int) 0 ;
11144 int arg5
= (int) 0 ;
11145 PyObject
* obj0
= 0 ;
11146 PyObject
* obj1
= 0 ;
11147 PyObject
* obj2
= 0 ;
11148 PyObject
* obj3
= 0 ;
11149 PyObject
* obj4
= 0 ;
11150 char *kwnames
[] = {
11151 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11157 arg2
= (double) SWIG_AsDouble(obj1
);
11158 if (PyErr_Occurred()) SWIG_fail
;
11159 arg3
= (double) SWIG_AsDouble(obj2
);
11160 if (PyErr_Occurred()) SWIG_fail
;
11162 arg4
= (int) SWIG_AsInt(obj3
);
11163 if (PyErr_Occurred()) SWIG_fail
;
11166 arg5
= (int) SWIG_AsInt(obj4
);
11167 if (PyErr_Occurred()) SWIG_fail
;
11170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11171 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
11173 wxPyEndAllowThreads(__tstate
);
11174 if (PyErr_Occurred()) SWIG_fail
;
11176 Py_INCREF(Py_None
); resultobj
= Py_None
;
11183 static PyObject
*_wrap_PyRectangleShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11184 PyObject
*resultobj
;
11185 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11188 PyObject
* obj0
= 0 ;
11189 PyObject
* obj1
= 0 ;
11190 PyObject
* obj2
= 0 ;
11191 char *kwnames
[] = {
11192 (char *) "self",(char *) "x",(char *) "y", NULL
11195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyRectangleShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11198 arg2
= (double) SWIG_AsDouble(obj1
);
11199 if (PyErr_Occurred()) SWIG_fail
;
11200 arg3
= (double) SWIG_AsDouble(obj2
);
11201 if (PyErr_Occurred()) SWIG_fail
;
11203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11204 (arg1
)->base_OnSize(arg2
,arg3
);
11206 wxPyEndAllowThreads(__tstate
);
11207 if (PyErr_Occurred()) SWIG_fail
;
11209 Py_INCREF(Py_None
); resultobj
= Py_None
;
11216 static PyObject
*_wrap_PyRectangleShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11217 PyObject
*resultobj
;
11218 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11224 bool arg7
= (bool) True
;
11226 PyObject
* obj0
= 0 ;
11227 PyObject
* obj1
= 0 ;
11228 PyObject
* obj2
= 0 ;
11229 PyObject
* obj3
= 0 ;
11230 PyObject
* obj4
= 0 ;
11231 PyObject
* obj5
= 0 ;
11232 PyObject
* obj6
= 0 ;
11233 char *kwnames
[] = {
11234 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
11237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyRectangleShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11240 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
11241 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11243 if (arg2
== NULL
) {
11244 PyErr_SetString(PyExc_TypeError
,"null reference");
11247 arg3
= (double) SWIG_AsDouble(obj2
);
11248 if (PyErr_Occurred()) SWIG_fail
;
11249 arg4
= (double) SWIG_AsDouble(obj3
);
11250 if (PyErr_Occurred()) SWIG_fail
;
11251 arg5
= (double) SWIG_AsDouble(obj4
);
11252 if (PyErr_Occurred()) SWIG_fail
;
11253 arg6
= (double) SWIG_AsDouble(obj5
);
11254 if (PyErr_Occurred()) SWIG_fail
;
11256 arg7
= (bool) SWIG_AsBool(obj6
);
11257 if (PyErr_Occurred()) SWIG_fail
;
11260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11261 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11263 wxPyEndAllowThreads(__tstate
);
11264 if (PyErr_Occurred()) SWIG_fail
;
11267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11275 static PyObject
*_wrap_PyRectangleShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11276 PyObject
*resultobj
;
11277 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11283 bool arg7
= (bool) True
;
11284 PyObject
* obj0
= 0 ;
11285 PyObject
* obj1
= 0 ;
11286 PyObject
* obj2
= 0 ;
11287 PyObject
* obj3
= 0 ;
11288 PyObject
* obj4
= 0 ;
11289 PyObject
* obj5
= 0 ;
11290 PyObject
* obj6
= 0 ;
11291 char *kwnames
[] = {
11292 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
11295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyRectangleShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11298 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
11299 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11301 if (arg2
== NULL
) {
11302 PyErr_SetString(PyExc_TypeError
,"null reference");
11305 arg3
= (double) SWIG_AsDouble(obj2
);
11306 if (PyErr_Occurred()) SWIG_fail
;
11307 arg4
= (double) SWIG_AsDouble(obj3
);
11308 if (PyErr_Occurred()) SWIG_fail
;
11309 arg5
= (double) SWIG_AsDouble(obj4
);
11310 if (PyErr_Occurred()) SWIG_fail
;
11311 arg6
= (double) SWIG_AsDouble(obj5
);
11312 if (PyErr_Occurred()) SWIG_fail
;
11314 arg7
= (bool) SWIG_AsBool(obj6
);
11315 if (PyErr_Occurred()) SWIG_fail
;
11318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11319 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11321 wxPyEndAllowThreads(__tstate
);
11322 if (PyErr_Occurred()) SWIG_fail
;
11324 Py_INCREF(Py_None
); resultobj
= Py_None
;
11331 static PyObject
*_wrap_PyRectangleShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11332 PyObject
*resultobj
;
11333 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11337 int arg5
= (int) 0 ;
11338 int arg6
= (int) 0 ;
11339 PyObject
* obj0
= 0 ;
11340 PyObject
* obj1
= 0 ;
11341 PyObject
* obj2
= 0 ;
11342 PyObject
* obj3
= 0 ;
11343 PyObject
* obj4
= 0 ;
11344 PyObject
* obj5
= 0 ;
11345 char *kwnames
[] = {
11346 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyRectangleShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11352 arg2
= (bool) SWIG_AsBool(obj1
);
11353 if (PyErr_Occurred()) SWIG_fail
;
11354 arg3
= (double) SWIG_AsDouble(obj2
);
11355 if (PyErr_Occurred()) SWIG_fail
;
11356 arg4
= (double) SWIG_AsDouble(obj3
);
11357 if (PyErr_Occurred()) SWIG_fail
;
11359 arg5
= (int) SWIG_AsInt(obj4
);
11360 if (PyErr_Occurred()) SWIG_fail
;
11363 arg6
= (int) SWIG_AsInt(obj5
);
11364 if (PyErr_Occurred()) SWIG_fail
;
11367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11368 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
11370 wxPyEndAllowThreads(__tstate
);
11371 if (PyErr_Occurred()) SWIG_fail
;
11373 Py_INCREF(Py_None
); resultobj
= Py_None
;
11380 static PyObject
*_wrap_PyRectangleShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11381 PyObject
*resultobj
;
11382 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11385 int arg4
= (int) 0 ;
11386 int arg5
= (int) 0 ;
11387 PyObject
* obj0
= 0 ;
11388 PyObject
* obj1
= 0 ;
11389 PyObject
* obj2
= 0 ;
11390 PyObject
* obj3
= 0 ;
11391 PyObject
* obj4
= 0 ;
11392 char *kwnames
[] = {
11393 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11399 arg2
= (double) SWIG_AsDouble(obj1
);
11400 if (PyErr_Occurred()) SWIG_fail
;
11401 arg3
= (double) SWIG_AsDouble(obj2
);
11402 if (PyErr_Occurred()) SWIG_fail
;
11404 arg4
= (int) SWIG_AsInt(obj3
);
11405 if (PyErr_Occurred()) SWIG_fail
;
11408 arg5
= (int) SWIG_AsInt(obj4
);
11409 if (PyErr_Occurred()) SWIG_fail
;
11412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11413 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
11415 wxPyEndAllowThreads(__tstate
);
11416 if (PyErr_Occurred()) SWIG_fail
;
11418 Py_INCREF(Py_None
); resultobj
= Py_None
;
11425 static PyObject
*_wrap_PyRectangleShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11426 PyObject
*resultobj
;
11427 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11430 int arg4
= (int) 0 ;
11431 int arg5
= (int) 0 ;
11432 PyObject
* obj0
= 0 ;
11433 PyObject
* obj1
= 0 ;
11434 PyObject
* obj2
= 0 ;
11435 PyObject
* obj3
= 0 ;
11436 PyObject
* obj4
= 0 ;
11437 char *kwnames
[] = {
11438 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11444 arg2
= (double) SWIG_AsDouble(obj1
);
11445 if (PyErr_Occurred()) SWIG_fail
;
11446 arg3
= (double) SWIG_AsDouble(obj2
);
11447 if (PyErr_Occurred()) SWIG_fail
;
11449 arg4
= (int) SWIG_AsInt(obj3
);
11450 if (PyErr_Occurred()) SWIG_fail
;
11453 arg5
= (int) SWIG_AsInt(obj4
);
11454 if (PyErr_Occurred()) SWIG_fail
;
11457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11458 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
11460 wxPyEndAllowThreads(__tstate
);
11461 if (PyErr_Occurred()) SWIG_fail
;
11463 Py_INCREF(Py_None
); resultobj
= Py_None
;
11470 static PyObject
*_wrap_PyRectangleShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11471 PyObject
*resultobj
;
11472 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11476 int arg5
= (int) 0 ;
11477 int arg6
= (int) 0 ;
11478 PyObject
* obj0
= 0 ;
11479 PyObject
* obj1
= 0 ;
11480 PyObject
* obj2
= 0 ;
11481 PyObject
* obj3
= 0 ;
11482 PyObject
* obj4
= 0 ;
11483 PyObject
* obj5
= 0 ;
11484 char *kwnames
[] = {
11485 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyRectangleShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11491 arg2
= (bool) SWIG_AsBool(obj1
);
11492 if (PyErr_Occurred()) SWIG_fail
;
11493 arg3
= (double) SWIG_AsDouble(obj2
);
11494 if (PyErr_Occurred()) SWIG_fail
;
11495 arg4
= (double) SWIG_AsDouble(obj3
);
11496 if (PyErr_Occurred()) SWIG_fail
;
11498 arg5
= (int) SWIG_AsInt(obj4
);
11499 if (PyErr_Occurred()) SWIG_fail
;
11502 arg6
= (int) SWIG_AsInt(obj5
);
11503 if (PyErr_Occurred()) SWIG_fail
;
11506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11507 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
11509 wxPyEndAllowThreads(__tstate
);
11510 if (PyErr_Occurred()) SWIG_fail
;
11512 Py_INCREF(Py_None
); resultobj
= Py_None
;
11519 static PyObject
*_wrap_PyRectangleShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11520 PyObject
*resultobj
;
11521 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11524 int arg4
= (int) 0 ;
11525 int arg5
= (int) 0 ;
11526 PyObject
* obj0
= 0 ;
11527 PyObject
* obj1
= 0 ;
11528 PyObject
* obj2
= 0 ;
11529 PyObject
* obj3
= 0 ;
11530 PyObject
* obj4
= 0 ;
11531 char *kwnames
[] = {
11532 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11538 arg2
= (double) SWIG_AsDouble(obj1
);
11539 if (PyErr_Occurred()) SWIG_fail
;
11540 arg3
= (double) SWIG_AsDouble(obj2
);
11541 if (PyErr_Occurred()) SWIG_fail
;
11543 arg4
= (int) SWIG_AsInt(obj3
);
11544 if (PyErr_Occurred()) SWIG_fail
;
11547 arg5
= (int) SWIG_AsInt(obj4
);
11548 if (PyErr_Occurred()) SWIG_fail
;
11551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11552 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
11554 wxPyEndAllowThreads(__tstate
);
11555 if (PyErr_Occurred()) SWIG_fail
;
11557 Py_INCREF(Py_None
); resultobj
= Py_None
;
11564 static PyObject
*_wrap_PyRectangleShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11565 PyObject
*resultobj
;
11566 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11569 int arg4
= (int) 0 ;
11570 int arg5
= (int) 0 ;
11571 PyObject
* obj0
= 0 ;
11572 PyObject
* obj1
= 0 ;
11573 PyObject
* obj2
= 0 ;
11574 PyObject
* obj3
= 0 ;
11575 PyObject
* obj4
= 0 ;
11576 char *kwnames
[] = {
11577 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11583 arg2
= (double) SWIG_AsDouble(obj1
);
11584 if (PyErr_Occurred()) SWIG_fail
;
11585 arg3
= (double) SWIG_AsDouble(obj2
);
11586 if (PyErr_Occurred()) SWIG_fail
;
11588 arg4
= (int) SWIG_AsInt(obj3
);
11589 if (PyErr_Occurred()) SWIG_fail
;
11592 arg5
= (int) SWIG_AsInt(obj4
);
11593 if (PyErr_Occurred()) SWIG_fail
;
11596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11597 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
11599 wxPyEndAllowThreads(__tstate
);
11600 if (PyErr_Occurred()) SWIG_fail
;
11602 Py_INCREF(Py_None
); resultobj
= Py_None
;
11609 static PyObject
*_wrap_PyRectangleShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11610 PyObject
*resultobj
;
11611 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11617 PyObject
* obj0
= 0 ;
11618 PyObject
* obj1
= 0 ;
11619 PyObject
* obj2
= 0 ;
11620 PyObject
* obj3
= 0 ;
11621 PyObject
* obj4
= 0 ;
11622 PyObject
* obj5
= 0 ;
11623 char *kwnames
[] = {
11624 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
11627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyRectangleShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11630 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
11631 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11633 if (arg2
== NULL
) {
11634 PyErr_SetString(PyExc_TypeError
,"null reference");
11637 arg3
= (double) SWIG_AsDouble(obj2
);
11638 if (PyErr_Occurred()) SWIG_fail
;
11639 arg4
= (double) SWIG_AsDouble(obj3
);
11640 if (PyErr_Occurred()) SWIG_fail
;
11641 arg5
= (double) SWIG_AsDouble(obj4
);
11642 if (PyErr_Occurred()) SWIG_fail
;
11643 arg6
= (double) SWIG_AsDouble(obj5
);
11644 if (PyErr_Occurred()) SWIG_fail
;
11646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11647 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
11649 wxPyEndAllowThreads(__tstate
);
11650 if (PyErr_Occurred()) SWIG_fail
;
11652 Py_INCREF(Py_None
); resultobj
= Py_None
;
11659 static PyObject
*_wrap_PyRectangleShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11660 PyObject
*resultobj
;
11661 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11663 PyObject
* obj0
= 0 ;
11664 PyObject
* obj1
= 0 ;
11665 char *kwnames
[] = {
11666 (char *) "self",(char *) "dc", NULL
11669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
11670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11672 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
11673 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11675 if (arg2
== NULL
) {
11676 PyErr_SetString(PyExc_TypeError
,"null reference");
11680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11681 (arg1
)->base_OnDrawControlPoints(*arg2
);
11683 wxPyEndAllowThreads(__tstate
);
11684 if (PyErr_Occurred()) SWIG_fail
;
11686 Py_INCREF(Py_None
); resultobj
= Py_None
;
11693 static PyObject
*_wrap_PyRectangleShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11694 PyObject
*resultobj
;
11695 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11697 PyObject
* obj0
= 0 ;
11698 PyObject
* obj1
= 0 ;
11699 char *kwnames
[] = {
11700 (char *) "self",(char *) "dc", NULL
11703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
11704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11706 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
11707 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11709 if (arg2
== NULL
) {
11710 PyErr_SetString(PyExc_TypeError
,"null reference");
11714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11715 (arg1
)->base_OnEraseControlPoints(*arg2
);
11717 wxPyEndAllowThreads(__tstate
);
11718 if (PyErr_Occurred()) SWIG_fail
;
11720 Py_INCREF(Py_None
); resultobj
= Py_None
;
11727 static PyObject
*_wrap_PyRectangleShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11728 PyObject
*resultobj
;
11729 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11731 bool arg3
= (bool) True
;
11732 PyObject
* obj0
= 0 ;
11733 PyObject
* obj1
= 0 ;
11734 PyObject
* obj2
= 0 ;
11735 char *kwnames
[] = {
11736 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
11739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyRectangleShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11742 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
11743 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11745 if (arg2
== NULL
) {
11746 PyErr_SetString(PyExc_TypeError
,"null reference");
11750 arg3
= (bool) SWIG_AsBool(obj2
);
11751 if (PyErr_Occurred()) SWIG_fail
;
11754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11755 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
11757 wxPyEndAllowThreads(__tstate
);
11758 if (PyErr_Occurred()) SWIG_fail
;
11760 Py_INCREF(Py_None
); resultobj
= Py_None
;
11767 static PyObject
*_wrap_PyRectangleShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11768 PyObject
*resultobj
;
11769 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11770 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
11774 int arg6
= (int) 0 ;
11775 int arg7
= (int) 0 ;
11776 PyObject
* obj0
= 0 ;
11777 PyObject
* obj1
= 0 ;
11778 PyObject
* obj2
= 0 ;
11779 PyObject
* obj3
= 0 ;
11780 PyObject
* obj4
= 0 ;
11781 PyObject
* obj5
= 0 ;
11782 PyObject
* obj6
= 0 ;
11783 char *kwnames
[] = {
11784 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyRectangleShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11790 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
11791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11792 arg3
= (bool) SWIG_AsBool(obj2
);
11793 if (PyErr_Occurred()) SWIG_fail
;
11794 arg4
= (double) SWIG_AsDouble(obj3
);
11795 if (PyErr_Occurred()) SWIG_fail
;
11796 arg5
= (double) SWIG_AsDouble(obj4
);
11797 if (PyErr_Occurred()) SWIG_fail
;
11799 arg6
= (int) SWIG_AsInt(obj5
);
11800 if (PyErr_Occurred()) SWIG_fail
;
11803 arg7
= (int) SWIG_AsInt(obj6
);
11804 if (PyErr_Occurred()) SWIG_fail
;
11807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11808 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11810 wxPyEndAllowThreads(__tstate
);
11811 if (PyErr_Occurred()) SWIG_fail
;
11813 Py_INCREF(Py_None
); resultobj
= Py_None
;
11820 static PyObject
*_wrap_PyRectangleShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11821 PyObject
*resultobj
;
11822 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11823 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
11826 int arg5
= (int) 0 ;
11827 int arg6
= (int) 0 ;
11828 PyObject
* obj0
= 0 ;
11829 PyObject
* obj1
= 0 ;
11830 PyObject
* obj2
= 0 ;
11831 PyObject
* obj3
= 0 ;
11832 PyObject
* obj4
= 0 ;
11833 PyObject
* obj5
= 0 ;
11834 char *kwnames
[] = {
11835 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyRectangleShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11841 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
11842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11843 arg3
= (double) SWIG_AsDouble(obj2
);
11844 if (PyErr_Occurred()) SWIG_fail
;
11845 arg4
= (double) SWIG_AsDouble(obj3
);
11846 if (PyErr_Occurred()) SWIG_fail
;
11848 arg5
= (int) SWIG_AsInt(obj4
);
11849 if (PyErr_Occurred()) SWIG_fail
;
11852 arg6
= (int) SWIG_AsInt(obj5
);
11853 if (PyErr_Occurred()) SWIG_fail
;
11856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11857 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
11859 wxPyEndAllowThreads(__tstate
);
11860 if (PyErr_Occurred()) SWIG_fail
;
11862 Py_INCREF(Py_None
); resultobj
= Py_None
;
11869 static PyObject
*_wrap_PyRectangleShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11870 PyObject
*resultobj
;
11871 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11872 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
11875 int arg5
= (int) 0 ;
11876 int arg6
= (int) 0 ;
11877 PyObject
* obj0
= 0 ;
11878 PyObject
* obj1
= 0 ;
11879 PyObject
* obj2
= 0 ;
11880 PyObject
* obj3
= 0 ;
11881 PyObject
* obj4
= 0 ;
11882 PyObject
* obj5
= 0 ;
11883 char *kwnames
[] = {
11884 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyRectangleShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11890 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
11891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11892 arg3
= (double) SWIG_AsDouble(obj2
);
11893 if (PyErr_Occurred()) SWIG_fail
;
11894 arg4
= (double) SWIG_AsDouble(obj3
);
11895 if (PyErr_Occurred()) SWIG_fail
;
11897 arg5
= (int) SWIG_AsInt(obj4
);
11898 if (PyErr_Occurred()) SWIG_fail
;
11901 arg6
= (int) SWIG_AsInt(obj5
);
11902 if (PyErr_Occurred()) SWIG_fail
;
11905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11906 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
11908 wxPyEndAllowThreads(__tstate
);
11909 if (PyErr_Occurred()) SWIG_fail
;
11911 Py_INCREF(Py_None
); resultobj
= Py_None
;
11918 static PyObject
*_wrap_PyRectangleShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11919 PyObject
*resultobj
;
11920 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11923 PyObject
* obj0
= 0 ;
11924 PyObject
* obj1
= 0 ;
11925 PyObject
* obj2
= 0 ;
11926 char *kwnames
[] = {
11927 (char *) "self",(char *) "w",(char *) "h", NULL
11930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyRectangleShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11933 arg2
= (double) SWIG_AsDouble(obj1
);
11934 if (PyErr_Occurred()) SWIG_fail
;
11935 arg3
= (double) SWIG_AsDouble(obj2
);
11936 if (PyErr_Occurred()) SWIG_fail
;
11938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11939 (arg1
)->base_OnBeginSize(arg2
,arg3
);
11941 wxPyEndAllowThreads(__tstate
);
11942 if (PyErr_Occurred()) SWIG_fail
;
11944 Py_INCREF(Py_None
); resultobj
= Py_None
;
11951 static PyObject
*_wrap_PyRectangleShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11952 PyObject
*resultobj
;
11953 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11956 PyObject
* obj0
= 0 ;
11957 PyObject
* obj1
= 0 ;
11958 PyObject
* obj2
= 0 ;
11959 char *kwnames
[] = {
11960 (char *) "self",(char *) "w",(char *) "h", NULL
11963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyRectangleShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11966 arg2
= (double) SWIG_AsDouble(obj1
);
11967 if (PyErr_Occurred()) SWIG_fail
;
11968 arg3
= (double) SWIG_AsDouble(obj2
);
11969 if (PyErr_Occurred()) SWIG_fail
;
11971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11972 (arg1
)->base_OnEndSize(arg2
,arg3
);
11974 wxPyEndAllowThreads(__tstate
);
11975 if (PyErr_Occurred()) SWIG_fail
;
11977 Py_INCREF(Py_None
); resultobj
= Py_None
;
11984 static PyObject
* PyRectangleShape_swigregister(PyObject
*self
, PyObject
*args
) {
11986 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11987 SWIG_TypeClientData(SWIGTYPE_p_wxPyRectangleShape
, obj
);
11989 return Py_BuildValue((char *)"");
11991 static PyObject
*_wrap_new_PyControlPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11992 PyObject
*resultobj
;
11993 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) NULL
;
11994 wxPyShape
*arg2
= (wxPyShape
*) NULL
;
11995 double arg3
= (double) 0.0 ;
11996 double arg4
= (double) 0.0 ;
11997 double arg5
= (double) 0.0 ;
11998 int arg6
= (int) 0 ;
11999 wxPyControlPoint
*result
;
12000 PyObject
* obj0
= 0 ;
12001 PyObject
* obj1
= 0 ;
12002 PyObject
* obj2
= 0 ;
12003 PyObject
* obj3
= 0 ;
12004 PyObject
* obj4
= 0 ;
12005 PyObject
* obj5
= 0 ;
12006 char *kwnames
[] = {
12007 (char *) "the_canvas",(char *) "object",(char *) "size",(char *) "the_xoffset",(char *) "the_yoffset",(char *) "the_type", NULL
12010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_PyControlPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
12013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12016 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
12017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12020 arg3
= (double) SWIG_AsDouble(obj2
);
12021 if (PyErr_Occurred()) SWIG_fail
;
12024 arg4
= (double) SWIG_AsDouble(obj3
);
12025 if (PyErr_Occurred()) SWIG_fail
;
12028 arg5
= (double) SWIG_AsDouble(obj4
);
12029 if (PyErr_Occurred()) SWIG_fail
;
12032 arg6
= (int) SWIG_AsInt(obj5
);
12033 if (PyErr_Occurred()) SWIG_fail
;
12036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12037 result
= (wxPyControlPoint
*)new wxPyControlPoint(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
12039 wxPyEndAllowThreads(__tstate
);
12040 if (PyErr_Occurred()) SWIG_fail
;
12042 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControlPoint
, 1);
12049 static PyObject
*_wrap_PyControlPoint__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12050 PyObject
*resultobj
;
12051 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12052 PyObject
*arg2
= (PyObject
*) 0 ;
12053 PyObject
*arg3
= (PyObject
*) 0 ;
12054 PyObject
* obj0
= 0 ;
12055 PyObject
* obj1
= 0 ;
12056 PyObject
* obj2
= 0 ;
12057 char *kwnames
[] = {
12058 (char *) "self",(char *) "self",(char *) "_class", NULL
12061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControlPoint__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12068 (arg1
)->_setCallbackInfo(arg2
,arg3
);
12070 wxPyEndAllowThreads(__tstate
);
12071 if (PyErr_Occurred()) SWIG_fail
;
12073 Py_INCREF(Py_None
); resultobj
= Py_None
;
12080 static PyObject
*_wrap_PyControlPoint_SetCornerRadius(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12081 PyObject
*resultobj
;
12082 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12084 PyObject
* obj0
= 0 ;
12085 PyObject
* obj1
= 0 ;
12086 char *kwnames
[] = {
12087 (char *) "self",(char *) "radius", NULL
12090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_SetCornerRadius",kwnames
,&obj0
,&obj1
)) goto fail
;
12091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12093 arg2
= (double) SWIG_AsDouble(obj1
);
12094 if (PyErr_Occurred()) SWIG_fail
;
12096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12097 (arg1
)->SetCornerRadius(arg2
);
12099 wxPyEndAllowThreads(__tstate
);
12100 if (PyErr_Occurred()) SWIG_fail
;
12102 Py_INCREF(Py_None
); resultobj
= Py_None
;
12109 static PyObject
*_wrap_PyControlPoint_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12110 PyObject
*resultobj
;
12111 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12112 PyObject
* obj0
= 0 ;
12113 char *kwnames
[] = {
12114 (char *) "self", NULL
12117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControlPoint_base_OnDelete",kwnames
,&obj0
)) goto fail
;
12118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12122 (arg1
)->base_OnDelete();
12124 wxPyEndAllowThreads(__tstate
);
12125 if (PyErr_Occurred()) SWIG_fail
;
12127 Py_INCREF(Py_None
); resultobj
= Py_None
;
12134 static PyObject
*_wrap_PyControlPoint_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12135 PyObject
*resultobj
;
12136 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12138 PyObject
* obj0
= 0 ;
12139 PyObject
* obj1
= 0 ;
12140 char *kwnames
[] = {
12141 (char *) "self",(char *) "dc", NULL
12144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
12145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12147 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12148 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12150 if (arg2
== NULL
) {
12151 PyErr_SetString(PyExc_TypeError
,"null reference");
12155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12156 (arg1
)->base_OnDraw(*arg2
);
12158 wxPyEndAllowThreads(__tstate
);
12159 if (PyErr_Occurred()) SWIG_fail
;
12161 Py_INCREF(Py_None
); resultobj
= Py_None
;
12168 static PyObject
*_wrap_PyControlPoint_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12169 PyObject
*resultobj
;
12170 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12172 PyObject
* obj0
= 0 ;
12173 PyObject
* obj1
= 0 ;
12174 char *kwnames
[] = {
12175 (char *) "self",(char *) "dc", NULL
12178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
12179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12181 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12182 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12184 if (arg2
== NULL
) {
12185 PyErr_SetString(PyExc_TypeError
,"null reference");
12189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12190 (arg1
)->base_OnDrawContents(*arg2
);
12192 wxPyEndAllowThreads(__tstate
);
12193 if (PyErr_Occurred()) SWIG_fail
;
12195 Py_INCREF(Py_None
); resultobj
= Py_None
;
12202 static PyObject
*_wrap_PyControlPoint_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12203 PyObject
*resultobj
;
12204 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12206 bool arg3
= (bool) FALSE
;
12207 PyObject
* obj0
= 0 ;
12208 PyObject
* obj1
= 0 ;
12209 PyObject
* obj2
= 0 ;
12210 char *kwnames
[] = {
12211 (char *) "self",(char *) "dc",(char *) "erase", NULL
12214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyControlPoint_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12217 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12218 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12220 if (arg2
== NULL
) {
12221 PyErr_SetString(PyExc_TypeError
,"null reference");
12225 arg3
= (bool) SWIG_AsBool(obj2
);
12226 if (PyErr_Occurred()) SWIG_fail
;
12229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12230 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
12232 wxPyEndAllowThreads(__tstate
);
12233 if (PyErr_Occurred()) SWIG_fail
;
12235 Py_INCREF(Py_None
); resultobj
= Py_None
;
12242 static PyObject
*_wrap_PyControlPoint_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12243 PyObject
*resultobj
;
12244 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12246 PyObject
* obj0
= 0 ;
12247 PyObject
* obj1
= 0 ;
12248 char *kwnames
[] = {
12249 (char *) "self",(char *) "dc", NULL
12252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
12253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12255 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12256 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12258 if (arg2
== NULL
) {
12259 PyErr_SetString(PyExc_TypeError
,"null reference");
12263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12264 (arg1
)->base_OnMoveLinks(*arg2
);
12266 wxPyEndAllowThreads(__tstate
);
12267 if (PyErr_Occurred()) SWIG_fail
;
12269 Py_INCREF(Py_None
); resultobj
= Py_None
;
12276 static PyObject
*_wrap_PyControlPoint_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12277 PyObject
*resultobj
;
12278 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12280 PyObject
* obj0
= 0 ;
12281 PyObject
* obj1
= 0 ;
12282 char *kwnames
[] = {
12283 (char *) "self",(char *) "dc", NULL
12286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
12287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12289 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12290 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12292 if (arg2
== NULL
) {
12293 PyErr_SetString(PyExc_TypeError
,"null reference");
12297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12298 (arg1
)->base_OnErase(*arg2
);
12300 wxPyEndAllowThreads(__tstate
);
12301 if (PyErr_Occurred()) SWIG_fail
;
12303 Py_INCREF(Py_None
); resultobj
= Py_None
;
12310 static PyObject
*_wrap_PyControlPoint_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12311 PyObject
*resultobj
;
12312 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12314 PyObject
* obj0
= 0 ;
12315 PyObject
* obj1
= 0 ;
12316 char *kwnames
[] = {
12317 (char *) "self",(char *) "dc", NULL
12320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
12321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12323 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12324 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12326 if (arg2
== NULL
) {
12327 PyErr_SetString(PyExc_TypeError
,"null reference");
12331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12332 (arg1
)->base_OnEraseContents(*arg2
);
12334 wxPyEndAllowThreads(__tstate
);
12335 if (PyErr_Occurred()) SWIG_fail
;
12337 Py_INCREF(Py_None
); resultobj
= Py_None
;
12344 static PyObject
*_wrap_PyControlPoint_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12345 PyObject
*resultobj
;
12346 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12348 PyObject
* obj0
= 0 ;
12349 PyObject
* obj1
= 0 ;
12350 char *kwnames
[] = {
12351 (char *) "self",(char *) "dc", NULL
12354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
12355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12357 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12358 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12360 if (arg2
== NULL
) {
12361 PyErr_SetString(PyExc_TypeError
,"null reference");
12365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12366 (arg1
)->base_OnHighlight(*arg2
);
12368 wxPyEndAllowThreads(__tstate
);
12369 if (PyErr_Occurred()) SWIG_fail
;
12371 Py_INCREF(Py_None
); resultobj
= Py_None
;
12378 static PyObject
*_wrap_PyControlPoint_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12379 PyObject
*resultobj
;
12380 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12383 int arg4
= (int) 0 ;
12384 int arg5
= (int) 0 ;
12385 PyObject
* obj0
= 0 ;
12386 PyObject
* obj1
= 0 ;
12387 PyObject
* obj2
= 0 ;
12388 PyObject
* obj3
= 0 ;
12389 PyObject
* obj4
= 0 ;
12390 char *kwnames
[] = {
12391 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12397 arg2
= (double) SWIG_AsDouble(obj1
);
12398 if (PyErr_Occurred()) SWIG_fail
;
12399 arg3
= (double) SWIG_AsDouble(obj2
);
12400 if (PyErr_Occurred()) SWIG_fail
;
12402 arg4
= (int) SWIG_AsInt(obj3
);
12403 if (PyErr_Occurred()) SWIG_fail
;
12406 arg5
= (int) SWIG_AsInt(obj4
);
12407 if (PyErr_Occurred()) SWIG_fail
;
12410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12411 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
12413 wxPyEndAllowThreads(__tstate
);
12414 if (PyErr_Occurred()) SWIG_fail
;
12416 Py_INCREF(Py_None
); resultobj
= Py_None
;
12423 static PyObject
*_wrap_PyControlPoint_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12424 PyObject
*resultobj
;
12425 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12428 int arg4
= (int) 0 ;
12429 int arg5
= (int) 0 ;
12430 PyObject
* obj0
= 0 ;
12431 PyObject
* obj1
= 0 ;
12432 PyObject
* obj2
= 0 ;
12433 PyObject
* obj3
= 0 ;
12434 PyObject
* obj4
= 0 ;
12435 char *kwnames
[] = {
12436 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12442 arg2
= (double) SWIG_AsDouble(obj1
);
12443 if (PyErr_Occurred()) SWIG_fail
;
12444 arg3
= (double) SWIG_AsDouble(obj2
);
12445 if (PyErr_Occurred()) SWIG_fail
;
12447 arg4
= (int) SWIG_AsInt(obj3
);
12448 if (PyErr_Occurred()) SWIG_fail
;
12451 arg5
= (int) SWIG_AsInt(obj4
);
12452 if (PyErr_Occurred()) SWIG_fail
;
12455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12456 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
12458 wxPyEndAllowThreads(__tstate
);
12459 if (PyErr_Occurred()) SWIG_fail
;
12461 Py_INCREF(Py_None
); resultobj
= Py_None
;
12468 static PyObject
*_wrap_PyControlPoint_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12469 PyObject
*resultobj
;
12470 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12473 int arg4
= (int) 0 ;
12474 int arg5
= (int) 0 ;
12475 PyObject
* obj0
= 0 ;
12476 PyObject
* obj1
= 0 ;
12477 PyObject
* obj2
= 0 ;
12478 PyObject
* obj3
= 0 ;
12479 PyObject
* obj4
= 0 ;
12480 char *kwnames
[] = {
12481 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12487 arg2
= (double) SWIG_AsDouble(obj1
);
12488 if (PyErr_Occurred()) SWIG_fail
;
12489 arg3
= (double) SWIG_AsDouble(obj2
);
12490 if (PyErr_Occurred()) SWIG_fail
;
12492 arg4
= (int) SWIG_AsInt(obj3
);
12493 if (PyErr_Occurred()) SWIG_fail
;
12496 arg5
= (int) SWIG_AsInt(obj4
);
12497 if (PyErr_Occurred()) SWIG_fail
;
12500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12501 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
12503 wxPyEndAllowThreads(__tstate
);
12504 if (PyErr_Occurred()) SWIG_fail
;
12506 Py_INCREF(Py_None
); resultobj
= Py_None
;
12513 static PyObject
*_wrap_PyControlPoint_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12514 PyObject
*resultobj
;
12515 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12518 PyObject
* obj0
= 0 ;
12519 PyObject
* obj1
= 0 ;
12520 PyObject
* obj2
= 0 ;
12521 char *kwnames
[] = {
12522 (char *) "self",(char *) "x",(char *) "y", NULL
12525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControlPoint_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12528 arg2
= (double) SWIG_AsDouble(obj1
);
12529 if (PyErr_Occurred()) SWIG_fail
;
12530 arg3
= (double) SWIG_AsDouble(obj2
);
12531 if (PyErr_Occurred()) SWIG_fail
;
12533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12534 (arg1
)->base_OnSize(arg2
,arg3
);
12536 wxPyEndAllowThreads(__tstate
);
12537 if (PyErr_Occurred()) SWIG_fail
;
12539 Py_INCREF(Py_None
); resultobj
= Py_None
;
12546 static PyObject
*_wrap_PyControlPoint_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12547 PyObject
*resultobj
;
12548 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12554 bool arg7
= (bool) True
;
12556 PyObject
* obj0
= 0 ;
12557 PyObject
* obj1
= 0 ;
12558 PyObject
* obj2
= 0 ;
12559 PyObject
* obj3
= 0 ;
12560 PyObject
* obj4
= 0 ;
12561 PyObject
* obj5
= 0 ;
12562 PyObject
* obj6
= 0 ;
12563 char *kwnames
[] = {
12564 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
12567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyControlPoint_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12570 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12571 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12573 if (arg2
== NULL
) {
12574 PyErr_SetString(PyExc_TypeError
,"null reference");
12577 arg3
= (double) SWIG_AsDouble(obj2
);
12578 if (PyErr_Occurred()) SWIG_fail
;
12579 arg4
= (double) SWIG_AsDouble(obj3
);
12580 if (PyErr_Occurred()) SWIG_fail
;
12581 arg5
= (double) SWIG_AsDouble(obj4
);
12582 if (PyErr_Occurred()) SWIG_fail
;
12583 arg6
= (double) SWIG_AsDouble(obj5
);
12584 if (PyErr_Occurred()) SWIG_fail
;
12586 arg7
= (bool) SWIG_AsBool(obj6
);
12587 if (PyErr_Occurred()) SWIG_fail
;
12590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12591 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12593 wxPyEndAllowThreads(__tstate
);
12594 if (PyErr_Occurred()) SWIG_fail
;
12597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12605 static PyObject
*_wrap_PyControlPoint_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12606 PyObject
*resultobj
;
12607 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12613 bool arg7
= (bool) True
;
12614 PyObject
* obj0
= 0 ;
12615 PyObject
* obj1
= 0 ;
12616 PyObject
* obj2
= 0 ;
12617 PyObject
* obj3
= 0 ;
12618 PyObject
* obj4
= 0 ;
12619 PyObject
* obj5
= 0 ;
12620 PyObject
* obj6
= 0 ;
12621 char *kwnames
[] = {
12622 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
12625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyControlPoint_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12628 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12629 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12631 if (arg2
== NULL
) {
12632 PyErr_SetString(PyExc_TypeError
,"null reference");
12635 arg3
= (double) SWIG_AsDouble(obj2
);
12636 if (PyErr_Occurred()) SWIG_fail
;
12637 arg4
= (double) SWIG_AsDouble(obj3
);
12638 if (PyErr_Occurred()) SWIG_fail
;
12639 arg5
= (double) SWIG_AsDouble(obj4
);
12640 if (PyErr_Occurred()) SWIG_fail
;
12641 arg6
= (double) SWIG_AsDouble(obj5
);
12642 if (PyErr_Occurred()) SWIG_fail
;
12644 arg7
= (bool) SWIG_AsBool(obj6
);
12645 if (PyErr_Occurred()) SWIG_fail
;
12648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12649 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12651 wxPyEndAllowThreads(__tstate
);
12652 if (PyErr_Occurred()) SWIG_fail
;
12654 Py_INCREF(Py_None
); resultobj
= Py_None
;
12661 static PyObject
*_wrap_PyControlPoint_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12662 PyObject
*resultobj
;
12663 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12667 int arg5
= (int) 0 ;
12668 int arg6
= (int) 0 ;
12669 PyObject
* obj0
= 0 ;
12670 PyObject
* obj1
= 0 ;
12671 PyObject
* obj2
= 0 ;
12672 PyObject
* obj3
= 0 ;
12673 PyObject
* obj4
= 0 ;
12674 PyObject
* obj5
= 0 ;
12675 char *kwnames
[] = {
12676 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyControlPoint_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12682 arg2
= (bool) SWIG_AsBool(obj1
);
12683 if (PyErr_Occurred()) SWIG_fail
;
12684 arg3
= (double) SWIG_AsDouble(obj2
);
12685 if (PyErr_Occurred()) SWIG_fail
;
12686 arg4
= (double) SWIG_AsDouble(obj3
);
12687 if (PyErr_Occurred()) SWIG_fail
;
12689 arg5
= (int) SWIG_AsInt(obj4
);
12690 if (PyErr_Occurred()) SWIG_fail
;
12693 arg6
= (int) SWIG_AsInt(obj5
);
12694 if (PyErr_Occurred()) SWIG_fail
;
12697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12698 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
12700 wxPyEndAllowThreads(__tstate
);
12701 if (PyErr_Occurred()) SWIG_fail
;
12703 Py_INCREF(Py_None
); resultobj
= Py_None
;
12710 static PyObject
*_wrap_PyControlPoint_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12711 PyObject
*resultobj
;
12712 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12715 int arg4
= (int) 0 ;
12716 int arg5
= (int) 0 ;
12717 PyObject
* obj0
= 0 ;
12718 PyObject
* obj1
= 0 ;
12719 PyObject
* obj2
= 0 ;
12720 PyObject
* obj3
= 0 ;
12721 PyObject
* obj4
= 0 ;
12722 char *kwnames
[] = {
12723 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12729 arg2
= (double) SWIG_AsDouble(obj1
);
12730 if (PyErr_Occurred()) SWIG_fail
;
12731 arg3
= (double) SWIG_AsDouble(obj2
);
12732 if (PyErr_Occurred()) SWIG_fail
;
12734 arg4
= (int) SWIG_AsInt(obj3
);
12735 if (PyErr_Occurred()) SWIG_fail
;
12738 arg5
= (int) SWIG_AsInt(obj4
);
12739 if (PyErr_Occurred()) SWIG_fail
;
12742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12743 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
12745 wxPyEndAllowThreads(__tstate
);
12746 if (PyErr_Occurred()) SWIG_fail
;
12748 Py_INCREF(Py_None
); resultobj
= Py_None
;
12755 static PyObject
*_wrap_PyControlPoint_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12756 PyObject
*resultobj
;
12757 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12760 int arg4
= (int) 0 ;
12761 int arg5
= (int) 0 ;
12762 PyObject
* obj0
= 0 ;
12763 PyObject
* obj1
= 0 ;
12764 PyObject
* obj2
= 0 ;
12765 PyObject
* obj3
= 0 ;
12766 PyObject
* obj4
= 0 ;
12767 char *kwnames
[] = {
12768 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12774 arg2
= (double) SWIG_AsDouble(obj1
);
12775 if (PyErr_Occurred()) SWIG_fail
;
12776 arg3
= (double) SWIG_AsDouble(obj2
);
12777 if (PyErr_Occurred()) SWIG_fail
;
12779 arg4
= (int) SWIG_AsInt(obj3
);
12780 if (PyErr_Occurred()) SWIG_fail
;
12783 arg5
= (int) SWIG_AsInt(obj4
);
12784 if (PyErr_Occurred()) SWIG_fail
;
12787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12788 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
12790 wxPyEndAllowThreads(__tstate
);
12791 if (PyErr_Occurred()) SWIG_fail
;
12793 Py_INCREF(Py_None
); resultobj
= Py_None
;
12800 static PyObject
*_wrap_PyControlPoint_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12801 PyObject
*resultobj
;
12802 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12806 int arg5
= (int) 0 ;
12807 int arg6
= (int) 0 ;
12808 PyObject
* obj0
= 0 ;
12809 PyObject
* obj1
= 0 ;
12810 PyObject
* obj2
= 0 ;
12811 PyObject
* obj3
= 0 ;
12812 PyObject
* obj4
= 0 ;
12813 PyObject
* obj5
= 0 ;
12814 char *kwnames
[] = {
12815 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyControlPoint_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12821 arg2
= (bool) SWIG_AsBool(obj1
);
12822 if (PyErr_Occurred()) SWIG_fail
;
12823 arg3
= (double) SWIG_AsDouble(obj2
);
12824 if (PyErr_Occurred()) SWIG_fail
;
12825 arg4
= (double) SWIG_AsDouble(obj3
);
12826 if (PyErr_Occurred()) SWIG_fail
;
12828 arg5
= (int) SWIG_AsInt(obj4
);
12829 if (PyErr_Occurred()) SWIG_fail
;
12832 arg6
= (int) SWIG_AsInt(obj5
);
12833 if (PyErr_Occurred()) SWIG_fail
;
12836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12837 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
12839 wxPyEndAllowThreads(__tstate
);
12840 if (PyErr_Occurred()) SWIG_fail
;
12842 Py_INCREF(Py_None
); resultobj
= Py_None
;
12849 static PyObject
*_wrap_PyControlPoint_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12850 PyObject
*resultobj
;
12851 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12854 int arg4
= (int) 0 ;
12855 int arg5
= (int) 0 ;
12856 PyObject
* obj0
= 0 ;
12857 PyObject
* obj1
= 0 ;
12858 PyObject
* obj2
= 0 ;
12859 PyObject
* obj3
= 0 ;
12860 PyObject
* obj4
= 0 ;
12861 char *kwnames
[] = {
12862 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12868 arg2
= (double) SWIG_AsDouble(obj1
);
12869 if (PyErr_Occurred()) SWIG_fail
;
12870 arg3
= (double) SWIG_AsDouble(obj2
);
12871 if (PyErr_Occurred()) SWIG_fail
;
12873 arg4
= (int) SWIG_AsInt(obj3
);
12874 if (PyErr_Occurred()) SWIG_fail
;
12877 arg5
= (int) SWIG_AsInt(obj4
);
12878 if (PyErr_Occurred()) SWIG_fail
;
12881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12882 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
12884 wxPyEndAllowThreads(__tstate
);
12885 if (PyErr_Occurred()) SWIG_fail
;
12887 Py_INCREF(Py_None
); resultobj
= Py_None
;
12894 static PyObject
*_wrap_PyControlPoint_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12895 PyObject
*resultobj
;
12896 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12899 int arg4
= (int) 0 ;
12900 int arg5
= (int) 0 ;
12901 PyObject
* obj0
= 0 ;
12902 PyObject
* obj1
= 0 ;
12903 PyObject
* obj2
= 0 ;
12904 PyObject
* obj3
= 0 ;
12905 PyObject
* obj4
= 0 ;
12906 char *kwnames
[] = {
12907 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12913 arg2
= (double) SWIG_AsDouble(obj1
);
12914 if (PyErr_Occurred()) SWIG_fail
;
12915 arg3
= (double) SWIG_AsDouble(obj2
);
12916 if (PyErr_Occurred()) SWIG_fail
;
12918 arg4
= (int) SWIG_AsInt(obj3
);
12919 if (PyErr_Occurred()) SWIG_fail
;
12922 arg5
= (int) SWIG_AsInt(obj4
);
12923 if (PyErr_Occurred()) SWIG_fail
;
12926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12927 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
12929 wxPyEndAllowThreads(__tstate
);
12930 if (PyErr_Occurred()) SWIG_fail
;
12932 Py_INCREF(Py_None
); resultobj
= Py_None
;
12939 static PyObject
*_wrap_PyControlPoint_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12940 PyObject
*resultobj
;
12941 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12947 PyObject
* obj0
= 0 ;
12948 PyObject
* obj1
= 0 ;
12949 PyObject
* obj2
= 0 ;
12950 PyObject
* obj3
= 0 ;
12951 PyObject
* obj4
= 0 ;
12952 PyObject
* obj5
= 0 ;
12953 char *kwnames
[] = {
12954 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
12957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyControlPoint_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12960 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12961 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12963 if (arg2
== NULL
) {
12964 PyErr_SetString(PyExc_TypeError
,"null reference");
12967 arg3
= (double) SWIG_AsDouble(obj2
);
12968 if (PyErr_Occurred()) SWIG_fail
;
12969 arg4
= (double) SWIG_AsDouble(obj3
);
12970 if (PyErr_Occurred()) SWIG_fail
;
12971 arg5
= (double) SWIG_AsDouble(obj4
);
12972 if (PyErr_Occurred()) SWIG_fail
;
12973 arg6
= (double) SWIG_AsDouble(obj5
);
12974 if (PyErr_Occurred()) SWIG_fail
;
12976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12977 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
12979 wxPyEndAllowThreads(__tstate
);
12980 if (PyErr_Occurred()) SWIG_fail
;
12982 Py_INCREF(Py_None
); resultobj
= Py_None
;
12989 static PyObject
*_wrap_PyControlPoint_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12990 PyObject
*resultobj
;
12991 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12993 PyObject
* obj0
= 0 ;
12994 PyObject
* obj1
= 0 ;
12995 char *kwnames
[] = {
12996 (char *) "self",(char *) "dc", NULL
12999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
13000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
13001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13002 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13003 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13005 if (arg2
== NULL
) {
13006 PyErr_SetString(PyExc_TypeError
,"null reference");
13010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13011 (arg1
)->base_OnDrawControlPoints(*arg2
);
13013 wxPyEndAllowThreads(__tstate
);
13014 if (PyErr_Occurred()) SWIG_fail
;
13016 Py_INCREF(Py_None
); resultobj
= Py_None
;
13023 static PyObject
*_wrap_PyControlPoint_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13024 PyObject
*resultobj
;
13025 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13027 PyObject
* obj0
= 0 ;
13028 PyObject
* obj1
= 0 ;
13029 char *kwnames
[] = {
13030 (char *) "self",(char *) "dc", NULL
13033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
13034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
13035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13036 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13037 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13039 if (arg2
== NULL
) {
13040 PyErr_SetString(PyExc_TypeError
,"null reference");
13044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13045 (arg1
)->base_OnEraseControlPoints(*arg2
);
13047 wxPyEndAllowThreads(__tstate
);
13048 if (PyErr_Occurred()) SWIG_fail
;
13050 Py_INCREF(Py_None
); resultobj
= Py_None
;
13057 static PyObject
*_wrap_PyControlPoint_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13058 PyObject
*resultobj
;
13059 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13061 bool arg3
= (bool) True
;
13062 PyObject
* obj0
= 0 ;
13063 PyObject
* obj1
= 0 ;
13064 PyObject
* obj2
= 0 ;
13065 char *kwnames
[] = {
13066 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
13069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyControlPoint_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
13071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13072 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13073 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13075 if (arg2
== NULL
) {
13076 PyErr_SetString(PyExc_TypeError
,"null reference");
13080 arg3
= (bool) SWIG_AsBool(obj2
);
13081 if (PyErr_Occurred()) SWIG_fail
;
13084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13085 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
13087 wxPyEndAllowThreads(__tstate
);
13088 if (PyErr_Occurred()) SWIG_fail
;
13090 Py_INCREF(Py_None
); resultobj
= Py_None
;
13097 static PyObject
*_wrap_PyControlPoint_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13098 PyObject
*resultobj
;
13099 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13100 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
13104 int arg6
= (int) 0 ;
13105 int arg7
= (int) 0 ;
13106 PyObject
* obj0
= 0 ;
13107 PyObject
* obj1
= 0 ;
13108 PyObject
* obj2
= 0 ;
13109 PyObject
* obj3
= 0 ;
13110 PyObject
* obj4
= 0 ;
13111 PyObject
* obj5
= 0 ;
13112 PyObject
* obj6
= 0 ;
13113 char *kwnames
[] = {
13114 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyControlPoint_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
13119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13120 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
13121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13122 arg3
= (bool) SWIG_AsBool(obj2
);
13123 if (PyErr_Occurred()) SWIG_fail
;
13124 arg4
= (double) SWIG_AsDouble(obj3
);
13125 if (PyErr_Occurred()) SWIG_fail
;
13126 arg5
= (double) SWIG_AsDouble(obj4
);
13127 if (PyErr_Occurred()) SWIG_fail
;
13129 arg6
= (int) SWIG_AsInt(obj5
);
13130 if (PyErr_Occurred()) SWIG_fail
;
13133 arg7
= (int) SWIG_AsInt(obj6
);
13134 if (PyErr_Occurred()) SWIG_fail
;
13137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13138 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13140 wxPyEndAllowThreads(__tstate
);
13141 if (PyErr_Occurred()) SWIG_fail
;
13143 Py_INCREF(Py_None
); resultobj
= Py_None
;
13150 static PyObject
*_wrap_PyControlPoint_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13151 PyObject
*resultobj
;
13152 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13153 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
13156 int arg5
= (int) 0 ;
13157 int arg6
= (int) 0 ;
13158 PyObject
* obj0
= 0 ;
13159 PyObject
* obj1
= 0 ;
13160 PyObject
* obj2
= 0 ;
13161 PyObject
* obj3
= 0 ;
13162 PyObject
* obj4
= 0 ;
13163 PyObject
* obj5
= 0 ;
13164 char *kwnames
[] = {
13165 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyControlPoint_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
13170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13171 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
13172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13173 arg3
= (double) SWIG_AsDouble(obj2
);
13174 if (PyErr_Occurred()) SWIG_fail
;
13175 arg4
= (double) SWIG_AsDouble(obj3
);
13176 if (PyErr_Occurred()) SWIG_fail
;
13178 arg5
= (int) SWIG_AsInt(obj4
);
13179 if (PyErr_Occurred()) SWIG_fail
;
13182 arg6
= (int) SWIG_AsInt(obj5
);
13183 if (PyErr_Occurred()) SWIG_fail
;
13186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13187 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
13189 wxPyEndAllowThreads(__tstate
);
13190 if (PyErr_Occurred()) SWIG_fail
;
13192 Py_INCREF(Py_None
); resultobj
= Py_None
;
13199 static PyObject
*_wrap_PyControlPoint_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13200 PyObject
*resultobj
;
13201 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13202 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
13205 int arg5
= (int) 0 ;
13206 int arg6
= (int) 0 ;
13207 PyObject
* obj0
= 0 ;
13208 PyObject
* obj1
= 0 ;
13209 PyObject
* obj2
= 0 ;
13210 PyObject
* obj3
= 0 ;
13211 PyObject
* obj4
= 0 ;
13212 PyObject
* obj5
= 0 ;
13213 char *kwnames
[] = {
13214 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyControlPoint_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
13219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13220 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
13221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13222 arg3
= (double) SWIG_AsDouble(obj2
);
13223 if (PyErr_Occurred()) SWIG_fail
;
13224 arg4
= (double) SWIG_AsDouble(obj3
);
13225 if (PyErr_Occurred()) SWIG_fail
;
13227 arg5
= (int) SWIG_AsInt(obj4
);
13228 if (PyErr_Occurred()) SWIG_fail
;
13231 arg6
= (int) SWIG_AsInt(obj5
);
13232 if (PyErr_Occurred()) SWIG_fail
;
13235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13236 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
13238 wxPyEndAllowThreads(__tstate
);
13239 if (PyErr_Occurred()) SWIG_fail
;
13241 Py_INCREF(Py_None
); resultobj
= Py_None
;
13248 static PyObject
*_wrap_PyControlPoint_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13249 PyObject
*resultobj
;
13250 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13253 PyObject
* obj0
= 0 ;
13254 PyObject
* obj1
= 0 ;
13255 PyObject
* obj2
= 0 ;
13256 char *kwnames
[] = {
13257 (char *) "self",(char *) "w",(char *) "h", NULL
13260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControlPoint_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
13262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13263 arg2
= (double) SWIG_AsDouble(obj1
);
13264 if (PyErr_Occurred()) SWIG_fail
;
13265 arg3
= (double) SWIG_AsDouble(obj2
);
13266 if (PyErr_Occurred()) SWIG_fail
;
13268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13269 (arg1
)->base_OnBeginSize(arg2
,arg3
);
13271 wxPyEndAllowThreads(__tstate
);
13272 if (PyErr_Occurred()) SWIG_fail
;
13274 Py_INCREF(Py_None
); resultobj
= Py_None
;
13281 static PyObject
*_wrap_PyControlPoint_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13282 PyObject
*resultobj
;
13283 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13286 PyObject
* obj0
= 0 ;
13287 PyObject
* obj1
= 0 ;
13288 PyObject
* obj2
= 0 ;
13289 char *kwnames
[] = {
13290 (char *) "self",(char *) "w",(char *) "h", NULL
13293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControlPoint_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
13295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13296 arg2
= (double) SWIG_AsDouble(obj1
);
13297 if (PyErr_Occurred()) SWIG_fail
;
13298 arg3
= (double) SWIG_AsDouble(obj2
);
13299 if (PyErr_Occurred()) SWIG_fail
;
13301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13302 (arg1
)->base_OnEndSize(arg2
,arg3
);
13304 wxPyEndAllowThreads(__tstate
);
13305 if (PyErr_Occurred()) SWIG_fail
;
13307 Py_INCREF(Py_None
); resultobj
= Py_None
;
13314 static PyObject
* PyControlPoint_swigregister(PyObject
*self
, PyObject
*args
) {
13316 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13317 SWIG_TypeClientData(SWIGTYPE_p_wxPyControlPoint
, obj
);
13319 return Py_BuildValue((char *)"");
13321 static PyObject
*_wrap_new_PyBitmapShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13322 PyObject
*resultobj
;
13323 wxPyBitmapShape
*result
;
13324 char *kwnames
[] = {
13328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyBitmapShape",kwnames
)) goto fail
;
13330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13331 result
= (wxPyBitmapShape
*)new wxPyBitmapShape();
13333 wxPyEndAllowThreads(__tstate
);
13334 if (PyErr_Occurred()) SWIG_fail
;
13336 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapShape
, 1);
13343 static PyObject
*_wrap_PyBitmapShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13344 PyObject
*resultobj
;
13345 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13346 PyObject
*arg2
= (PyObject
*) 0 ;
13347 PyObject
*arg3
= (PyObject
*) 0 ;
13348 PyObject
* obj0
= 0 ;
13349 PyObject
* obj1
= 0 ;
13350 PyObject
* obj2
= 0 ;
13351 char *kwnames
[] = {
13352 (char *) "self",(char *) "self",(char *) "_class", NULL
13355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13362 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13364 wxPyEndAllowThreads(__tstate
);
13365 if (PyErr_Occurred()) SWIG_fail
;
13367 Py_INCREF(Py_None
); resultobj
= Py_None
;
13374 static PyObject
*_wrap_PyBitmapShape_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13375 PyObject
*resultobj
;
13376 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13378 PyObject
* obj0
= 0 ;
13379 char *kwnames
[] = {
13380 (char *) "self", NULL
13383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyBitmapShape_GetBitmap",kwnames
,&obj0
)) goto fail
;
13384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13389 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
13390 result
= (wxBitmap
*) &_result_ref
;
13393 wxPyEndAllowThreads(__tstate
);
13394 if (PyErr_Occurred()) SWIG_fail
;
13397 wxBitmap
* resultptr
= new wxBitmap(*result
);
13398 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13406 static PyObject
*_wrap_PyBitmapShape_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13407 PyObject
*resultobj
;
13408 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13410 PyObject
* obj0
= 0 ;
13411 char *kwnames
[] = {
13412 (char *) "self", NULL
13415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyBitmapShape_GetFilename",kwnames
,&obj0
)) goto fail
;
13416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13420 result
= (arg1
)->GetFilename();
13422 wxPyEndAllowThreads(__tstate
);
13423 if (PyErr_Occurred()) SWIG_fail
;
13427 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13429 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13438 static PyObject
*_wrap_PyBitmapShape_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13439 PyObject
*resultobj
;
13440 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13441 wxBitmap
*arg2
= 0 ;
13442 PyObject
* obj0
= 0 ;
13443 PyObject
* obj1
= 0 ;
13444 char *kwnames
[] = {
13445 (char *) "self",(char *) "bitmap", NULL
13448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
13449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13451 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
13452 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13454 if (arg2
== NULL
) {
13455 PyErr_SetString(PyExc_TypeError
,"null reference");
13459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13460 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
13462 wxPyEndAllowThreads(__tstate
);
13463 if (PyErr_Occurred()) SWIG_fail
;
13465 Py_INCREF(Py_None
); resultobj
= Py_None
;
13472 static PyObject
*_wrap_PyBitmapShape_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13473 PyObject
*resultobj
;
13474 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13475 wxString
*arg2
= 0 ;
13476 bool temp2
= False
;
13477 PyObject
* obj0
= 0 ;
13478 PyObject
* obj1
= 0 ;
13479 char *kwnames
[] = {
13480 (char *) "self",(char *) "filename", NULL
13483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
13484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13487 arg2
= wxString_in_helper(obj1
);
13488 if (arg2
== NULL
) SWIG_fail
;
13492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13493 (arg1
)->SetFilename((wxString
const &)*arg2
);
13495 wxPyEndAllowThreads(__tstate
);
13496 if (PyErr_Occurred()) SWIG_fail
;
13498 Py_INCREF(Py_None
); resultobj
= Py_None
;
13513 static PyObject
*_wrap_PyBitmapShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13514 PyObject
*resultobj
;
13515 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13516 PyObject
* obj0
= 0 ;
13517 char *kwnames
[] = {
13518 (char *) "self", NULL
13521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyBitmapShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
13522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13526 (arg1
)->base_OnDelete();
13528 wxPyEndAllowThreads(__tstate
);
13529 if (PyErr_Occurred()) SWIG_fail
;
13531 Py_INCREF(Py_None
); resultobj
= Py_None
;
13538 static PyObject
*_wrap_PyBitmapShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13539 PyObject
*resultobj
;
13540 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13542 PyObject
* obj0
= 0 ;
13543 PyObject
* obj1
= 0 ;
13544 char *kwnames
[] = {
13545 (char *) "self",(char *) "dc", NULL
13548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
13549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13551 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13552 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13554 if (arg2
== NULL
) {
13555 PyErr_SetString(PyExc_TypeError
,"null reference");
13559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13560 (arg1
)->base_OnDraw(*arg2
);
13562 wxPyEndAllowThreads(__tstate
);
13563 if (PyErr_Occurred()) SWIG_fail
;
13565 Py_INCREF(Py_None
); resultobj
= Py_None
;
13572 static PyObject
*_wrap_PyBitmapShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13573 PyObject
*resultobj
;
13574 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13576 PyObject
* obj0
= 0 ;
13577 PyObject
* obj1
= 0 ;
13578 char *kwnames
[] = {
13579 (char *) "self",(char *) "dc", NULL
13582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
13583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13585 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13586 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13588 if (arg2
== NULL
) {
13589 PyErr_SetString(PyExc_TypeError
,"null reference");
13593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13594 (arg1
)->base_OnDrawContents(*arg2
);
13596 wxPyEndAllowThreads(__tstate
);
13597 if (PyErr_Occurred()) SWIG_fail
;
13599 Py_INCREF(Py_None
); resultobj
= Py_None
;
13606 static PyObject
*_wrap_PyBitmapShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13607 PyObject
*resultobj
;
13608 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13610 bool arg3
= (bool) FALSE
;
13611 PyObject
* obj0
= 0 ;
13612 PyObject
* obj1
= 0 ;
13613 PyObject
* obj2
= 0 ;
13614 char *kwnames
[] = {
13615 (char *) "self",(char *) "dc",(char *) "erase", NULL
13618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyBitmapShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13621 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13622 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13624 if (arg2
== NULL
) {
13625 PyErr_SetString(PyExc_TypeError
,"null reference");
13629 arg3
= (bool) SWIG_AsBool(obj2
);
13630 if (PyErr_Occurred()) SWIG_fail
;
13633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13634 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
13636 wxPyEndAllowThreads(__tstate
);
13637 if (PyErr_Occurred()) SWIG_fail
;
13639 Py_INCREF(Py_None
); resultobj
= Py_None
;
13646 static PyObject
*_wrap_PyBitmapShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13647 PyObject
*resultobj
;
13648 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13650 PyObject
* obj0
= 0 ;
13651 PyObject
* obj1
= 0 ;
13652 char *kwnames
[] = {
13653 (char *) "self",(char *) "dc", NULL
13656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
13657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13659 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13660 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13662 if (arg2
== NULL
) {
13663 PyErr_SetString(PyExc_TypeError
,"null reference");
13667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13668 (arg1
)->base_OnMoveLinks(*arg2
);
13670 wxPyEndAllowThreads(__tstate
);
13671 if (PyErr_Occurred()) SWIG_fail
;
13673 Py_INCREF(Py_None
); resultobj
= Py_None
;
13680 static PyObject
*_wrap_PyBitmapShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13681 PyObject
*resultobj
;
13682 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13684 PyObject
* obj0
= 0 ;
13685 PyObject
* obj1
= 0 ;
13686 char *kwnames
[] = {
13687 (char *) "self",(char *) "dc", NULL
13690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
13691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13693 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13694 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13696 if (arg2
== NULL
) {
13697 PyErr_SetString(PyExc_TypeError
,"null reference");
13701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13702 (arg1
)->base_OnErase(*arg2
);
13704 wxPyEndAllowThreads(__tstate
);
13705 if (PyErr_Occurred()) SWIG_fail
;
13707 Py_INCREF(Py_None
); resultobj
= Py_None
;
13714 static PyObject
*_wrap_PyBitmapShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13715 PyObject
*resultobj
;
13716 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13718 PyObject
* obj0
= 0 ;
13719 PyObject
* obj1
= 0 ;
13720 char *kwnames
[] = {
13721 (char *) "self",(char *) "dc", NULL
13724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
13725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13727 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13728 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13730 if (arg2
== NULL
) {
13731 PyErr_SetString(PyExc_TypeError
,"null reference");
13735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13736 (arg1
)->base_OnEraseContents(*arg2
);
13738 wxPyEndAllowThreads(__tstate
);
13739 if (PyErr_Occurred()) SWIG_fail
;
13741 Py_INCREF(Py_None
); resultobj
= Py_None
;
13748 static PyObject
*_wrap_PyBitmapShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13749 PyObject
*resultobj
;
13750 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13752 PyObject
* obj0
= 0 ;
13753 PyObject
* obj1
= 0 ;
13754 char *kwnames
[] = {
13755 (char *) "self",(char *) "dc", NULL
13758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
13759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13761 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13762 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13764 if (arg2
== NULL
) {
13765 PyErr_SetString(PyExc_TypeError
,"null reference");
13769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13770 (arg1
)->base_OnHighlight(*arg2
);
13772 wxPyEndAllowThreads(__tstate
);
13773 if (PyErr_Occurred()) SWIG_fail
;
13775 Py_INCREF(Py_None
); resultobj
= Py_None
;
13782 static PyObject
*_wrap_PyBitmapShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13783 PyObject
*resultobj
;
13784 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13787 int arg4
= (int) 0 ;
13788 int arg5
= (int) 0 ;
13789 PyObject
* obj0
= 0 ;
13790 PyObject
* obj1
= 0 ;
13791 PyObject
* obj2
= 0 ;
13792 PyObject
* obj3
= 0 ;
13793 PyObject
* obj4
= 0 ;
13794 char *kwnames
[] = {
13795 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13801 arg2
= (double) SWIG_AsDouble(obj1
);
13802 if (PyErr_Occurred()) SWIG_fail
;
13803 arg3
= (double) SWIG_AsDouble(obj2
);
13804 if (PyErr_Occurred()) SWIG_fail
;
13806 arg4
= (int) SWIG_AsInt(obj3
);
13807 if (PyErr_Occurred()) SWIG_fail
;
13810 arg5
= (int) SWIG_AsInt(obj4
);
13811 if (PyErr_Occurred()) SWIG_fail
;
13814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13815 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
13817 wxPyEndAllowThreads(__tstate
);
13818 if (PyErr_Occurred()) SWIG_fail
;
13820 Py_INCREF(Py_None
); resultobj
= Py_None
;
13827 static PyObject
*_wrap_PyBitmapShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13828 PyObject
*resultobj
;
13829 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13832 int arg4
= (int) 0 ;
13833 int arg5
= (int) 0 ;
13834 PyObject
* obj0
= 0 ;
13835 PyObject
* obj1
= 0 ;
13836 PyObject
* obj2
= 0 ;
13837 PyObject
* obj3
= 0 ;
13838 PyObject
* obj4
= 0 ;
13839 char *kwnames
[] = {
13840 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13846 arg2
= (double) SWIG_AsDouble(obj1
);
13847 if (PyErr_Occurred()) SWIG_fail
;
13848 arg3
= (double) SWIG_AsDouble(obj2
);
13849 if (PyErr_Occurred()) SWIG_fail
;
13851 arg4
= (int) SWIG_AsInt(obj3
);
13852 if (PyErr_Occurred()) SWIG_fail
;
13855 arg5
= (int) SWIG_AsInt(obj4
);
13856 if (PyErr_Occurred()) SWIG_fail
;
13859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13860 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
13862 wxPyEndAllowThreads(__tstate
);
13863 if (PyErr_Occurred()) SWIG_fail
;
13865 Py_INCREF(Py_None
); resultobj
= Py_None
;
13872 static PyObject
*_wrap_PyBitmapShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13873 PyObject
*resultobj
;
13874 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13877 int arg4
= (int) 0 ;
13878 int arg5
= (int) 0 ;
13879 PyObject
* obj0
= 0 ;
13880 PyObject
* obj1
= 0 ;
13881 PyObject
* obj2
= 0 ;
13882 PyObject
* obj3
= 0 ;
13883 PyObject
* obj4
= 0 ;
13884 char *kwnames
[] = {
13885 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13891 arg2
= (double) SWIG_AsDouble(obj1
);
13892 if (PyErr_Occurred()) SWIG_fail
;
13893 arg3
= (double) SWIG_AsDouble(obj2
);
13894 if (PyErr_Occurred()) SWIG_fail
;
13896 arg4
= (int) SWIG_AsInt(obj3
);
13897 if (PyErr_Occurred()) SWIG_fail
;
13900 arg5
= (int) SWIG_AsInt(obj4
);
13901 if (PyErr_Occurred()) SWIG_fail
;
13904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13905 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
13907 wxPyEndAllowThreads(__tstate
);
13908 if (PyErr_Occurred()) SWIG_fail
;
13910 Py_INCREF(Py_None
); resultobj
= Py_None
;
13917 static PyObject
*_wrap_PyBitmapShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13918 PyObject
*resultobj
;
13919 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13922 PyObject
* obj0
= 0 ;
13923 PyObject
* obj1
= 0 ;
13924 PyObject
* obj2
= 0 ;
13925 char *kwnames
[] = {
13926 (char *) "self",(char *) "x",(char *) "y", NULL
13929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13932 arg2
= (double) SWIG_AsDouble(obj1
);
13933 if (PyErr_Occurred()) SWIG_fail
;
13934 arg3
= (double) SWIG_AsDouble(obj2
);
13935 if (PyErr_Occurred()) SWIG_fail
;
13937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13938 (arg1
)->base_OnSize(arg2
,arg3
);
13940 wxPyEndAllowThreads(__tstate
);
13941 if (PyErr_Occurred()) SWIG_fail
;
13943 Py_INCREF(Py_None
); resultobj
= Py_None
;
13950 static PyObject
*_wrap_PyBitmapShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13951 PyObject
*resultobj
;
13952 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13958 bool arg7
= (bool) True
;
13960 PyObject
* obj0
= 0 ;
13961 PyObject
* obj1
= 0 ;
13962 PyObject
* obj2
= 0 ;
13963 PyObject
* obj3
= 0 ;
13964 PyObject
* obj4
= 0 ;
13965 PyObject
* obj5
= 0 ;
13966 PyObject
* obj6
= 0 ;
13967 char *kwnames
[] = {
13968 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
13971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyBitmapShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13974 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13975 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13977 if (arg2
== NULL
) {
13978 PyErr_SetString(PyExc_TypeError
,"null reference");
13981 arg3
= (double) SWIG_AsDouble(obj2
);
13982 if (PyErr_Occurred()) SWIG_fail
;
13983 arg4
= (double) SWIG_AsDouble(obj3
);
13984 if (PyErr_Occurred()) SWIG_fail
;
13985 arg5
= (double) SWIG_AsDouble(obj4
);
13986 if (PyErr_Occurred()) SWIG_fail
;
13987 arg6
= (double) SWIG_AsDouble(obj5
);
13988 if (PyErr_Occurred()) SWIG_fail
;
13990 arg7
= (bool) SWIG_AsBool(obj6
);
13991 if (PyErr_Occurred()) SWIG_fail
;
13994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13995 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13997 wxPyEndAllowThreads(__tstate
);
13998 if (PyErr_Occurred()) SWIG_fail
;
14001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14009 static PyObject
*_wrap_PyBitmapShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14010 PyObject
*resultobj
;
14011 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14017 bool arg7
= (bool) True
;
14018 PyObject
* obj0
= 0 ;
14019 PyObject
* obj1
= 0 ;
14020 PyObject
* obj2
= 0 ;
14021 PyObject
* obj3
= 0 ;
14022 PyObject
* obj4
= 0 ;
14023 PyObject
* obj5
= 0 ;
14024 PyObject
* obj6
= 0 ;
14025 char *kwnames
[] = {
14026 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
14029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyBitmapShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14032 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14033 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14035 if (arg2
== NULL
) {
14036 PyErr_SetString(PyExc_TypeError
,"null reference");
14039 arg3
= (double) SWIG_AsDouble(obj2
);
14040 if (PyErr_Occurred()) SWIG_fail
;
14041 arg4
= (double) SWIG_AsDouble(obj3
);
14042 if (PyErr_Occurred()) SWIG_fail
;
14043 arg5
= (double) SWIG_AsDouble(obj4
);
14044 if (PyErr_Occurred()) SWIG_fail
;
14045 arg6
= (double) SWIG_AsDouble(obj5
);
14046 if (PyErr_Occurred()) SWIG_fail
;
14048 arg7
= (bool) SWIG_AsBool(obj6
);
14049 if (PyErr_Occurred()) SWIG_fail
;
14052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14053 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
14055 wxPyEndAllowThreads(__tstate
);
14056 if (PyErr_Occurred()) SWIG_fail
;
14058 Py_INCREF(Py_None
); resultobj
= Py_None
;
14065 static PyObject
*_wrap_PyBitmapShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14066 PyObject
*resultobj
;
14067 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14071 int arg5
= (int) 0 ;
14072 int arg6
= (int) 0 ;
14073 PyObject
* obj0
= 0 ;
14074 PyObject
* obj1
= 0 ;
14075 PyObject
* obj2
= 0 ;
14076 PyObject
* obj3
= 0 ;
14077 PyObject
* obj4
= 0 ;
14078 PyObject
* obj5
= 0 ;
14079 char *kwnames
[] = {
14080 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyBitmapShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14086 arg2
= (bool) SWIG_AsBool(obj1
);
14087 if (PyErr_Occurred()) SWIG_fail
;
14088 arg3
= (double) SWIG_AsDouble(obj2
);
14089 if (PyErr_Occurred()) SWIG_fail
;
14090 arg4
= (double) SWIG_AsDouble(obj3
);
14091 if (PyErr_Occurred()) SWIG_fail
;
14093 arg5
= (int) SWIG_AsInt(obj4
);
14094 if (PyErr_Occurred()) SWIG_fail
;
14097 arg6
= (int) SWIG_AsInt(obj5
);
14098 if (PyErr_Occurred()) SWIG_fail
;
14101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14102 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
14104 wxPyEndAllowThreads(__tstate
);
14105 if (PyErr_Occurred()) SWIG_fail
;
14107 Py_INCREF(Py_None
); resultobj
= Py_None
;
14114 static PyObject
*_wrap_PyBitmapShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14115 PyObject
*resultobj
;
14116 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14119 int arg4
= (int) 0 ;
14120 int arg5
= (int) 0 ;
14121 PyObject
* obj0
= 0 ;
14122 PyObject
* obj1
= 0 ;
14123 PyObject
* obj2
= 0 ;
14124 PyObject
* obj3
= 0 ;
14125 PyObject
* obj4
= 0 ;
14126 char *kwnames
[] = {
14127 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14133 arg2
= (double) SWIG_AsDouble(obj1
);
14134 if (PyErr_Occurred()) SWIG_fail
;
14135 arg3
= (double) SWIG_AsDouble(obj2
);
14136 if (PyErr_Occurred()) SWIG_fail
;
14138 arg4
= (int) SWIG_AsInt(obj3
);
14139 if (PyErr_Occurred()) SWIG_fail
;
14142 arg5
= (int) SWIG_AsInt(obj4
);
14143 if (PyErr_Occurred()) SWIG_fail
;
14146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14147 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
14149 wxPyEndAllowThreads(__tstate
);
14150 if (PyErr_Occurred()) SWIG_fail
;
14152 Py_INCREF(Py_None
); resultobj
= Py_None
;
14159 static PyObject
*_wrap_PyBitmapShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14160 PyObject
*resultobj
;
14161 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14164 int arg4
= (int) 0 ;
14165 int arg5
= (int) 0 ;
14166 PyObject
* obj0
= 0 ;
14167 PyObject
* obj1
= 0 ;
14168 PyObject
* obj2
= 0 ;
14169 PyObject
* obj3
= 0 ;
14170 PyObject
* obj4
= 0 ;
14171 char *kwnames
[] = {
14172 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14178 arg2
= (double) SWIG_AsDouble(obj1
);
14179 if (PyErr_Occurred()) SWIG_fail
;
14180 arg3
= (double) SWIG_AsDouble(obj2
);
14181 if (PyErr_Occurred()) SWIG_fail
;
14183 arg4
= (int) SWIG_AsInt(obj3
);
14184 if (PyErr_Occurred()) SWIG_fail
;
14187 arg5
= (int) SWIG_AsInt(obj4
);
14188 if (PyErr_Occurred()) SWIG_fail
;
14191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14192 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
14194 wxPyEndAllowThreads(__tstate
);
14195 if (PyErr_Occurred()) SWIG_fail
;
14197 Py_INCREF(Py_None
); resultobj
= Py_None
;
14204 static PyObject
*_wrap_PyBitmapShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14205 PyObject
*resultobj
;
14206 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14210 int arg5
= (int) 0 ;
14211 int arg6
= (int) 0 ;
14212 PyObject
* obj0
= 0 ;
14213 PyObject
* obj1
= 0 ;
14214 PyObject
* obj2
= 0 ;
14215 PyObject
* obj3
= 0 ;
14216 PyObject
* obj4
= 0 ;
14217 PyObject
* obj5
= 0 ;
14218 char *kwnames
[] = {
14219 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyBitmapShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14225 arg2
= (bool) SWIG_AsBool(obj1
);
14226 if (PyErr_Occurred()) SWIG_fail
;
14227 arg3
= (double) SWIG_AsDouble(obj2
);
14228 if (PyErr_Occurred()) SWIG_fail
;
14229 arg4
= (double) SWIG_AsDouble(obj3
);
14230 if (PyErr_Occurred()) SWIG_fail
;
14232 arg5
= (int) SWIG_AsInt(obj4
);
14233 if (PyErr_Occurred()) SWIG_fail
;
14236 arg6
= (int) SWIG_AsInt(obj5
);
14237 if (PyErr_Occurred()) SWIG_fail
;
14240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14241 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
14243 wxPyEndAllowThreads(__tstate
);
14244 if (PyErr_Occurred()) SWIG_fail
;
14246 Py_INCREF(Py_None
); resultobj
= Py_None
;
14253 static PyObject
*_wrap_PyBitmapShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14254 PyObject
*resultobj
;
14255 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14258 int arg4
= (int) 0 ;
14259 int arg5
= (int) 0 ;
14260 PyObject
* obj0
= 0 ;
14261 PyObject
* obj1
= 0 ;
14262 PyObject
* obj2
= 0 ;
14263 PyObject
* obj3
= 0 ;
14264 PyObject
* obj4
= 0 ;
14265 char *kwnames
[] = {
14266 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14272 arg2
= (double) SWIG_AsDouble(obj1
);
14273 if (PyErr_Occurred()) SWIG_fail
;
14274 arg3
= (double) SWIG_AsDouble(obj2
);
14275 if (PyErr_Occurred()) SWIG_fail
;
14277 arg4
= (int) SWIG_AsInt(obj3
);
14278 if (PyErr_Occurred()) SWIG_fail
;
14281 arg5
= (int) SWIG_AsInt(obj4
);
14282 if (PyErr_Occurred()) SWIG_fail
;
14285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14286 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
14288 wxPyEndAllowThreads(__tstate
);
14289 if (PyErr_Occurred()) SWIG_fail
;
14291 Py_INCREF(Py_None
); resultobj
= Py_None
;
14298 static PyObject
*_wrap_PyBitmapShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14299 PyObject
*resultobj
;
14300 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14303 int arg4
= (int) 0 ;
14304 int arg5
= (int) 0 ;
14305 PyObject
* obj0
= 0 ;
14306 PyObject
* obj1
= 0 ;
14307 PyObject
* obj2
= 0 ;
14308 PyObject
* obj3
= 0 ;
14309 PyObject
* obj4
= 0 ;
14310 char *kwnames
[] = {
14311 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14317 arg2
= (double) SWIG_AsDouble(obj1
);
14318 if (PyErr_Occurred()) SWIG_fail
;
14319 arg3
= (double) SWIG_AsDouble(obj2
);
14320 if (PyErr_Occurred()) SWIG_fail
;
14322 arg4
= (int) SWIG_AsInt(obj3
);
14323 if (PyErr_Occurred()) SWIG_fail
;
14326 arg5
= (int) SWIG_AsInt(obj4
);
14327 if (PyErr_Occurred()) SWIG_fail
;
14330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14331 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
14333 wxPyEndAllowThreads(__tstate
);
14334 if (PyErr_Occurred()) SWIG_fail
;
14336 Py_INCREF(Py_None
); resultobj
= Py_None
;
14343 static PyObject
*_wrap_PyBitmapShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14344 PyObject
*resultobj
;
14345 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14351 PyObject
* obj0
= 0 ;
14352 PyObject
* obj1
= 0 ;
14353 PyObject
* obj2
= 0 ;
14354 PyObject
* obj3
= 0 ;
14355 PyObject
* obj4
= 0 ;
14356 PyObject
* obj5
= 0 ;
14357 char *kwnames
[] = {
14358 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
14361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyBitmapShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14364 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14365 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14367 if (arg2
== NULL
) {
14368 PyErr_SetString(PyExc_TypeError
,"null reference");
14371 arg3
= (double) SWIG_AsDouble(obj2
);
14372 if (PyErr_Occurred()) SWIG_fail
;
14373 arg4
= (double) SWIG_AsDouble(obj3
);
14374 if (PyErr_Occurred()) SWIG_fail
;
14375 arg5
= (double) SWIG_AsDouble(obj4
);
14376 if (PyErr_Occurred()) SWIG_fail
;
14377 arg6
= (double) SWIG_AsDouble(obj5
);
14378 if (PyErr_Occurred()) SWIG_fail
;
14380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14381 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
14383 wxPyEndAllowThreads(__tstate
);
14384 if (PyErr_Occurred()) SWIG_fail
;
14386 Py_INCREF(Py_None
); resultobj
= Py_None
;
14393 static PyObject
*_wrap_PyBitmapShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14394 PyObject
*resultobj
;
14395 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14397 PyObject
* obj0
= 0 ;
14398 PyObject
* obj1
= 0 ;
14399 char *kwnames
[] = {
14400 (char *) "self",(char *) "dc", NULL
14403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
14404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14406 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14407 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14409 if (arg2
== NULL
) {
14410 PyErr_SetString(PyExc_TypeError
,"null reference");
14414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14415 (arg1
)->base_OnDrawControlPoints(*arg2
);
14417 wxPyEndAllowThreads(__tstate
);
14418 if (PyErr_Occurred()) SWIG_fail
;
14420 Py_INCREF(Py_None
); resultobj
= Py_None
;
14427 static PyObject
*_wrap_PyBitmapShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14428 PyObject
*resultobj
;
14429 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14431 PyObject
* obj0
= 0 ;
14432 PyObject
* obj1
= 0 ;
14433 char *kwnames
[] = {
14434 (char *) "self",(char *) "dc", NULL
14437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
14438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14440 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14441 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14443 if (arg2
== NULL
) {
14444 PyErr_SetString(PyExc_TypeError
,"null reference");
14448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14449 (arg1
)->base_OnEraseControlPoints(*arg2
);
14451 wxPyEndAllowThreads(__tstate
);
14452 if (PyErr_Occurred()) SWIG_fail
;
14454 Py_INCREF(Py_None
); resultobj
= Py_None
;
14461 static PyObject
*_wrap_PyBitmapShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14462 PyObject
*resultobj
;
14463 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14465 bool arg3
= (bool) True
;
14466 PyObject
* obj0
= 0 ;
14467 PyObject
* obj1
= 0 ;
14468 PyObject
* obj2
= 0 ;
14469 char *kwnames
[] = {
14470 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
14473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyBitmapShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14476 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14477 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14479 if (arg2
== NULL
) {
14480 PyErr_SetString(PyExc_TypeError
,"null reference");
14484 arg3
= (bool) SWIG_AsBool(obj2
);
14485 if (PyErr_Occurred()) SWIG_fail
;
14488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14489 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
14491 wxPyEndAllowThreads(__tstate
);
14492 if (PyErr_Occurred()) SWIG_fail
;
14494 Py_INCREF(Py_None
); resultobj
= Py_None
;
14501 static PyObject
*_wrap_PyBitmapShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14502 PyObject
*resultobj
;
14503 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14504 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
14508 int arg6
= (int) 0 ;
14509 int arg7
= (int) 0 ;
14510 PyObject
* obj0
= 0 ;
14511 PyObject
* obj1
= 0 ;
14512 PyObject
* obj2
= 0 ;
14513 PyObject
* obj3
= 0 ;
14514 PyObject
* obj4
= 0 ;
14515 PyObject
* obj5
= 0 ;
14516 PyObject
* obj6
= 0 ;
14517 char *kwnames
[] = {
14518 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyBitmapShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14524 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
14525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14526 arg3
= (bool) SWIG_AsBool(obj2
);
14527 if (PyErr_Occurred()) SWIG_fail
;
14528 arg4
= (double) SWIG_AsDouble(obj3
);
14529 if (PyErr_Occurred()) SWIG_fail
;
14530 arg5
= (double) SWIG_AsDouble(obj4
);
14531 if (PyErr_Occurred()) SWIG_fail
;
14533 arg6
= (int) SWIG_AsInt(obj5
);
14534 if (PyErr_Occurred()) SWIG_fail
;
14537 arg7
= (int) SWIG_AsInt(obj6
);
14538 if (PyErr_Occurred()) SWIG_fail
;
14541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14542 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
14544 wxPyEndAllowThreads(__tstate
);
14545 if (PyErr_Occurred()) SWIG_fail
;
14547 Py_INCREF(Py_None
); resultobj
= Py_None
;
14554 static PyObject
*_wrap_PyBitmapShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14555 PyObject
*resultobj
;
14556 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14557 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
14560 int arg5
= (int) 0 ;
14561 int arg6
= (int) 0 ;
14562 PyObject
* obj0
= 0 ;
14563 PyObject
* obj1
= 0 ;
14564 PyObject
* obj2
= 0 ;
14565 PyObject
* obj3
= 0 ;
14566 PyObject
* obj4
= 0 ;
14567 PyObject
* obj5
= 0 ;
14568 char *kwnames
[] = {
14569 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyBitmapShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14575 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
14576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14577 arg3
= (double) SWIG_AsDouble(obj2
);
14578 if (PyErr_Occurred()) SWIG_fail
;
14579 arg4
= (double) SWIG_AsDouble(obj3
);
14580 if (PyErr_Occurred()) SWIG_fail
;
14582 arg5
= (int) SWIG_AsInt(obj4
);
14583 if (PyErr_Occurred()) SWIG_fail
;
14586 arg6
= (int) SWIG_AsInt(obj5
);
14587 if (PyErr_Occurred()) SWIG_fail
;
14590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14591 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
14593 wxPyEndAllowThreads(__tstate
);
14594 if (PyErr_Occurred()) SWIG_fail
;
14596 Py_INCREF(Py_None
); resultobj
= Py_None
;
14603 static PyObject
*_wrap_PyBitmapShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14604 PyObject
*resultobj
;
14605 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14606 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
14609 int arg5
= (int) 0 ;
14610 int arg6
= (int) 0 ;
14611 PyObject
* obj0
= 0 ;
14612 PyObject
* obj1
= 0 ;
14613 PyObject
* obj2
= 0 ;
14614 PyObject
* obj3
= 0 ;
14615 PyObject
* obj4
= 0 ;
14616 PyObject
* obj5
= 0 ;
14617 char *kwnames
[] = {
14618 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyBitmapShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14624 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
14625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14626 arg3
= (double) SWIG_AsDouble(obj2
);
14627 if (PyErr_Occurred()) SWIG_fail
;
14628 arg4
= (double) SWIG_AsDouble(obj3
);
14629 if (PyErr_Occurred()) SWIG_fail
;
14631 arg5
= (int) SWIG_AsInt(obj4
);
14632 if (PyErr_Occurred()) SWIG_fail
;
14635 arg6
= (int) SWIG_AsInt(obj5
);
14636 if (PyErr_Occurred()) SWIG_fail
;
14639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14640 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
14642 wxPyEndAllowThreads(__tstate
);
14643 if (PyErr_Occurred()) SWIG_fail
;
14645 Py_INCREF(Py_None
); resultobj
= Py_None
;
14652 static PyObject
*_wrap_PyBitmapShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14653 PyObject
*resultobj
;
14654 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14657 PyObject
* obj0
= 0 ;
14658 PyObject
* obj1
= 0 ;
14659 PyObject
* obj2
= 0 ;
14660 char *kwnames
[] = {
14661 (char *) "self",(char *) "w",(char *) "h", NULL
14664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14667 arg2
= (double) SWIG_AsDouble(obj1
);
14668 if (PyErr_Occurred()) SWIG_fail
;
14669 arg3
= (double) SWIG_AsDouble(obj2
);
14670 if (PyErr_Occurred()) SWIG_fail
;
14672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14673 (arg1
)->base_OnBeginSize(arg2
,arg3
);
14675 wxPyEndAllowThreads(__tstate
);
14676 if (PyErr_Occurred()) SWIG_fail
;
14678 Py_INCREF(Py_None
); resultobj
= Py_None
;
14685 static PyObject
*_wrap_PyBitmapShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14686 PyObject
*resultobj
;
14687 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14690 PyObject
* obj0
= 0 ;
14691 PyObject
* obj1
= 0 ;
14692 PyObject
* obj2
= 0 ;
14693 char *kwnames
[] = {
14694 (char *) "self",(char *) "w",(char *) "h", NULL
14697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14700 arg2
= (double) SWIG_AsDouble(obj1
);
14701 if (PyErr_Occurred()) SWIG_fail
;
14702 arg3
= (double) SWIG_AsDouble(obj2
);
14703 if (PyErr_Occurred()) SWIG_fail
;
14705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14706 (arg1
)->base_OnEndSize(arg2
,arg3
);
14708 wxPyEndAllowThreads(__tstate
);
14709 if (PyErr_Occurred()) SWIG_fail
;
14711 Py_INCREF(Py_None
); resultobj
= Py_None
;
14718 static PyObject
* PyBitmapShape_swigregister(PyObject
*self
, PyObject
*args
) {
14720 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14721 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapShape
, obj
);
14723 return Py_BuildValue((char *)"");
14725 static PyObject
*_wrap_new_PyDrawnShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14726 PyObject
*resultobj
;
14727 wxPyDrawnShape
*result
;
14728 char *kwnames
[] = {
14732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyDrawnShape",kwnames
)) goto fail
;
14734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14735 result
= (wxPyDrawnShape
*)new wxPyDrawnShape();
14737 wxPyEndAllowThreads(__tstate
);
14738 if (PyErr_Occurred()) SWIG_fail
;
14740 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDrawnShape
, 1);
14747 static PyObject
*_wrap_PyDrawnShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14748 PyObject
*resultobj
;
14749 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14750 PyObject
*arg2
= (PyObject
*) 0 ;
14751 PyObject
*arg3
= (PyObject
*) 0 ;
14752 PyObject
* obj0
= 0 ;
14753 PyObject
* obj1
= 0 ;
14754 PyObject
* obj2
= 0 ;
14755 char *kwnames
[] = {
14756 (char *) "self",(char *) "self",(char *) "_class", NULL
14759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
14761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14766 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14768 wxPyEndAllowThreads(__tstate
);
14769 if (PyErr_Occurred()) SWIG_fail
;
14771 Py_INCREF(Py_None
); resultobj
= Py_None
;
14778 static PyObject
*_wrap_PyDrawnShape_CalculateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14779 PyObject
*resultobj
;
14780 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14781 PyObject
* obj0
= 0 ;
14782 char *kwnames
[] = {
14783 (char *) "self", NULL
14786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_CalculateSize",kwnames
,&obj0
)) goto fail
;
14787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
14788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14791 (arg1
)->CalculateSize();
14793 wxPyEndAllowThreads(__tstate
);
14794 if (PyErr_Occurred()) SWIG_fail
;
14796 Py_INCREF(Py_None
); resultobj
= Py_None
;
14803 static PyObject
*_wrap_PyDrawnShape_DestroyClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14804 PyObject
*resultobj
;
14805 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14806 PyObject
* obj0
= 0 ;
14807 char *kwnames
[] = {
14808 (char *) "self", NULL
14811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_DestroyClippingRect",kwnames
,&obj0
)) goto fail
;
14812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
14813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14816 (arg1
)->DestroyClippingRect();
14818 wxPyEndAllowThreads(__tstate
);
14819 if (PyErr_Occurred()) SWIG_fail
;
14821 Py_INCREF(Py_None
); resultobj
= Py_None
;
14828 static PyObject
*_wrap_PyDrawnShape_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14829 PyObject
*resultobj
;
14830 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14831 wxPoint
*arg2
= 0 ;
14832 wxPoint
*arg3
= 0 ;
14833 wxPoint
*arg4
= 0 ;
14837 PyObject
* obj0
= 0 ;
14838 PyObject
* obj1
= 0 ;
14839 PyObject
* obj2
= 0 ;
14840 PyObject
* obj3
= 0 ;
14841 char *kwnames
[] = {
14842 (char *) "self",(char *) "centrePoint",(char *) "startPoint",(char *) "endPoint", NULL
14845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyDrawnShape_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
14847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14850 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14854 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14858 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14862 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
14864 wxPyEndAllowThreads(__tstate
);
14865 if (PyErr_Occurred()) SWIG_fail
;
14867 Py_INCREF(Py_None
); resultobj
= Py_None
;
14874 static PyObject
*_wrap_PyDrawnShape_DrawAtAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14875 PyObject
*resultobj
;
14876 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14878 PyObject
* obj0
= 0 ;
14879 PyObject
* obj1
= 0 ;
14880 char *kwnames
[] = {
14881 (char *) "self",(char *) "angle", NULL
14884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_DrawAtAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
14885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
14886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14887 arg2
= (int) SWIG_AsInt(obj1
);
14888 if (PyErr_Occurred()) SWIG_fail
;
14890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14891 (arg1
)->DrawAtAngle(arg2
);
14893 wxPyEndAllowThreads(__tstate
);
14894 if (PyErr_Occurred()) SWIG_fail
;
14896 Py_INCREF(Py_None
); resultobj
= Py_None
;
14903 static PyObject
*_wrap_PyDrawnShape_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14904 PyObject
*resultobj
;
14905 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14910 PyObject
* obj0
= 0 ;
14911 PyObject
* obj1
= 0 ;
14912 PyObject
* obj2
= 0 ;
14913 PyObject
* obj3
= 0 ;
14914 char *kwnames
[] = {
14915 (char *) "self",(char *) "rect",(char *) "startAngle",(char *) "endAngle", NULL
14918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyDrawnShape_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
14920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14923 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
14925 arg3
= (double) SWIG_AsDouble(obj2
);
14926 if (PyErr_Occurred()) SWIG_fail
;
14927 arg4
= (double) SWIG_AsDouble(obj3
);
14928 if (PyErr_Occurred()) SWIG_fail
;
14930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14931 (arg1
)->DrawEllipticArc((wxRect
const &)*arg2
,arg3
,arg4
);
14933 wxPyEndAllowThreads(__tstate
);
14934 if (PyErr_Occurred()) SWIG_fail
;
14936 Py_INCREF(Py_None
); resultobj
= Py_None
;
14943 static PyObject
*_wrap_PyDrawnShape_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14944 PyObject
*resultobj
;
14945 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14946 wxPoint
*arg2
= 0 ;
14947 wxPoint
*arg3
= 0 ;
14950 PyObject
* obj0
= 0 ;
14951 PyObject
* obj1
= 0 ;
14952 PyObject
* obj2
= 0 ;
14953 char *kwnames
[] = {
14954 (char *) "self",(char *) "point1",(char *) "point2", NULL
14957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
14959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14962 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14966 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14970 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
14972 wxPyEndAllowThreads(__tstate
);
14973 if (PyErr_Occurred()) SWIG_fail
;
14975 Py_INCREF(Py_None
); resultobj
= Py_None
;
14982 static PyObject
*_wrap_PyDrawnShape_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14983 PyObject
*resultobj
;
14984 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14986 wxPoint
*arg3
= (wxPoint
*) 0 ;
14987 PyObject
* obj0
= 0 ;
14988 PyObject
* obj1
= 0 ;
14989 PyObject
* obj2
= 0 ;
14990 char *kwnames
[] = {
14991 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
14994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
14996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14997 arg2
= (int) SWIG_AsInt(obj1
);
14998 if (PyErr_Occurred()) SWIG_fail
;
14999 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPoint
,
15000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15003 (arg1
)->DrawLines(arg2
,arg3
);
15005 wxPyEndAllowThreads(__tstate
);
15006 if (PyErr_Occurred()) SWIG_fail
;
15008 Py_INCREF(Py_None
); resultobj
= Py_None
;
15015 static PyObject
*_wrap_PyDrawnShape_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15016 PyObject
*resultobj
;
15017 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15018 wxPoint
*arg2
= 0 ;
15020 PyObject
* obj0
= 0 ;
15021 PyObject
* obj1
= 0 ;
15022 char *kwnames
[] = {
15023 (char *) "self",(char *) "point", NULL
15026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_DrawPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
15027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15031 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15035 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
15037 wxPyEndAllowThreads(__tstate
);
15038 if (PyErr_Occurred()) SWIG_fail
;
15040 Py_INCREF(Py_None
); resultobj
= Py_None
;
15047 static PyObject
*_wrap_PyDrawnShape_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15048 PyObject
*resultobj
;
15049 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15051 wxPoint
*arg3
= (wxPoint
*) 0 ;
15052 int arg4
= (int) 0 ;
15053 PyObject
* obj0
= 0 ;
15054 PyObject
* obj1
= 0 ;
15055 PyObject
* obj2
= 0 ;
15056 PyObject
* obj3
= 0 ;
15057 char *kwnames
[] = {
15058 (char *) "self",(char *) "PCOUNT",(char *) "points",(char *) "flags", NULL
15061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyDrawnShape_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15064 arg2
= (int) SWIG_AsInt(obj1
);
15065 if (PyErr_Occurred()) SWIG_fail
;
15066 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPoint
,
15067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15069 arg4
= (int) SWIG_AsInt(obj3
);
15070 if (PyErr_Occurred()) SWIG_fail
;
15073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15074 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
);
15076 wxPyEndAllowThreads(__tstate
);
15077 if (PyErr_Occurred()) SWIG_fail
;
15079 Py_INCREF(Py_None
); resultobj
= Py_None
;
15086 static PyObject
*_wrap_PyDrawnShape_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15087 PyObject
*resultobj
;
15088 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15091 PyObject
* obj0
= 0 ;
15092 PyObject
* obj1
= 0 ;
15093 char *kwnames
[] = {
15094 (char *) "self",(char *) "rect", NULL
15097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_DrawRectangle",kwnames
,&obj0
,&obj1
)) goto fail
;
15098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15102 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15106 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
15108 wxPyEndAllowThreads(__tstate
);
15109 if (PyErr_Occurred()) SWIG_fail
;
15111 Py_INCREF(Py_None
); resultobj
= Py_None
;
15118 static PyObject
*_wrap_PyDrawnShape_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15119 PyObject
*resultobj
;
15120 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15124 PyObject
* obj0
= 0 ;
15125 PyObject
* obj1
= 0 ;
15126 PyObject
* obj2
= 0 ;
15127 char *kwnames
[] = {
15128 (char *) "self",(char *) "rect",(char *) "radius", NULL
15131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15136 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15138 arg3
= (double) SWIG_AsDouble(obj2
);
15139 if (PyErr_Occurred()) SWIG_fail
;
15141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15142 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
15144 wxPyEndAllowThreads(__tstate
);
15145 if (PyErr_Occurred()) SWIG_fail
;
15147 Py_INCREF(Py_None
); resultobj
= Py_None
;
15154 static PyObject
*_wrap_PyDrawnShape_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15155 PyObject
*resultobj
;
15156 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15158 wxPoint
*arg3
= (wxPoint
*) 0 ;
15159 PyObject
* obj0
= 0 ;
15160 PyObject
* obj1
= 0 ;
15161 PyObject
* obj2
= 0 ;
15162 char *kwnames
[] = {
15163 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
15166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_DrawSpline",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15169 arg2
= (int) SWIG_AsInt(obj1
);
15170 if (PyErr_Occurred()) SWIG_fail
;
15171 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPoint
,
15172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15175 (arg1
)->DrawSpline(arg2
,arg3
);
15177 wxPyEndAllowThreads(__tstate
);
15178 if (PyErr_Occurred()) SWIG_fail
;
15180 Py_INCREF(Py_None
); resultobj
= Py_None
;
15187 static PyObject
*_wrap_PyDrawnShape_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15188 PyObject
*resultobj
;
15189 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15190 wxString
*arg2
= 0 ;
15191 wxPoint
*arg3
= 0 ;
15192 bool temp2
= False
;
15194 PyObject
* obj0
= 0 ;
15195 PyObject
* obj1
= 0 ;
15196 PyObject
* obj2
= 0 ;
15197 char *kwnames
[] = {
15198 (char *) "self",(char *) "text",(char *) "point", NULL
15201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_DrawText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15205 arg2
= wxString_in_helper(obj1
);
15206 if (arg2
== NULL
) SWIG_fail
;
15211 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15215 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
15217 wxPyEndAllowThreads(__tstate
);
15218 if (PyErr_Occurred()) SWIG_fail
;
15220 Py_INCREF(Py_None
); resultobj
= Py_None
;
15235 static PyObject
*_wrap_PyDrawnShape_GetAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15236 PyObject
*resultobj
;
15237 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15239 PyObject
* obj0
= 0 ;
15240 char *kwnames
[] = {
15241 (char *) "self", NULL
15244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_GetAngle",kwnames
,&obj0
)) goto fail
;
15245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15249 result
= (int)(arg1
)->GetAngle();
15251 wxPyEndAllowThreads(__tstate
);
15252 if (PyErr_Occurred()) SWIG_fail
;
15254 resultobj
= SWIG_FromInt((int)result
);
15261 static PyObject
*_wrap_PyDrawnShape_GetMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15262 PyObject
*resultobj
;
15263 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15264 wxPseudoMetaFile
*result
;
15265 PyObject
* obj0
= 0 ;
15266 char *kwnames
[] = {
15267 (char *) "self", NULL
15270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_GetMetaFile",kwnames
,&obj0
)) goto fail
;
15271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15276 wxPseudoMetaFile
&_result_ref
= (arg1
)->GetMetaFile();
15277 result
= (wxPseudoMetaFile
*) &_result_ref
;
15280 wxPyEndAllowThreads(__tstate
);
15281 if (PyErr_Occurred()) SWIG_fail
;
15283 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPseudoMetaFile
, 0);
15290 static PyObject
*_wrap_PyDrawnShape_GetRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15291 PyObject
*resultobj
;
15292 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15294 PyObject
* obj0
= 0 ;
15295 char *kwnames
[] = {
15296 (char *) "self", NULL
15299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_GetRotation",kwnames
,&obj0
)) goto fail
;
15300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15304 result
= (double)(arg1
)->GetRotation();
15306 wxPyEndAllowThreads(__tstate
);
15307 if (PyErr_Occurred()) SWIG_fail
;
15309 resultobj
= SWIG_FromDouble((double)result
);
15316 static PyObject
*_wrap_PyDrawnShape_LoadFromMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15317 PyObject
*resultobj
;
15318 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15319 wxString
*arg2
= 0 ;
15321 bool temp2
= False
;
15322 PyObject
* obj0
= 0 ;
15323 PyObject
* obj1
= 0 ;
15324 char *kwnames
[] = {
15325 (char *) "self",(char *) "filename", NULL
15328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_LoadFromMetaFile",kwnames
,&obj0
,&obj1
)) goto fail
;
15329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15332 arg2
= wxString_in_helper(obj1
);
15333 if (arg2
== NULL
) SWIG_fail
;
15337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15338 result
= (bool)(arg1
)->LoadFromMetaFile((wxString
const &)*arg2
);
15340 wxPyEndAllowThreads(__tstate
);
15341 if (PyErr_Occurred()) SWIG_fail
;
15344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15360 static PyObject
*_wrap_PyDrawnShape_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15361 PyObject
*resultobj
;
15362 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15366 PyObject
* obj0
= 0 ;
15367 PyObject
* obj1
= 0 ;
15368 PyObject
* obj2
= 0 ;
15369 PyObject
* obj3
= 0 ;
15370 char *kwnames
[] = {
15371 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
15374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyDrawnShape_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15377 arg2
= (double) SWIG_AsDouble(obj1
);
15378 if (PyErr_Occurred()) SWIG_fail
;
15379 arg3
= (double) SWIG_AsDouble(obj2
);
15380 if (PyErr_Occurred()) SWIG_fail
;
15381 arg4
= (double) SWIG_AsDouble(obj3
);
15382 if (PyErr_Occurred()) SWIG_fail
;
15384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15385 (arg1
)->Rotate(arg2
,arg3
,arg4
);
15387 wxPyEndAllowThreads(__tstate
);
15388 if (PyErr_Occurred()) SWIG_fail
;
15390 Py_INCREF(Py_None
); resultobj
= Py_None
;
15397 static PyObject
*_wrap_PyDrawnShape_SetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15398 PyObject
*resultobj
;
15399 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15402 PyObject
* obj0
= 0 ;
15403 PyObject
* obj1
= 0 ;
15404 char *kwnames
[] = {
15405 (char *) "self",(char *) "rect", NULL
15408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
15409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15413 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15417 (arg1
)->SetClippingRect((wxRect
const &)*arg2
);
15419 wxPyEndAllowThreads(__tstate
);
15420 if (PyErr_Occurred()) SWIG_fail
;
15422 Py_INCREF(Py_None
); resultobj
= Py_None
;
15429 static PyObject
*_wrap_PyDrawnShape_SetDrawnBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15430 PyObject
*resultobj
;
15431 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15432 wxColour
*arg2
= 0 ;
15434 PyObject
* obj0
= 0 ;
15435 PyObject
* obj1
= 0 ;
15436 char *kwnames
[] = {
15437 (char *) "self",(char *) "colour", NULL
15440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetDrawnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15445 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15449 (arg1
)->SetDrawnBackgroundColour((wxColour
const &)*arg2
);
15451 wxPyEndAllowThreads(__tstate
);
15452 if (PyErr_Occurred()) SWIG_fail
;
15454 Py_INCREF(Py_None
); resultobj
= Py_None
;
15461 static PyObject
*_wrap_PyDrawnShape_SetDrawnBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15462 PyObject
*resultobj
;
15463 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15465 PyObject
* obj0
= 0 ;
15466 PyObject
* obj1
= 0 ;
15467 char *kwnames
[] = {
15468 (char *) "self",(char *) "mode", NULL
15471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetDrawnBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
15472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15474 arg2
= (int) SWIG_AsInt(obj1
);
15475 if (PyErr_Occurred()) SWIG_fail
;
15477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15478 (arg1
)->SetDrawnBackgroundMode(arg2
);
15480 wxPyEndAllowThreads(__tstate
);
15481 if (PyErr_Occurred()) SWIG_fail
;
15483 Py_INCREF(Py_None
); resultobj
= Py_None
;
15490 static PyObject
*_wrap_PyDrawnShape_SetDrawnBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15491 PyObject
*resultobj
;
15492 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15493 wxBrush
*arg2
= (wxBrush
*) 0 ;
15494 bool arg3
= (bool) FALSE
;
15495 PyObject
* obj0
= 0 ;
15496 PyObject
* obj1
= 0 ;
15497 PyObject
* obj2
= 0 ;
15498 char *kwnames
[] = {
15499 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
15502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDrawnShape_SetDrawnBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15508 if (obj1
== Py_None
) {
15511 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxBrush"))) {
15512 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxBrush.");
15517 arg2
= wxTheBrushList
->FindOrCreateBrush(temp
->GetColour(), temp
->GetStyle());
15522 arg3
= (bool) SWIG_AsBool(obj2
);
15523 if (PyErr_Occurred()) SWIG_fail
;
15526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15527 (arg1
)->SetDrawnBrush(arg2
,arg3
);
15529 wxPyEndAllowThreads(__tstate
);
15530 if (PyErr_Occurred()) SWIG_fail
;
15532 Py_INCREF(Py_None
); resultobj
= Py_None
;
15539 static PyObject
*_wrap_PyDrawnShape_SetDrawnFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15540 PyObject
*resultobj
;
15541 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15542 wxFont
*arg2
= (wxFont
*) 0 ;
15543 PyObject
* obj0
= 0 ;
15544 PyObject
* obj1
= 0 ;
15545 char *kwnames
[] = {
15546 (char *) "self",(char *) "font", NULL
15549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetDrawnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15555 if (obj1
== Py_None
) {
15558 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxFont"))) {
15559 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxFont.");
15564 arg2
= wxTheFontList
->FindOrCreateFont(temp
->GetPointSize(),
15568 temp
->GetUnderlined(),
15569 temp
->GetFaceName(),
15570 temp
->GetEncoding());
15575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15576 (arg1
)->SetDrawnFont(arg2
);
15578 wxPyEndAllowThreads(__tstate
);
15579 if (PyErr_Occurred()) SWIG_fail
;
15581 Py_INCREF(Py_None
); resultobj
= Py_None
;
15588 static PyObject
*_wrap_PyDrawnShape_SetDrawnPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15589 PyObject
*resultobj
;
15590 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15591 wxPen
*arg2
= (wxPen
*) 0 ;
15592 bool arg3
= (bool) FALSE
;
15593 PyObject
* obj0
= 0 ;
15594 PyObject
* obj1
= 0 ;
15595 PyObject
* obj2
= 0 ;
15596 char *kwnames
[] = {
15597 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
15600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDrawnShape_SetDrawnPen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15606 if (obj1
== Py_None
) {
15609 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
15610 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
15615 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
15622 arg3
= (bool) SWIG_AsBool(obj2
);
15623 if (PyErr_Occurred()) SWIG_fail
;
15626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15627 (arg1
)->SetDrawnPen(arg2
,arg3
);
15629 wxPyEndAllowThreads(__tstate
);
15630 if (PyErr_Occurred()) SWIG_fail
;
15632 Py_INCREF(Py_None
); resultobj
= Py_None
;
15639 static PyObject
*_wrap_PyDrawnShape_SetDrawnTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15640 PyObject
*resultobj
;
15641 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15642 wxColour
*arg2
= 0 ;
15644 PyObject
* obj0
= 0 ;
15645 PyObject
* obj1
= 0 ;
15646 char *kwnames
[] = {
15647 (char *) "self",(char *) "colour", NULL
15650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetDrawnTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15655 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15659 (arg1
)->SetDrawnTextColour((wxColour
const &)*arg2
);
15661 wxPyEndAllowThreads(__tstate
);
15662 if (PyErr_Occurred()) SWIG_fail
;
15664 Py_INCREF(Py_None
); resultobj
= Py_None
;
15671 static PyObject
*_wrap_PyDrawnShape_Scale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15672 PyObject
*resultobj
;
15673 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15676 PyObject
* obj0
= 0 ;
15677 PyObject
* obj1
= 0 ;
15678 PyObject
* obj2
= 0 ;
15679 char *kwnames
[] = {
15680 (char *) "self",(char *) "sx",(char *) "sy", NULL
15683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15686 arg2
= (double) SWIG_AsDouble(obj1
);
15687 if (PyErr_Occurred()) SWIG_fail
;
15688 arg3
= (double) SWIG_AsDouble(obj2
);
15689 if (PyErr_Occurred()) SWIG_fail
;
15691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15692 (arg1
)->Scale(arg2
,arg3
);
15694 wxPyEndAllowThreads(__tstate
);
15695 if (PyErr_Occurred()) SWIG_fail
;
15697 Py_INCREF(Py_None
); resultobj
= Py_None
;
15704 static PyObject
*_wrap_PyDrawnShape_SetSaveToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15705 PyObject
*resultobj
;
15706 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15708 PyObject
* obj0
= 0 ;
15709 PyObject
* obj1
= 0 ;
15710 char *kwnames
[] = {
15711 (char *) "self",(char *) "save", NULL
15714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetSaveToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
15715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15717 arg2
= (bool) SWIG_AsBool(obj1
);
15718 if (PyErr_Occurred()) SWIG_fail
;
15720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15721 (arg1
)->SetSaveToFile(arg2
);
15723 wxPyEndAllowThreads(__tstate
);
15724 if (PyErr_Occurred()) SWIG_fail
;
15726 Py_INCREF(Py_None
); resultobj
= Py_None
;
15733 static PyObject
*_wrap_PyDrawnShape_Translate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15734 PyObject
*resultobj
;
15735 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15738 PyObject
* obj0
= 0 ;
15739 PyObject
* obj1
= 0 ;
15740 PyObject
* obj2
= 0 ;
15741 char *kwnames
[] = {
15742 (char *) "self",(char *) "x",(char *) "y", NULL
15745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15748 arg2
= (double) SWIG_AsDouble(obj1
);
15749 if (PyErr_Occurred()) SWIG_fail
;
15750 arg3
= (double) SWIG_AsDouble(obj2
);
15751 if (PyErr_Occurred()) SWIG_fail
;
15753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15754 (arg1
)->Translate(arg2
,arg3
);
15756 wxPyEndAllowThreads(__tstate
);
15757 if (PyErr_Occurred()) SWIG_fail
;
15759 Py_INCREF(Py_None
); resultobj
= Py_None
;
15766 static PyObject
*_wrap_PyDrawnShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15767 PyObject
*resultobj
;
15768 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15769 PyObject
* obj0
= 0 ;
15770 char *kwnames
[] = {
15771 (char *) "self", NULL
15774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
15775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15779 (arg1
)->base_OnDelete();
15781 wxPyEndAllowThreads(__tstate
);
15782 if (PyErr_Occurred()) SWIG_fail
;
15784 Py_INCREF(Py_None
); resultobj
= Py_None
;
15791 static PyObject
*_wrap_PyDrawnShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15792 PyObject
*resultobj
;
15793 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15795 PyObject
* obj0
= 0 ;
15796 PyObject
* obj1
= 0 ;
15797 char *kwnames
[] = {
15798 (char *) "self",(char *) "dc", NULL
15801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
15802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15804 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
15805 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15807 if (arg2
== NULL
) {
15808 PyErr_SetString(PyExc_TypeError
,"null reference");
15812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15813 (arg1
)->base_OnDraw(*arg2
);
15815 wxPyEndAllowThreads(__tstate
);
15816 if (PyErr_Occurred()) SWIG_fail
;
15818 Py_INCREF(Py_None
); resultobj
= Py_None
;
15825 static PyObject
*_wrap_PyDrawnShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15826 PyObject
*resultobj
;
15827 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15829 PyObject
* obj0
= 0 ;
15830 PyObject
* obj1
= 0 ;
15831 char *kwnames
[] = {
15832 (char *) "self",(char *) "dc", NULL
15835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
15836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15838 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
15839 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15841 if (arg2
== NULL
) {
15842 PyErr_SetString(PyExc_TypeError
,"null reference");
15846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15847 (arg1
)->base_OnDrawContents(*arg2
);
15849 wxPyEndAllowThreads(__tstate
);
15850 if (PyErr_Occurred()) SWIG_fail
;
15852 Py_INCREF(Py_None
); resultobj
= Py_None
;
15859 static PyObject
*_wrap_PyDrawnShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15860 PyObject
*resultobj
;
15861 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15863 bool arg3
= (bool) FALSE
;
15864 PyObject
* obj0
= 0 ;
15865 PyObject
* obj1
= 0 ;
15866 PyObject
* obj2
= 0 ;
15867 char *kwnames
[] = {
15868 (char *) "self",(char *) "dc",(char *) "erase", NULL
15871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDrawnShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15874 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
15875 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15877 if (arg2
== NULL
) {
15878 PyErr_SetString(PyExc_TypeError
,"null reference");
15882 arg3
= (bool) SWIG_AsBool(obj2
);
15883 if (PyErr_Occurred()) SWIG_fail
;
15886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15887 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
15889 wxPyEndAllowThreads(__tstate
);
15890 if (PyErr_Occurred()) SWIG_fail
;
15892 Py_INCREF(Py_None
); resultobj
= Py_None
;
15899 static PyObject
*_wrap_PyDrawnShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15900 PyObject
*resultobj
;
15901 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15903 PyObject
* obj0
= 0 ;
15904 PyObject
* obj1
= 0 ;
15905 char *kwnames
[] = {
15906 (char *) "self",(char *) "dc", NULL
15909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
15910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15912 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
15913 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15915 if (arg2
== NULL
) {
15916 PyErr_SetString(PyExc_TypeError
,"null reference");
15920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15921 (arg1
)->base_OnMoveLinks(*arg2
);
15923 wxPyEndAllowThreads(__tstate
);
15924 if (PyErr_Occurred()) SWIG_fail
;
15926 Py_INCREF(Py_None
); resultobj
= Py_None
;
15933 static PyObject
*_wrap_PyDrawnShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15934 PyObject
*resultobj
;
15935 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15937 PyObject
* obj0
= 0 ;
15938 PyObject
* obj1
= 0 ;
15939 char *kwnames
[] = {
15940 (char *) "self",(char *) "dc", NULL
15943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
15944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15946 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
15947 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15949 if (arg2
== NULL
) {
15950 PyErr_SetString(PyExc_TypeError
,"null reference");
15954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15955 (arg1
)->base_OnErase(*arg2
);
15957 wxPyEndAllowThreads(__tstate
);
15958 if (PyErr_Occurred()) SWIG_fail
;
15960 Py_INCREF(Py_None
); resultobj
= Py_None
;
15967 static PyObject
*_wrap_PyDrawnShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15968 PyObject
*resultobj
;
15969 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15971 PyObject
* obj0
= 0 ;
15972 PyObject
* obj1
= 0 ;
15973 char *kwnames
[] = {
15974 (char *) "self",(char *) "dc", NULL
15977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
15978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15980 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
15981 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15983 if (arg2
== NULL
) {
15984 PyErr_SetString(PyExc_TypeError
,"null reference");
15988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15989 (arg1
)->base_OnEraseContents(*arg2
);
15991 wxPyEndAllowThreads(__tstate
);
15992 if (PyErr_Occurred()) SWIG_fail
;
15994 Py_INCREF(Py_None
); resultobj
= Py_None
;
16001 static PyObject
*_wrap_PyDrawnShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16002 PyObject
*resultobj
;
16003 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16005 PyObject
* obj0
= 0 ;
16006 PyObject
* obj1
= 0 ;
16007 char *kwnames
[] = {
16008 (char *) "self",(char *) "dc", NULL
16011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
16012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16014 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16015 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16017 if (arg2
== NULL
) {
16018 PyErr_SetString(PyExc_TypeError
,"null reference");
16022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16023 (arg1
)->base_OnHighlight(*arg2
);
16025 wxPyEndAllowThreads(__tstate
);
16026 if (PyErr_Occurred()) SWIG_fail
;
16028 Py_INCREF(Py_None
); resultobj
= Py_None
;
16035 static PyObject
*_wrap_PyDrawnShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16036 PyObject
*resultobj
;
16037 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16040 int arg4
= (int) 0 ;
16041 int arg5
= (int) 0 ;
16042 PyObject
* obj0
= 0 ;
16043 PyObject
* obj1
= 0 ;
16044 PyObject
* obj2
= 0 ;
16045 PyObject
* obj3
= 0 ;
16046 PyObject
* obj4
= 0 ;
16047 char *kwnames
[] = {
16048 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16054 arg2
= (double) SWIG_AsDouble(obj1
);
16055 if (PyErr_Occurred()) SWIG_fail
;
16056 arg3
= (double) SWIG_AsDouble(obj2
);
16057 if (PyErr_Occurred()) SWIG_fail
;
16059 arg4
= (int) SWIG_AsInt(obj3
);
16060 if (PyErr_Occurred()) SWIG_fail
;
16063 arg5
= (int) SWIG_AsInt(obj4
);
16064 if (PyErr_Occurred()) SWIG_fail
;
16067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16068 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
16070 wxPyEndAllowThreads(__tstate
);
16071 if (PyErr_Occurred()) SWIG_fail
;
16073 Py_INCREF(Py_None
); resultobj
= Py_None
;
16080 static PyObject
*_wrap_PyDrawnShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16081 PyObject
*resultobj
;
16082 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16085 int arg4
= (int) 0 ;
16086 int arg5
= (int) 0 ;
16087 PyObject
* obj0
= 0 ;
16088 PyObject
* obj1
= 0 ;
16089 PyObject
* obj2
= 0 ;
16090 PyObject
* obj3
= 0 ;
16091 PyObject
* obj4
= 0 ;
16092 char *kwnames
[] = {
16093 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16099 arg2
= (double) SWIG_AsDouble(obj1
);
16100 if (PyErr_Occurred()) SWIG_fail
;
16101 arg3
= (double) SWIG_AsDouble(obj2
);
16102 if (PyErr_Occurred()) SWIG_fail
;
16104 arg4
= (int) SWIG_AsInt(obj3
);
16105 if (PyErr_Occurred()) SWIG_fail
;
16108 arg5
= (int) SWIG_AsInt(obj4
);
16109 if (PyErr_Occurred()) SWIG_fail
;
16112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16113 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
16115 wxPyEndAllowThreads(__tstate
);
16116 if (PyErr_Occurred()) SWIG_fail
;
16118 Py_INCREF(Py_None
); resultobj
= Py_None
;
16125 static PyObject
*_wrap_PyDrawnShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16126 PyObject
*resultobj
;
16127 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16130 int arg4
= (int) 0 ;
16131 int arg5
= (int) 0 ;
16132 PyObject
* obj0
= 0 ;
16133 PyObject
* obj1
= 0 ;
16134 PyObject
* obj2
= 0 ;
16135 PyObject
* obj3
= 0 ;
16136 PyObject
* obj4
= 0 ;
16137 char *kwnames
[] = {
16138 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16144 arg2
= (double) SWIG_AsDouble(obj1
);
16145 if (PyErr_Occurred()) SWIG_fail
;
16146 arg3
= (double) SWIG_AsDouble(obj2
);
16147 if (PyErr_Occurred()) SWIG_fail
;
16149 arg4
= (int) SWIG_AsInt(obj3
);
16150 if (PyErr_Occurred()) SWIG_fail
;
16153 arg5
= (int) SWIG_AsInt(obj4
);
16154 if (PyErr_Occurred()) SWIG_fail
;
16157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16158 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
16160 wxPyEndAllowThreads(__tstate
);
16161 if (PyErr_Occurred()) SWIG_fail
;
16163 Py_INCREF(Py_None
); resultobj
= Py_None
;
16170 static PyObject
*_wrap_PyDrawnShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16171 PyObject
*resultobj
;
16172 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16175 PyObject
* obj0
= 0 ;
16176 PyObject
* obj1
= 0 ;
16177 PyObject
* obj2
= 0 ;
16178 char *kwnames
[] = {
16179 (char *) "self",(char *) "x",(char *) "y", NULL
16182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16185 arg2
= (double) SWIG_AsDouble(obj1
);
16186 if (PyErr_Occurred()) SWIG_fail
;
16187 arg3
= (double) SWIG_AsDouble(obj2
);
16188 if (PyErr_Occurred()) SWIG_fail
;
16190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16191 (arg1
)->base_OnSize(arg2
,arg3
);
16193 wxPyEndAllowThreads(__tstate
);
16194 if (PyErr_Occurred()) SWIG_fail
;
16196 Py_INCREF(Py_None
); resultobj
= Py_None
;
16203 static PyObject
*_wrap_PyDrawnShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16204 PyObject
*resultobj
;
16205 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16211 bool arg7
= (bool) True
;
16213 PyObject
* obj0
= 0 ;
16214 PyObject
* obj1
= 0 ;
16215 PyObject
* obj2
= 0 ;
16216 PyObject
* obj3
= 0 ;
16217 PyObject
* obj4
= 0 ;
16218 PyObject
* obj5
= 0 ;
16219 PyObject
* obj6
= 0 ;
16220 char *kwnames
[] = {
16221 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
16224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyDrawnShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16227 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16228 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16230 if (arg2
== NULL
) {
16231 PyErr_SetString(PyExc_TypeError
,"null reference");
16234 arg3
= (double) SWIG_AsDouble(obj2
);
16235 if (PyErr_Occurred()) SWIG_fail
;
16236 arg4
= (double) SWIG_AsDouble(obj3
);
16237 if (PyErr_Occurred()) SWIG_fail
;
16238 arg5
= (double) SWIG_AsDouble(obj4
);
16239 if (PyErr_Occurred()) SWIG_fail
;
16240 arg6
= (double) SWIG_AsDouble(obj5
);
16241 if (PyErr_Occurred()) SWIG_fail
;
16243 arg7
= (bool) SWIG_AsBool(obj6
);
16244 if (PyErr_Occurred()) SWIG_fail
;
16247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16248 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
16250 wxPyEndAllowThreads(__tstate
);
16251 if (PyErr_Occurred()) SWIG_fail
;
16254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16262 static PyObject
*_wrap_PyDrawnShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16263 PyObject
*resultobj
;
16264 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16270 bool arg7
= (bool) True
;
16271 PyObject
* obj0
= 0 ;
16272 PyObject
* obj1
= 0 ;
16273 PyObject
* obj2
= 0 ;
16274 PyObject
* obj3
= 0 ;
16275 PyObject
* obj4
= 0 ;
16276 PyObject
* obj5
= 0 ;
16277 PyObject
* obj6
= 0 ;
16278 char *kwnames
[] = {
16279 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
16282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyDrawnShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16285 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16286 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16288 if (arg2
== NULL
) {
16289 PyErr_SetString(PyExc_TypeError
,"null reference");
16292 arg3
= (double) SWIG_AsDouble(obj2
);
16293 if (PyErr_Occurred()) SWIG_fail
;
16294 arg4
= (double) SWIG_AsDouble(obj3
);
16295 if (PyErr_Occurred()) SWIG_fail
;
16296 arg5
= (double) SWIG_AsDouble(obj4
);
16297 if (PyErr_Occurred()) SWIG_fail
;
16298 arg6
= (double) SWIG_AsDouble(obj5
);
16299 if (PyErr_Occurred()) SWIG_fail
;
16301 arg7
= (bool) SWIG_AsBool(obj6
);
16302 if (PyErr_Occurred()) SWIG_fail
;
16305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16306 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
16308 wxPyEndAllowThreads(__tstate
);
16309 if (PyErr_Occurred()) SWIG_fail
;
16311 Py_INCREF(Py_None
); resultobj
= Py_None
;
16318 static PyObject
*_wrap_PyDrawnShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16319 PyObject
*resultobj
;
16320 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16324 int arg5
= (int) 0 ;
16325 int arg6
= (int) 0 ;
16326 PyObject
* obj0
= 0 ;
16327 PyObject
* obj1
= 0 ;
16328 PyObject
* obj2
= 0 ;
16329 PyObject
* obj3
= 0 ;
16330 PyObject
* obj4
= 0 ;
16331 PyObject
* obj5
= 0 ;
16332 char *kwnames
[] = {
16333 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDrawnShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16339 arg2
= (bool) SWIG_AsBool(obj1
);
16340 if (PyErr_Occurred()) SWIG_fail
;
16341 arg3
= (double) SWIG_AsDouble(obj2
);
16342 if (PyErr_Occurred()) SWIG_fail
;
16343 arg4
= (double) SWIG_AsDouble(obj3
);
16344 if (PyErr_Occurred()) SWIG_fail
;
16346 arg5
= (int) SWIG_AsInt(obj4
);
16347 if (PyErr_Occurred()) SWIG_fail
;
16350 arg6
= (int) SWIG_AsInt(obj5
);
16351 if (PyErr_Occurred()) SWIG_fail
;
16354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16355 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
16357 wxPyEndAllowThreads(__tstate
);
16358 if (PyErr_Occurred()) SWIG_fail
;
16360 Py_INCREF(Py_None
); resultobj
= Py_None
;
16367 static PyObject
*_wrap_PyDrawnShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16368 PyObject
*resultobj
;
16369 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16372 int arg4
= (int) 0 ;
16373 int arg5
= (int) 0 ;
16374 PyObject
* obj0
= 0 ;
16375 PyObject
* obj1
= 0 ;
16376 PyObject
* obj2
= 0 ;
16377 PyObject
* obj3
= 0 ;
16378 PyObject
* obj4
= 0 ;
16379 char *kwnames
[] = {
16380 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16386 arg2
= (double) SWIG_AsDouble(obj1
);
16387 if (PyErr_Occurred()) SWIG_fail
;
16388 arg3
= (double) SWIG_AsDouble(obj2
);
16389 if (PyErr_Occurred()) SWIG_fail
;
16391 arg4
= (int) SWIG_AsInt(obj3
);
16392 if (PyErr_Occurred()) SWIG_fail
;
16395 arg5
= (int) SWIG_AsInt(obj4
);
16396 if (PyErr_Occurred()) SWIG_fail
;
16399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16400 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
16402 wxPyEndAllowThreads(__tstate
);
16403 if (PyErr_Occurred()) SWIG_fail
;
16405 Py_INCREF(Py_None
); resultobj
= Py_None
;
16412 static PyObject
*_wrap_PyDrawnShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16413 PyObject
*resultobj
;
16414 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16417 int arg4
= (int) 0 ;
16418 int arg5
= (int) 0 ;
16419 PyObject
* obj0
= 0 ;
16420 PyObject
* obj1
= 0 ;
16421 PyObject
* obj2
= 0 ;
16422 PyObject
* obj3
= 0 ;
16423 PyObject
* obj4
= 0 ;
16424 char *kwnames
[] = {
16425 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16431 arg2
= (double) SWIG_AsDouble(obj1
);
16432 if (PyErr_Occurred()) SWIG_fail
;
16433 arg3
= (double) SWIG_AsDouble(obj2
);
16434 if (PyErr_Occurred()) SWIG_fail
;
16436 arg4
= (int) SWIG_AsInt(obj3
);
16437 if (PyErr_Occurred()) SWIG_fail
;
16440 arg5
= (int) SWIG_AsInt(obj4
);
16441 if (PyErr_Occurred()) SWIG_fail
;
16444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16445 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
16447 wxPyEndAllowThreads(__tstate
);
16448 if (PyErr_Occurred()) SWIG_fail
;
16450 Py_INCREF(Py_None
); resultobj
= Py_None
;
16457 static PyObject
*_wrap_PyDrawnShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16458 PyObject
*resultobj
;
16459 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16463 int arg5
= (int) 0 ;
16464 int arg6
= (int) 0 ;
16465 PyObject
* obj0
= 0 ;
16466 PyObject
* obj1
= 0 ;
16467 PyObject
* obj2
= 0 ;
16468 PyObject
* obj3
= 0 ;
16469 PyObject
* obj4
= 0 ;
16470 PyObject
* obj5
= 0 ;
16471 char *kwnames
[] = {
16472 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDrawnShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16478 arg2
= (bool) SWIG_AsBool(obj1
);
16479 if (PyErr_Occurred()) SWIG_fail
;
16480 arg3
= (double) SWIG_AsDouble(obj2
);
16481 if (PyErr_Occurred()) SWIG_fail
;
16482 arg4
= (double) SWIG_AsDouble(obj3
);
16483 if (PyErr_Occurred()) SWIG_fail
;
16485 arg5
= (int) SWIG_AsInt(obj4
);
16486 if (PyErr_Occurred()) SWIG_fail
;
16489 arg6
= (int) SWIG_AsInt(obj5
);
16490 if (PyErr_Occurred()) SWIG_fail
;
16493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16494 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
16496 wxPyEndAllowThreads(__tstate
);
16497 if (PyErr_Occurred()) SWIG_fail
;
16499 Py_INCREF(Py_None
); resultobj
= Py_None
;
16506 static PyObject
*_wrap_PyDrawnShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16507 PyObject
*resultobj
;
16508 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16511 int arg4
= (int) 0 ;
16512 int arg5
= (int) 0 ;
16513 PyObject
* obj0
= 0 ;
16514 PyObject
* obj1
= 0 ;
16515 PyObject
* obj2
= 0 ;
16516 PyObject
* obj3
= 0 ;
16517 PyObject
* obj4
= 0 ;
16518 char *kwnames
[] = {
16519 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16525 arg2
= (double) SWIG_AsDouble(obj1
);
16526 if (PyErr_Occurred()) SWIG_fail
;
16527 arg3
= (double) SWIG_AsDouble(obj2
);
16528 if (PyErr_Occurred()) SWIG_fail
;
16530 arg4
= (int) SWIG_AsInt(obj3
);
16531 if (PyErr_Occurred()) SWIG_fail
;
16534 arg5
= (int) SWIG_AsInt(obj4
);
16535 if (PyErr_Occurred()) SWIG_fail
;
16538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16539 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
16541 wxPyEndAllowThreads(__tstate
);
16542 if (PyErr_Occurred()) SWIG_fail
;
16544 Py_INCREF(Py_None
); resultobj
= Py_None
;
16551 static PyObject
*_wrap_PyDrawnShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16552 PyObject
*resultobj
;
16553 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16556 int arg4
= (int) 0 ;
16557 int arg5
= (int) 0 ;
16558 PyObject
* obj0
= 0 ;
16559 PyObject
* obj1
= 0 ;
16560 PyObject
* obj2
= 0 ;
16561 PyObject
* obj3
= 0 ;
16562 PyObject
* obj4
= 0 ;
16563 char *kwnames
[] = {
16564 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16570 arg2
= (double) SWIG_AsDouble(obj1
);
16571 if (PyErr_Occurred()) SWIG_fail
;
16572 arg3
= (double) SWIG_AsDouble(obj2
);
16573 if (PyErr_Occurred()) SWIG_fail
;
16575 arg4
= (int) SWIG_AsInt(obj3
);
16576 if (PyErr_Occurred()) SWIG_fail
;
16579 arg5
= (int) SWIG_AsInt(obj4
);
16580 if (PyErr_Occurred()) SWIG_fail
;
16583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16584 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
16586 wxPyEndAllowThreads(__tstate
);
16587 if (PyErr_Occurred()) SWIG_fail
;
16589 Py_INCREF(Py_None
); resultobj
= Py_None
;
16596 static PyObject
*_wrap_PyDrawnShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16597 PyObject
*resultobj
;
16598 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16604 PyObject
* obj0
= 0 ;
16605 PyObject
* obj1
= 0 ;
16606 PyObject
* obj2
= 0 ;
16607 PyObject
* obj3
= 0 ;
16608 PyObject
* obj4
= 0 ;
16609 PyObject
* obj5
= 0 ;
16610 char *kwnames
[] = {
16611 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
16614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyDrawnShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16617 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16618 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16620 if (arg2
== NULL
) {
16621 PyErr_SetString(PyExc_TypeError
,"null reference");
16624 arg3
= (double) SWIG_AsDouble(obj2
);
16625 if (PyErr_Occurred()) SWIG_fail
;
16626 arg4
= (double) SWIG_AsDouble(obj3
);
16627 if (PyErr_Occurred()) SWIG_fail
;
16628 arg5
= (double) SWIG_AsDouble(obj4
);
16629 if (PyErr_Occurred()) SWIG_fail
;
16630 arg6
= (double) SWIG_AsDouble(obj5
);
16631 if (PyErr_Occurred()) SWIG_fail
;
16633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16634 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
16636 wxPyEndAllowThreads(__tstate
);
16637 if (PyErr_Occurred()) SWIG_fail
;
16639 Py_INCREF(Py_None
); resultobj
= Py_None
;
16646 static PyObject
*_wrap_PyDrawnShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16647 PyObject
*resultobj
;
16648 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16650 PyObject
* obj0
= 0 ;
16651 PyObject
* obj1
= 0 ;
16652 char *kwnames
[] = {
16653 (char *) "self",(char *) "dc", NULL
16656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
16657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16659 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16660 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16662 if (arg2
== NULL
) {
16663 PyErr_SetString(PyExc_TypeError
,"null reference");
16667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16668 (arg1
)->base_OnDrawControlPoints(*arg2
);
16670 wxPyEndAllowThreads(__tstate
);
16671 if (PyErr_Occurred()) SWIG_fail
;
16673 Py_INCREF(Py_None
); resultobj
= Py_None
;
16680 static PyObject
*_wrap_PyDrawnShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16681 PyObject
*resultobj
;
16682 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16684 PyObject
* obj0
= 0 ;
16685 PyObject
* obj1
= 0 ;
16686 char *kwnames
[] = {
16687 (char *) "self",(char *) "dc", NULL
16690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
16691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16693 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16694 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16696 if (arg2
== NULL
) {
16697 PyErr_SetString(PyExc_TypeError
,"null reference");
16701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16702 (arg1
)->base_OnEraseControlPoints(*arg2
);
16704 wxPyEndAllowThreads(__tstate
);
16705 if (PyErr_Occurred()) SWIG_fail
;
16707 Py_INCREF(Py_None
); resultobj
= Py_None
;
16714 static PyObject
*_wrap_PyDrawnShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16715 PyObject
*resultobj
;
16716 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16718 bool arg3
= (bool) True
;
16719 PyObject
* obj0
= 0 ;
16720 PyObject
* obj1
= 0 ;
16721 PyObject
* obj2
= 0 ;
16722 char *kwnames
[] = {
16723 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
16726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDrawnShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16729 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16730 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16732 if (arg2
== NULL
) {
16733 PyErr_SetString(PyExc_TypeError
,"null reference");
16737 arg3
= (bool) SWIG_AsBool(obj2
);
16738 if (PyErr_Occurred()) SWIG_fail
;
16741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16742 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
16744 wxPyEndAllowThreads(__tstate
);
16745 if (PyErr_Occurred()) SWIG_fail
;
16747 Py_INCREF(Py_None
); resultobj
= Py_None
;
16754 static PyObject
*_wrap_PyDrawnShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16755 PyObject
*resultobj
;
16756 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16757 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
16761 int arg6
= (int) 0 ;
16762 int arg7
= (int) 0 ;
16763 PyObject
* obj0
= 0 ;
16764 PyObject
* obj1
= 0 ;
16765 PyObject
* obj2
= 0 ;
16766 PyObject
* obj3
= 0 ;
16767 PyObject
* obj4
= 0 ;
16768 PyObject
* obj5
= 0 ;
16769 PyObject
* obj6
= 0 ;
16770 char *kwnames
[] = {
16771 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyDrawnShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16777 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
16778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16779 arg3
= (bool) SWIG_AsBool(obj2
);
16780 if (PyErr_Occurred()) SWIG_fail
;
16781 arg4
= (double) SWIG_AsDouble(obj3
);
16782 if (PyErr_Occurred()) SWIG_fail
;
16783 arg5
= (double) SWIG_AsDouble(obj4
);
16784 if (PyErr_Occurred()) SWIG_fail
;
16786 arg6
= (int) SWIG_AsInt(obj5
);
16787 if (PyErr_Occurred()) SWIG_fail
;
16790 arg7
= (int) SWIG_AsInt(obj6
);
16791 if (PyErr_Occurred()) SWIG_fail
;
16794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16795 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
16797 wxPyEndAllowThreads(__tstate
);
16798 if (PyErr_Occurred()) SWIG_fail
;
16800 Py_INCREF(Py_None
); resultobj
= Py_None
;
16807 static PyObject
*_wrap_PyDrawnShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16808 PyObject
*resultobj
;
16809 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16810 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
16813 int arg5
= (int) 0 ;
16814 int arg6
= (int) 0 ;
16815 PyObject
* obj0
= 0 ;
16816 PyObject
* obj1
= 0 ;
16817 PyObject
* obj2
= 0 ;
16818 PyObject
* obj3
= 0 ;
16819 PyObject
* obj4
= 0 ;
16820 PyObject
* obj5
= 0 ;
16821 char *kwnames
[] = {
16822 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDrawnShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16828 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
16829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16830 arg3
= (double) SWIG_AsDouble(obj2
);
16831 if (PyErr_Occurred()) SWIG_fail
;
16832 arg4
= (double) SWIG_AsDouble(obj3
);
16833 if (PyErr_Occurred()) SWIG_fail
;
16835 arg5
= (int) SWIG_AsInt(obj4
);
16836 if (PyErr_Occurred()) SWIG_fail
;
16839 arg6
= (int) SWIG_AsInt(obj5
);
16840 if (PyErr_Occurred()) SWIG_fail
;
16843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16844 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
16846 wxPyEndAllowThreads(__tstate
);
16847 if (PyErr_Occurred()) SWIG_fail
;
16849 Py_INCREF(Py_None
); resultobj
= Py_None
;
16856 static PyObject
*_wrap_PyDrawnShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16857 PyObject
*resultobj
;
16858 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16859 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
16862 int arg5
= (int) 0 ;
16863 int arg6
= (int) 0 ;
16864 PyObject
* obj0
= 0 ;
16865 PyObject
* obj1
= 0 ;
16866 PyObject
* obj2
= 0 ;
16867 PyObject
* obj3
= 0 ;
16868 PyObject
* obj4
= 0 ;
16869 PyObject
* obj5
= 0 ;
16870 char *kwnames
[] = {
16871 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDrawnShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16877 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
16878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16879 arg3
= (double) SWIG_AsDouble(obj2
);
16880 if (PyErr_Occurred()) SWIG_fail
;
16881 arg4
= (double) SWIG_AsDouble(obj3
);
16882 if (PyErr_Occurred()) SWIG_fail
;
16884 arg5
= (int) SWIG_AsInt(obj4
);
16885 if (PyErr_Occurred()) SWIG_fail
;
16888 arg6
= (int) SWIG_AsInt(obj5
);
16889 if (PyErr_Occurred()) SWIG_fail
;
16892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16893 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
16895 wxPyEndAllowThreads(__tstate
);
16896 if (PyErr_Occurred()) SWIG_fail
;
16898 Py_INCREF(Py_None
); resultobj
= Py_None
;
16905 static PyObject
*_wrap_PyDrawnShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16906 PyObject
*resultobj
;
16907 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16910 PyObject
* obj0
= 0 ;
16911 PyObject
* obj1
= 0 ;
16912 PyObject
* obj2
= 0 ;
16913 char *kwnames
[] = {
16914 (char *) "self",(char *) "w",(char *) "h", NULL
16917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16920 arg2
= (double) SWIG_AsDouble(obj1
);
16921 if (PyErr_Occurred()) SWIG_fail
;
16922 arg3
= (double) SWIG_AsDouble(obj2
);
16923 if (PyErr_Occurred()) SWIG_fail
;
16925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16926 (arg1
)->base_OnBeginSize(arg2
,arg3
);
16928 wxPyEndAllowThreads(__tstate
);
16929 if (PyErr_Occurred()) SWIG_fail
;
16931 Py_INCREF(Py_None
); resultobj
= Py_None
;
16938 static PyObject
*_wrap_PyDrawnShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16939 PyObject
*resultobj
;
16940 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16943 PyObject
* obj0
= 0 ;
16944 PyObject
* obj1
= 0 ;
16945 PyObject
* obj2
= 0 ;
16946 char *kwnames
[] = {
16947 (char *) "self",(char *) "w",(char *) "h", NULL
16950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16953 arg2
= (double) SWIG_AsDouble(obj1
);
16954 if (PyErr_Occurred()) SWIG_fail
;
16955 arg3
= (double) SWIG_AsDouble(obj2
);
16956 if (PyErr_Occurred()) SWIG_fail
;
16958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16959 (arg1
)->base_OnEndSize(arg2
,arg3
);
16961 wxPyEndAllowThreads(__tstate
);
16962 if (PyErr_Occurred()) SWIG_fail
;
16964 Py_INCREF(Py_None
); resultobj
= Py_None
;
16971 static PyObject
* PyDrawnShape_swigregister(PyObject
*self
, PyObject
*args
) {
16973 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16974 SWIG_TypeClientData(SWIGTYPE_p_wxPyDrawnShape
, obj
);
16976 return Py_BuildValue((char *)"");
16978 static PyObject
*_wrap_new_OGLConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16979 PyObject
*resultobj
;
16981 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
16982 PyObject
*arg3
= (PyObject
*) 0 ;
16983 wxOGLConstraint
*result
;
16984 PyObject
* obj0
= 0 ;
16985 PyObject
* obj1
= 0 ;
16986 PyObject
* obj2
= 0 ;
16987 char *kwnames
[] = {
16988 (char *) "type",(char *) "constraining",(char *) "constrained", NULL
16991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_OGLConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16992 arg1
= (int) SWIG_AsInt(obj0
);
16993 if (PyErr_Occurred()) SWIG_fail
;
16994 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
16995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16999 result
= (wxOGLConstraint
*)new_wxOGLConstraint(arg1
,arg2
,arg3
);
17001 wxPyEndAllowThreads(__tstate
);
17002 if (PyErr_Occurred()) SWIG_fail
;
17005 resultobj
= wxPyMake_wxObject(result
);
17013 static PyObject
*_wrap_OGLConstraint_Evaluate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17014 PyObject
*resultobj
;
17015 wxOGLConstraint
*arg1
= (wxOGLConstraint
*) 0 ;
17017 PyObject
* obj0
= 0 ;
17018 char *kwnames
[] = {
17019 (char *) "self", NULL
17022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:OGLConstraint_Evaluate",kwnames
,&obj0
)) goto fail
;
17023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOGLConstraint
,
17024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17027 result
= (bool)(arg1
)->Evaluate();
17029 wxPyEndAllowThreads(__tstate
);
17030 if (PyErr_Occurred()) SWIG_fail
;
17033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17041 static PyObject
*_wrap_OGLConstraint_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17042 PyObject
*resultobj
;
17043 wxOGLConstraint
*arg1
= (wxOGLConstraint
*) 0 ;
17046 PyObject
* obj0
= 0 ;
17047 PyObject
* obj1
= 0 ;
17048 PyObject
* obj2
= 0 ;
17049 char *kwnames
[] = {
17050 (char *) "self",(char *) "x",(char *) "y", NULL
17053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:OGLConstraint_SetSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOGLConstraint
,
17055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17056 arg2
= (double) SWIG_AsDouble(obj1
);
17057 if (PyErr_Occurred()) SWIG_fail
;
17058 arg3
= (double) SWIG_AsDouble(obj2
);
17059 if (PyErr_Occurred()) SWIG_fail
;
17061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17062 (arg1
)->SetSpacing(arg2
,arg3
);
17064 wxPyEndAllowThreads(__tstate
);
17065 if (PyErr_Occurred()) SWIG_fail
;
17067 Py_INCREF(Py_None
); resultobj
= Py_None
;
17074 static PyObject
*_wrap_OGLConstraint_Equals(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17075 PyObject
*resultobj
;
17076 wxOGLConstraint
*arg1
= (wxOGLConstraint
*) 0 ;
17080 PyObject
* obj0
= 0 ;
17081 PyObject
* obj1
= 0 ;
17082 PyObject
* obj2
= 0 ;
17083 char *kwnames
[] = {
17084 (char *) "self",(char *) "a",(char *) "b", NULL
17087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:OGLConstraint_Equals",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOGLConstraint
,
17089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17090 arg2
= (double) SWIG_AsDouble(obj1
);
17091 if (PyErr_Occurred()) SWIG_fail
;
17092 arg3
= (double) SWIG_AsDouble(obj2
);
17093 if (PyErr_Occurred()) SWIG_fail
;
17095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17096 result
= (bool)(arg1
)->Equals(arg2
,arg3
);
17098 wxPyEndAllowThreads(__tstate
);
17099 if (PyErr_Occurred()) SWIG_fail
;
17102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17110 static PyObject
* OGLConstraint_swigregister(PyObject
*self
, PyObject
*args
) {
17112 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17113 SWIG_TypeClientData(SWIGTYPE_p_wxOGLConstraint
, obj
);
17115 return Py_BuildValue((char *)"");
17117 static PyObject
*_wrap_new_PyCompositeShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17118 PyObject
*resultobj
;
17119 wxPyCompositeShape
*result
;
17120 char *kwnames
[] = {
17124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyCompositeShape",kwnames
)) goto fail
;
17126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17127 result
= (wxPyCompositeShape
*)new wxPyCompositeShape();
17129 wxPyEndAllowThreads(__tstate
);
17130 if (PyErr_Occurred()) SWIG_fail
;
17132 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCompositeShape
, 1);
17139 static PyObject
*_wrap_PyCompositeShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17140 PyObject
*resultobj
;
17141 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17142 PyObject
*arg2
= (PyObject
*) 0 ;
17143 PyObject
*arg3
= (PyObject
*) 0 ;
17144 PyObject
* obj0
= 0 ;
17145 PyObject
* obj1
= 0 ;
17146 PyObject
* obj2
= 0 ;
17147 char *kwnames
[] = {
17148 (char *) "self",(char *) "self",(char *) "_class", NULL
17151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCompositeShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17158 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17160 wxPyEndAllowThreads(__tstate
);
17161 if (PyErr_Occurred()) SWIG_fail
;
17163 Py_INCREF(Py_None
); resultobj
= Py_None
;
17170 static PyObject
*_wrap_PyCompositeShape_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17171 PyObject
*resultobj
;
17172 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17173 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
17174 wxPyShape
*arg3
= (wxPyShape
*) NULL
;
17175 PyObject
* obj0
= 0 ;
17176 PyObject
* obj1
= 0 ;
17177 PyObject
* obj2
= 0 ;
17178 char *kwnames
[] = {
17179 (char *) "self",(char *) "child",(char *) "addAfter", NULL
17182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCompositeShape_AddChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17185 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
17186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17188 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyShape
,
17189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17193 (arg1
)->AddChild(arg2
,arg3
);
17195 wxPyEndAllowThreads(__tstate
);
17196 if (PyErr_Occurred()) SWIG_fail
;
17198 Py_INCREF(Py_None
); resultobj
= Py_None
;
17205 static PyObject
*_wrap_PyCompositeShape_AddConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17206 PyObject
*resultobj
;
17207 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17208 wxOGLConstraint
*arg2
= (wxOGLConstraint
*) 0 ;
17209 wxOGLConstraint
*result
;
17210 PyObject
* obj0
= 0 ;
17211 PyObject
* obj1
= 0 ;
17212 char *kwnames
[] = {
17213 (char *) "self",(char *) "constraint", NULL
17216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_AddConstraint",kwnames
,&obj0
,&obj1
)) goto fail
;
17217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17219 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxOGLConstraint
,
17220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17223 result
= (wxOGLConstraint
*)(arg1
)->AddConstraint(arg2
);
17225 wxPyEndAllowThreads(__tstate
);
17226 if (PyErr_Occurred()) SWIG_fail
;
17229 resultobj
= wxPyMake_wxObject(result
);
17237 static PyObject
*_wrap_PyCompositeShape_AddConstrainedShapes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17238 PyObject
*resultobj
;
17239 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17241 wxPyShape
*arg3
= (wxPyShape
*) 0 ;
17242 PyObject
*arg4
= (PyObject
*) 0 ;
17243 wxOGLConstraint
*result
;
17244 PyObject
* obj0
= 0 ;
17245 PyObject
* obj1
= 0 ;
17246 PyObject
* obj2
= 0 ;
17247 PyObject
* obj3
= 0 ;
17248 char *kwnames
[] = {
17249 (char *) "self",(char *) "type",(char *) "constraining",(char *) "constrained", NULL
17252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyCompositeShape_AddConstrainedShapes",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17255 arg2
= (int) SWIG_AsInt(obj1
);
17256 if (PyErr_Occurred()) SWIG_fail
;
17257 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyShape
,
17258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17262 result
= (wxOGLConstraint
*)wxPyCompositeShape_AddConstrainedShapes(arg1
,arg2
,arg3
,arg4
);
17264 wxPyEndAllowThreads(__tstate
);
17265 if (PyErr_Occurred()) SWIG_fail
;
17268 resultobj
= wxPyMake_wxObject(result
);
17276 static PyObject
*_wrap_PyCompositeShape_AddSimpleConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17277 PyObject
*resultobj
;
17278 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17280 wxPyShape
*arg3
= (wxPyShape
*) 0 ;
17281 wxPyShape
*arg4
= (wxPyShape
*) 0 ;
17282 wxOGLConstraint
*result
;
17283 PyObject
* obj0
= 0 ;
17284 PyObject
* obj1
= 0 ;
17285 PyObject
* obj2
= 0 ;
17286 PyObject
* obj3
= 0 ;
17287 char *kwnames
[] = {
17288 (char *) "self",(char *) "type",(char *) "constraining",(char *) "constrained", NULL
17291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyCompositeShape_AddSimpleConstraint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17294 arg2
= (int) SWIG_AsInt(obj1
);
17295 if (PyErr_Occurred()) SWIG_fail
;
17296 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyShape
,
17297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17298 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxPyShape
,
17299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17302 result
= (wxOGLConstraint
*)(arg1
)->AddConstraint(arg2
,arg3
,arg4
);
17304 wxPyEndAllowThreads(__tstate
);
17305 if (PyErr_Occurred()) SWIG_fail
;
17308 resultobj
= wxPyMake_wxObject(result
);
17316 static PyObject
*_wrap_PyCompositeShape_CalculateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17317 PyObject
*resultobj
;
17318 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17319 PyObject
* obj0
= 0 ;
17320 char *kwnames
[] = {
17321 (char *) "self", NULL
17324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_CalculateSize",kwnames
,&obj0
)) goto fail
;
17325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17329 (arg1
)->CalculateSize();
17331 wxPyEndAllowThreads(__tstate
);
17332 if (PyErr_Occurred()) SWIG_fail
;
17334 Py_INCREF(Py_None
); resultobj
= Py_None
;
17341 static PyObject
*_wrap_PyCompositeShape_ContainsDivision(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17342 PyObject
*resultobj
;
17343 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17344 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
17346 PyObject
* obj0
= 0 ;
17347 PyObject
* obj1
= 0 ;
17348 char *kwnames
[] = {
17349 (char *) "self",(char *) "division", NULL
17352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_ContainsDivision",kwnames
,&obj0
,&obj1
)) goto fail
;
17353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17355 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDivisionShape
,
17356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17359 result
= (bool)(arg1
)->ContainsDivision(arg2
);
17361 wxPyEndAllowThreads(__tstate
);
17362 if (PyErr_Occurred()) SWIG_fail
;
17365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17373 static PyObject
*_wrap_PyCompositeShape_DeleteConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17374 PyObject
*resultobj
;
17375 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17376 wxOGLConstraint
*arg2
= (wxOGLConstraint
*) 0 ;
17377 PyObject
* obj0
= 0 ;
17378 PyObject
* obj1
= 0 ;
17379 char *kwnames
[] = {
17380 (char *) "self",(char *) "constraint", NULL
17383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_DeleteConstraint",kwnames
,&obj0
,&obj1
)) goto fail
;
17384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17386 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxOGLConstraint
,
17387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17390 (arg1
)->DeleteConstraint(arg2
);
17392 wxPyEndAllowThreads(__tstate
);
17393 if (PyErr_Occurred()) SWIG_fail
;
17395 Py_INCREF(Py_None
); resultobj
= Py_None
;
17402 static PyObject
*_wrap_PyCompositeShape_DeleteConstraintsInvolvingChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17403 PyObject
*resultobj
;
17404 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17405 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
17406 PyObject
* obj0
= 0 ;
17407 PyObject
* obj1
= 0 ;
17408 char *kwnames
[] = {
17409 (char *) "self",(char *) "child", NULL
17412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_DeleteConstraintsInvolvingChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17415 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
17416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17419 (arg1
)->DeleteConstraintsInvolvingChild(arg2
);
17421 wxPyEndAllowThreads(__tstate
);
17422 if (PyErr_Occurred()) SWIG_fail
;
17424 Py_INCREF(Py_None
); resultobj
= Py_None
;
17431 static PyObject
*_wrap_PyCompositeShape_FindContainerImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17432 PyObject
*resultobj
;
17433 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17435 PyObject
* obj0
= 0 ;
17436 char *kwnames
[] = {
17437 (char *) "self", NULL
17440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_FindContainerImage",kwnames
,&obj0
)) goto fail
;
17441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17445 result
= (wxPyShape
*)(arg1
)->FindContainerImage();
17447 wxPyEndAllowThreads(__tstate
);
17448 if (PyErr_Occurred()) SWIG_fail
;
17451 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
17459 static PyObject
*_wrap_PyCompositeShape_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17460 PyObject
*resultobj
;
17461 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17463 PyObject
* obj0
= 0 ;
17464 char *kwnames
[] = {
17465 (char *) "self", NULL
17468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_GetConstraints",kwnames
,&obj0
)) goto fail
;
17469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17473 result
= (PyObject
*)wxPyCompositeShape_GetConstraints(arg1
);
17475 wxPyEndAllowThreads(__tstate
);
17476 if (PyErr_Occurred()) SWIG_fail
;
17478 resultobj
= result
;
17485 static PyObject
*_wrap_PyCompositeShape_GetDivisions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17486 PyObject
*resultobj
;
17487 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17489 PyObject
* obj0
= 0 ;
17490 char *kwnames
[] = {
17491 (char *) "self", NULL
17494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_GetDivisions",kwnames
,&obj0
)) goto fail
;
17495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17499 result
= (PyObject
*)wxPyCompositeShape_GetDivisions(arg1
);
17501 wxPyEndAllowThreads(__tstate
);
17502 if (PyErr_Occurred()) SWIG_fail
;
17504 resultobj
= result
;
17511 static PyObject
*_wrap_PyCompositeShape_MakeContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17512 PyObject
*resultobj
;
17513 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17514 PyObject
* obj0
= 0 ;
17515 char *kwnames
[] = {
17516 (char *) "self", NULL
17519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_MakeContainer",kwnames
,&obj0
)) goto fail
;
17520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17524 (arg1
)->MakeContainer();
17526 wxPyEndAllowThreads(__tstate
);
17527 if (PyErr_Occurred()) SWIG_fail
;
17529 Py_INCREF(Py_None
); resultobj
= Py_None
;
17536 static PyObject
*_wrap_PyCompositeShape_Recompute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17537 PyObject
*resultobj
;
17538 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17540 PyObject
* obj0
= 0 ;
17541 char *kwnames
[] = {
17542 (char *) "self", NULL
17545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_Recompute",kwnames
,&obj0
)) goto fail
;
17546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17550 result
= (bool)(arg1
)->Recompute();
17552 wxPyEndAllowThreads(__tstate
);
17553 if (PyErr_Occurred()) SWIG_fail
;
17556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17564 static PyObject
*_wrap_PyCompositeShape_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17565 PyObject
*resultobj
;
17566 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17567 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
17568 PyObject
* obj0
= 0 ;
17569 PyObject
* obj1
= 0 ;
17570 char *kwnames
[] = {
17571 (char *) "self",(char *) "child", NULL
17574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17577 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
17578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17581 (arg1
)->RemoveChild(arg2
);
17583 wxPyEndAllowThreads(__tstate
);
17584 if (PyErr_Occurred()) SWIG_fail
;
17586 Py_INCREF(Py_None
); resultobj
= Py_None
;
17593 static PyObject
*_wrap_PyCompositeShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17594 PyObject
*resultobj
;
17595 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17596 PyObject
* obj0
= 0 ;
17597 char *kwnames
[] = {
17598 (char *) "self", NULL
17601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
17602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17606 (arg1
)->base_OnDelete();
17608 wxPyEndAllowThreads(__tstate
);
17609 if (PyErr_Occurred()) SWIG_fail
;
17611 Py_INCREF(Py_None
); resultobj
= Py_None
;
17618 static PyObject
*_wrap_PyCompositeShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17619 PyObject
*resultobj
;
17620 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17622 PyObject
* obj0
= 0 ;
17623 PyObject
* obj1
= 0 ;
17624 char *kwnames
[] = {
17625 (char *) "self",(char *) "dc", NULL
17628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
17629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17631 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17632 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17634 if (arg2
== NULL
) {
17635 PyErr_SetString(PyExc_TypeError
,"null reference");
17639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17640 (arg1
)->base_OnDraw(*arg2
);
17642 wxPyEndAllowThreads(__tstate
);
17643 if (PyErr_Occurred()) SWIG_fail
;
17645 Py_INCREF(Py_None
); resultobj
= Py_None
;
17652 static PyObject
*_wrap_PyCompositeShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17653 PyObject
*resultobj
;
17654 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17656 PyObject
* obj0
= 0 ;
17657 PyObject
* obj1
= 0 ;
17658 char *kwnames
[] = {
17659 (char *) "self",(char *) "dc", NULL
17662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
17663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17665 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17666 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17668 if (arg2
== NULL
) {
17669 PyErr_SetString(PyExc_TypeError
,"null reference");
17673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17674 (arg1
)->base_OnDrawContents(*arg2
);
17676 wxPyEndAllowThreads(__tstate
);
17677 if (PyErr_Occurred()) SWIG_fail
;
17679 Py_INCREF(Py_None
); resultobj
= Py_None
;
17686 static PyObject
*_wrap_PyCompositeShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17687 PyObject
*resultobj
;
17688 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17690 bool arg3
= (bool) FALSE
;
17691 PyObject
* obj0
= 0 ;
17692 PyObject
* obj1
= 0 ;
17693 PyObject
* obj2
= 0 ;
17694 char *kwnames
[] = {
17695 (char *) "self",(char *) "dc",(char *) "erase", NULL
17698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCompositeShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17701 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17702 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17704 if (arg2
== NULL
) {
17705 PyErr_SetString(PyExc_TypeError
,"null reference");
17709 arg3
= (bool) SWIG_AsBool(obj2
);
17710 if (PyErr_Occurred()) SWIG_fail
;
17713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17714 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
17716 wxPyEndAllowThreads(__tstate
);
17717 if (PyErr_Occurred()) SWIG_fail
;
17719 Py_INCREF(Py_None
); resultobj
= Py_None
;
17726 static PyObject
*_wrap_PyCompositeShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17727 PyObject
*resultobj
;
17728 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17730 PyObject
* obj0
= 0 ;
17731 PyObject
* obj1
= 0 ;
17732 char *kwnames
[] = {
17733 (char *) "self",(char *) "dc", NULL
17736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
17737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17739 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17740 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17742 if (arg2
== NULL
) {
17743 PyErr_SetString(PyExc_TypeError
,"null reference");
17747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17748 (arg1
)->base_OnMoveLinks(*arg2
);
17750 wxPyEndAllowThreads(__tstate
);
17751 if (PyErr_Occurred()) SWIG_fail
;
17753 Py_INCREF(Py_None
); resultobj
= Py_None
;
17760 static PyObject
*_wrap_PyCompositeShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17761 PyObject
*resultobj
;
17762 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17764 PyObject
* obj0
= 0 ;
17765 PyObject
* obj1
= 0 ;
17766 char *kwnames
[] = {
17767 (char *) "self",(char *) "dc", NULL
17770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
17771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17773 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17774 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17776 if (arg2
== NULL
) {
17777 PyErr_SetString(PyExc_TypeError
,"null reference");
17781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17782 (arg1
)->base_OnErase(*arg2
);
17784 wxPyEndAllowThreads(__tstate
);
17785 if (PyErr_Occurred()) SWIG_fail
;
17787 Py_INCREF(Py_None
); resultobj
= Py_None
;
17794 static PyObject
*_wrap_PyCompositeShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17795 PyObject
*resultobj
;
17796 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17798 PyObject
* obj0
= 0 ;
17799 PyObject
* obj1
= 0 ;
17800 char *kwnames
[] = {
17801 (char *) "self",(char *) "dc", NULL
17804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
17805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17807 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17808 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17810 if (arg2
== NULL
) {
17811 PyErr_SetString(PyExc_TypeError
,"null reference");
17815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17816 (arg1
)->base_OnEraseContents(*arg2
);
17818 wxPyEndAllowThreads(__tstate
);
17819 if (PyErr_Occurred()) SWIG_fail
;
17821 Py_INCREF(Py_None
); resultobj
= Py_None
;
17828 static PyObject
*_wrap_PyCompositeShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17829 PyObject
*resultobj
;
17830 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17832 PyObject
* obj0
= 0 ;
17833 PyObject
* obj1
= 0 ;
17834 char *kwnames
[] = {
17835 (char *) "self",(char *) "dc", NULL
17838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
17839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17841 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17842 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17844 if (arg2
== NULL
) {
17845 PyErr_SetString(PyExc_TypeError
,"null reference");
17849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17850 (arg1
)->base_OnHighlight(*arg2
);
17852 wxPyEndAllowThreads(__tstate
);
17853 if (PyErr_Occurred()) SWIG_fail
;
17855 Py_INCREF(Py_None
); resultobj
= Py_None
;
17862 static PyObject
*_wrap_PyCompositeShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17863 PyObject
*resultobj
;
17864 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17867 int arg4
= (int) 0 ;
17868 int arg5
= (int) 0 ;
17869 PyObject
* obj0
= 0 ;
17870 PyObject
* obj1
= 0 ;
17871 PyObject
* obj2
= 0 ;
17872 PyObject
* obj3
= 0 ;
17873 PyObject
* obj4
= 0 ;
17874 char *kwnames
[] = {
17875 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17881 arg2
= (double) SWIG_AsDouble(obj1
);
17882 if (PyErr_Occurred()) SWIG_fail
;
17883 arg3
= (double) SWIG_AsDouble(obj2
);
17884 if (PyErr_Occurred()) SWIG_fail
;
17886 arg4
= (int) SWIG_AsInt(obj3
);
17887 if (PyErr_Occurred()) SWIG_fail
;
17890 arg5
= (int) SWIG_AsInt(obj4
);
17891 if (PyErr_Occurred()) SWIG_fail
;
17894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17895 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
17897 wxPyEndAllowThreads(__tstate
);
17898 if (PyErr_Occurred()) SWIG_fail
;
17900 Py_INCREF(Py_None
); resultobj
= Py_None
;
17907 static PyObject
*_wrap_PyCompositeShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17908 PyObject
*resultobj
;
17909 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17912 int arg4
= (int) 0 ;
17913 int arg5
= (int) 0 ;
17914 PyObject
* obj0
= 0 ;
17915 PyObject
* obj1
= 0 ;
17916 PyObject
* obj2
= 0 ;
17917 PyObject
* obj3
= 0 ;
17918 PyObject
* obj4
= 0 ;
17919 char *kwnames
[] = {
17920 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17926 arg2
= (double) SWIG_AsDouble(obj1
);
17927 if (PyErr_Occurred()) SWIG_fail
;
17928 arg3
= (double) SWIG_AsDouble(obj2
);
17929 if (PyErr_Occurred()) SWIG_fail
;
17931 arg4
= (int) SWIG_AsInt(obj3
);
17932 if (PyErr_Occurred()) SWIG_fail
;
17935 arg5
= (int) SWIG_AsInt(obj4
);
17936 if (PyErr_Occurred()) SWIG_fail
;
17939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17940 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
17942 wxPyEndAllowThreads(__tstate
);
17943 if (PyErr_Occurred()) SWIG_fail
;
17945 Py_INCREF(Py_None
); resultobj
= Py_None
;
17952 static PyObject
*_wrap_PyCompositeShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17953 PyObject
*resultobj
;
17954 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17957 int arg4
= (int) 0 ;
17958 int arg5
= (int) 0 ;
17959 PyObject
* obj0
= 0 ;
17960 PyObject
* obj1
= 0 ;
17961 PyObject
* obj2
= 0 ;
17962 PyObject
* obj3
= 0 ;
17963 PyObject
* obj4
= 0 ;
17964 char *kwnames
[] = {
17965 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17971 arg2
= (double) SWIG_AsDouble(obj1
);
17972 if (PyErr_Occurred()) SWIG_fail
;
17973 arg3
= (double) SWIG_AsDouble(obj2
);
17974 if (PyErr_Occurred()) SWIG_fail
;
17976 arg4
= (int) SWIG_AsInt(obj3
);
17977 if (PyErr_Occurred()) SWIG_fail
;
17980 arg5
= (int) SWIG_AsInt(obj4
);
17981 if (PyErr_Occurred()) SWIG_fail
;
17984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17985 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
17987 wxPyEndAllowThreads(__tstate
);
17988 if (PyErr_Occurred()) SWIG_fail
;
17990 Py_INCREF(Py_None
); resultobj
= Py_None
;
17997 static PyObject
*_wrap_PyCompositeShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17998 PyObject
*resultobj
;
17999 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18002 PyObject
* obj0
= 0 ;
18003 PyObject
* obj1
= 0 ;
18004 PyObject
* obj2
= 0 ;
18005 char *kwnames
[] = {
18006 (char *) "self",(char *) "x",(char *) "y", NULL
18009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCompositeShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18012 arg2
= (double) SWIG_AsDouble(obj1
);
18013 if (PyErr_Occurred()) SWIG_fail
;
18014 arg3
= (double) SWIG_AsDouble(obj2
);
18015 if (PyErr_Occurred()) SWIG_fail
;
18017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18018 (arg1
)->base_OnSize(arg2
,arg3
);
18020 wxPyEndAllowThreads(__tstate
);
18021 if (PyErr_Occurred()) SWIG_fail
;
18023 Py_INCREF(Py_None
); resultobj
= Py_None
;
18030 static PyObject
*_wrap_PyCompositeShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18031 PyObject
*resultobj
;
18032 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18038 bool arg7
= (bool) True
;
18040 PyObject
* obj0
= 0 ;
18041 PyObject
* obj1
= 0 ;
18042 PyObject
* obj2
= 0 ;
18043 PyObject
* obj3
= 0 ;
18044 PyObject
* obj4
= 0 ;
18045 PyObject
* obj5
= 0 ;
18046 PyObject
* obj6
= 0 ;
18047 char *kwnames
[] = {
18048 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
18051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyCompositeShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18054 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18055 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18057 if (arg2
== NULL
) {
18058 PyErr_SetString(PyExc_TypeError
,"null reference");
18061 arg3
= (double) SWIG_AsDouble(obj2
);
18062 if (PyErr_Occurred()) SWIG_fail
;
18063 arg4
= (double) SWIG_AsDouble(obj3
);
18064 if (PyErr_Occurred()) SWIG_fail
;
18065 arg5
= (double) SWIG_AsDouble(obj4
);
18066 if (PyErr_Occurred()) SWIG_fail
;
18067 arg6
= (double) SWIG_AsDouble(obj5
);
18068 if (PyErr_Occurred()) SWIG_fail
;
18070 arg7
= (bool) SWIG_AsBool(obj6
);
18071 if (PyErr_Occurred()) SWIG_fail
;
18074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18075 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18077 wxPyEndAllowThreads(__tstate
);
18078 if (PyErr_Occurred()) SWIG_fail
;
18081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18089 static PyObject
*_wrap_PyCompositeShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18090 PyObject
*resultobj
;
18091 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18097 bool arg7
= (bool) True
;
18098 PyObject
* obj0
= 0 ;
18099 PyObject
* obj1
= 0 ;
18100 PyObject
* obj2
= 0 ;
18101 PyObject
* obj3
= 0 ;
18102 PyObject
* obj4
= 0 ;
18103 PyObject
* obj5
= 0 ;
18104 PyObject
* obj6
= 0 ;
18105 char *kwnames
[] = {
18106 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
18109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyCompositeShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18112 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18113 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18115 if (arg2
== NULL
) {
18116 PyErr_SetString(PyExc_TypeError
,"null reference");
18119 arg3
= (double) SWIG_AsDouble(obj2
);
18120 if (PyErr_Occurred()) SWIG_fail
;
18121 arg4
= (double) SWIG_AsDouble(obj3
);
18122 if (PyErr_Occurred()) SWIG_fail
;
18123 arg5
= (double) SWIG_AsDouble(obj4
);
18124 if (PyErr_Occurred()) SWIG_fail
;
18125 arg6
= (double) SWIG_AsDouble(obj5
);
18126 if (PyErr_Occurred()) SWIG_fail
;
18128 arg7
= (bool) SWIG_AsBool(obj6
);
18129 if (PyErr_Occurred()) SWIG_fail
;
18132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18133 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18135 wxPyEndAllowThreads(__tstate
);
18136 if (PyErr_Occurred()) SWIG_fail
;
18138 Py_INCREF(Py_None
); resultobj
= Py_None
;
18145 static PyObject
*_wrap_PyCompositeShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18146 PyObject
*resultobj
;
18147 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18151 int arg5
= (int) 0 ;
18152 int arg6
= (int) 0 ;
18153 PyObject
* obj0
= 0 ;
18154 PyObject
* obj1
= 0 ;
18155 PyObject
* obj2
= 0 ;
18156 PyObject
* obj3
= 0 ;
18157 PyObject
* obj4
= 0 ;
18158 PyObject
* obj5
= 0 ;
18159 char *kwnames
[] = {
18160 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCompositeShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18166 arg2
= (bool) SWIG_AsBool(obj1
);
18167 if (PyErr_Occurred()) SWIG_fail
;
18168 arg3
= (double) SWIG_AsDouble(obj2
);
18169 if (PyErr_Occurred()) SWIG_fail
;
18170 arg4
= (double) SWIG_AsDouble(obj3
);
18171 if (PyErr_Occurred()) SWIG_fail
;
18173 arg5
= (int) SWIG_AsInt(obj4
);
18174 if (PyErr_Occurred()) SWIG_fail
;
18177 arg6
= (int) SWIG_AsInt(obj5
);
18178 if (PyErr_Occurred()) SWIG_fail
;
18181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18182 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
18184 wxPyEndAllowThreads(__tstate
);
18185 if (PyErr_Occurred()) SWIG_fail
;
18187 Py_INCREF(Py_None
); resultobj
= Py_None
;
18194 static PyObject
*_wrap_PyCompositeShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18195 PyObject
*resultobj
;
18196 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18199 int arg4
= (int) 0 ;
18200 int arg5
= (int) 0 ;
18201 PyObject
* obj0
= 0 ;
18202 PyObject
* obj1
= 0 ;
18203 PyObject
* obj2
= 0 ;
18204 PyObject
* obj3
= 0 ;
18205 PyObject
* obj4
= 0 ;
18206 char *kwnames
[] = {
18207 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18213 arg2
= (double) SWIG_AsDouble(obj1
);
18214 if (PyErr_Occurred()) SWIG_fail
;
18215 arg3
= (double) SWIG_AsDouble(obj2
);
18216 if (PyErr_Occurred()) SWIG_fail
;
18218 arg4
= (int) SWIG_AsInt(obj3
);
18219 if (PyErr_Occurred()) SWIG_fail
;
18222 arg5
= (int) SWIG_AsInt(obj4
);
18223 if (PyErr_Occurred()) SWIG_fail
;
18226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18227 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
18229 wxPyEndAllowThreads(__tstate
);
18230 if (PyErr_Occurred()) SWIG_fail
;
18232 Py_INCREF(Py_None
); resultobj
= Py_None
;
18239 static PyObject
*_wrap_PyCompositeShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18240 PyObject
*resultobj
;
18241 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18244 int arg4
= (int) 0 ;
18245 int arg5
= (int) 0 ;
18246 PyObject
* obj0
= 0 ;
18247 PyObject
* obj1
= 0 ;
18248 PyObject
* obj2
= 0 ;
18249 PyObject
* obj3
= 0 ;
18250 PyObject
* obj4
= 0 ;
18251 char *kwnames
[] = {
18252 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18258 arg2
= (double) SWIG_AsDouble(obj1
);
18259 if (PyErr_Occurred()) SWIG_fail
;
18260 arg3
= (double) SWIG_AsDouble(obj2
);
18261 if (PyErr_Occurred()) SWIG_fail
;
18263 arg4
= (int) SWIG_AsInt(obj3
);
18264 if (PyErr_Occurred()) SWIG_fail
;
18267 arg5
= (int) SWIG_AsInt(obj4
);
18268 if (PyErr_Occurred()) SWIG_fail
;
18271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18272 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
18274 wxPyEndAllowThreads(__tstate
);
18275 if (PyErr_Occurred()) SWIG_fail
;
18277 Py_INCREF(Py_None
); resultobj
= Py_None
;
18284 static PyObject
*_wrap_PyCompositeShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18285 PyObject
*resultobj
;
18286 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18290 int arg5
= (int) 0 ;
18291 int arg6
= (int) 0 ;
18292 PyObject
* obj0
= 0 ;
18293 PyObject
* obj1
= 0 ;
18294 PyObject
* obj2
= 0 ;
18295 PyObject
* obj3
= 0 ;
18296 PyObject
* obj4
= 0 ;
18297 PyObject
* obj5
= 0 ;
18298 char *kwnames
[] = {
18299 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCompositeShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18305 arg2
= (bool) SWIG_AsBool(obj1
);
18306 if (PyErr_Occurred()) SWIG_fail
;
18307 arg3
= (double) SWIG_AsDouble(obj2
);
18308 if (PyErr_Occurred()) SWIG_fail
;
18309 arg4
= (double) SWIG_AsDouble(obj3
);
18310 if (PyErr_Occurred()) SWIG_fail
;
18312 arg5
= (int) SWIG_AsInt(obj4
);
18313 if (PyErr_Occurred()) SWIG_fail
;
18316 arg6
= (int) SWIG_AsInt(obj5
);
18317 if (PyErr_Occurred()) SWIG_fail
;
18320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18321 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
18323 wxPyEndAllowThreads(__tstate
);
18324 if (PyErr_Occurred()) SWIG_fail
;
18326 Py_INCREF(Py_None
); resultobj
= Py_None
;
18333 static PyObject
*_wrap_PyCompositeShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18334 PyObject
*resultobj
;
18335 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18338 int arg4
= (int) 0 ;
18339 int arg5
= (int) 0 ;
18340 PyObject
* obj0
= 0 ;
18341 PyObject
* obj1
= 0 ;
18342 PyObject
* obj2
= 0 ;
18343 PyObject
* obj3
= 0 ;
18344 PyObject
* obj4
= 0 ;
18345 char *kwnames
[] = {
18346 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18352 arg2
= (double) SWIG_AsDouble(obj1
);
18353 if (PyErr_Occurred()) SWIG_fail
;
18354 arg3
= (double) SWIG_AsDouble(obj2
);
18355 if (PyErr_Occurred()) SWIG_fail
;
18357 arg4
= (int) SWIG_AsInt(obj3
);
18358 if (PyErr_Occurred()) SWIG_fail
;
18361 arg5
= (int) SWIG_AsInt(obj4
);
18362 if (PyErr_Occurred()) SWIG_fail
;
18365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18366 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
18368 wxPyEndAllowThreads(__tstate
);
18369 if (PyErr_Occurred()) SWIG_fail
;
18371 Py_INCREF(Py_None
); resultobj
= Py_None
;
18378 static PyObject
*_wrap_PyCompositeShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18379 PyObject
*resultobj
;
18380 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18383 int arg4
= (int) 0 ;
18384 int arg5
= (int) 0 ;
18385 PyObject
* obj0
= 0 ;
18386 PyObject
* obj1
= 0 ;
18387 PyObject
* obj2
= 0 ;
18388 PyObject
* obj3
= 0 ;
18389 PyObject
* obj4
= 0 ;
18390 char *kwnames
[] = {
18391 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18397 arg2
= (double) SWIG_AsDouble(obj1
);
18398 if (PyErr_Occurred()) SWIG_fail
;
18399 arg3
= (double) SWIG_AsDouble(obj2
);
18400 if (PyErr_Occurred()) SWIG_fail
;
18402 arg4
= (int) SWIG_AsInt(obj3
);
18403 if (PyErr_Occurred()) SWIG_fail
;
18406 arg5
= (int) SWIG_AsInt(obj4
);
18407 if (PyErr_Occurred()) SWIG_fail
;
18410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18411 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
18413 wxPyEndAllowThreads(__tstate
);
18414 if (PyErr_Occurred()) SWIG_fail
;
18416 Py_INCREF(Py_None
); resultobj
= Py_None
;
18423 static PyObject
*_wrap_PyCompositeShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18424 PyObject
*resultobj
;
18425 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18431 PyObject
* obj0
= 0 ;
18432 PyObject
* obj1
= 0 ;
18433 PyObject
* obj2
= 0 ;
18434 PyObject
* obj3
= 0 ;
18435 PyObject
* obj4
= 0 ;
18436 PyObject
* obj5
= 0 ;
18437 char *kwnames
[] = {
18438 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
18441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyCompositeShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18444 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18445 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18447 if (arg2
== NULL
) {
18448 PyErr_SetString(PyExc_TypeError
,"null reference");
18451 arg3
= (double) SWIG_AsDouble(obj2
);
18452 if (PyErr_Occurred()) SWIG_fail
;
18453 arg4
= (double) SWIG_AsDouble(obj3
);
18454 if (PyErr_Occurred()) SWIG_fail
;
18455 arg5
= (double) SWIG_AsDouble(obj4
);
18456 if (PyErr_Occurred()) SWIG_fail
;
18457 arg6
= (double) SWIG_AsDouble(obj5
);
18458 if (PyErr_Occurred()) SWIG_fail
;
18460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18461 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
18463 wxPyEndAllowThreads(__tstate
);
18464 if (PyErr_Occurred()) SWIG_fail
;
18466 Py_INCREF(Py_None
); resultobj
= Py_None
;
18473 static PyObject
*_wrap_PyCompositeShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18474 PyObject
*resultobj
;
18475 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18477 PyObject
* obj0
= 0 ;
18478 PyObject
* obj1
= 0 ;
18479 char *kwnames
[] = {
18480 (char *) "self",(char *) "dc", NULL
18483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
18484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18486 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18487 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18489 if (arg2
== NULL
) {
18490 PyErr_SetString(PyExc_TypeError
,"null reference");
18494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18495 (arg1
)->base_OnDrawControlPoints(*arg2
);
18497 wxPyEndAllowThreads(__tstate
);
18498 if (PyErr_Occurred()) SWIG_fail
;
18500 Py_INCREF(Py_None
); resultobj
= Py_None
;
18507 static PyObject
*_wrap_PyCompositeShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18508 PyObject
*resultobj
;
18509 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18511 PyObject
* obj0
= 0 ;
18512 PyObject
* obj1
= 0 ;
18513 char *kwnames
[] = {
18514 (char *) "self",(char *) "dc", NULL
18517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
18518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18520 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18521 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18523 if (arg2
== NULL
) {
18524 PyErr_SetString(PyExc_TypeError
,"null reference");
18528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18529 (arg1
)->base_OnEraseControlPoints(*arg2
);
18531 wxPyEndAllowThreads(__tstate
);
18532 if (PyErr_Occurred()) SWIG_fail
;
18534 Py_INCREF(Py_None
); resultobj
= Py_None
;
18541 static PyObject
*_wrap_PyCompositeShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18542 PyObject
*resultobj
;
18543 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18545 bool arg3
= (bool) True
;
18546 PyObject
* obj0
= 0 ;
18547 PyObject
* obj1
= 0 ;
18548 PyObject
* obj2
= 0 ;
18549 char *kwnames
[] = {
18550 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
18553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCompositeShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18556 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18557 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18559 if (arg2
== NULL
) {
18560 PyErr_SetString(PyExc_TypeError
,"null reference");
18564 arg3
= (bool) SWIG_AsBool(obj2
);
18565 if (PyErr_Occurred()) SWIG_fail
;
18568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18569 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
18571 wxPyEndAllowThreads(__tstate
);
18572 if (PyErr_Occurred()) SWIG_fail
;
18574 Py_INCREF(Py_None
); resultobj
= Py_None
;
18581 static PyObject
*_wrap_PyCompositeShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18582 PyObject
*resultobj
;
18583 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18584 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
18588 int arg6
= (int) 0 ;
18589 int arg7
= (int) 0 ;
18590 PyObject
* obj0
= 0 ;
18591 PyObject
* obj1
= 0 ;
18592 PyObject
* obj2
= 0 ;
18593 PyObject
* obj3
= 0 ;
18594 PyObject
* obj4
= 0 ;
18595 PyObject
* obj5
= 0 ;
18596 PyObject
* obj6
= 0 ;
18597 char *kwnames
[] = {
18598 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyCompositeShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18604 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
18605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18606 arg3
= (bool) SWIG_AsBool(obj2
);
18607 if (PyErr_Occurred()) SWIG_fail
;
18608 arg4
= (double) SWIG_AsDouble(obj3
);
18609 if (PyErr_Occurred()) SWIG_fail
;
18610 arg5
= (double) SWIG_AsDouble(obj4
);
18611 if (PyErr_Occurred()) SWIG_fail
;
18613 arg6
= (int) SWIG_AsInt(obj5
);
18614 if (PyErr_Occurred()) SWIG_fail
;
18617 arg7
= (int) SWIG_AsInt(obj6
);
18618 if (PyErr_Occurred()) SWIG_fail
;
18621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18622 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18624 wxPyEndAllowThreads(__tstate
);
18625 if (PyErr_Occurred()) SWIG_fail
;
18627 Py_INCREF(Py_None
); resultobj
= Py_None
;
18634 static PyObject
*_wrap_PyCompositeShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18635 PyObject
*resultobj
;
18636 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18637 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
18640 int arg5
= (int) 0 ;
18641 int arg6
= (int) 0 ;
18642 PyObject
* obj0
= 0 ;
18643 PyObject
* obj1
= 0 ;
18644 PyObject
* obj2
= 0 ;
18645 PyObject
* obj3
= 0 ;
18646 PyObject
* obj4
= 0 ;
18647 PyObject
* obj5
= 0 ;
18648 char *kwnames
[] = {
18649 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCompositeShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18655 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
18656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18657 arg3
= (double) SWIG_AsDouble(obj2
);
18658 if (PyErr_Occurred()) SWIG_fail
;
18659 arg4
= (double) SWIG_AsDouble(obj3
);
18660 if (PyErr_Occurred()) SWIG_fail
;
18662 arg5
= (int) SWIG_AsInt(obj4
);
18663 if (PyErr_Occurred()) SWIG_fail
;
18666 arg6
= (int) SWIG_AsInt(obj5
);
18667 if (PyErr_Occurred()) SWIG_fail
;
18670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18671 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
18673 wxPyEndAllowThreads(__tstate
);
18674 if (PyErr_Occurred()) SWIG_fail
;
18676 Py_INCREF(Py_None
); resultobj
= Py_None
;
18683 static PyObject
*_wrap_PyCompositeShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18684 PyObject
*resultobj
;
18685 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18686 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
18689 int arg5
= (int) 0 ;
18690 int arg6
= (int) 0 ;
18691 PyObject
* obj0
= 0 ;
18692 PyObject
* obj1
= 0 ;
18693 PyObject
* obj2
= 0 ;
18694 PyObject
* obj3
= 0 ;
18695 PyObject
* obj4
= 0 ;
18696 PyObject
* obj5
= 0 ;
18697 char *kwnames
[] = {
18698 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCompositeShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18704 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
18705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18706 arg3
= (double) SWIG_AsDouble(obj2
);
18707 if (PyErr_Occurred()) SWIG_fail
;
18708 arg4
= (double) SWIG_AsDouble(obj3
);
18709 if (PyErr_Occurred()) SWIG_fail
;
18711 arg5
= (int) SWIG_AsInt(obj4
);
18712 if (PyErr_Occurred()) SWIG_fail
;
18715 arg6
= (int) SWIG_AsInt(obj5
);
18716 if (PyErr_Occurred()) SWIG_fail
;
18719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18720 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
18722 wxPyEndAllowThreads(__tstate
);
18723 if (PyErr_Occurred()) SWIG_fail
;
18725 Py_INCREF(Py_None
); resultobj
= Py_None
;
18732 static PyObject
*_wrap_PyCompositeShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18733 PyObject
*resultobj
;
18734 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18737 PyObject
* obj0
= 0 ;
18738 PyObject
* obj1
= 0 ;
18739 PyObject
* obj2
= 0 ;
18740 char *kwnames
[] = {
18741 (char *) "self",(char *) "w",(char *) "h", NULL
18744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCompositeShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18747 arg2
= (double) SWIG_AsDouble(obj1
);
18748 if (PyErr_Occurred()) SWIG_fail
;
18749 arg3
= (double) SWIG_AsDouble(obj2
);
18750 if (PyErr_Occurred()) SWIG_fail
;
18752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18753 (arg1
)->base_OnBeginSize(arg2
,arg3
);
18755 wxPyEndAllowThreads(__tstate
);
18756 if (PyErr_Occurred()) SWIG_fail
;
18758 Py_INCREF(Py_None
); resultobj
= Py_None
;
18765 static PyObject
*_wrap_PyCompositeShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18766 PyObject
*resultobj
;
18767 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18770 PyObject
* obj0
= 0 ;
18771 PyObject
* obj1
= 0 ;
18772 PyObject
* obj2
= 0 ;
18773 char *kwnames
[] = {
18774 (char *) "self",(char *) "w",(char *) "h", NULL
18777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCompositeShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18780 arg2
= (double) SWIG_AsDouble(obj1
);
18781 if (PyErr_Occurred()) SWIG_fail
;
18782 arg3
= (double) SWIG_AsDouble(obj2
);
18783 if (PyErr_Occurred()) SWIG_fail
;
18785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18786 (arg1
)->base_OnEndSize(arg2
,arg3
);
18788 wxPyEndAllowThreads(__tstate
);
18789 if (PyErr_Occurred()) SWIG_fail
;
18791 Py_INCREF(Py_None
); resultobj
= Py_None
;
18798 static PyObject
* PyCompositeShape_swigregister(PyObject
*self
, PyObject
*args
) {
18800 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18801 SWIG_TypeClientData(SWIGTYPE_p_wxPyCompositeShape
, obj
);
18803 return Py_BuildValue((char *)"");
18805 static PyObject
*_wrap_new_PyDividedShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18806 PyObject
*resultobj
;
18807 double arg1
= (double) 0.0 ;
18808 double arg2
= (double) 0.0 ;
18809 wxPyDividedShape
*result
;
18810 PyObject
* obj0
= 0 ;
18811 PyObject
* obj1
= 0 ;
18812 char *kwnames
[] = {
18813 (char *) "width",(char *) "height", NULL
18816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyDividedShape",kwnames
,&obj0
,&obj1
)) goto fail
;
18818 arg1
= (double) SWIG_AsDouble(obj0
);
18819 if (PyErr_Occurred()) SWIG_fail
;
18822 arg2
= (double) SWIG_AsDouble(obj1
);
18823 if (PyErr_Occurred()) SWIG_fail
;
18826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18827 result
= (wxPyDividedShape
*)new wxPyDividedShape(arg1
,arg2
);
18829 wxPyEndAllowThreads(__tstate
);
18830 if (PyErr_Occurred()) SWIG_fail
;
18832 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDividedShape
, 1);
18839 static PyObject
*_wrap_PyDividedShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18840 PyObject
*resultobj
;
18841 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
18842 PyObject
*arg2
= (PyObject
*) 0 ;
18843 PyObject
*arg3
= (PyObject
*) 0 ;
18844 PyObject
* obj0
= 0 ;
18845 PyObject
* obj1
= 0 ;
18846 PyObject
* obj2
= 0 ;
18847 char *kwnames
[] = {
18848 (char *) "self",(char *) "self",(char *) "_class", NULL
18851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDividedShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
18853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18858 (arg1
)->_setCallbackInfo(arg2
,arg3
);
18860 wxPyEndAllowThreads(__tstate
);
18861 if (PyErr_Occurred()) SWIG_fail
;
18863 Py_INCREF(Py_None
); resultobj
= Py_None
;
18870 static PyObject
*_wrap_PyDividedShape_EditRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18871 PyObject
*resultobj
;
18872 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
18873 PyObject
* obj0
= 0 ;
18874 char *kwnames
[] = {
18875 (char *) "self", NULL
18878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDividedShape_EditRegions",kwnames
,&obj0
)) goto fail
;
18879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
18880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18883 (arg1
)->EditRegions();
18885 wxPyEndAllowThreads(__tstate
);
18886 if (PyErr_Occurred()) SWIG_fail
;
18888 Py_INCREF(Py_None
); resultobj
= Py_None
;
18895 static PyObject
*_wrap_PyDividedShape_SetRegionSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18896 PyObject
*resultobj
;
18897 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
18898 PyObject
* obj0
= 0 ;
18899 char *kwnames
[] = {
18900 (char *) "self", NULL
18903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDividedShape_SetRegionSizes",kwnames
,&obj0
)) goto fail
;
18904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
18905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18908 (arg1
)->SetRegionSizes();
18910 wxPyEndAllowThreads(__tstate
);
18911 if (PyErr_Occurred()) SWIG_fail
;
18913 Py_INCREF(Py_None
); resultobj
= Py_None
;
18920 static PyObject
*_wrap_PyDividedShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18921 PyObject
*resultobj
;
18922 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
18923 PyObject
* obj0
= 0 ;
18924 char *kwnames
[] = {
18925 (char *) "self", NULL
18928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDividedShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
18929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
18930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18933 (arg1
)->base_OnDelete();
18935 wxPyEndAllowThreads(__tstate
);
18936 if (PyErr_Occurred()) SWIG_fail
;
18938 Py_INCREF(Py_None
); resultobj
= Py_None
;
18945 static PyObject
*_wrap_PyDividedShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18946 PyObject
*resultobj
;
18947 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
18949 PyObject
* obj0
= 0 ;
18950 PyObject
* obj1
= 0 ;
18951 char *kwnames
[] = {
18952 (char *) "self",(char *) "dc", NULL
18955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
18956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
18957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18958 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18959 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18961 if (arg2
== NULL
) {
18962 PyErr_SetString(PyExc_TypeError
,"null reference");
18966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18967 (arg1
)->base_OnDraw(*arg2
);
18969 wxPyEndAllowThreads(__tstate
);
18970 if (PyErr_Occurred()) SWIG_fail
;
18972 Py_INCREF(Py_None
); resultobj
= Py_None
;
18979 static PyObject
*_wrap_PyDividedShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18980 PyObject
*resultobj
;
18981 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
18983 PyObject
* obj0
= 0 ;
18984 PyObject
* obj1
= 0 ;
18985 char *kwnames
[] = {
18986 (char *) "self",(char *) "dc", NULL
18989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
18990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
18991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18992 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18993 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18995 if (arg2
== NULL
) {
18996 PyErr_SetString(PyExc_TypeError
,"null reference");
19000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19001 (arg1
)->base_OnDrawContents(*arg2
);
19003 wxPyEndAllowThreads(__tstate
);
19004 if (PyErr_Occurred()) SWIG_fail
;
19006 Py_INCREF(Py_None
); resultobj
= Py_None
;
19013 static PyObject
*_wrap_PyDividedShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19014 PyObject
*resultobj
;
19015 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19017 bool arg3
= (bool) FALSE
;
19018 PyObject
* obj0
= 0 ;
19019 PyObject
* obj1
= 0 ;
19020 PyObject
* obj2
= 0 ;
19021 char *kwnames
[] = {
19022 (char *) "self",(char *) "dc",(char *) "erase", NULL
19025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDividedShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19028 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19029 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19031 if (arg2
== NULL
) {
19032 PyErr_SetString(PyExc_TypeError
,"null reference");
19036 arg3
= (bool) SWIG_AsBool(obj2
);
19037 if (PyErr_Occurred()) SWIG_fail
;
19040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19041 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
19043 wxPyEndAllowThreads(__tstate
);
19044 if (PyErr_Occurred()) SWIG_fail
;
19046 Py_INCREF(Py_None
); resultobj
= Py_None
;
19053 static PyObject
*_wrap_PyDividedShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19054 PyObject
*resultobj
;
19055 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19057 PyObject
* obj0
= 0 ;
19058 PyObject
* obj1
= 0 ;
19059 char *kwnames
[] = {
19060 (char *) "self",(char *) "dc", NULL
19063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
19064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19066 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19067 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19069 if (arg2
== NULL
) {
19070 PyErr_SetString(PyExc_TypeError
,"null reference");
19074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19075 (arg1
)->base_OnMoveLinks(*arg2
);
19077 wxPyEndAllowThreads(__tstate
);
19078 if (PyErr_Occurred()) SWIG_fail
;
19080 Py_INCREF(Py_None
); resultobj
= Py_None
;
19087 static PyObject
*_wrap_PyDividedShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19088 PyObject
*resultobj
;
19089 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19091 PyObject
* obj0
= 0 ;
19092 PyObject
* obj1
= 0 ;
19093 char *kwnames
[] = {
19094 (char *) "self",(char *) "dc", NULL
19097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
19098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19100 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19101 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19103 if (arg2
== NULL
) {
19104 PyErr_SetString(PyExc_TypeError
,"null reference");
19108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19109 (arg1
)->base_OnErase(*arg2
);
19111 wxPyEndAllowThreads(__tstate
);
19112 if (PyErr_Occurred()) SWIG_fail
;
19114 Py_INCREF(Py_None
); resultobj
= Py_None
;
19121 static PyObject
*_wrap_PyDividedShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19122 PyObject
*resultobj
;
19123 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19125 PyObject
* obj0
= 0 ;
19126 PyObject
* obj1
= 0 ;
19127 char *kwnames
[] = {
19128 (char *) "self",(char *) "dc", NULL
19131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
19132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19134 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19135 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19137 if (arg2
== NULL
) {
19138 PyErr_SetString(PyExc_TypeError
,"null reference");
19142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19143 (arg1
)->base_OnEraseContents(*arg2
);
19145 wxPyEndAllowThreads(__tstate
);
19146 if (PyErr_Occurred()) SWIG_fail
;
19148 Py_INCREF(Py_None
); resultobj
= Py_None
;
19155 static PyObject
*_wrap_PyDividedShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19156 PyObject
*resultobj
;
19157 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19159 PyObject
* obj0
= 0 ;
19160 PyObject
* obj1
= 0 ;
19161 char *kwnames
[] = {
19162 (char *) "self",(char *) "dc", NULL
19165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
19166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19168 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19169 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19171 if (arg2
== NULL
) {
19172 PyErr_SetString(PyExc_TypeError
,"null reference");
19176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19177 (arg1
)->base_OnHighlight(*arg2
);
19179 wxPyEndAllowThreads(__tstate
);
19180 if (PyErr_Occurred()) SWIG_fail
;
19182 Py_INCREF(Py_None
); resultobj
= Py_None
;
19189 static PyObject
*_wrap_PyDividedShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19190 PyObject
*resultobj
;
19191 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19194 int arg4
= (int) 0 ;
19195 int arg5
= (int) 0 ;
19196 PyObject
* obj0
= 0 ;
19197 PyObject
* obj1
= 0 ;
19198 PyObject
* obj2
= 0 ;
19199 PyObject
* obj3
= 0 ;
19200 PyObject
* obj4
= 0 ;
19201 char *kwnames
[] = {
19202 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19208 arg2
= (double) SWIG_AsDouble(obj1
);
19209 if (PyErr_Occurred()) SWIG_fail
;
19210 arg3
= (double) SWIG_AsDouble(obj2
);
19211 if (PyErr_Occurred()) SWIG_fail
;
19213 arg4
= (int) SWIG_AsInt(obj3
);
19214 if (PyErr_Occurred()) SWIG_fail
;
19217 arg5
= (int) SWIG_AsInt(obj4
);
19218 if (PyErr_Occurred()) SWIG_fail
;
19221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19222 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
19224 wxPyEndAllowThreads(__tstate
);
19225 if (PyErr_Occurred()) SWIG_fail
;
19227 Py_INCREF(Py_None
); resultobj
= Py_None
;
19234 static PyObject
*_wrap_PyDividedShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19235 PyObject
*resultobj
;
19236 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19239 int arg4
= (int) 0 ;
19240 int arg5
= (int) 0 ;
19241 PyObject
* obj0
= 0 ;
19242 PyObject
* obj1
= 0 ;
19243 PyObject
* obj2
= 0 ;
19244 PyObject
* obj3
= 0 ;
19245 PyObject
* obj4
= 0 ;
19246 char *kwnames
[] = {
19247 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19253 arg2
= (double) SWIG_AsDouble(obj1
);
19254 if (PyErr_Occurred()) SWIG_fail
;
19255 arg3
= (double) SWIG_AsDouble(obj2
);
19256 if (PyErr_Occurred()) SWIG_fail
;
19258 arg4
= (int) SWIG_AsInt(obj3
);
19259 if (PyErr_Occurred()) SWIG_fail
;
19262 arg5
= (int) SWIG_AsInt(obj4
);
19263 if (PyErr_Occurred()) SWIG_fail
;
19266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19267 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
19269 wxPyEndAllowThreads(__tstate
);
19270 if (PyErr_Occurred()) SWIG_fail
;
19272 Py_INCREF(Py_None
); resultobj
= Py_None
;
19279 static PyObject
*_wrap_PyDividedShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19280 PyObject
*resultobj
;
19281 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19284 int arg4
= (int) 0 ;
19285 int arg5
= (int) 0 ;
19286 PyObject
* obj0
= 0 ;
19287 PyObject
* obj1
= 0 ;
19288 PyObject
* obj2
= 0 ;
19289 PyObject
* obj3
= 0 ;
19290 PyObject
* obj4
= 0 ;
19291 char *kwnames
[] = {
19292 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19298 arg2
= (double) SWIG_AsDouble(obj1
);
19299 if (PyErr_Occurred()) SWIG_fail
;
19300 arg3
= (double) SWIG_AsDouble(obj2
);
19301 if (PyErr_Occurred()) SWIG_fail
;
19303 arg4
= (int) SWIG_AsInt(obj3
);
19304 if (PyErr_Occurred()) SWIG_fail
;
19307 arg5
= (int) SWIG_AsInt(obj4
);
19308 if (PyErr_Occurred()) SWIG_fail
;
19311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19312 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
19314 wxPyEndAllowThreads(__tstate
);
19315 if (PyErr_Occurred()) SWIG_fail
;
19317 Py_INCREF(Py_None
); resultobj
= Py_None
;
19324 static PyObject
*_wrap_PyDividedShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19325 PyObject
*resultobj
;
19326 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19329 PyObject
* obj0
= 0 ;
19330 PyObject
* obj1
= 0 ;
19331 PyObject
* obj2
= 0 ;
19332 char *kwnames
[] = {
19333 (char *) "self",(char *) "x",(char *) "y", NULL
19336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDividedShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19339 arg2
= (double) SWIG_AsDouble(obj1
);
19340 if (PyErr_Occurred()) SWIG_fail
;
19341 arg3
= (double) SWIG_AsDouble(obj2
);
19342 if (PyErr_Occurred()) SWIG_fail
;
19344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19345 (arg1
)->base_OnSize(arg2
,arg3
);
19347 wxPyEndAllowThreads(__tstate
);
19348 if (PyErr_Occurred()) SWIG_fail
;
19350 Py_INCREF(Py_None
); resultobj
= Py_None
;
19357 static PyObject
*_wrap_PyDividedShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19358 PyObject
*resultobj
;
19359 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19365 bool arg7
= (bool) True
;
19367 PyObject
* obj0
= 0 ;
19368 PyObject
* obj1
= 0 ;
19369 PyObject
* obj2
= 0 ;
19370 PyObject
* obj3
= 0 ;
19371 PyObject
* obj4
= 0 ;
19372 PyObject
* obj5
= 0 ;
19373 PyObject
* obj6
= 0 ;
19374 char *kwnames
[] = {
19375 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
19378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyDividedShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19381 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19382 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19384 if (arg2
== NULL
) {
19385 PyErr_SetString(PyExc_TypeError
,"null reference");
19388 arg3
= (double) SWIG_AsDouble(obj2
);
19389 if (PyErr_Occurred()) SWIG_fail
;
19390 arg4
= (double) SWIG_AsDouble(obj3
);
19391 if (PyErr_Occurred()) SWIG_fail
;
19392 arg5
= (double) SWIG_AsDouble(obj4
);
19393 if (PyErr_Occurred()) SWIG_fail
;
19394 arg6
= (double) SWIG_AsDouble(obj5
);
19395 if (PyErr_Occurred()) SWIG_fail
;
19397 arg7
= (bool) SWIG_AsBool(obj6
);
19398 if (PyErr_Occurred()) SWIG_fail
;
19401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19402 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19404 wxPyEndAllowThreads(__tstate
);
19405 if (PyErr_Occurred()) SWIG_fail
;
19408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19416 static PyObject
*_wrap_PyDividedShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19417 PyObject
*resultobj
;
19418 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19424 bool arg7
= (bool) True
;
19425 PyObject
* obj0
= 0 ;
19426 PyObject
* obj1
= 0 ;
19427 PyObject
* obj2
= 0 ;
19428 PyObject
* obj3
= 0 ;
19429 PyObject
* obj4
= 0 ;
19430 PyObject
* obj5
= 0 ;
19431 PyObject
* obj6
= 0 ;
19432 char *kwnames
[] = {
19433 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
19436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyDividedShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19439 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19440 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19442 if (arg2
== NULL
) {
19443 PyErr_SetString(PyExc_TypeError
,"null reference");
19446 arg3
= (double) SWIG_AsDouble(obj2
);
19447 if (PyErr_Occurred()) SWIG_fail
;
19448 arg4
= (double) SWIG_AsDouble(obj3
);
19449 if (PyErr_Occurred()) SWIG_fail
;
19450 arg5
= (double) SWIG_AsDouble(obj4
);
19451 if (PyErr_Occurred()) SWIG_fail
;
19452 arg6
= (double) SWIG_AsDouble(obj5
);
19453 if (PyErr_Occurred()) SWIG_fail
;
19455 arg7
= (bool) SWIG_AsBool(obj6
);
19456 if (PyErr_Occurred()) SWIG_fail
;
19459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19460 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19462 wxPyEndAllowThreads(__tstate
);
19463 if (PyErr_Occurred()) SWIG_fail
;
19465 Py_INCREF(Py_None
); resultobj
= Py_None
;
19472 static PyObject
*_wrap_PyDividedShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19473 PyObject
*resultobj
;
19474 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19478 int arg5
= (int) 0 ;
19479 int arg6
= (int) 0 ;
19480 PyObject
* obj0
= 0 ;
19481 PyObject
* obj1
= 0 ;
19482 PyObject
* obj2
= 0 ;
19483 PyObject
* obj3
= 0 ;
19484 PyObject
* obj4
= 0 ;
19485 PyObject
* obj5
= 0 ;
19486 char *kwnames
[] = {
19487 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDividedShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19493 arg2
= (bool) SWIG_AsBool(obj1
);
19494 if (PyErr_Occurred()) SWIG_fail
;
19495 arg3
= (double) SWIG_AsDouble(obj2
);
19496 if (PyErr_Occurred()) SWIG_fail
;
19497 arg4
= (double) SWIG_AsDouble(obj3
);
19498 if (PyErr_Occurred()) SWIG_fail
;
19500 arg5
= (int) SWIG_AsInt(obj4
);
19501 if (PyErr_Occurred()) SWIG_fail
;
19504 arg6
= (int) SWIG_AsInt(obj5
);
19505 if (PyErr_Occurred()) SWIG_fail
;
19508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19509 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
19511 wxPyEndAllowThreads(__tstate
);
19512 if (PyErr_Occurred()) SWIG_fail
;
19514 Py_INCREF(Py_None
); resultobj
= Py_None
;
19521 static PyObject
*_wrap_PyDividedShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19522 PyObject
*resultobj
;
19523 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19526 int arg4
= (int) 0 ;
19527 int arg5
= (int) 0 ;
19528 PyObject
* obj0
= 0 ;
19529 PyObject
* obj1
= 0 ;
19530 PyObject
* obj2
= 0 ;
19531 PyObject
* obj3
= 0 ;
19532 PyObject
* obj4
= 0 ;
19533 char *kwnames
[] = {
19534 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19540 arg2
= (double) SWIG_AsDouble(obj1
);
19541 if (PyErr_Occurred()) SWIG_fail
;
19542 arg3
= (double) SWIG_AsDouble(obj2
);
19543 if (PyErr_Occurred()) SWIG_fail
;
19545 arg4
= (int) SWIG_AsInt(obj3
);
19546 if (PyErr_Occurred()) SWIG_fail
;
19549 arg5
= (int) SWIG_AsInt(obj4
);
19550 if (PyErr_Occurred()) SWIG_fail
;
19553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19554 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
19556 wxPyEndAllowThreads(__tstate
);
19557 if (PyErr_Occurred()) SWIG_fail
;
19559 Py_INCREF(Py_None
); resultobj
= Py_None
;
19566 static PyObject
*_wrap_PyDividedShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19567 PyObject
*resultobj
;
19568 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19571 int arg4
= (int) 0 ;
19572 int arg5
= (int) 0 ;
19573 PyObject
* obj0
= 0 ;
19574 PyObject
* obj1
= 0 ;
19575 PyObject
* obj2
= 0 ;
19576 PyObject
* obj3
= 0 ;
19577 PyObject
* obj4
= 0 ;
19578 char *kwnames
[] = {
19579 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19585 arg2
= (double) SWIG_AsDouble(obj1
);
19586 if (PyErr_Occurred()) SWIG_fail
;
19587 arg3
= (double) SWIG_AsDouble(obj2
);
19588 if (PyErr_Occurred()) SWIG_fail
;
19590 arg4
= (int) SWIG_AsInt(obj3
);
19591 if (PyErr_Occurred()) SWIG_fail
;
19594 arg5
= (int) SWIG_AsInt(obj4
);
19595 if (PyErr_Occurred()) SWIG_fail
;
19598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19599 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
19601 wxPyEndAllowThreads(__tstate
);
19602 if (PyErr_Occurred()) SWIG_fail
;
19604 Py_INCREF(Py_None
); resultobj
= Py_None
;
19611 static PyObject
*_wrap_PyDividedShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19612 PyObject
*resultobj
;
19613 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19617 int arg5
= (int) 0 ;
19618 int arg6
= (int) 0 ;
19619 PyObject
* obj0
= 0 ;
19620 PyObject
* obj1
= 0 ;
19621 PyObject
* obj2
= 0 ;
19622 PyObject
* obj3
= 0 ;
19623 PyObject
* obj4
= 0 ;
19624 PyObject
* obj5
= 0 ;
19625 char *kwnames
[] = {
19626 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDividedShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19632 arg2
= (bool) SWIG_AsBool(obj1
);
19633 if (PyErr_Occurred()) SWIG_fail
;
19634 arg3
= (double) SWIG_AsDouble(obj2
);
19635 if (PyErr_Occurred()) SWIG_fail
;
19636 arg4
= (double) SWIG_AsDouble(obj3
);
19637 if (PyErr_Occurred()) SWIG_fail
;
19639 arg5
= (int) SWIG_AsInt(obj4
);
19640 if (PyErr_Occurred()) SWIG_fail
;
19643 arg6
= (int) SWIG_AsInt(obj5
);
19644 if (PyErr_Occurred()) SWIG_fail
;
19647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19648 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
19650 wxPyEndAllowThreads(__tstate
);
19651 if (PyErr_Occurred()) SWIG_fail
;
19653 Py_INCREF(Py_None
); resultobj
= Py_None
;
19660 static PyObject
*_wrap_PyDividedShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19661 PyObject
*resultobj
;
19662 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19665 int arg4
= (int) 0 ;
19666 int arg5
= (int) 0 ;
19667 PyObject
* obj0
= 0 ;
19668 PyObject
* obj1
= 0 ;
19669 PyObject
* obj2
= 0 ;
19670 PyObject
* obj3
= 0 ;
19671 PyObject
* obj4
= 0 ;
19672 char *kwnames
[] = {
19673 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19679 arg2
= (double) SWIG_AsDouble(obj1
);
19680 if (PyErr_Occurred()) SWIG_fail
;
19681 arg3
= (double) SWIG_AsDouble(obj2
);
19682 if (PyErr_Occurred()) SWIG_fail
;
19684 arg4
= (int) SWIG_AsInt(obj3
);
19685 if (PyErr_Occurred()) SWIG_fail
;
19688 arg5
= (int) SWIG_AsInt(obj4
);
19689 if (PyErr_Occurred()) SWIG_fail
;
19692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19693 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
19695 wxPyEndAllowThreads(__tstate
);
19696 if (PyErr_Occurred()) SWIG_fail
;
19698 Py_INCREF(Py_None
); resultobj
= Py_None
;
19705 static PyObject
*_wrap_PyDividedShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19706 PyObject
*resultobj
;
19707 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19710 int arg4
= (int) 0 ;
19711 int arg5
= (int) 0 ;
19712 PyObject
* obj0
= 0 ;
19713 PyObject
* obj1
= 0 ;
19714 PyObject
* obj2
= 0 ;
19715 PyObject
* obj3
= 0 ;
19716 PyObject
* obj4
= 0 ;
19717 char *kwnames
[] = {
19718 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19724 arg2
= (double) SWIG_AsDouble(obj1
);
19725 if (PyErr_Occurred()) SWIG_fail
;
19726 arg3
= (double) SWIG_AsDouble(obj2
);
19727 if (PyErr_Occurred()) SWIG_fail
;
19729 arg4
= (int) SWIG_AsInt(obj3
);
19730 if (PyErr_Occurred()) SWIG_fail
;
19733 arg5
= (int) SWIG_AsInt(obj4
);
19734 if (PyErr_Occurred()) SWIG_fail
;
19737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19738 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
19740 wxPyEndAllowThreads(__tstate
);
19741 if (PyErr_Occurred()) SWIG_fail
;
19743 Py_INCREF(Py_None
); resultobj
= Py_None
;
19750 static PyObject
*_wrap_PyDividedShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19751 PyObject
*resultobj
;
19752 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19758 PyObject
* obj0
= 0 ;
19759 PyObject
* obj1
= 0 ;
19760 PyObject
* obj2
= 0 ;
19761 PyObject
* obj3
= 0 ;
19762 PyObject
* obj4
= 0 ;
19763 PyObject
* obj5
= 0 ;
19764 char *kwnames
[] = {
19765 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
19768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyDividedShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19771 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19772 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19774 if (arg2
== NULL
) {
19775 PyErr_SetString(PyExc_TypeError
,"null reference");
19778 arg3
= (double) SWIG_AsDouble(obj2
);
19779 if (PyErr_Occurred()) SWIG_fail
;
19780 arg4
= (double) SWIG_AsDouble(obj3
);
19781 if (PyErr_Occurred()) SWIG_fail
;
19782 arg5
= (double) SWIG_AsDouble(obj4
);
19783 if (PyErr_Occurred()) SWIG_fail
;
19784 arg6
= (double) SWIG_AsDouble(obj5
);
19785 if (PyErr_Occurred()) SWIG_fail
;
19787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19788 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
19790 wxPyEndAllowThreads(__tstate
);
19791 if (PyErr_Occurred()) SWIG_fail
;
19793 Py_INCREF(Py_None
); resultobj
= Py_None
;
19800 static PyObject
*_wrap_PyDividedShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19801 PyObject
*resultobj
;
19802 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19804 PyObject
* obj0
= 0 ;
19805 PyObject
* obj1
= 0 ;
19806 char *kwnames
[] = {
19807 (char *) "self",(char *) "dc", NULL
19810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
19811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19813 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19814 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19816 if (arg2
== NULL
) {
19817 PyErr_SetString(PyExc_TypeError
,"null reference");
19821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19822 (arg1
)->base_OnDrawControlPoints(*arg2
);
19824 wxPyEndAllowThreads(__tstate
);
19825 if (PyErr_Occurred()) SWIG_fail
;
19827 Py_INCREF(Py_None
); resultobj
= Py_None
;
19834 static PyObject
*_wrap_PyDividedShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19835 PyObject
*resultobj
;
19836 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19838 PyObject
* obj0
= 0 ;
19839 PyObject
* obj1
= 0 ;
19840 char *kwnames
[] = {
19841 (char *) "self",(char *) "dc", NULL
19844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
19845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19847 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19848 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19850 if (arg2
== NULL
) {
19851 PyErr_SetString(PyExc_TypeError
,"null reference");
19855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19856 (arg1
)->base_OnEraseControlPoints(*arg2
);
19858 wxPyEndAllowThreads(__tstate
);
19859 if (PyErr_Occurred()) SWIG_fail
;
19861 Py_INCREF(Py_None
); resultobj
= Py_None
;
19868 static PyObject
*_wrap_PyDividedShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19869 PyObject
*resultobj
;
19870 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19872 bool arg3
= (bool) True
;
19873 PyObject
* obj0
= 0 ;
19874 PyObject
* obj1
= 0 ;
19875 PyObject
* obj2
= 0 ;
19876 char *kwnames
[] = {
19877 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
19880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDividedShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19883 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19884 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19886 if (arg2
== NULL
) {
19887 PyErr_SetString(PyExc_TypeError
,"null reference");
19891 arg3
= (bool) SWIG_AsBool(obj2
);
19892 if (PyErr_Occurred()) SWIG_fail
;
19895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19896 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
19898 wxPyEndAllowThreads(__tstate
);
19899 if (PyErr_Occurred()) SWIG_fail
;
19901 Py_INCREF(Py_None
); resultobj
= Py_None
;
19908 static PyObject
*_wrap_PyDividedShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19909 PyObject
*resultobj
;
19910 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19911 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
19915 int arg6
= (int) 0 ;
19916 int arg7
= (int) 0 ;
19917 PyObject
* obj0
= 0 ;
19918 PyObject
* obj1
= 0 ;
19919 PyObject
* obj2
= 0 ;
19920 PyObject
* obj3
= 0 ;
19921 PyObject
* obj4
= 0 ;
19922 PyObject
* obj5
= 0 ;
19923 PyObject
* obj6
= 0 ;
19924 char *kwnames
[] = {
19925 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyDividedShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19931 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
19932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19933 arg3
= (bool) SWIG_AsBool(obj2
);
19934 if (PyErr_Occurred()) SWIG_fail
;
19935 arg4
= (double) SWIG_AsDouble(obj3
);
19936 if (PyErr_Occurred()) SWIG_fail
;
19937 arg5
= (double) SWIG_AsDouble(obj4
);
19938 if (PyErr_Occurred()) SWIG_fail
;
19940 arg6
= (int) SWIG_AsInt(obj5
);
19941 if (PyErr_Occurred()) SWIG_fail
;
19944 arg7
= (int) SWIG_AsInt(obj6
);
19945 if (PyErr_Occurred()) SWIG_fail
;
19948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19949 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19951 wxPyEndAllowThreads(__tstate
);
19952 if (PyErr_Occurred()) SWIG_fail
;
19954 Py_INCREF(Py_None
); resultobj
= Py_None
;
19961 static PyObject
*_wrap_PyDividedShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19962 PyObject
*resultobj
;
19963 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19964 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
19967 int arg5
= (int) 0 ;
19968 int arg6
= (int) 0 ;
19969 PyObject
* obj0
= 0 ;
19970 PyObject
* obj1
= 0 ;
19971 PyObject
* obj2
= 0 ;
19972 PyObject
* obj3
= 0 ;
19973 PyObject
* obj4
= 0 ;
19974 PyObject
* obj5
= 0 ;
19975 char *kwnames
[] = {
19976 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDividedShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19982 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
19983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19984 arg3
= (double) SWIG_AsDouble(obj2
);
19985 if (PyErr_Occurred()) SWIG_fail
;
19986 arg4
= (double) SWIG_AsDouble(obj3
);
19987 if (PyErr_Occurred()) SWIG_fail
;
19989 arg5
= (int) SWIG_AsInt(obj4
);
19990 if (PyErr_Occurred()) SWIG_fail
;
19993 arg6
= (int) SWIG_AsInt(obj5
);
19994 if (PyErr_Occurred()) SWIG_fail
;
19997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19998 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
20000 wxPyEndAllowThreads(__tstate
);
20001 if (PyErr_Occurred()) SWIG_fail
;
20003 Py_INCREF(Py_None
); resultobj
= Py_None
;
20010 static PyObject
*_wrap_PyDividedShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20011 PyObject
*resultobj
;
20012 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
20013 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
20016 int arg5
= (int) 0 ;
20017 int arg6
= (int) 0 ;
20018 PyObject
* obj0
= 0 ;
20019 PyObject
* obj1
= 0 ;
20020 PyObject
* obj2
= 0 ;
20021 PyObject
* obj3
= 0 ;
20022 PyObject
* obj4
= 0 ;
20023 PyObject
* obj5
= 0 ;
20024 char *kwnames
[] = {
20025 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
20028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDividedShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
20029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
20030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20031 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
20032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20033 arg3
= (double) SWIG_AsDouble(obj2
);
20034 if (PyErr_Occurred()) SWIG_fail
;
20035 arg4
= (double) SWIG_AsDouble(obj3
);
20036 if (PyErr_Occurred()) SWIG_fail
;
20038 arg5
= (int) SWIG_AsInt(obj4
);
20039 if (PyErr_Occurred()) SWIG_fail
;
20042 arg6
= (int) SWIG_AsInt(obj5
);
20043 if (PyErr_Occurred()) SWIG_fail
;
20046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20047 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
20049 wxPyEndAllowThreads(__tstate
);
20050 if (PyErr_Occurred()) SWIG_fail
;
20052 Py_INCREF(Py_None
); resultobj
= Py_None
;
20059 static PyObject
*_wrap_PyDividedShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20060 PyObject
*resultobj
;
20061 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
20064 PyObject
* obj0
= 0 ;
20065 PyObject
* obj1
= 0 ;
20066 PyObject
* obj2
= 0 ;
20067 char *kwnames
[] = {
20068 (char *) "self",(char *) "w",(char *) "h", NULL
20071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDividedShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
20073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20074 arg2
= (double) SWIG_AsDouble(obj1
);
20075 if (PyErr_Occurred()) SWIG_fail
;
20076 arg3
= (double) SWIG_AsDouble(obj2
);
20077 if (PyErr_Occurred()) SWIG_fail
;
20079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20080 (arg1
)->base_OnBeginSize(arg2
,arg3
);
20082 wxPyEndAllowThreads(__tstate
);
20083 if (PyErr_Occurred()) SWIG_fail
;
20085 Py_INCREF(Py_None
); resultobj
= Py_None
;
20092 static PyObject
*_wrap_PyDividedShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20093 PyObject
*resultobj
;
20094 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
20097 PyObject
* obj0
= 0 ;
20098 PyObject
* obj1
= 0 ;
20099 PyObject
* obj2
= 0 ;
20100 char *kwnames
[] = {
20101 (char *) "self",(char *) "w",(char *) "h", NULL
20104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDividedShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
20106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20107 arg2
= (double) SWIG_AsDouble(obj1
);
20108 if (PyErr_Occurred()) SWIG_fail
;
20109 arg3
= (double) SWIG_AsDouble(obj2
);
20110 if (PyErr_Occurred()) SWIG_fail
;
20112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20113 (arg1
)->base_OnEndSize(arg2
,arg3
);
20115 wxPyEndAllowThreads(__tstate
);
20116 if (PyErr_Occurred()) SWIG_fail
;
20118 Py_INCREF(Py_None
); resultobj
= Py_None
;
20125 static PyObject
* PyDividedShape_swigregister(PyObject
*self
, PyObject
*args
) {
20127 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20128 SWIG_TypeClientData(SWIGTYPE_p_wxPyDividedShape
, obj
);
20130 return Py_BuildValue((char *)"");
20132 static PyObject
*_wrap_new_PyDivisionShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20133 PyObject
*resultobj
;
20134 wxPyDivisionShape
*result
;
20135 char *kwnames
[] = {
20139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyDivisionShape",kwnames
)) goto fail
;
20141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20142 result
= (wxPyDivisionShape
*)new wxPyDivisionShape();
20144 wxPyEndAllowThreads(__tstate
);
20145 if (PyErr_Occurred()) SWIG_fail
;
20148 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
20156 static PyObject
*_wrap_PyDivisionShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20157 PyObject
*resultobj
;
20158 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20159 PyObject
*arg2
= (PyObject
*) 0 ;
20160 PyObject
*arg3
= (PyObject
*) 0 ;
20161 PyObject
* obj0
= 0 ;
20162 PyObject
* obj1
= 0 ;
20163 PyObject
* obj2
= 0 ;
20164 char *kwnames
[] = {
20165 (char *) "self",(char *) "self",(char *) "_class", NULL
20168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20175 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20177 wxPyEndAllowThreads(__tstate
);
20178 if (PyErr_Occurred()) SWIG_fail
;
20180 Py_INCREF(Py_None
); resultobj
= Py_None
;
20187 static PyObject
*_wrap_PyDivisionShape_AdjustBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20188 PyObject
*resultobj
;
20189 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20192 PyObject
* obj0
= 0 ;
20193 PyObject
* obj1
= 0 ;
20194 PyObject
* obj2
= 0 ;
20195 char *kwnames
[] = {
20196 (char *) "self",(char *) "bottom",(char *) "test", NULL
20199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_AdjustBottom",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20202 arg2
= (double) SWIG_AsDouble(obj1
);
20203 if (PyErr_Occurred()) SWIG_fail
;
20204 arg3
= (bool) SWIG_AsBool(obj2
);
20205 if (PyErr_Occurred()) SWIG_fail
;
20207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20208 (arg1
)->AdjustBottom(arg2
,arg3
);
20210 wxPyEndAllowThreads(__tstate
);
20211 if (PyErr_Occurred()) SWIG_fail
;
20213 Py_INCREF(Py_None
); resultobj
= Py_None
;
20220 static PyObject
*_wrap_PyDivisionShape_AdjustLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20221 PyObject
*resultobj
;
20222 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20225 PyObject
* obj0
= 0 ;
20226 PyObject
* obj1
= 0 ;
20227 PyObject
* obj2
= 0 ;
20228 char *kwnames
[] = {
20229 (char *) "self",(char *) "left",(char *) "test", NULL
20232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_AdjustLeft",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20235 arg2
= (double) SWIG_AsDouble(obj1
);
20236 if (PyErr_Occurred()) SWIG_fail
;
20237 arg3
= (bool) SWIG_AsBool(obj2
);
20238 if (PyErr_Occurred()) SWIG_fail
;
20240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20241 (arg1
)->AdjustLeft(arg2
,arg3
);
20243 wxPyEndAllowThreads(__tstate
);
20244 if (PyErr_Occurred()) SWIG_fail
;
20246 Py_INCREF(Py_None
); resultobj
= Py_None
;
20253 static PyObject
*_wrap_PyDivisionShape_AdjustRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20254 PyObject
*resultobj
;
20255 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20258 PyObject
* obj0
= 0 ;
20259 PyObject
* obj1
= 0 ;
20260 PyObject
* obj2
= 0 ;
20261 char *kwnames
[] = {
20262 (char *) "self",(char *) "right",(char *) "test", NULL
20265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_AdjustRight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20268 arg2
= (double) SWIG_AsDouble(obj1
);
20269 if (PyErr_Occurred()) SWIG_fail
;
20270 arg3
= (bool) SWIG_AsBool(obj2
);
20271 if (PyErr_Occurred()) SWIG_fail
;
20273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20274 (arg1
)->AdjustRight(arg2
,arg3
);
20276 wxPyEndAllowThreads(__tstate
);
20277 if (PyErr_Occurred()) SWIG_fail
;
20279 Py_INCREF(Py_None
); resultobj
= Py_None
;
20286 static PyObject
*_wrap_PyDivisionShape_AdjustTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20287 PyObject
*resultobj
;
20288 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20291 PyObject
* obj0
= 0 ;
20292 PyObject
* obj1
= 0 ;
20293 PyObject
* obj2
= 0 ;
20294 char *kwnames
[] = {
20295 (char *) "self",(char *) "top",(char *) "test", NULL
20298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_AdjustTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20301 arg2
= (double) SWIG_AsDouble(obj1
);
20302 if (PyErr_Occurred()) SWIG_fail
;
20303 arg3
= (bool) SWIG_AsBool(obj2
);
20304 if (PyErr_Occurred()) SWIG_fail
;
20306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20307 (arg1
)->AdjustTop(arg2
,arg3
);
20309 wxPyEndAllowThreads(__tstate
);
20310 if (PyErr_Occurred()) SWIG_fail
;
20312 Py_INCREF(Py_None
); resultobj
= Py_None
;
20319 static PyObject
*_wrap_PyDivisionShape_Divide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20320 PyObject
*resultobj
;
20321 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20323 PyObject
* obj0
= 0 ;
20324 PyObject
* obj1
= 0 ;
20325 char *kwnames
[] = {
20326 (char *) "self",(char *) "direction", NULL
20329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_Divide",kwnames
,&obj0
,&obj1
)) goto fail
;
20330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20332 arg2
= (int) SWIG_AsInt(obj1
);
20333 if (PyErr_Occurred()) SWIG_fail
;
20335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20336 (arg1
)->Divide(arg2
);
20338 wxPyEndAllowThreads(__tstate
);
20339 if (PyErr_Occurred()) SWIG_fail
;
20341 Py_INCREF(Py_None
); resultobj
= Py_None
;
20348 static PyObject
*_wrap_PyDivisionShape_EditEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20349 PyObject
*resultobj
;
20350 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20352 PyObject
* obj0
= 0 ;
20353 PyObject
* obj1
= 0 ;
20354 char *kwnames
[] = {
20355 (char *) "self",(char *) "side", NULL
20358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_EditEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
20359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20361 arg2
= (int) SWIG_AsInt(obj1
);
20362 if (PyErr_Occurred()) SWIG_fail
;
20364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20365 (arg1
)->EditEdge(arg2
);
20367 wxPyEndAllowThreads(__tstate
);
20368 if (PyErr_Occurred()) SWIG_fail
;
20370 Py_INCREF(Py_None
); resultobj
= Py_None
;
20377 static PyObject
*_wrap_PyDivisionShape_GetBottomSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20378 PyObject
*resultobj
;
20379 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20380 wxPyDivisionShape
*result
;
20381 PyObject
* obj0
= 0 ;
20382 char *kwnames
[] = {
20383 (char *) "self", NULL
20386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetBottomSide",kwnames
,&obj0
)) goto fail
;
20387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20391 result
= (wxPyDivisionShape
*)(arg1
)->GetBottomSide();
20393 wxPyEndAllowThreads(__tstate
);
20394 if (PyErr_Occurred()) SWIG_fail
;
20397 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
20405 static PyObject
*_wrap_PyDivisionShape_GetHandleSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20406 PyObject
*resultobj
;
20407 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20409 PyObject
* obj0
= 0 ;
20410 char *kwnames
[] = {
20411 (char *) "self", NULL
20414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetHandleSide",kwnames
,&obj0
)) goto fail
;
20415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20419 result
= (int)(arg1
)->GetHandleSide();
20421 wxPyEndAllowThreads(__tstate
);
20422 if (PyErr_Occurred()) SWIG_fail
;
20424 resultobj
= SWIG_FromInt((int)result
);
20431 static PyObject
*_wrap_PyDivisionShape_GetLeftSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20432 PyObject
*resultobj
;
20433 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20434 wxPyDivisionShape
*result
;
20435 PyObject
* obj0
= 0 ;
20436 char *kwnames
[] = {
20437 (char *) "self", NULL
20440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetLeftSide",kwnames
,&obj0
)) goto fail
;
20441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20445 result
= (wxPyDivisionShape
*)(arg1
)->GetLeftSide();
20447 wxPyEndAllowThreads(__tstate
);
20448 if (PyErr_Occurred()) SWIG_fail
;
20451 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
20459 static PyObject
*_wrap_PyDivisionShape_GetLeftSideColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20460 PyObject
*resultobj
;
20461 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20463 PyObject
* obj0
= 0 ;
20464 char *kwnames
[] = {
20465 (char *) "self", NULL
20468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetLeftSideColour",kwnames
,&obj0
)) goto fail
;
20469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20473 result
= (arg1
)->GetLeftSideColour();
20475 wxPyEndAllowThreads(__tstate
);
20476 if (PyErr_Occurred()) SWIG_fail
;
20480 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20482 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20491 static PyObject
*_wrap_PyDivisionShape_GetLeftSidePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20492 PyObject
*resultobj
;
20493 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20495 PyObject
* obj0
= 0 ;
20496 char *kwnames
[] = {
20497 (char *) "self", NULL
20500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetLeftSidePen",kwnames
,&obj0
)) goto fail
;
20501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20505 result
= (wxPen
*)(arg1
)->GetLeftSidePen();
20507 wxPyEndAllowThreads(__tstate
);
20508 if (PyErr_Occurred()) SWIG_fail
;
20510 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
20517 static PyObject
*_wrap_PyDivisionShape_GetRightSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20518 PyObject
*resultobj
;
20519 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20520 wxPyDivisionShape
*result
;
20521 PyObject
* obj0
= 0 ;
20522 char *kwnames
[] = {
20523 (char *) "self", NULL
20526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetRightSide",kwnames
,&obj0
)) goto fail
;
20527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20531 result
= (wxPyDivisionShape
*)(arg1
)->GetRightSide();
20533 wxPyEndAllowThreads(__tstate
);
20534 if (PyErr_Occurred()) SWIG_fail
;
20537 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
20545 static PyObject
*_wrap_PyDivisionShape_GetTopSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20546 PyObject
*resultobj
;
20547 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20548 wxPyDivisionShape
*result
;
20549 PyObject
* obj0
= 0 ;
20550 char *kwnames
[] = {
20551 (char *) "self", NULL
20554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetTopSide",kwnames
,&obj0
)) goto fail
;
20555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20559 result
= (wxPyDivisionShape
*)(arg1
)->GetTopSide();
20561 wxPyEndAllowThreads(__tstate
);
20562 if (PyErr_Occurred()) SWIG_fail
;
20565 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
20573 static PyObject
*_wrap_PyDivisionShape_GetTopSidePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20574 PyObject
*resultobj
;
20575 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20577 PyObject
* obj0
= 0 ;
20578 char *kwnames
[] = {
20579 (char *) "self", NULL
20582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetTopSidePen",kwnames
,&obj0
)) goto fail
;
20583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20587 result
= (wxPen
*)(arg1
)->GetTopSidePen();
20589 wxPyEndAllowThreads(__tstate
);
20590 if (PyErr_Occurred()) SWIG_fail
;
20592 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
20599 static PyObject
*_wrap_PyDivisionShape_ResizeAdjoining(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20600 PyObject
*resultobj
;
20601 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20605 PyObject
* obj0
= 0 ;
20606 PyObject
* obj1
= 0 ;
20607 PyObject
* obj2
= 0 ;
20608 PyObject
* obj3
= 0 ;
20609 char *kwnames
[] = {
20610 (char *) "self",(char *) "side",(char *) "newPos",(char *) "test", NULL
20613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyDivisionShape_ResizeAdjoining",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20616 arg2
= (int) SWIG_AsInt(obj1
);
20617 if (PyErr_Occurred()) SWIG_fail
;
20618 arg3
= (double) SWIG_AsDouble(obj2
);
20619 if (PyErr_Occurred()) SWIG_fail
;
20620 arg4
= (bool) SWIG_AsBool(obj3
);
20621 if (PyErr_Occurred()) SWIG_fail
;
20623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20624 (arg1
)->ResizeAdjoining(arg2
,arg3
,arg4
);
20626 wxPyEndAllowThreads(__tstate
);
20627 if (PyErr_Occurred()) SWIG_fail
;
20629 Py_INCREF(Py_None
); resultobj
= Py_None
;
20636 static PyObject
*_wrap_PyDivisionShape_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20637 PyObject
*resultobj
;
20638 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20641 PyObject
* obj0
= 0 ;
20642 PyObject
* obj1
= 0 ;
20643 PyObject
* obj2
= 0 ;
20644 char *kwnames
[] = {
20645 (char *) "self",(char *) "x",(char *) "y", NULL
20648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20651 arg2
= (double) SWIG_AsDouble(obj1
);
20652 if (PyErr_Occurred()) SWIG_fail
;
20653 arg3
= (double) SWIG_AsDouble(obj2
);
20654 if (PyErr_Occurred()) SWIG_fail
;
20656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20657 (arg1
)->PopupMenu(arg2
,arg3
);
20659 wxPyEndAllowThreads(__tstate
);
20660 if (PyErr_Occurred()) SWIG_fail
;
20662 Py_INCREF(Py_None
); resultobj
= Py_None
;
20669 static PyObject
*_wrap_PyDivisionShape_SetBottomSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20670 PyObject
*resultobj
;
20671 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20672 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
20673 PyObject
* obj0
= 0 ;
20674 PyObject
* obj1
= 0 ;
20675 char *kwnames
[] = {
20676 (char *) "self",(char *) "shape", NULL
20679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetBottomSide",kwnames
,&obj0
,&obj1
)) goto fail
;
20680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20682 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDivisionShape
,
20683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20686 (arg1
)->SetBottomSide(arg2
);
20688 wxPyEndAllowThreads(__tstate
);
20689 if (PyErr_Occurred()) SWIG_fail
;
20691 Py_INCREF(Py_None
); resultobj
= Py_None
;
20698 static PyObject
*_wrap_PyDivisionShape_SetHandleSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20699 PyObject
*resultobj
;
20700 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20702 PyObject
* obj0
= 0 ;
20703 PyObject
* obj1
= 0 ;
20704 char *kwnames
[] = {
20705 (char *) "self",(char *) "side", NULL
20708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetHandleSide",kwnames
,&obj0
,&obj1
)) goto fail
;
20709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20711 arg2
= (int) SWIG_AsInt(obj1
);
20712 if (PyErr_Occurred()) SWIG_fail
;
20714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20715 (arg1
)->SetHandleSide(arg2
);
20717 wxPyEndAllowThreads(__tstate
);
20718 if (PyErr_Occurred()) SWIG_fail
;
20720 Py_INCREF(Py_None
); resultobj
= Py_None
;
20727 static PyObject
*_wrap_PyDivisionShape_SetLeftSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20728 PyObject
*resultobj
;
20729 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20730 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
20731 PyObject
* obj0
= 0 ;
20732 PyObject
* obj1
= 0 ;
20733 char *kwnames
[] = {
20734 (char *) "self",(char *) "shape", NULL
20737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetLeftSide",kwnames
,&obj0
,&obj1
)) goto fail
;
20738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20740 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDivisionShape
,
20741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20744 (arg1
)->SetLeftSide(arg2
);
20746 wxPyEndAllowThreads(__tstate
);
20747 if (PyErr_Occurred()) SWIG_fail
;
20749 Py_INCREF(Py_None
); resultobj
= Py_None
;
20756 static PyObject
*_wrap_PyDivisionShape_SetLeftSideColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20757 PyObject
*resultobj
;
20758 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20759 wxString
*arg2
= 0 ;
20760 bool temp2
= False
;
20761 PyObject
* obj0
= 0 ;
20762 PyObject
* obj1
= 0 ;
20763 char *kwnames
[] = {
20764 (char *) "self",(char *) "colour", NULL
20767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetLeftSideColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20771 arg2
= wxString_in_helper(obj1
);
20772 if (arg2
== NULL
) SWIG_fail
;
20776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20777 (arg1
)->SetLeftSideColour((wxString
const &)*arg2
);
20779 wxPyEndAllowThreads(__tstate
);
20780 if (PyErr_Occurred()) SWIG_fail
;
20782 Py_INCREF(Py_None
); resultobj
= Py_None
;
20797 static PyObject
*_wrap_PyDivisionShape_SetLeftSidePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20798 PyObject
*resultobj
;
20799 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20800 wxPen
*arg2
= (wxPen
*) 0 ;
20801 PyObject
* obj0
= 0 ;
20802 PyObject
* obj1
= 0 ;
20803 char *kwnames
[] = {
20804 (char *) "self",(char *) "pen", NULL
20807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetLeftSidePen",kwnames
,&obj0
,&obj1
)) goto fail
;
20808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20813 if (obj1
== Py_None
) {
20816 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
20817 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
20822 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
20829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20830 (arg1
)->SetLeftSidePen(arg2
);
20832 wxPyEndAllowThreads(__tstate
);
20833 if (PyErr_Occurred()) SWIG_fail
;
20835 Py_INCREF(Py_None
); resultobj
= Py_None
;
20842 static PyObject
*_wrap_PyDivisionShape_SetRightSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20843 PyObject
*resultobj
;
20844 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20845 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
20846 PyObject
* obj0
= 0 ;
20847 PyObject
* obj1
= 0 ;
20848 char *kwnames
[] = {
20849 (char *) "self",(char *) "shape", NULL
20852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetRightSide",kwnames
,&obj0
,&obj1
)) goto fail
;
20853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20855 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDivisionShape
,
20856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20859 (arg1
)->SetRightSide(arg2
);
20861 wxPyEndAllowThreads(__tstate
);
20862 if (PyErr_Occurred()) SWIG_fail
;
20864 Py_INCREF(Py_None
); resultobj
= Py_None
;
20871 static PyObject
*_wrap_PyDivisionShape_SetTopSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20872 PyObject
*resultobj
;
20873 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20874 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
20875 PyObject
* obj0
= 0 ;
20876 PyObject
* obj1
= 0 ;
20877 char *kwnames
[] = {
20878 (char *) "self",(char *) "shape", NULL
20881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetTopSide",kwnames
,&obj0
,&obj1
)) goto fail
;
20882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20884 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDivisionShape
,
20885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20888 (arg1
)->SetTopSide(arg2
);
20890 wxPyEndAllowThreads(__tstate
);
20891 if (PyErr_Occurred()) SWIG_fail
;
20893 Py_INCREF(Py_None
); resultobj
= Py_None
;
20900 static PyObject
*_wrap_PyDivisionShape_SetTopSideColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20901 PyObject
*resultobj
;
20902 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20903 wxString
*arg2
= 0 ;
20904 bool temp2
= False
;
20905 PyObject
* obj0
= 0 ;
20906 PyObject
* obj1
= 0 ;
20907 char *kwnames
[] = {
20908 (char *) "self",(char *) "colour", NULL
20911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetTopSideColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20915 arg2
= wxString_in_helper(obj1
);
20916 if (arg2
== NULL
) SWIG_fail
;
20920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20921 (arg1
)->SetTopSideColour((wxString
const &)*arg2
);
20923 wxPyEndAllowThreads(__tstate
);
20924 if (PyErr_Occurred()) SWIG_fail
;
20926 Py_INCREF(Py_None
); resultobj
= Py_None
;
20941 static PyObject
*_wrap_PyDivisionShape_SetTopSidePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20942 PyObject
*resultobj
;
20943 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20944 wxPen
*arg2
= (wxPen
*) 0 ;
20945 PyObject
* obj0
= 0 ;
20946 PyObject
* obj1
= 0 ;
20947 char *kwnames
[] = {
20948 (char *) "self",(char *) "pen", NULL
20951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetTopSidePen",kwnames
,&obj0
,&obj1
)) goto fail
;
20952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20957 if (obj1
== Py_None
) {
20960 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
20961 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
20966 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
20973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20974 (arg1
)->SetTopSidePen(arg2
);
20976 wxPyEndAllowThreads(__tstate
);
20977 if (PyErr_Occurred()) SWIG_fail
;
20979 Py_INCREF(Py_None
); resultobj
= Py_None
;
20986 static PyObject
*_wrap_PyDivisionShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20987 PyObject
*resultobj
;
20988 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20989 PyObject
* obj0
= 0 ;
20990 char *kwnames
[] = {
20991 (char *) "self", NULL
20994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
20995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20999 (arg1
)->base_OnDelete();
21001 wxPyEndAllowThreads(__tstate
);
21002 if (PyErr_Occurred()) SWIG_fail
;
21004 Py_INCREF(Py_None
); resultobj
= Py_None
;
21011 static PyObject
*_wrap_PyDivisionShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21012 PyObject
*resultobj
;
21013 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21015 PyObject
* obj0
= 0 ;
21016 PyObject
* obj1
= 0 ;
21017 char *kwnames
[] = {
21018 (char *) "self",(char *) "dc", NULL
21021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
21022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21024 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21025 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21027 if (arg2
== NULL
) {
21028 PyErr_SetString(PyExc_TypeError
,"null reference");
21032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21033 (arg1
)->base_OnDraw(*arg2
);
21035 wxPyEndAllowThreads(__tstate
);
21036 if (PyErr_Occurred()) SWIG_fail
;
21038 Py_INCREF(Py_None
); resultobj
= Py_None
;
21045 static PyObject
*_wrap_PyDivisionShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21046 PyObject
*resultobj
;
21047 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21049 PyObject
* obj0
= 0 ;
21050 PyObject
* obj1
= 0 ;
21051 char *kwnames
[] = {
21052 (char *) "self",(char *) "dc", NULL
21055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
21056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21058 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21059 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21061 if (arg2
== NULL
) {
21062 PyErr_SetString(PyExc_TypeError
,"null reference");
21066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21067 (arg1
)->base_OnDrawContents(*arg2
);
21069 wxPyEndAllowThreads(__tstate
);
21070 if (PyErr_Occurred()) SWIG_fail
;
21072 Py_INCREF(Py_None
); resultobj
= Py_None
;
21079 static PyObject
*_wrap_PyDivisionShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21080 PyObject
*resultobj
;
21081 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21083 bool arg3
= (bool) FALSE
;
21084 PyObject
* obj0
= 0 ;
21085 PyObject
* obj1
= 0 ;
21086 PyObject
* obj2
= 0 ;
21087 char *kwnames
[] = {
21088 (char *) "self",(char *) "dc",(char *) "erase", NULL
21091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDivisionShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21094 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21095 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21097 if (arg2
== NULL
) {
21098 PyErr_SetString(PyExc_TypeError
,"null reference");
21102 arg3
= (bool) SWIG_AsBool(obj2
);
21103 if (PyErr_Occurred()) SWIG_fail
;
21106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21107 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
21109 wxPyEndAllowThreads(__tstate
);
21110 if (PyErr_Occurred()) SWIG_fail
;
21112 Py_INCREF(Py_None
); resultobj
= Py_None
;
21119 static PyObject
*_wrap_PyDivisionShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21120 PyObject
*resultobj
;
21121 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21123 PyObject
* obj0
= 0 ;
21124 PyObject
* obj1
= 0 ;
21125 char *kwnames
[] = {
21126 (char *) "self",(char *) "dc", NULL
21129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
21130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21132 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21133 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21135 if (arg2
== NULL
) {
21136 PyErr_SetString(PyExc_TypeError
,"null reference");
21140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21141 (arg1
)->base_OnMoveLinks(*arg2
);
21143 wxPyEndAllowThreads(__tstate
);
21144 if (PyErr_Occurred()) SWIG_fail
;
21146 Py_INCREF(Py_None
); resultobj
= Py_None
;
21153 static PyObject
*_wrap_PyDivisionShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21154 PyObject
*resultobj
;
21155 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21157 PyObject
* obj0
= 0 ;
21158 PyObject
* obj1
= 0 ;
21159 char *kwnames
[] = {
21160 (char *) "self",(char *) "dc", NULL
21163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
21164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21166 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21167 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21169 if (arg2
== NULL
) {
21170 PyErr_SetString(PyExc_TypeError
,"null reference");
21174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21175 (arg1
)->base_OnErase(*arg2
);
21177 wxPyEndAllowThreads(__tstate
);
21178 if (PyErr_Occurred()) SWIG_fail
;
21180 Py_INCREF(Py_None
); resultobj
= Py_None
;
21187 static PyObject
*_wrap_PyDivisionShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21188 PyObject
*resultobj
;
21189 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21191 PyObject
* obj0
= 0 ;
21192 PyObject
* obj1
= 0 ;
21193 char *kwnames
[] = {
21194 (char *) "self",(char *) "dc", NULL
21197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
21198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21200 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21201 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21203 if (arg2
== NULL
) {
21204 PyErr_SetString(PyExc_TypeError
,"null reference");
21208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21209 (arg1
)->base_OnEraseContents(*arg2
);
21211 wxPyEndAllowThreads(__tstate
);
21212 if (PyErr_Occurred()) SWIG_fail
;
21214 Py_INCREF(Py_None
); resultobj
= Py_None
;
21221 static PyObject
*_wrap_PyDivisionShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21222 PyObject
*resultobj
;
21223 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21225 PyObject
* obj0
= 0 ;
21226 PyObject
* obj1
= 0 ;
21227 char *kwnames
[] = {
21228 (char *) "self",(char *) "dc", NULL
21231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
21232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21234 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21235 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21237 if (arg2
== NULL
) {
21238 PyErr_SetString(PyExc_TypeError
,"null reference");
21242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21243 (arg1
)->base_OnHighlight(*arg2
);
21245 wxPyEndAllowThreads(__tstate
);
21246 if (PyErr_Occurred()) SWIG_fail
;
21248 Py_INCREF(Py_None
); resultobj
= Py_None
;
21255 static PyObject
*_wrap_PyDivisionShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21256 PyObject
*resultobj
;
21257 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21260 int arg4
= (int) 0 ;
21261 int arg5
= (int) 0 ;
21262 PyObject
* obj0
= 0 ;
21263 PyObject
* obj1
= 0 ;
21264 PyObject
* obj2
= 0 ;
21265 PyObject
* obj3
= 0 ;
21266 PyObject
* obj4
= 0 ;
21267 char *kwnames
[] = {
21268 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21274 arg2
= (double) SWIG_AsDouble(obj1
);
21275 if (PyErr_Occurred()) SWIG_fail
;
21276 arg3
= (double) SWIG_AsDouble(obj2
);
21277 if (PyErr_Occurred()) SWIG_fail
;
21279 arg4
= (int) SWIG_AsInt(obj3
);
21280 if (PyErr_Occurred()) SWIG_fail
;
21283 arg5
= (int) SWIG_AsInt(obj4
);
21284 if (PyErr_Occurred()) SWIG_fail
;
21287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21288 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
21290 wxPyEndAllowThreads(__tstate
);
21291 if (PyErr_Occurred()) SWIG_fail
;
21293 Py_INCREF(Py_None
); resultobj
= Py_None
;
21300 static PyObject
*_wrap_PyDivisionShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21301 PyObject
*resultobj
;
21302 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21305 int arg4
= (int) 0 ;
21306 int arg5
= (int) 0 ;
21307 PyObject
* obj0
= 0 ;
21308 PyObject
* obj1
= 0 ;
21309 PyObject
* obj2
= 0 ;
21310 PyObject
* obj3
= 0 ;
21311 PyObject
* obj4
= 0 ;
21312 char *kwnames
[] = {
21313 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21319 arg2
= (double) SWIG_AsDouble(obj1
);
21320 if (PyErr_Occurred()) SWIG_fail
;
21321 arg3
= (double) SWIG_AsDouble(obj2
);
21322 if (PyErr_Occurred()) SWIG_fail
;
21324 arg4
= (int) SWIG_AsInt(obj3
);
21325 if (PyErr_Occurred()) SWIG_fail
;
21328 arg5
= (int) SWIG_AsInt(obj4
);
21329 if (PyErr_Occurred()) SWIG_fail
;
21332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21333 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
21335 wxPyEndAllowThreads(__tstate
);
21336 if (PyErr_Occurred()) SWIG_fail
;
21338 Py_INCREF(Py_None
); resultobj
= Py_None
;
21345 static PyObject
*_wrap_PyDivisionShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21346 PyObject
*resultobj
;
21347 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21350 int arg4
= (int) 0 ;
21351 int arg5
= (int) 0 ;
21352 PyObject
* obj0
= 0 ;
21353 PyObject
* obj1
= 0 ;
21354 PyObject
* obj2
= 0 ;
21355 PyObject
* obj3
= 0 ;
21356 PyObject
* obj4
= 0 ;
21357 char *kwnames
[] = {
21358 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21364 arg2
= (double) SWIG_AsDouble(obj1
);
21365 if (PyErr_Occurred()) SWIG_fail
;
21366 arg3
= (double) SWIG_AsDouble(obj2
);
21367 if (PyErr_Occurred()) SWIG_fail
;
21369 arg4
= (int) SWIG_AsInt(obj3
);
21370 if (PyErr_Occurred()) SWIG_fail
;
21373 arg5
= (int) SWIG_AsInt(obj4
);
21374 if (PyErr_Occurred()) SWIG_fail
;
21377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21378 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
21380 wxPyEndAllowThreads(__tstate
);
21381 if (PyErr_Occurred()) SWIG_fail
;
21383 Py_INCREF(Py_None
); resultobj
= Py_None
;
21390 static PyObject
*_wrap_PyDivisionShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21391 PyObject
*resultobj
;
21392 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21395 PyObject
* obj0
= 0 ;
21396 PyObject
* obj1
= 0 ;
21397 PyObject
* obj2
= 0 ;
21398 char *kwnames
[] = {
21399 (char *) "self",(char *) "x",(char *) "y", NULL
21402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21405 arg2
= (double) SWIG_AsDouble(obj1
);
21406 if (PyErr_Occurred()) SWIG_fail
;
21407 arg3
= (double) SWIG_AsDouble(obj2
);
21408 if (PyErr_Occurred()) SWIG_fail
;
21410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21411 (arg1
)->base_OnSize(arg2
,arg3
);
21413 wxPyEndAllowThreads(__tstate
);
21414 if (PyErr_Occurred()) SWIG_fail
;
21416 Py_INCREF(Py_None
); resultobj
= Py_None
;
21423 static PyObject
*_wrap_PyDivisionShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21424 PyObject
*resultobj
;
21425 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21431 bool arg7
= (bool) True
;
21433 PyObject
* obj0
= 0 ;
21434 PyObject
* obj1
= 0 ;
21435 PyObject
* obj2
= 0 ;
21436 PyObject
* obj3
= 0 ;
21437 PyObject
* obj4
= 0 ;
21438 PyObject
* obj5
= 0 ;
21439 PyObject
* obj6
= 0 ;
21440 char *kwnames
[] = {
21441 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
21444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyDivisionShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21447 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21448 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21450 if (arg2
== NULL
) {
21451 PyErr_SetString(PyExc_TypeError
,"null reference");
21454 arg3
= (double) SWIG_AsDouble(obj2
);
21455 if (PyErr_Occurred()) SWIG_fail
;
21456 arg4
= (double) SWIG_AsDouble(obj3
);
21457 if (PyErr_Occurred()) SWIG_fail
;
21458 arg5
= (double) SWIG_AsDouble(obj4
);
21459 if (PyErr_Occurred()) SWIG_fail
;
21460 arg6
= (double) SWIG_AsDouble(obj5
);
21461 if (PyErr_Occurred()) SWIG_fail
;
21463 arg7
= (bool) SWIG_AsBool(obj6
);
21464 if (PyErr_Occurred()) SWIG_fail
;
21467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21468 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21470 wxPyEndAllowThreads(__tstate
);
21471 if (PyErr_Occurred()) SWIG_fail
;
21474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21482 static PyObject
*_wrap_PyDivisionShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21483 PyObject
*resultobj
;
21484 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21490 bool arg7
= (bool) True
;
21491 PyObject
* obj0
= 0 ;
21492 PyObject
* obj1
= 0 ;
21493 PyObject
* obj2
= 0 ;
21494 PyObject
* obj3
= 0 ;
21495 PyObject
* obj4
= 0 ;
21496 PyObject
* obj5
= 0 ;
21497 PyObject
* obj6
= 0 ;
21498 char *kwnames
[] = {
21499 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
21502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyDivisionShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21505 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21506 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21508 if (arg2
== NULL
) {
21509 PyErr_SetString(PyExc_TypeError
,"null reference");
21512 arg3
= (double) SWIG_AsDouble(obj2
);
21513 if (PyErr_Occurred()) SWIG_fail
;
21514 arg4
= (double) SWIG_AsDouble(obj3
);
21515 if (PyErr_Occurred()) SWIG_fail
;
21516 arg5
= (double) SWIG_AsDouble(obj4
);
21517 if (PyErr_Occurred()) SWIG_fail
;
21518 arg6
= (double) SWIG_AsDouble(obj5
);
21519 if (PyErr_Occurred()) SWIG_fail
;
21521 arg7
= (bool) SWIG_AsBool(obj6
);
21522 if (PyErr_Occurred()) SWIG_fail
;
21525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21526 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21528 wxPyEndAllowThreads(__tstate
);
21529 if (PyErr_Occurred()) SWIG_fail
;
21531 Py_INCREF(Py_None
); resultobj
= Py_None
;
21538 static PyObject
*_wrap_PyDivisionShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21539 PyObject
*resultobj
;
21540 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21544 int arg5
= (int) 0 ;
21545 int arg6
= (int) 0 ;
21546 PyObject
* obj0
= 0 ;
21547 PyObject
* obj1
= 0 ;
21548 PyObject
* obj2
= 0 ;
21549 PyObject
* obj3
= 0 ;
21550 PyObject
* obj4
= 0 ;
21551 PyObject
* obj5
= 0 ;
21552 char *kwnames
[] = {
21553 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDivisionShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21559 arg2
= (bool) SWIG_AsBool(obj1
);
21560 if (PyErr_Occurred()) SWIG_fail
;
21561 arg3
= (double) SWIG_AsDouble(obj2
);
21562 if (PyErr_Occurred()) SWIG_fail
;
21563 arg4
= (double) SWIG_AsDouble(obj3
);
21564 if (PyErr_Occurred()) SWIG_fail
;
21566 arg5
= (int) SWIG_AsInt(obj4
);
21567 if (PyErr_Occurred()) SWIG_fail
;
21570 arg6
= (int) SWIG_AsInt(obj5
);
21571 if (PyErr_Occurred()) SWIG_fail
;
21574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21575 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
21577 wxPyEndAllowThreads(__tstate
);
21578 if (PyErr_Occurred()) SWIG_fail
;
21580 Py_INCREF(Py_None
); resultobj
= Py_None
;
21587 static PyObject
*_wrap_PyDivisionShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21588 PyObject
*resultobj
;
21589 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21592 int arg4
= (int) 0 ;
21593 int arg5
= (int) 0 ;
21594 PyObject
* obj0
= 0 ;
21595 PyObject
* obj1
= 0 ;
21596 PyObject
* obj2
= 0 ;
21597 PyObject
* obj3
= 0 ;
21598 PyObject
* obj4
= 0 ;
21599 char *kwnames
[] = {
21600 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21606 arg2
= (double) SWIG_AsDouble(obj1
);
21607 if (PyErr_Occurred()) SWIG_fail
;
21608 arg3
= (double) SWIG_AsDouble(obj2
);
21609 if (PyErr_Occurred()) SWIG_fail
;
21611 arg4
= (int) SWIG_AsInt(obj3
);
21612 if (PyErr_Occurred()) SWIG_fail
;
21615 arg5
= (int) SWIG_AsInt(obj4
);
21616 if (PyErr_Occurred()) SWIG_fail
;
21619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21620 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
21622 wxPyEndAllowThreads(__tstate
);
21623 if (PyErr_Occurred()) SWIG_fail
;
21625 Py_INCREF(Py_None
); resultobj
= Py_None
;
21632 static PyObject
*_wrap_PyDivisionShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21633 PyObject
*resultobj
;
21634 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21637 int arg4
= (int) 0 ;
21638 int arg5
= (int) 0 ;
21639 PyObject
* obj0
= 0 ;
21640 PyObject
* obj1
= 0 ;
21641 PyObject
* obj2
= 0 ;
21642 PyObject
* obj3
= 0 ;
21643 PyObject
* obj4
= 0 ;
21644 char *kwnames
[] = {
21645 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21651 arg2
= (double) SWIG_AsDouble(obj1
);
21652 if (PyErr_Occurred()) SWIG_fail
;
21653 arg3
= (double) SWIG_AsDouble(obj2
);
21654 if (PyErr_Occurred()) SWIG_fail
;
21656 arg4
= (int) SWIG_AsInt(obj3
);
21657 if (PyErr_Occurred()) SWIG_fail
;
21660 arg5
= (int) SWIG_AsInt(obj4
);
21661 if (PyErr_Occurred()) SWIG_fail
;
21664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21665 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
21667 wxPyEndAllowThreads(__tstate
);
21668 if (PyErr_Occurred()) SWIG_fail
;
21670 Py_INCREF(Py_None
); resultobj
= Py_None
;
21677 static PyObject
*_wrap_PyDivisionShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21678 PyObject
*resultobj
;
21679 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21683 int arg5
= (int) 0 ;
21684 int arg6
= (int) 0 ;
21685 PyObject
* obj0
= 0 ;
21686 PyObject
* obj1
= 0 ;
21687 PyObject
* obj2
= 0 ;
21688 PyObject
* obj3
= 0 ;
21689 PyObject
* obj4
= 0 ;
21690 PyObject
* obj5
= 0 ;
21691 char *kwnames
[] = {
21692 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDivisionShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21698 arg2
= (bool) SWIG_AsBool(obj1
);
21699 if (PyErr_Occurred()) SWIG_fail
;
21700 arg3
= (double) SWIG_AsDouble(obj2
);
21701 if (PyErr_Occurred()) SWIG_fail
;
21702 arg4
= (double) SWIG_AsDouble(obj3
);
21703 if (PyErr_Occurred()) SWIG_fail
;
21705 arg5
= (int) SWIG_AsInt(obj4
);
21706 if (PyErr_Occurred()) SWIG_fail
;
21709 arg6
= (int) SWIG_AsInt(obj5
);
21710 if (PyErr_Occurred()) SWIG_fail
;
21713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21714 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
21716 wxPyEndAllowThreads(__tstate
);
21717 if (PyErr_Occurred()) SWIG_fail
;
21719 Py_INCREF(Py_None
); resultobj
= Py_None
;
21726 static PyObject
*_wrap_PyDivisionShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21727 PyObject
*resultobj
;
21728 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21731 int arg4
= (int) 0 ;
21732 int arg5
= (int) 0 ;
21733 PyObject
* obj0
= 0 ;
21734 PyObject
* obj1
= 0 ;
21735 PyObject
* obj2
= 0 ;
21736 PyObject
* obj3
= 0 ;
21737 PyObject
* obj4
= 0 ;
21738 char *kwnames
[] = {
21739 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21745 arg2
= (double) SWIG_AsDouble(obj1
);
21746 if (PyErr_Occurred()) SWIG_fail
;
21747 arg3
= (double) SWIG_AsDouble(obj2
);
21748 if (PyErr_Occurred()) SWIG_fail
;
21750 arg4
= (int) SWIG_AsInt(obj3
);
21751 if (PyErr_Occurred()) SWIG_fail
;
21754 arg5
= (int) SWIG_AsInt(obj4
);
21755 if (PyErr_Occurred()) SWIG_fail
;
21758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21759 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
21761 wxPyEndAllowThreads(__tstate
);
21762 if (PyErr_Occurred()) SWIG_fail
;
21764 Py_INCREF(Py_None
); resultobj
= Py_None
;
21771 static PyObject
*_wrap_PyDivisionShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21772 PyObject
*resultobj
;
21773 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21776 int arg4
= (int) 0 ;
21777 int arg5
= (int) 0 ;
21778 PyObject
* obj0
= 0 ;
21779 PyObject
* obj1
= 0 ;
21780 PyObject
* obj2
= 0 ;
21781 PyObject
* obj3
= 0 ;
21782 PyObject
* obj4
= 0 ;
21783 char *kwnames
[] = {
21784 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21790 arg2
= (double) SWIG_AsDouble(obj1
);
21791 if (PyErr_Occurred()) SWIG_fail
;
21792 arg3
= (double) SWIG_AsDouble(obj2
);
21793 if (PyErr_Occurred()) SWIG_fail
;
21795 arg4
= (int) SWIG_AsInt(obj3
);
21796 if (PyErr_Occurred()) SWIG_fail
;
21799 arg5
= (int) SWIG_AsInt(obj4
);
21800 if (PyErr_Occurred()) SWIG_fail
;
21803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21804 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
21806 wxPyEndAllowThreads(__tstate
);
21807 if (PyErr_Occurred()) SWIG_fail
;
21809 Py_INCREF(Py_None
); resultobj
= Py_None
;
21816 static PyObject
*_wrap_PyDivisionShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21817 PyObject
*resultobj
;
21818 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21824 PyObject
* obj0
= 0 ;
21825 PyObject
* obj1
= 0 ;
21826 PyObject
* obj2
= 0 ;
21827 PyObject
* obj3
= 0 ;
21828 PyObject
* obj4
= 0 ;
21829 PyObject
* obj5
= 0 ;
21830 char *kwnames
[] = {
21831 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
21834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyDivisionShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21837 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21838 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21840 if (arg2
== NULL
) {
21841 PyErr_SetString(PyExc_TypeError
,"null reference");
21844 arg3
= (double) SWIG_AsDouble(obj2
);
21845 if (PyErr_Occurred()) SWIG_fail
;
21846 arg4
= (double) SWIG_AsDouble(obj3
);
21847 if (PyErr_Occurred()) SWIG_fail
;
21848 arg5
= (double) SWIG_AsDouble(obj4
);
21849 if (PyErr_Occurred()) SWIG_fail
;
21850 arg6
= (double) SWIG_AsDouble(obj5
);
21851 if (PyErr_Occurred()) SWIG_fail
;
21853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21854 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
21856 wxPyEndAllowThreads(__tstate
);
21857 if (PyErr_Occurred()) SWIG_fail
;
21859 Py_INCREF(Py_None
); resultobj
= Py_None
;
21866 static PyObject
*_wrap_PyDivisionShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21867 PyObject
*resultobj
;
21868 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21870 PyObject
* obj0
= 0 ;
21871 PyObject
* obj1
= 0 ;
21872 char *kwnames
[] = {
21873 (char *) "self",(char *) "dc", NULL
21876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
21877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21879 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21880 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21882 if (arg2
== NULL
) {
21883 PyErr_SetString(PyExc_TypeError
,"null reference");
21887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21888 (arg1
)->base_OnDrawControlPoints(*arg2
);
21890 wxPyEndAllowThreads(__tstate
);
21891 if (PyErr_Occurred()) SWIG_fail
;
21893 Py_INCREF(Py_None
); resultobj
= Py_None
;
21900 static PyObject
*_wrap_PyDivisionShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21901 PyObject
*resultobj
;
21902 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21904 PyObject
* obj0
= 0 ;
21905 PyObject
* obj1
= 0 ;
21906 char *kwnames
[] = {
21907 (char *) "self",(char *) "dc", NULL
21910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
21911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21913 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21914 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21916 if (arg2
== NULL
) {
21917 PyErr_SetString(PyExc_TypeError
,"null reference");
21921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21922 (arg1
)->base_OnEraseControlPoints(*arg2
);
21924 wxPyEndAllowThreads(__tstate
);
21925 if (PyErr_Occurred()) SWIG_fail
;
21927 Py_INCREF(Py_None
); resultobj
= Py_None
;
21934 static PyObject
*_wrap_PyDivisionShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21935 PyObject
*resultobj
;
21936 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21938 bool arg3
= (bool) True
;
21939 PyObject
* obj0
= 0 ;
21940 PyObject
* obj1
= 0 ;
21941 PyObject
* obj2
= 0 ;
21942 char *kwnames
[] = {
21943 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
21946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDivisionShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21949 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21950 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21952 if (arg2
== NULL
) {
21953 PyErr_SetString(PyExc_TypeError
,"null reference");
21957 arg3
= (bool) SWIG_AsBool(obj2
);
21958 if (PyErr_Occurred()) SWIG_fail
;
21961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21962 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
21964 wxPyEndAllowThreads(__tstate
);
21965 if (PyErr_Occurred()) SWIG_fail
;
21967 Py_INCREF(Py_None
); resultobj
= Py_None
;
21974 static PyObject
*_wrap_PyDivisionShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21975 PyObject
*resultobj
;
21976 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21977 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
21981 int arg6
= (int) 0 ;
21982 int arg7
= (int) 0 ;
21983 PyObject
* obj0
= 0 ;
21984 PyObject
* obj1
= 0 ;
21985 PyObject
* obj2
= 0 ;
21986 PyObject
* obj3
= 0 ;
21987 PyObject
* obj4
= 0 ;
21988 PyObject
* obj5
= 0 ;
21989 PyObject
* obj6
= 0 ;
21990 char *kwnames
[] = {
21991 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyDivisionShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21997 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
21998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21999 arg3
= (bool) SWIG_AsBool(obj2
);
22000 if (PyErr_Occurred()) SWIG_fail
;
22001 arg4
= (double) SWIG_AsDouble(obj3
);
22002 if (PyErr_Occurred()) SWIG_fail
;
22003 arg5
= (double) SWIG_AsDouble(obj4
);
22004 if (PyErr_Occurred()) SWIG_fail
;
22006 arg6
= (int) SWIG_AsInt(obj5
);
22007 if (PyErr_Occurred()) SWIG_fail
;
22010 arg7
= (int) SWIG_AsInt(obj6
);
22011 if (PyErr_Occurred()) SWIG_fail
;
22014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22015 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22017 wxPyEndAllowThreads(__tstate
);
22018 if (PyErr_Occurred()) SWIG_fail
;
22020 Py_INCREF(Py_None
); resultobj
= Py_None
;
22027 static PyObject
*_wrap_PyDivisionShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22028 PyObject
*resultobj
;
22029 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
22030 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
22033 int arg5
= (int) 0 ;
22034 int arg6
= (int) 0 ;
22035 PyObject
* obj0
= 0 ;
22036 PyObject
* obj1
= 0 ;
22037 PyObject
* obj2
= 0 ;
22038 PyObject
* obj3
= 0 ;
22039 PyObject
* obj4
= 0 ;
22040 PyObject
* obj5
= 0 ;
22041 char *kwnames
[] = {
22042 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDivisionShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
22047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22048 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
22049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22050 arg3
= (double) SWIG_AsDouble(obj2
);
22051 if (PyErr_Occurred()) SWIG_fail
;
22052 arg4
= (double) SWIG_AsDouble(obj3
);
22053 if (PyErr_Occurred()) SWIG_fail
;
22055 arg5
= (int) SWIG_AsInt(obj4
);
22056 if (PyErr_Occurred()) SWIG_fail
;
22059 arg6
= (int) SWIG_AsInt(obj5
);
22060 if (PyErr_Occurred()) SWIG_fail
;
22063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22064 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
22066 wxPyEndAllowThreads(__tstate
);
22067 if (PyErr_Occurred()) SWIG_fail
;
22069 Py_INCREF(Py_None
); resultobj
= Py_None
;
22076 static PyObject
*_wrap_PyDivisionShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22077 PyObject
*resultobj
;
22078 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
22079 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
22082 int arg5
= (int) 0 ;
22083 int arg6
= (int) 0 ;
22084 PyObject
* obj0
= 0 ;
22085 PyObject
* obj1
= 0 ;
22086 PyObject
* obj2
= 0 ;
22087 PyObject
* obj3
= 0 ;
22088 PyObject
* obj4
= 0 ;
22089 PyObject
* obj5
= 0 ;
22090 char *kwnames
[] = {
22091 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDivisionShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
22096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22097 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
22098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22099 arg3
= (double) SWIG_AsDouble(obj2
);
22100 if (PyErr_Occurred()) SWIG_fail
;
22101 arg4
= (double) SWIG_AsDouble(obj3
);
22102 if (PyErr_Occurred()) SWIG_fail
;
22104 arg5
= (int) SWIG_AsInt(obj4
);
22105 if (PyErr_Occurred()) SWIG_fail
;
22108 arg6
= (int) SWIG_AsInt(obj5
);
22109 if (PyErr_Occurred()) SWIG_fail
;
22112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22113 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
22115 wxPyEndAllowThreads(__tstate
);
22116 if (PyErr_Occurred()) SWIG_fail
;
22118 Py_INCREF(Py_None
); resultobj
= Py_None
;
22125 static PyObject
*_wrap_PyDivisionShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22126 PyObject
*resultobj
;
22127 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
22130 PyObject
* obj0
= 0 ;
22131 PyObject
* obj1
= 0 ;
22132 PyObject
* obj2
= 0 ;
22133 char *kwnames
[] = {
22134 (char *) "self",(char *) "w",(char *) "h", NULL
22137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
22139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22140 arg2
= (double) SWIG_AsDouble(obj1
);
22141 if (PyErr_Occurred()) SWIG_fail
;
22142 arg3
= (double) SWIG_AsDouble(obj2
);
22143 if (PyErr_Occurred()) SWIG_fail
;
22145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22146 (arg1
)->base_OnBeginSize(arg2
,arg3
);
22148 wxPyEndAllowThreads(__tstate
);
22149 if (PyErr_Occurred()) SWIG_fail
;
22151 Py_INCREF(Py_None
); resultobj
= Py_None
;
22158 static PyObject
*_wrap_PyDivisionShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22159 PyObject
*resultobj
;
22160 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
22163 PyObject
* obj0
= 0 ;
22164 PyObject
* obj1
= 0 ;
22165 PyObject
* obj2
= 0 ;
22166 char *kwnames
[] = {
22167 (char *) "self",(char *) "w",(char *) "h", NULL
22170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
22172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22173 arg2
= (double) SWIG_AsDouble(obj1
);
22174 if (PyErr_Occurred()) SWIG_fail
;
22175 arg3
= (double) SWIG_AsDouble(obj2
);
22176 if (PyErr_Occurred()) SWIG_fail
;
22178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22179 (arg1
)->base_OnEndSize(arg2
,arg3
);
22181 wxPyEndAllowThreads(__tstate
);
22182 if (PyErr_Occurred()) SWIG_fail
;
22184 Py_INCREF(Py_None
); resultobj
= Py_None
;
22191 static PyObject
* PyDivisionShape_swigregister(PyObject
*self
, PyObject
*args
) {
22193 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22194 SWIG_TypeClientData(SWIGTYPE_p_wxPyDivisionShape
, obj
);
22196 return Py_BuildValue((char *)"");
22198 static PyObject
*_wrap_new_PyEllipseShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22199 PyObject
*resultobj
;
22200 double arg1
= (double) 0.0 ;
22201 double arg2
= (double) 0.0 ;
22202 wxPyEllipseShape
*result
;
22203 PyObject
* obj0
= 0 ;
22204 PyObject
* obj1
= 0 ;
22205 char *kwnames
[] = {
22206 (char *) "width",(char *) "height", NULL
22209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEllipseShape",kwnames
,&obj0
,&obj1
)) goto fail
;
22211 arg1
= (double) SWIG_AsDouble(obj0
);
22212 if (PyErr_Occurred()) SWIG_fail
;
22215 arg2
= (double) SWIG_AsDouble(obj1
);
22216 if (PyErr_Occurred()) SWIG_fail
;
22219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22220 result
= (wxPyEllipseShape
*)new wxPyEllipseShape(arg1
,arg2
);
22222 wxPyEndAllowThreads(__tstate
);
22223 if (PyErr_Occurred()) SWIG_fail
;
22225 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEllipseShape
, 1);
22232 static PyObject
*_wrap_PyEllipseShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22233 PyObject
*resultobj
;
22234 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22235 PyObject
*arg2
= (PyObject
*) 0 ;
22236 PyObject
*arg3
= (PyObject
*) 0 ;
22237 PyObject
* obj0
= 0 ;
22238 PyObject
* obj1
= 0 ;
22239 PyObject
* obj2
= 0 ;
22240 char *kwnames
[] = {
22241 (char *) "self",(char *) "self",(char *) "_class", NULL
22244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyEllipseShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22251 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22253 wxPyEndAllowThreads(__tstate
);
22254 if (PyErr_Occurred()) SWIG_fail
;
22256 Py_INCREF(Py_None
); resultobj
= Py_None
;
22263 static PyObject
*_wrap_PyEllipseShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22264 PyObject
*resultobj
;
22265 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22267 PyObject
* obj0
= 0 ;
22268 PyObject
* obj1
= 0 ;
22269 char *kwnames
[] = {
22270 (char *) "self",(char *) "dc", NULL
22273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
22274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22276 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22277 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22279 if (arg2
== NULL
) {
22280 PyErr_SetString(PyExc_TypeError
,"null reference");
22284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22285 (arg1
)->base_OnDraw(*arg2
);
22287 wxPyEndAllowThreads(__tstate
);
22288 if (PyErr_Occurred()) SWIG_fail
;
22290 Py_INCREF(Py_None
); resultobj
= Py_None
;
22297 static PyObject
*_wrap_PyEllipseShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22298 PyObject
*resultobj
;
22299 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22301 PyObject
* obj0
= 0 ;
22302 PyObject
* obj1
= 0 ;
22303 char *kwnames
[] = {
22304 (char *) "self",(char *) "dc", NULL
22307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
22308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22310 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22311 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22313 if (arg2
== NULL
) {
22314 PyErr_SetString(PyExc_TypeError
,"null reference");
22318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22319 (arg1
)->base_OnDrawContents(*arg2
);
22321 wxPyEndAllowThreads(__tstate
);
22322 if (PyErr_Occurred()) SWIG_fail
;
22324 Py_INCREF(Py_None
); resultobj
= Py_None
;
22331 static PyObject
*_wrap_PyEllipseShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22332 PyObject
*resultobj
;
22333 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22335 bool arg3
= (bool) FALSE
;
22336 PyObject
* obj0
= 0 ;
22337 PyObject
* obj1
= 0 ;
22338 PyObject
* obj2
= 0 ;
22339 char *kwnames
[] = {
22340 (char *) "self",(char *) "dc",(char *) "erase", NULL
22343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyEllipseShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22346 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22347 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22349 if (arg2
== NULL
) {
22350 PyErr_SetString(PyExc_TypeError
,"null reference");
22354 arg3
= (bool) SWIG_AsBool(obj2
);
22355 if (PyErr_Occurred()) SWIG_fail
;
22358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22359 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
22361 wxPyEndAllowThreads(__tstate
);
22362 if (PyErr_Occurred()) SWIG_fail
;
22364 Py_INCREF(Py_None
); resultobj
= Py_None
;
22371 static PyObject
*_wrap_PyEllipseShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22372 PyObject
*resultobj
;
22373 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22375 PyObject
* obj0
= 0 ;
22376 PyObject
* obj1
= 0 ;
22377 char *kwnames
[] = {
22378 (char *) "self",(char *) "dc", NULL
22381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
22382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22384 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22385 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22387 if (arg2
== NULL
) {
22388 PyErr_SetString(PyExc_TypeError
,"null reference");
22392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22393 (arg1
)->base_OnMoveLinks(*arg2
);
22395 wxPyEndAllowThreads(__tstate
);
22396 if (PyErr_Occurred()) SWIG_fail
;
22398 Py_INCREF(Py_None
); resultobj
= Py_None
;
22405 static PyObject
*_wrap_PyEllipseShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22406 PyObject
*resultobj
;
22407 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22409 PyObject
* obj0
= 0 ;
22410 PyObject
* obj1
= 0 ;
22411 char *kwnames
[] = {
22412 (char *) "self",(char *) "dc", NULL
22415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
22416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22418 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22419 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22421 if (arg2
== NULL
) {
22422 PyErr_SetString(PyExc_TypeError
,"null reference");
22426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22427 (arg1
)->base_OnErase(*arg2
);
22429 wxPyEndAllowThreads(__tstate
);
22430 if (PyErr_Occurred()) SWIG_fail
;
22432 Py_INCREF(Py_None
); resultobj
= Py_None
;
22439 static PyObject
*_wrap_PyEllipseShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22440 PyObject
*resultobj
;
22441 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22443 PyObject
* obj0
= 0 ;
22444 PyObject
* obj1
= 0 ;
22445 char *kwnames
[] = {
22446 (char *) "self",(char *) "dc", NULL
22449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
22450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22452 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22453 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22455 if (arg2
== NULL
) {
22456 PyErr_SetString(PyExc_TypeError
,"null reference");
22460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22461 (arg1
)->base_OnEraseContents(*arg2
);
22463 wxPyEndAllowThreads(__tstate
);
22464 if (PyErr_Occurred()) SWIG_fail
;
22466 Py_INCREF(Py_None
); resultobj
= Py_None
;
22473 static PyObject
*_wrap_PyEllipseShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22474 PyObject
*resultobj
;
22475 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22477 PyObject
* obj0
= 0 ;
22478 PyObject
* obj1
= 0 ;
22479 char *kwnames
[] = {
22480 (char *) "self",(char *) "dc", NULL
22483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
22484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22486 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22487 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22489 if (arg2
== NULL
) {
22490 PyErr_SetString(PyExc_TypeError
,"null reference");
22494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22495 (arg1
)->base_OnHighlight(*arg2
);
22497 wxPyEndAllowThreads(__tstate
);
22498 if (PyErr_Occurred()) SWIG_fail
;
22500 Py_INCREF(Py_None
); resultobj
= Py_None
;
22507 static PyObject
*_wrap_PyEllipseShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22508 PyObject
*resultobj
;
22509 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22512 int arg4
= (int) 0 ;
22513 int arg5
= (int) 0 ;
22514 PyObject
* obj0
= 0 ;
22515 PyObject
* obj1
= 0 ;
22516 PyObject
* obj2
= 0 ;
22517 PyObject
* obj3
= 0 ;
22518 PyObject
* obj4
= 0 ;
22519 char *kwnames
[] = {
22520 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22526 arg2
= (double) SWIG_AsDouble(obj1
);
22527 if (PyErr_Occurred()) SWIG_fail
;
22528 arg3
= (double) SWIG_AsDouble(obj2
);
22529 if (PyErr_Occurred()) SWIG_fail
;
22531 arg4
= (int) SWIG_AsInt(obj3
);
22532 if (PyErr_Occurred()) SWIG_fail
;
22535 arg5
= (int) SWIG_AsInt(obj4
);
22536 if (PyErr_Occurred()) SWIG_fail
;
22539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22540 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
22542 wxPyEndAllowThreads(__tstate
);
22543 if (PyErr_Occurred()) SWIG_fail
;
22545 Py_INCREF(Py_None
); resultobj
= Py_None
;
22552 static PyObject
*_wrap_PyEllipseShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22553 PyObject
*resultobj
;
22554 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22557 int arg4
= (int) 0 ;
22558 int arg5
= (int) 0 ;
22559 PyObject
* obj0
= 0 ;
22560 PyObject
* obj1
= 0 ;
22561 PyObject
* obj2
= 0 ;
22562 PyObject
* obj3
= 0 ;
22563 PyObject
* obj4
= 0 ;
22564 char *kwnames
[] = {
22565 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22571 arg2
= (double) SWIG_AsDouble(obj1
);
22572 if (PyErr_Occurred()) SWIG_fail
;
22573 arg3
= (double) SWIG_AsDouble(obj2
);
22574 if (PyErr_Occurred()) SWIG_fail
;
22576 arg4
= (int) SWIG_AsInt(obj3
);
22577 if (PyErr_Occurred()) SWIG_fail
;
22580 arg5
= (int) SWIG_AsInt(obj4
);
22581 if (PyErr_Occurred()) SWIG_fail
;
22584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22585 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
22587 wxPyEndAllowThreads(__tstate
);
22588 if (PyErr_Occurred()) SWIG_fail
;
22590 Py_INCREF(Py_None
); resultobj
= Py_None
;
22597 static PyObject
*_wrap_PyEllipseShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22598 PyObject
*resultobj
;
22599 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22602 int arg4
= (int) 0 ;
22603 int arg5
= (int) 0 ;
22604 PyObject
* obj0
= 0 ;
22605 PyObject
* obj1
= 0 ;
22606 PyObject
* obj2
= 0 ;
22607 PyObject
* obj3
= 0 ;
22608 PyObject
* obj4
= 0 ;
22609 char *kwnames
[] = {
22610 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22616 arg2
= (double) SWIG_AsDouble(obj1
);
22617 if (PyErr_Occurred()) SWIG_fail
;
22618 arg3
= (double) SWIG_AsDouble(obj2
);
22619 if (PyErr_Occurred()) SWIG_fail
;
22621 arg4
= (int) SWIG_AsInt(obj3
);
22622 if (PyErr_Occurred()) SWIG_fail
;
22625 arg5
= (int) SWIG_AsInt(obj4
);
22626 if (PyErr_Occurred()) SWIG_fail
;
22629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22630 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
22632 wxPyEndAllowThreads(__tstate
);
22633 if (PyErr_Occurred()) SWIG_fail
;
22635 Py_INCREF(Py_None
); resultobj
= Py_None
;
22642 static PyObject
*_wrap_PyEllipseShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22643 PyObject
*resultobj
;
22644 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22647 PyObject
* obj0
= 0 ;
22648 PyObject
* obj1
= 0 ;
22649 PyObject
* obj2
= 0 ;
22650 char *kwnames
[] = {
22651 (char *) "self",(char *) "x",(char *) "y", NULL
22654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyEllipseShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22657 arg2
= (double) SWIG_AsDouble(obj1
);
22658 if (PyErr_Occurred()) SWIG_fail
;
22659 arg3
= (double) SWIG_AsDouble(obj2
);
22660 if (PyErr_Occurred()) SWIG_fail
;
22662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22663 (arg1
)->base_OnSize(arg2
,arg3
);
22665 wxPyEndAllowThreads(__tstate
);
22666 if (PyErr_Occurred()) SWIG_fail
;
22668 Py_INCREF(Py_None
); resultobj
= Py_None
;
22675 static PyObject
*_wrap_PyEllipseShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22676 PyObject
*resultobj
;
22677 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22683 bool arg7
= (bool) True
;
22685 PyObject
* obj0
= 0 ;
22686 PyObject
* obj1
= 0 ;
22687 PyObject
* obj2
= 0 ;
22688 PyObject
* obj3
= 0 ;
22689 PyObject
* obj4
= 0 ;
22690 PyObject
* obj5
= 0 ;
22691 PyObject
* obj6
= 0 ;
22692 char *kwnames
[] = {
22693 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
22696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyEllipseShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22699 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22700 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22702 if (arg2
== NULL
) {
22703 PyErr_SetString(PyExc_TypeError
,"null reference");
22706 arg3
= (double) SWIG_AsDouble(obj2
);
22707 if (PyErr_Occurred()) SWIG_fail
;
22708 arg4
= (double) SWIG_AsDouble(obj3
);
22709 if (PyErr_Occurred()) SWIG_fail
;
22710 arg5
= (double) SWIG_AsDouble(obj4
);
22711 if (PyErr_Occurred()) SWIG_fail
;
22712 arg6
= (double) SWIG_AsDouble(obj5
);
22713 if (PyErr_Occurred()) SWIG_fail
;
22715 arg7
= (bool) SWIG_AsBool(obj6
);
22716 if (PyErr_Occurred()) SWIG_fail
;
22719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22720 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22722 wxPyEndAllowThreads(__tstate
);
22723 if (PyErr_Occurred()) SWIG_fail
;
22726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22734 static PyObject
*_wrap_PyEllipseShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22735 PyObject
*resultobj
;
22736 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22742 bool arg7
= (bool) True
;
22743 PyObject
* obj0
= 0 ;
22744 PyObject
* obj1
= 0 ;
22745 PyObject
* obj2
= 0 ;
22746 PyObject
* obj3
= 0 ;
22747 PyObject
* obj4
= 0 ;
22748 PyObject
* obj5
= 0 ;
22749 PyObject
* obj6
= 0 ;
22750 char *kwnames
[] = {
22751 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
22754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyEllipseShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22757 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22758 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22760 if (arg2
== NULL
) {
22761 PyErr_SetString(PyExc_TypeError
,"null reference");
22764 arg3
= (double) SWIG_AsDouble(obj2
);
22765 if (PyErr_Occurred()) SWIG_fail
;
22766 arg4
= (double) SWIG_AsDouble(obj3
);
22767 if (PyErr_Occurred()) SWIG_fail
;
22768 arg5
= (double) SWIG_AsDouble(obj4
);
22769 if (PyErr_Occurred()) SWIG_fail
;
22770 arg6
= (double) SWIG_AsDouble(obj5
);
22771 if (PyErr_Occurred()) SWIG_fail
;
22773 arg7
= (bool) SWIG_AsBool(obj6
);
22774 if (PyErr_Occurred()) SWIG_fail
;
22777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22778 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22780 wxPyEndAllowThreads(__tstate
);
22781 if (PyErr_Occurred()) SWIG_fail
;
22783 Py_INCREF(Py_None
); resultobj
= Py_None
;
22790 static PyObject
*_wrap_PyEllipseShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22791 PyObject
*resultobj
;
22792 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22796 int arg5
= (int) 0 ;
22797 int arg6
= (int) 0 ;
22798 PyObject
* obj0
= 0 ;
22799 PyObject
* obj1
= 0 ;
22800 PyObject
* obj2
= 0 ;
22801 PyObject
* obj3
= 0 ;
22802 PyObject
* obj4
= 0 ;
22803 PyObject
* obj5
= 0 ;
22804 char *kwnames
[] = {
22805 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyEllipseShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22811 arg2
= (bool) SWIG_AsBool(obj1
);
22812 if (PyErr_Occurred()) SWIG_fail
;
22813 arg3
= (double) SWIG_AsDouble(obj2
);
22814 if (PyErr_Occurred()) SWIG_fail
;
22815 arg4
= (double) SWIG_AsDouble(obj3
);
22816 if (PyErr_Occurred()) SWIG_fail
;
22818 arg5
= (int) SWIG_AsInt(obj4
);
22819 if (PyErr_Occurred()) SWIG_fail
;
22822 arg6
= (int) SWIG_AsInt(obj5
);
22823 if (PyErr_Occurred()) SWIG_fail
;
22826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22827 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
22829 wxPyEndAllowThreads(__tstate
);
22830 if (PyErr_Occurred()) SWIG_fail
;
22832 Py_INCREF(Py_None
); resultobj
= Py_None
;
22839 static PyObject
*_wrap_PyEllipseShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22840 PyObject
*resultobj
;
22841 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22844 int arg4
= (int) 0 ;
22845 int arg5
= (int) 0 ;
22846 PyObject
* obj0
= 0 ;
22847 PyObject
* obj1
= 0 ;
22848 PyObject
* obj2
= 0 ;
22849 PyObject
* obj3
= 0 ;
22850 PyObject
* obj4
= 0 ;
22851 char *kwnames
[] = {
22852 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22858 arg2
= (double) SWIG_AsDouble(obj1
);
22859 if (PyErr_Occurred()) SWIG_fail
;
22860 arg3
= (double) SWIG_AsDouble(obj2
);
22861 if (PyErr_Occurred()) SWIG_fail
;
22863 arg4
= (int) SWIG_AsInt(obj3
);
22864 if (PyErr_Occurred()) SWIG_fail
;
22867 arg5
= (int) SWIG_AsInt(obj4
);
22868 if (PyErr_Occurred()) SWIG_fail
;
22871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22872 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
22874 wxPyEndAllowThreads(__tstate
);
22875 if (PyErr_Occurred()) SWIG_fail
;
22877 Py_INCREF(Py_None
); resultobj
= Py_None
;
22884 static PyObject
*_wrap_PyEllipseShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22885 PyObject
*resultobj
;
22886 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22889 int arg4
= (int) 0 ;
22890 int arg5
= (int) 0 ;
22891 PyObject
* obj0
= 0 ;
22892 PyObject
* obj1
= 0 ;
22893 PyObject
* obj2
= 0 ;
22894 PyObject
* obj3
= 0 ;
22895 PyObject
* obj4
= 0 ;
22896 char *kwnames
[] = {
22897 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22903 arg2
= (double) SWIG_AsDouble(obj1
);
22904 if (PyErr_Occurred()) SWIG_fail
;
22905 arg3
= (double) SWIG_AsDouble(obj2
);
22906 if (PyErr_Occurred()) SWIG_fail
;
22908 arg4
= (int) SWIG_AsInt(obj3
);
22909 if (PyErr_Occurred()) SWIG_fail
;
22912 arg5
= (int) SWIG_AsInt(obj4
);
22913 if (PyErr_Occurred()) SWIG_fail
;
22916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22917 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
22919 wxPyEndAllowThreads(__tstate
);
22920 if (PyErr_Occurred()) SWIG_fail
;
22922 Py_INCREF(Py_None
); resultobj
= Py_None
;
22929 static PyObject
*_wrap_PyEllipseShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22930 PyObject
*resultobj
;
22931 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22935 int arg5
= (int) 0 ;
22936 int arg6
= (int) 0 ;
22937 PyObject
* obj0
= 0 ;
22938 PyObject
* obj1
= 0 ;
22939 PyObject
* obj2
= 0 ;
22940 PyObject
* obj3
= 0 ;
22941 PyObject
* obj4
= 0 ;
22942 PyObject
* obj5
= 0 ;
22943 char *kwnames
[] = {
22944 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyEllipseShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22950 arg2
= (bool) SWIG_AsBool(obj1
);
22951 if (PyErr_Occurred()) SWIG_fail
;
22952 arg3
= (double) SWIG_AsDouble(obj2
);
22953 if (PyErr_Occurred()) SWIG_fail
;
22954 arg4
= (double) SWIG_AsDouble(obj3
);
22955 if (PyErr_Occurred()) SWIG_fail
;
22957 arg5
= (int) SWIG_AsInt(obj4
);
22958 if (PyErr_Occurred()) SWIG_fail
;
22961 arg6
= (int) SWIG_AsInt(obj5
);
22962 if (PyErr_Occurred()) SWIG_fail
;
22965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22966 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
22968 wxPyEndAllowThreads(__tstate
);
22969 if (PyErr_Occurred()) SWIG_fail
;
22971 Py_INCREF(Py_None
); resultobj
= Py_None
;
22978 static PyObject
*_wrap_PyEllipseShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22979 PyObject
*resultobj
;
22980 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22983 int arg4
= (int) 0 ;
22984 int arg5
= (int) 0 ;
22985 PyObject
* obj0
= 0 ;
22986 PyObject
* obj1
= 0 ;
22987 PyObject
* obj2
= 0 ;
22988 PyObject
* obj3
= 0 ;
22989 PyObject
* obj4
= 0 ;
22990 char *kwnames
[] = {
22991 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22997 arg2
= (double) SWIG_AsDouble(obj1
);
22998 if (PyErr_Occurred()) SWIG_fail
;
22999 arg3
= (double) SWIG_AsDouble(obj2
);
23000 if (PyErr_Occurred()) SWIG_fail
;
23002 arg4
= (int) SWIG_AsInt(obj3
);
23003 if (PyErr_Occurred()) SWIG_fail
;
23006 arg5
= (int) SWIG_AsInt(obj4
);
23007 if (PyErr_Occurred()) SWIG_fail
;
23010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23011 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
23013 wxPyEndAllowThreads(__tstate
);
23014 if (PyErr_Occurred()) SWIG_fail
;
23016 Py_INCREF(Py_None
); resultobj
= Py_None
;
23023 static PyObject
*_wrap_PyEllipseShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23024 PyObject
*resultobj
;
23025 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23028 int arg4
= (int) 0 ;
23029 int arg5
= (int) 0 ;
23030 PyObject
* obj0
= 0 ;
23031 PyObject
* obj1
= 0 ;
23032 PyObject
* obj2
= 0 ;
23033 PyObject
* obj3
= 0 ;
23034 PyObject
* obj4
= 0 ;
23035 char *kwnames
[] = {
23036 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23042 arg2
= (double) SWIG_AsDouble(obj1
);
23043 if (PyErr_Occurred()) SWIG_fail
;
23044 arg3
= (double) SWIG_AsDouble(obj2
);
23045 if (PyErr_Occurred()) SWIG_fail
;
23047 arg4
= (int) SWIG_AsInt(obj3
);
23048 if (PyErr_Occurred()) SWIG_fail
;
23051 arg5
= (int) SWIG_AsInt(obj4
);
23052 if (PyErr_Occurred()) SWIG_fail
;
23055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23056 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
23058 wxPyEndAllowThreads(__tstate
);
23059 if (PyErr_Occurred()) SWIG_fail
;
23061 Py_INCREF(Py_None
); resultobj
= Py_None
;
23068 static PyObject
*_wrap_PyEllipseShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23069 PyObject
*resultobj
;
23070 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23076 PyObject
* obj0
= 0 ;
23077 PyObject
* obj1
= 0 ;
23078 PyObject
* obj2
= 0 ;
23079 PyObject
* obj3
= 0 ;
23080 PyObject
* obj4
= 0 ;
23081 PyObject
* obj5
= 0 ;
23082 char *kwnames
[] = {
23083 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
23086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyEllipseShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
23087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23089 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23090 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23092 if (arg2
== NULL
) {
23093 PyErr_SetString(PyExc_TypeError
,"null reference");
23096 arg3
= (double) SWIG_AsDouble(obj2
);
23097 if (PyErr_Occurred()) SWIG_fail
;
23098 arg4
= (double) SWIG_AsDouble(obj3
);
23099 if (PyErr_Occurred()) SWIG_fail
;
23100 arg5
= (double) SWIG_AsDouble(obj4
);
23101 if (PyErr_Occurred()) SWIG_fail
;
23102 arg6
= (double) SWIG_AsDouble(obj5
);
23103 if (PyErr_Occurred()) SWIG_fail
;
23105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23106 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
23108 wxPyEndAllowThreads(__tstate
);
23109 if (PyErr_Occurred()) SWIG_fail
;
23111 Py_INCREF(Py_None
); resultobj
= Py_None
;
23118 static PyObject
*_wrap_PyEllipseShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23119 PyObject
*resultobj
;
23120 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23122 PyObject
* obj0
= 0 ;
23123 PyObject
* obj1
= 0 ;
23124 char *kwnames
[] = {
23125 (char *) "self",(char *) "dc", NULL
23128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
23129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23131 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23132 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23134 if (arg2
== NULL
) {
23135 PyErr_SetString(PyExc_TypeError
,"null reference");
23139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23140 (arg1
)->base_OnDrawControlPoints(*arg2
);
23142 wxPyEndAllowThreads(__tstate
);
23143 if (PyErr_Occurred()) SWIG_fail
;
23145 Py_INCREF(Py_None
); resultobj
= Py_None
;
23152 static PyObject
*_wrap_PyEllipseShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23153 PyObject
*resultobj
;
23154 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23156 PyObject
* obj0
= 0 ;
23157 PyObject
* obj1
= 0 ;
23158 char *kwnames
[] = {
23159 (char *) "self",(char *) "dc", NULL
23162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
23163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23165 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23166 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23168 if (arg2
== NULL
) {
23169 PyErr_SetString(PyExc_TypeError
,"null reference");
23173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23174 (arg1
)->base_OnEraseControlPoints(*arg2
);
23176 wxPyEndAllowThreads(__tstate
);
23177 if (PyErr_Occurred()) SWIG_fail
;
23179 Py_INCREF(Py_None
); resultobj
= Py_None
;
23186 static PyObject
*_wrap_PyEllipseShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23187 PyObject
*resultobj
;
23188 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23190 bool arg3
= (bool) True
;
23191 PyObject
* obj0
= 0 ;
23192 PyObject
* obj1
= 0 ;
23193 PyObject
* obj2
= 0 ;
23194 char *kwnames
[] = {
23195 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
23198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyEllipseShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23201 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23202 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23204 if (arg2
== NULL
) {
23205 PyErr_SetString(PyExc_TypeError
,"null reference");
23209 arg3
= (bool) SWIG_AsBool(obj2
);
23210 if (PyErr_Occurred()) SWIG_fail
;
23213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23214 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
23216 wxPyEndAllowThreads(__tstate
);
23217 if (PyErr_Occurred()) SWIG_fail
;
23219 Py_INCREF(Py_None
); resultobj
= Py_None
;
23226 static PyObject
*_wrap_PyEllipseShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23227 PyObject
*resultobj
;
23228 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23229 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
23233 int arg6
= (int) 0 ;
23234 int arg7
= (int) 0 ;
23235 PyObject
* obj0
= 0 ;
23236 PyObject
* obj1
= 0 ;
23237 PyObject
* obj2
= 0 ;
23238 PyObject
* obj3
= 0 ;
23239 PyObject
* obj4
= 0 ;
23240 PyObject
* obj5
= 0 ;
23241 PyObject
* obj6
= 0 ;
23242 char *kwnames
[] = {
23243 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyEllipseShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23249 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
23250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23251 arg3
= (bool) SWIG_AsBool(obj2
);
23252 if (PyErr_Occurred()) SWIG_fail
;
23253 arg4
= (double) SWIG_AsDouble(obj3
);
23254 if (PyErr_Occurred()) SWIG_fail
;
23255 arg5
= (double) SWIG_AsDouble(obj4
);
23256 if (PyErr_Occurred()) SWIG_fail
;
23258 arg6
= (int) SWIG_AsInt(obj5
);
23259 if (PyErr_Occurred()) SWIG_fail
;
23262 arg7
= (int) SWIG_AsInt(obj6
);
23263 if (PyErr_Occurred()) SWIG_fail
;
23266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23267 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23269 wxPyEndAllowThreads(__tstate
);
23270 if (PyErr_Occurred()) SWIG_fail
;
23272 Py_INCREF(Py_None
); resultobj
= Py_None
;
23279 static PyObject
*_wrap_PyEllipseShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23280 PyObject
*resultobj
;
23281 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23282 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
23285 int arg5
= (int) 0 ;
23286 int arg6
= (int) 0 ;
23287 PyObject
* obj0
= 0 ;
23288 PyObject
* obj1
= 0 ;
23289 PyObject
* obj2
= 0 ;
23290 PyObject
* obj3
= 0 ;
23291 PyObject
* obj4
= 0 ;
23292 PyObject
* obj5
= 0 ;
23293 char *kwnames
[] = {
23294 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyEllipseShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
23298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23300 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
23301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23302 arg3
= (double) SWIG_AsDouble(obj2
);
23303 if (PyErr_Occurred()) SWIG_fail
;
23304 arg4
= (double) SWIG_AsDouble(obj3
);
23305 if (PyErr_Occurred()) SWIG_fail
;
23307 arg5
= (int) SWIG_AsInt(obj4
);
23308 if (PyErr_Occurred()) SWIG_fail
;
23311 arg6
= (int) SWIG_AsInt(obj5
);
23312 if (PyErr_Occurred()) SWIG_fail
;
23315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23316 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
23318 wxPyEndAllowThreads(__tstate
);
23319 if (PyErr_Occurred()) SWIG_fail
;
23321 Py_INCREF(Py_None
); resultobj
= Py_None
;
23328 static PyObject
*_wrap_PyEllipseShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23329 PyObject
*resultobj
;
23330 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23331 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
23334 int arg5
= (int) 0 ;
23335 int arg6
= (int) 0 ;
23336 PyObject
* obj0
= 0 ;
23337 PyObject
* obj1
= 0 ;
23338 PyObject
* obj2
= 0 ;
23339 PyObject
* obj3
= 0 ;
23340 PyObject
* obj4
= 0 ;
23341 PyObject
* obj5
= 0 ;
23342 char *kwnames
[] = {
23343 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyEllipseShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
23347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23349 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
23350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23351 arg3
= (double) SWIG_AsDouble(obj2
);
23352 if (PyErr_Occurred()) SWIG_fail
;
23353 arg4
= (double) SWIG_AsDouble(obj3
);
23354 if (PyErr_Occurred()) SWIG_fail
;
23356 arg5
= (int) SWIG_AsInt(obj4
);
23357 if (PyErr_Occurred()) SWIG_fail
;
23360 arg6
= (int) SWIG_AsInt(obj5
);
23361 if (PyErr_Occurred()) SWIG_fail
;
23364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23365 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
23367 wxPyEndAllowThreads(__tstate
);
23368 if (PyErr_Occurred()) SWIG_fail
;
23370 Py_INCREF(Py_None
); resultobj
= Py_None
;
23377 static PyObject
*_wrap_PyEllipseShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23378 PyObject
*resultobj
;
23379 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23382 PyObject
* obj0
= 0 ;
23383 PyObject
* obj1
= 0 ;
23384 PyObject
* obj2
= 0 ;
23385 char *kwnames
[] = {
23386 (char *) "self",(char *) "w",(char *) "h", NULL
23389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyEllipseShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23392 arg2
= (double) SWIG_AsDouble(obj1
);
23393 if (PyErr_Occurred()) SWIG_fail
;
23394 arg3
= (double) SWIG_AsDouble(obj2
);
23395 if (PyErr_Occurred()) SWIG_fail
;
23397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23398 (arg1
)->base_OnBeginSize(arg2
,arg3
);
23400 wxPyEndAllowThreads(__tstate
);
23401 if (PyErr_Occurred()) SWIG_fail
;
23403 Py_INCREF(Py_None
); resultobj
= Py_None
;
23410 static PyObject
*_wrap_PyEllipseShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23411 PyObject
*resultobj
;
23412 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23415 PyObject
* obj0
= 0 ;
23416 PyObject
* obj1
= 0 ;
23417 PyObject
* obj2
= 0 ;
23418 char *kwnames
[] = {
23419 (char *) "self",(char *) "w",(char *) "h", NULL
23422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyEllipseShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23425 arg2
= (double) SWIG_AsDouble(obj1
);
23426 if (PyErr_Occurred()) SWIG_fail
;
23427 arg3
= (double) SWIG_AsDouble(obj2
);
23428 if (PyErr_Occurred()) SWIG_fail
;
23430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23431 (arg1
)->base_OnEndSize(arg2
,arg3
);
23433 wxPyEndAllowThreads(__tstate
);
23434 if (PyErr_Occurred()) SWIG_fail
;
23436 Py_INCREF(Py_None
); resultobj
= Py_None
;
23443 static PyObject
* PyEllipseShape_swigregister(PyObject
*self
, PyObject
*args
) {
23445 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23446 SWIG_TypeClientData(SWIGTYPE_p_wxPyEllipseShape
, obj
);
23448 return Py_BuildValue((char *)"");
23450 static PyObject
*_wrap_new_PyCircleShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23451 PyObject
*resultobj
;
23452 double arg1
= (double) 0.0 ;
23453 wxPyCircleShape
*result
;
23454 PyObject
* obj0
= 0 ;
23455 char *kwnames
[] = {
23456 (char *) "width", NULL
23459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyCircleShape",kwnames
,&obj0
)) goto fail
;
23461 arg1
= (double) SWIG_AsDouble(obj0
);
23462 if (PyErr_Occurred()) SWIG_fail
;
23465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23466 result
= (wxPyCircleShape
*)new wxPyCircleShape(arg1
);
23468 wxPyEndAllowThreads(__tstate
);
23469 if (PyErr_Occurred()) SWIG_fail
;
23471 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCircleShape
, 1);
23478 static PyObject
*_wrap_PyCircleShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23479 PyObject
*resultobj
;
23480 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23481 PyObject
*arg2
= (PyObject
*) 0 ;
23482 PyObject
*arg3
= (PyObject
*) 0 ;
23483 PyObject
* obj0
= 0 ;
23484 PyObject
* obj1
= 0 ;
23485 PyObject
* obj2
= 0 ;
23486 char *kwnames
[] = {
23487 (char *) "self",(char *) "self",(char *) "_class", NULL
23490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCircleShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23497 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23499 wxPyEndAllowThreads(__tstate
);
23500 if (PyErr_Occurred()) SWIG_fail
;
23502 Py_INCREF(Py_None
); resultobj
= Py_None
;
23509 static PyObject
*_wrap_PyCircleShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23510 PyObject
*resultobj
;
23511 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23513 PyObject
* obj0
= 0 ;
23514 PyObject
* obj1
= 0 ;
23515 char *kwnames
[] = {
23516 (char *) "self",(char *) "dc", NULL
23519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
23520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23522 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23523 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23525 if (arg2
== NULL
) {
23526 PyErr_SetString(PyExc_TypeError
,"null reference");
23530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23531 (arg1
)->base_OnDraw(*arg2
);
23533 wxPyEndAllowThreads(__tstate
);
23534 if (PyErr_Occurred()) SWIG_fail
;
23536 Py_INCREF(Py_None
); resultobj
= Py_None
;
23543 static PyObject
*_wrap_PyCircleShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23544 PyObject
*resultobj
;
23545 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23547 PyObject
* obj0
= 0 ;
23548 PyObject
* obj1
= 0 ;
23549 char *kwnames
[] = {
23550 (char *) "self",(char *) "dc", NULL
23553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
23554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23556 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23557 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23559 if (arg2
== NULL
) {
23560 PyErr_SetString(PyExc_TypeError
,"null reference");
23564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23565 (arg1
)->base_OnDrawContents(*arg2
);
23567 wxPyEndAllowThreads(__tstate
);
23568 if (PyErr_Occurred()) SWIG_fail
;
23570 Py_INCREF(Py_None
); resultobj
= Py_None
;
23577 static PyObject
*_wrap_PyCircleShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23578 PyObject
*resultobj
;
23579 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23581 bool arg3
= (bool) FALSE
;
23582 PyObject
* obj0
= 0 ;
23583 PyObject
* obj1
= 0 ;
23584 PyObject
* obj2
= 0 ;
23585 char *kwnames
[] = {
23586 (char *) "self",(char *) "dc",(char *) "erase", NULL
23589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCircleShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23592 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23593 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23595 if (arg2
== NULL
) {
23596 PyErr_SetString(PyExc_TypeError
,"null reference");
23600 arg3
= (bool) SWIG_AsBool(obj2
);
23601 if (PyErr_Occurred()) SWIG_fail
;
23604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23605 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
23607 wxPyEndAllowThreads(__tstate
);
23608 if (PyErr_Occurred()) SWIG_fail
;
23610 Py_INCREF(Py_None
); resultobj
= Py_None
;
23617 static PyObject
*_wrap_PyCircleShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23618 PyObject
*resultobj
;
23619 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23621 PyObject
* obj0
= 0 ;
23622 PyObject
* obj1
= 0 ;
23623 char *kwnames
[] = {
23624 (char *) "self",(char *) "dc", NULL
23627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
23628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23630 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23631 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23633 if (arg2
== NULL
) {
23634 PyErr_SetString(PyExc_TypeError
,"null reference");
23638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23639 (arg1
)->base_OnMoveLinks(*arg2
);
23641 wxPyEndAllowThreads(__tstate
);
23642 if (PyErr_Occurred()) SWIG_fail
;
23644 Py_INCREF(Py_None
); resultobj
= Py_None
;
23651 static PyObject
*_wrap_PyCircleShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23652 PyObject
*resultobj
;
23653 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23655 PyObject
* obj0
= 0 ;
23656 PyObject
* obj1
= 0 ;
23657 char *kwnames
[] = {
23658 (char *) "self",(char *) "dc", NULL
23661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
23662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23664 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23665 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23667 if (arg2
== NULL
) {
23668 PyErr_SetString(PyExc_TypeError
,"null reference");
23672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23673 (arg1
)->base_OnErase(*arg2
);
23675 wxPyEndAllowThreads(__tstate
);
23676 if (PyErr_Occurred()) SWIG_fail
;
23678 Py_INCREF(Py_None
); resultobj
= Py_None
;
23685 static PyObject
*_wrap_PyCircleShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23686 PyObject
*resultobj
;
23687 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23689 PyObject
* obj0
= 0 ;
23690 PyObject
* obj1
= 0 ;
23691 char *kwnames
[] = {
23692 (char *) "self",(char *) "dc", NULL
23695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
23696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23698 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23699 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23701 if (arg2
== NULL
) {
23702 PyErr_SetString(PyExc_TypeError
,"null reference");
23706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23707 (arg1
)->base_OnEraseContents(*arg2
);
23709 wxPyEndAllowThreads(__tstate
);
23710 if (PyErr_Occurred()) SWIG_fail
;
23712 Py_INCREF(Py_None
); resultobj
= Py_None
;
23719 static PyObject
*_wrap_PyCircleShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23720 PyObject
*resultobj
;
23721 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23723 PyObject
* obj0
= 0 ;
23724 PyObject
* obj1
= 0 ;
23725 char *kwnames
[] = {
23726 (char *) "self",(char *) "dc", NULL
23729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
23730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23732 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23733 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23735 if (arg2
== NULL
) {
23736 PyErr_SetString(PyExc_TypeError
,"null reference");
23740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23741 (arg1
)->base_OnHighlight(*arg2
);
23743 wxPyEndAllowThreads(__tstate
);
23744 if (PyErr_Occurred()) SWIG_fail
;
23746 Py_INCREF(Py_None
); resultobj
= Py_None
;
23753 static PyObject
*_wrap_PyCircleShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23754 PyObject
*resultobj
;
23755 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23758 int arg4
= (int) 0 ;
23759 int arg5
= (int) 0 ;
23760 PyObject
* obj0
= 0 ;
23761 PyObject
* obj1
= 0 ;
23762 PyObject
* obj2
= 0 ;
23763 PyObject
* obj3
= 0 ;
23764 PyObject
* obj4
= 0 ;
23765 char *kwnames
[] = {
23766 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23772 arg2
= (double) SWIG_AsDouble(obj1
);
23773 if (PyErr_Occurred()) SWIG_fail
;
23774 arg3
= (double) SWIG_AsDouble(obj2
);
23775 if (PyErr_Occurred()) SWIG_fail
;
23777 arg4
= (int) SWIG_AsInt(obj3
);
23778 if (PyErr_Occurred()) SWIG_fail
;
23781 arg5
= (int) SWIG_AsInt(obj4
);
23782 if (PyErr_Occurred()) SWIG_fail
;
23785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23786 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
23788 wxPyEndAllowThreads(__tstate
);
23789 if (PyErr_Occurred()) SWIG_fail
;
23791 Py_INCREF(Py_None
); resultobj
= Py_None
;
23798 static PyObject
*_wrap_PyCircleShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23799 PyObject
*resultobj
;
23800 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23803 int arg4
= (int) 0 ;
23804 int arg5
= (int) 0 ;
23805 PyObject
* obj0
= 0 ;
23806 PyObject
* obj1
= 0 ;
23807 PyObject
* obj2
= 0 ;
23808 PyObject
* obj3
= 0 ;
23809 PyObject
* obj4
= 0 ;
23810 char *kwnames
[] = {
23811 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23817 arg2
= (double) SWIG_AsDouble(obj1
);
23818 if (PyErr_Occurred()) SWIG_fail
;
23819 arg3
= (double) SWIG_AsDouble(obj2
);
23820 if (PyErr_Occurred()) SWIG_fail
;
23822 arg4
= (int) SWIG_AsInt(obj3
);
23823 if (PyErr_Occurred()) SWIG_fail
;
23826 arg5
= (int) SWIG_AsInt(obj4
);
23827 if (PyErr_Occurred()) SWIG_fail
;
23830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23831 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
23833 wxPyEndAllowThreads(__tstate
);
23834 if (PyErr_Occurred()) SWIG_fail
;
23836 Py_INCREF(Py_None
); resultobj
= Py_None
;
23843 static PyObject
*_wrap_PyCircleShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23844 PyObject
*resultobj
;
23845 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23848 int arg4
= (int) 0 ;
23849 int arg5
= (int) 0 ;
23850 PyObject
* obj0
= 0 ;
23851 PyObject
* obj1
= 0 ;
23852 PyObject
* obj2
= 0 ;
23853 PyObject
* obj3
= 0 ;
23854 PyObject
* obj4
= 0 ;
23855 char *kwnames
[] = {
23856 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23862 arg2
= (double) SWIG_AsDouble(obj1
);
23863 if (PyErr_Occurred()) SWIG_fail
;
23864 arg3
= (double) SWIG_AsDouble(obj2
);
23865 if (PyErr_Occurred()) SWIG_fail
;
23867 arg4
= (int) SWIG_AsInt(obj3
);
23868 if (PyErr_Occurred()) SWIG_fail
;
23871 arg5
= (int) SWIG_AsInt(obj4
);
23872 if (PyErr_Occurred()) SWIG_fail
;
23875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23876 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
23878 wxPyEndAllowThreads(__tstate
);
23879 if (PyErr_Occurred()) SWIG_fail
;
23881 Py_INCREF(Py_None
); resultobj
= Py_None
;
23888 static PyObject
*_wrap_PyCircleShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23889 PyObject
*resultobj
;
23890 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23893 PyObject
* obj0
= 0 ;
23894 PyObject
* obj1
= 0 ;
23895 PyObject
* obj2
= 0 ;
23896 char *kwnames
[] = {
23897 (char *) "self",(char *) "x",(char *) "y", NULL
23900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCircleShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23903 arg2
= (double) SWIG_AsDouble(obj1
);
23904 if (PyErr_Occurred()) SWIG_fail
;
23905 arg3
= (double) SWIG_AsDouble(obj2
);
23906 if (PyErr_Occurred()) SWIG_fail
;
23908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23909 (arg1
)->base_OnSize(arg2
,arg3
);
23911 wxPyEndAllowThreads(__tstate
);
23912 if (PyErr_Occurred()) SWIG_fail
;
23914 Py_INCREF(Py_None
); resultobj
= Py_None
;
23921 static PyObject
*_wrap_PyCircleShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23922 PyObject
*resultobj
;
23923 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23929 bool arg7
= (bool) True
;
23931 PyObject
* obj0
= 0 ;
23932 PyObject
* obj1
= 0 ;
23933 PyObject
* obj2
= 0 ;
23934 PyObject
* obj3
= 0 ;
23935 PyObject
* obj4
= 0 ;
23936 PyObject
* obj5
= 0 ;
23937 PyObject
* obj6
= 0 ;
23938 char *kwnames
[] = {
23939 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
23942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyCircleShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23945 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23946 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23948 if (arg2
== NULL
) {
23949 PyErr_SetString(PyExc_TypeError
,"null reference");
23952 arg3
= (double) SWIG_AsDouble(obj2
);
23953 if (PyErr_Occurred()) SWIG_fail
;
23954 arg4
= (double) SWIG_AsDouble(obj3
);
23955 if (PyErr_Occurred()) SWIG_fail
;
23956 arg5
= (double) SWIG_AsDouble(obj4
);
23957 if (PyErr_Occurred()) SWIG_fail
;
23958 arg6
= (double) SWIG_AsDouble(obj5
);
23959 if (PyErr_Occurred()) SWIG_fail
;
23961 arg7
= (bool) SWIG_AsBool(obj6
);
23962 if (PyErr_Occurred()) SWIG_fail
;
23965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23966 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23968 wxPyEndAllowThreads(__tstate
);
23969 if (PyErr_Occurred()) SWIG_fail
;
23972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23980 static PyObject
*_wrap_PyCircleShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23981 PyObject
*resultobj
;
23982 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23988 bool arg7
= (bool) True
;
23989 PyObject
* obj0
= 0 ;
23990 PyObject
* obj1
= 0 ;
23991 PyObject
* obj2
= 0 ;
23992 PyObject
* obj3
= 0 ;
23993 PyObject
* obj4
= 0 ;
23994 PyObject
* obj5
= 0 ;
23995 PyObject
* obj6
= 0 ;
23996 char *kwnames
[] = {
23997 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
24000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyCircleShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24003 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
24004 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24006 if (arg2
== NULL
) {
24007 PyErr_SetString(PyExc_TypeError
,"null reference");
24010 arg3
= (double) SWIG_AsDouble(obj2
);
24011 if (PyErr_Occurred()) SWIG_fail
;
24012 arg4
= (double) SWIG_AsDouble(obj3
);
24013 if (PyErr_Occurred()) SWIG_fail
;
24014 arg5
= (double) SWIG_AsDouble(obj4
);
24015 if (PyErr_Occurred()) SWIG_fail
;
24016 arg6
= (double) SWIG_AsDouble(obj5
);
24017 if (PyErr_Occurred()) SWIG_fail
;
24019 arg7
= (bool) SWIG_AsBool(obj6
);
24020 if (PyErr_Occurred()) SWIG_fail
;
24023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24024 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
24026 wxPyEndAllowThreads(__tstate
);
24027 if (PyErr_Occurred()) SWIG_fail
;
24029 Py_INCREF(Py_None
); resultobj
= Py_None
;
24036 static PyObject
*_wrap_PyCircleShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24037 PyObject
*resultobj
;
24038 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24042 int arg5
= (int) 0 ;
24043 int arg6
= (int) 0 ;
24044 PyObject
* obj0
= 0 ;
24045 PyObject
* obj1
= 0 ;
24046 PyObject
* obj2
= 0 ;
24047 PyObject
* obj3
= 0 ;
24048 PyObject
* obj4
= 0 ;
24049 PyObject
* obj5
= 0 ;
24050 char *kwnames
[] = {
24051 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCircleShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24057 arg2
= (bool) SWIG_AsBool(obj1
);
24058 if (PyErr_Occurred()) SWIG_fail
;
24059 arg3
= (double) SWIG_AsDouble(obj2
);
24060 if (PyErr_Occurred()) SWIG_fail
;
24061 arg4
= (double) SWIG_AsDouble(obj3
);
24062 if (PyErr_Occurred()) SWIG_fail
;
24064 arg5
= (int) SWIG_AsInt(obj4
);
24065 if (PyErr_Occurred()) SWIG_fail
;
24068 arg6
= (int) SWIG_AsInt(obj5
);
24069 if (PyErr_Occurred()) SWIG_fail
;
24072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24073 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
24075 wxPyEndAllowThreads(__tstate
);
24076 if (PyErr_Occurred()) SWIG_fail
;
24078 Py_INCREF(Py_None
); resultobj
= Py_None
;
24085 static PyObject
*_wrap_PyCircleShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24086 PyObject
*resultobj
;
24087 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24090 int arg4
= (int) 0 ;
24091 int arg5
= (int) 0 ;
24092 PyObject
* obj0
= 0 ;
24093 PyObject
* obj1
= 0 ;
24094 PyObject
* obj2
= 0 ;
24095 PyObject
* obj3
= 0 ;
24096 PyObject
* obj4
= 0 ;
24097 char *kwnames
[] = {
24098 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24104 arg2
= (double) SWIG_AsDouble(obj1
);
24105 if (PyErr_Occurred()) SWIG_fail
;
24106 arg3
= (double) SWIG_AsDouble(obj2
);
24107 if (PyErr_Occurred()) SWIG_fail
;
24109 arg4
= (int) SWIG_AsInt(obj3
);
24110 if (PyErr_Occurred()) SWIG_fail
;
24113 arg5
= (int) SWIG_AsInt(obj4
);
24114 if (PyErr_Occurred()) SWIG_fail
;
24117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24118 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
24120 wxPyEndAllowThreads(__tstate
);
24121 if (PyErr_Occurred()) SWIG_fail
;
24123 Py_INCREF(Py_None
); resultobj
= Py_None
;
24130 static PyObject
*_wrap_PyCircleShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24131 PyObject
*resultobj
;
24132 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24135 int arg4
= (int) 0 ;
24136 int arg5
= (int) 0 ;
24137 PyObject
* obj0
= 0 ;
24138 PyObject
* obj1
= 0 ;
24139 PyObject
* obj2
= 0 ;
24140 PyObject
* obj3
= 0 ;
24141 PyObject
* obj4
= 0 ;
24142 char *kwnames
[] = {
24143 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24149 arg2
= (double) SWIG_AsDouble(obj1
);
24150 if (PyErr_Occurred()) SWIG_fail
;
24151 arg3
= (double) SWIG_AsDouble(obj2
);
24152 if (PyErr_Occurred()) SWIG_fail
;
24154 arg4
= (int) SWIG_AsInt(obj3
);
24155 if (PyErr_Occurred()) SWIG_fail
;
24158 arg5
= (int) SWIG_AsInt(obj4
);
24159 if (PyErr_Occurred()) SWIG_fail
;
24162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24163 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
24165 wxPyEndAllowThreads(__tstate
);
24166 if (PyErr_Occurred()) SWIG_fail
;
24168 Py_INCREF(Py_None
); resultobj
= Py_None
;
24175 static PyObject
*_wrap_PyCircleShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24176 PyObject
*resultobj
;
24177 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24181 int arg5
= (int) 0 ;
24182 int arg6
= (int) 0 ;
24183 PyObject
* obj0
= 0 ;
24184 PyObject
* obj1
= 0 ;
24185 PyObject
* obj2
= 0 ;
24186 PyObject
* obj3
= 0 ;
24187 PyObject
* obj4
= 0 ;
24188 PyObject
* obj5
= 0 ;
24189 char *kwnames
[] = {
24190 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCircleShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24196 arg2
= (bool) SWIG_AsBool(obj1
);
24197 if (PyErr_Occurred()) SWIG_fail
;
24198 arg3
= (double) SWIG_AsDouble(obj2
);
24199 if (PyErr_Occurred()) SWIG_fail
;
24200 arg4
= (double) SWIG_AsDouble(obj3
);
24201 if (PyErr_Occurred()) SWIG_fail
;
24203 arg5
= (int) SWIG_AsInt(obj4
);
24204 if (PyErr_Occurred()) SWIG_fail
;
24207 arg6
= (int) SWIG_AsInt(obj5
);
24208 if (PyErr_Occurred()) SWIG_fail
;
24211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24212 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
24214 wxPyEndAllowThreads(__tstate
);
24215 if (PyErr_Occurred()) SWIG_fail
;
24217 Py_INCREF(Py_None
); resultobj
= Py_None
;
24224 static PyObject
*_wrap_PyCircleShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24225 PyObject
*resultobj
;
24226 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24229 int arg4
= (int) 0 ;
24230 int arg5
= (int) 0 ;
24231 PyObject
* obj0
= 0 ;
24232 PyObject
* obj1
= 0 ;
24233 PyObject
* obj2
= 0 ;
24234 PyObject
* obj3
= 0 ;
24235 PyObject
* obj4
= 0 ;
24236 char *kwnames
[] = {
24237 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24243 arg2
= (double) SWIG_AsDouble(obj1
);
24244 if (PyErr_Occurred()) SWIG_fail
;
24245 arg3
= (double) SWIG_AsDouble(obj2
);
24246 if (PyErr_Occurred()) SWIG_fail
;
24248 arg4
= (int) SWIG_AsInt(obj3
);
24249 if (PyErr_Occurred()) SWIG_fail
;
24252 arg5
= (int) SWIG_AsInt(obj4
);
24253 if (PyErr_Occurred()) SWIG_fail
;
24256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24257 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
24259 wxPyEndAllowThreads(__tstate
);
24260 if (PyErr_Occurred()) SWIG_fail
;
24262 Py_INCREF(Py_None
); resultobj
= Py_None
;
24269 static PyObject
*_wrap_PyCircleShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24270 PyObject
*resultobj
;
24271 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24274 int arg4
= (int) 0 ;
24275 int arg5
= (int) 0 ;
24276 PyObject
* obj0
= 0 ;
24277 PyObject
* obj1
= 0 ;
24278 PyObject
* obj2
= 0 ;
24279 PyObject
* obj3
= 0 ;
24280 PyObject
* obj4
= 0 ;
24281 char *kwnames
[] = {
24282 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24288 arg2
= (double) SWIG_AsDouble(obj1
);
24289 if (PyErr_Occurred()) SWIG_fail
;
24290 arg3
= (double) SWIG_AsDouble(obj2
);
24291 if (PyErr_Occurred()) SWIG_fail
;
24293 arg4
= (int) SWIG_AsInt(obj3
);
24294 if (PyErr_Occurred()) SWIG_fail
;
24297 arg5
= (int) SWIG_AsInt(obj4
);
24298 if (PyErr_Occurred()) SWIG_fail
;
24301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24302 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
24304 wxPyEndAllowThreads(__tstate
);
24305 if (PyErr_Occurred()) SWIG_fail
;
24307 Py_INCREF(Py_None
); resultobj
= Py_None
;
24314 static PyObject
*_wrap_PyCircleShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24315 PyObject
*resultobj
;
24316 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24322 PyObject
* obj0
= 0 ;
24323 PyObject
* obj1
= 0 ;
24324 PyObject
* obj2
= 0 ;
24325 PyObject
* obj3
= 0 ;
24326 PyObject
* obj4
= 0 ;
24327 PyObject
* obj5
= 0 ;
24328 char *kwnames
[] = {
24329 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
24332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyCircleShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24335 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
24336 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24338 if (arg2
== NULL
) {
24339 PyErr_SetString(PyExc_TypeError
,"null reference");
24342 arg3
= (double) SWIG_AsDouble(obj2
);
24343 if (PyErr_Occurred()) SWIG_fail
;
24344 arg4
= (double) SWIG_AsDouble(obj3
);
24345 if (PyErr_Occurred()) SWIG_fail
;
24346 arg5
= (double) SWIG_AsDouble(obj4
);
24347 if (PyErr_Occurred()) SWIG_fail
;
24348 arg6
= (double) SWIG_AsDouble(obj5
);
24349 if (PyErr_Occurred()) SWIG_fail
;
24351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24352 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
24354 wxPyEndAllowThreads(__tstate
);
24355 if (PyErr_Occurred()) SWIG_fail
;
24357 Py_INCREF(Py_None
); resultobj
= Py_None
;
24364 static PyObject
*_wrap_PyCircleShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24365 PyObject
*resultobj
;
24366 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24368 PyObject
* obj0
= 0 ;
24369 PyObject
* obj1
= 0 ;
24370 char *kwnames
[] = {
24371 (char *) "self",(char *) "dc", NULL
24374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
24375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24377 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
24378 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24380 if (arg2
== NULL
) {
24381 PyErr_SetString(PyExc_TypeError
,"null reference");
24385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24386 (arg1
)->base_OnDrawControlPoints(*arg2
);
24388 wxPyEndAllowThreads(__tstate
);
24389 if (PyErr_Occurred()) SWIG_fail
;
24391 Py_INCREF(Py_None
); resultobj
= Py_None
;
24398 static PyObject
*_wrap_PyCircleShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24399 PyObject
*resultobj
;
24400 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24402 PyObject
* obj0
= 0 ;
24403 PyObject
* obj1
= 0 ;
24404 char *kwnames
[] = {
24405 (char *) "self",(char *) "dc", NULL
24408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
24409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24411 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
24412 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24414 if (arg2
== NULL
) {
24415 PyErr_SetString(PyExc_TypeError
,"null reference");
24419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24420 (arg1
)->base_OnEraseControlPoints(*arg2
);
24422 wxPyEndAllowThreads(__tstate
);
24423 if (PyErr_Occurred()) SWIG_fail
;
24425 Py_INCREF(Py_None
); resultobj
= Py_None
;
24432 static PyObject
*_wrap_PyCircleShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24433 PyObject
*resultobj
;
24434 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24436 bool arg3
= (bool) True
;
24437 PyObject
* obj0
= 0 ;
24438 PyObject
* obj1
= 0 ;
24439 PyObject
* obj2
= 0 ;
24440 char *kwnames
[] = {
24441 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
24444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCircleShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24447 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
24448 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24450 if (arg2
== NULL
) {
24451 PyErr_SetString(PyExc_TypeError
,"null reference");
24455 arg3
= (bool) SWIG_AsBool(obj2
);
24456 if (PyErr_Occurred()) SWIG_fail
;
24459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24460 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
24462 wxPyEndAllowThreads(__tstate
);
24463 if (PyErr_Occurred()) SWIG_fail
;
24465 Py_INCREF(Py_None
); resultobj
= Py_None
;
24472 static PyObject
*_wrap_PyCircleShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24473 PyObject
*resultobj
;
24474 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24475 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
24479 int arg6
= (int) 0 ;
24480 int arg7
= (int) 0 ;
24481 PyObject
* obj0
= 0 ;
24482 PyObject
* obj1
= 0 ;
24483 PyObject
* obj2
= 0 ;
24484 PyObject
* obj3
= 0 ;
24485 PyObject
* obj4
= 0 ;
24486 PyObject
* obj5
= 0 ;
24487 PyObject
* obj6
= 0 ;
24488 char *kwnames
[] = {
24489 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyCircleShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24495 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
24496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24497 arg3
= (bool) SWIG_AsBool(obj2
);
24498 if (PyErr_Occurred()) SWIG_fail
;
24499 arg4
= (double) SWIG_AsDouble(obj3
);
24500 if (PyErr_Occurred()) SWIG_fail
;
24501 arg5
= (double) SWIG_AsDouble(obj4
);
24502 if (PyErr_Occurred()) SWIG_fail
;
24504 arg6
= (int) SWIG_AsInt(obj5
);
24505 if (PyErr_Occurred()) SWIG_fail
;
24508 arg7
= (int) SWIG_AsInt(obj6
);
24509 if (PyErr_Occurred()) SWIG_fail
;
24512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24513 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
24515 wxPyEndAllowThreads(__tstate
);
24516 if (PyErr_Occurred()) SWIG_fail
;
24518 Py_INCREF(Py_None
); resultobj
= Py_None
;
24525 static PyObject
*_wrap_PyCircleShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24526 PyObject
*resultobj
;
24527 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24528 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
24531 int arg5
= (int) 0 ;
24532 int arg6
= (int) 0 ;
24533 PyObject
* obj0
= 0 ;
24534 PyObject
* obj1
= 0 ;
24535 PyObject
* obj2
= 0 ;
24536 PyObject
* obj3
= 0 ;
24537 PyObject
* obj4
= 0 ;
24538 PyObject
* obj5
= 0 ;
24539 char *kwnames
[] = {
24540 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCircleShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24546 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
24547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24548 arg3
= (double) SWIG_AsDouble(obj2
);
24549 if (PyErr_Occurred()) SWIG_fail
;
24550 arg4
= (double) SWIG_AsDouble(obj3
);
24551 if (PyErr_Occurred()) SWIG_fail
;
24553 arg5
= (int) SWIG_AsInt(obj4
);
24554 if (PyErr_Occurred()) SWIG_fail
;
24557 arg6
= (int) SWIG_AsInt(obj5
);
24558 if (PyErr_Occurred()) SWIG_fail
;
24561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24562 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
24564 wxPyEndAllowThreads(__tstate
);
24565 if (PyErr_Occurred()) SWIG_fail
;
24567 Py_INCREF(Py_None
); resultobj
= Py_None
;
24574 static PyObject
*_wrap_PyCircleShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24575 PyObject
*resultobj
;
24576 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24577 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
24580 int arg5
= (int) 0 ;
24581 int arg6
= (int) 0 ;
24582 PyObject
* obj0
= 0 ;
24583 PyObject
* obj1
= 0 ;
24584 PyObject
* obj2
= 0 ;
24585 PyObject
* obj3
= 0 ;
24586 PyObject
* obj4
= 0 ;
24587 PyObject
* obj5
= 0 ;
24588 char *kwnames
[] = {
24589 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCircleShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24595 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
24596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24597 arg3
= (double) SWIG_AsDouble(obj2
);
24598 if (PyErr_Occurred()) SWIG_fail
;
24599 arg4
= (double) SWIG_AsDouble(obj3
);
24600 if (PyErr_Occurred()) SWIG_fail
;
24602 arg5
= (int) SWIG_AsInt(obj4
);
24603 if (PyErr_Occurred()) SWIG_fail
;
24606 arg6
= (int) SWIG_AsInt(obj5
);
24607 if (PyErr_Occurred()) SWIG_fail
;
24610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24611 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
24613 wxPyEndAllowThreads(__tstate
);
24614 if (PyErr_Occurred()) SWIG_fail
;
24616 Py_INCREF(Py_None
); resultobj
= Py_None
;
24623 static PyObject
*_wrap_PyCircleShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24624 PyObject
*resultobj
;
24625 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24628 PyObject
* obj0
= 0 ;
24629 PyObject
* obj1
= 0 ;
24630 PyObject
* obj2
= 0 ;
24631 char *kwnames
[] = {
24632 (char *) "self",(char *) "w",(char *) "h", NULL
24635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCircleShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24638 arg2
= (double) SWIG_AsDouble(obj1
);
24639 if (PyErr_Occurred()) SWIG_fail
;
24640 arg3
= (double) SWIG_AsDouble(obj2
);
24641 if (PyErr_Occurred()) SWIG_fail
;
24643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24644 (arg1
)->base_OnBeginSize(arg2
,arg3
);
24646 wxPyEndAllowThreads(__tstate
);
24647 if (PyErr_Occurred()) SWIG_fail
;
24649 Py_INCREF(Py_None
); resultobj
= Py_None
;
24656 static PyObject
*_wrap_PyCircleShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24657 PyObject
*resultobj
;
24658 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24661 PyObject
* obj0
= 0 ;
24662 PyObject
* obj1
= 0 ;
24663 PyObject
* obj2
= 0 ;
24664 char *kwnames
[] = {
24665 (char *) "self",(char *) "w",(char *) "h", NULL
24668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCircleShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24671 arg2
= (double) SWIG_AsDouble(obj1
);
24672 if (PyErr_Occurred()) SWIG_fail
;
24673 arg3
= (double) SWIG_AsDouble(obj2
);
24674 if (PyErr_Occurred()) SWIG_fail
;
24676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24677 (arg1
)->base_OnEndSize(arg2
,arg3
);
24679 wxPyEndAllowThreads(__tstate
);
24680 if (PyErr_Occurred()) SWIG_fail
;
24682 Py_INCREF(Py_None
); resultobj
= Py_None
;
24689 static PyObject
* PyCircleShape_swigregister(PyObject
*self
, PyObject
*args
) {
24691 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24692 SWIG_TypeClientData(SWIGTYPE_p_wxPyCircleShape
, obj
);
24694 return Py_BuildValue((char *)"");
24696 static PyObject
*_wrap_new_ArrowHead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24697 PyObject
*resultobj
;
24698 int arg1
= (int) 0 ;
24699 int arg2
= (int) 0 ;
24700 double arg3
= (double) 0.0 ;
24701 double arg4
= (double) 0.0 ;
24702 wxString
const &arg5_defvalue
= wxPyEmptyString
;
24703 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
24704 wxPseudoMetaFile
*arg6
= (wxPseudoMetaFile
*) NULL
;
24705 long arg7
= (long) -1 ;
24706 wxArrowHead
*result
;
24707 bool temp5
= False
;
24708 PyObject
* obj0
= 0 ;
24709 PyObject
* obj1
= 0 ;
24710 PyObject
* obj2
= 0 ;
24711 PyObject
* obj3
= 0 ;
24712 PyObject
* obj4
= 0 ;
24713 PyObject
* obj5
= 0 ;
24714 PyObject
* obj6
= 0 ;
24715 char *kwnames
[] = {
24716 (char *) "type",(char *) "end",(char *) "size",(char *) "dist",(char *) "name",(char *) "mf",(char *) "arrowId", NULL
24719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOO:new_ArrowHead",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24721 arg1
= (int) SWIG_AsInt(obj0
);
24722 if (PyErr_Occurred()) SWIG_fail
;
24725 arg2
= (int) SWIG_AsInt(obj1
);
24726 if (PyErr_Occurred()) SWIG_fail
;
24729 arg3
= (double) SWIG_AsDouble(obj2
);
24730 if (PyErr_Occurred()) SWIG_fail
;
24733 arg4
= (double) SWIG_AsDouble(obj3
);
24734 if (PyErr_Occurred()) SWIG_fail
;
24738 arg5
= wxString_in_helper(obj4
);
24739 if (arg5
== NULL
) SWIG_fail
;
24744 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPseudoMetaFile
,
24745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24748 arg7
= (long) SWIG_AsLong(obj6
);
24749 if (PyErr_Occurred()) SWIG_fail
;
24752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24753 result
= (wxArrowHead
*)new wxArrowHead(arg1
,arg2
,arg3
,arg4
,(wxString
const &)*arg5
,arg6
,arg7
);
24755 wxPyEndAllowThreads(__tstate
);
24756 if (PyErr_Occurred()) SWIG_fail
;
24759 resultobj
= wxPyMake_wxObject(result
);
24775 static PyObject
*_wrap_delete_ArrowHead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24776 PyObject
*resultobj
;
24777 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24778 PyObject
* obj0
= 0 ;
24779 char *kwnames
[] = {
24780 (char *) "self", NULL
24783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ArrowHead",kwnames
,&obj0
)) goto fail
;
24784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
24785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24790 wxPyEndAllowThreads(__tstate
);
24791 if (PyErr_Occurred()) SWIG_fail
;
24793 Py_INCREF(Py_None
); resultobj
= Py_None
;
24800 static PyObject
*_wrap_ArrowHead__GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24801 PyObject
*resultobj
;
24802 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24804 PyObject
* obj0
= 0 ;
24805 char *kwnames
[] = {
24806 (char *) "self", NULL
24809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead__GetType",kwnames
,&obj0
)) goto fail
;
24810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
24811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24814 result
= (int)(arg1
)->_GetType();
24816 wxPyEndAllowThreads(__tstate
);
24817 if (PyErr_Occurred()) SWIG_fail
;
24819 resultobj
= SWIG_FromInt((int)result
);
24826 static PyObject
*_wrap_ArrowHead_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24827 PyObject
*resultobj
;
24828 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24830 PyObject
* obj0
= 0 ;
24831 char *kwnames
[] = {
24832 (char *) "self", NULL
24835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetPosition",kwnames
,&obj0
)) goto fail
;
24836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
24837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24840 result
= (int)(arg1
)->GetPosition();
24842 wxPyEndAllowThreads(__tstate
);
24843 if (PyErr_Occurred()) SWIG_fail
;
24845 resultobj
= SWIG_FromInt((int)result
);
24852 static PyObject
*_wrap_ArrowHead_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24853 PyObject
*resultobj
;
24854 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24856 PyObject
* obj0
= 0 ;
24857 PyObject
* obj1
= 0 ;
24858 char *kwnames
[] = {
24859 (char *) "self",(char *) "pos", NULL
24862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ArrowHead_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
24863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
24864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24865 arg2
= (int) SWIG_AsInt(obj1
);
24866 if (PyErr_Occurred()) SWIG_fail
;
24868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24869 (arg1
)->SetPosition(arg2
);
24871 wxPyEndAllowThreads(__tstate
);
24872 if (PyErr_Occurred()) SWIG_fail
;
24874 Py_INCREF(Py_None
); resultobj
= Py_None
;
24881 static PyObject
*_wrap_ArrowHead_GetXOffset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24882 PyObject
*resultobj
;
24883 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24885 PyObject
* obj0
= 0 ;
24886 char *kwnames
[] = {
24887 (char *) "self", NULL
24890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetXOffset",kwnames
,&obj0
)) goto fail
;
24891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
24892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24895 result
= (double)(arg1
)->GetXOffset();
24897 wxPyEndAllowThreads(__tstate
);
24898 if (PyErr_Occurred()) SWIG_fail
;
24900 resultobj
= SWIG_FromDouble((double)result
);
24907 static PyObject
*_wrap_ArrowHead_GetYOffset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24908 PyObject
*resultobj
;
24909 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24911 PyObject
* obj0
= 0 ;
24912 char *kwnames
[] = {
24913 (char *) "self", NULL
24916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetYOffset",kwnames
,&obj0
)) goto fail
;
24917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
24918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24921 result
= (double)(arg1
)->GetYOffset();
24923 wxPyEndAllowThreads(__tstate
);
24924 if (PyErr_Occurred()) SWIG_fail
;
24926 resultobj
= SWIG_FromDouble((double)result
);
24933 static PyObject
*_wrap_ArrowHead_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24934 PyObject
*resultobj
;
24935 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24937 PyObject
* obj0
= 0 ;
24938 char *kwnames
[] = {
24939 (char *) "self", NULL
24942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetSpacing",kwnames
,&obj0
)) goto fail
;
24943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
24944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24947 result
= (double)(arg1
)->GetSpacing();
24949 wxPyEndAllowThreads(__tstate
);
24950 if (PyErr_Occurred()) SWIG_fail
;
24952 resultobj
= SWIG_FromDouble((double)result
);
24959 static PyObject
*_wrap_ArrowHead_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24960 PyObject
*resultobj
;
24961 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24963 PyObject
* obj0
= 0 ;
24964 char *kwnames
[] = {
24965 (char *) "self", NULL
24968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetSize",kwnames
,&obj0
)) goto fail
;
24969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
24970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24973 result
= (double)(arg1
)->GetSize();
24975 wxPyEndAllowThreads(__tstate
);
24976 if (PyErr_Occurred()) SWIG_fail
;
24978 resultobj
= SWIG_FromDouble((double)result
);
24985 static PyObject
*_wrap_ArrowHead_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24986 PyObject
*resultobj
;
24987 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24989 PyObject
* obj0
= 0 ;
24990 char *kwnames
[] = {
24991 (char *) "self", NULL
24994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetName",kwnames
,&obj0
)) goto fail
;
24995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
24996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24999 result
= (arg1
)->GetName();
25001 wxPyEndAllowThreads(__tstate
);
25002 if (PyErr_Occurred()) SWIG_fail
;
25006 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25008 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25017 static PyObject
*_wrap_ArrowHead_SetXOffset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25018 PyObject
*resultobj
;
25019 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25021 PyObject
* obj0
= 0 ;
25022 PyObject
* obj1
= 0 ;
25023 char *kwnames
[] = {
25024 (char *) "self",(char *) "x", NULL
25027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ArrowHead_SetXOffset",kwnames
,&obj0
,&obj1
)) goto fail
;
25028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
25029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25030 arg2
= (double) SWIG_AsDouble(obj1
);
25031 if (PyErr_Occurred()) SWIG_fail
;
25033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25034 (arg1
)->SetXOffset(arg2
);
25036 wxPyEndAllowThreads(__tstate
);
25037 if (PyErr_Occurred()) SWIG_fail
;
25039 Py_INCREF(Py_None
); resultobj
= Py_None
;
25046 static PyObject
*_wrap_ArrowHead_SetYOffset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25047 PyObject
*resultobj
;
25048 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25050 PyObject
* obj0
= 0 ;
25051 PyObject
* obj1
= 0 ;
25052 char *kwnames
[] = {
25053 (char *) "self",(char *) "y", NULL
25056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ArrowHead_SetYOffset",kwnames
,&obj0
,&obj1
)) goto fail
;
25057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
25058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25059 arg2
= (double) SWIG_AsDouble(obj1
);
25060 if (PyErr_Occurred()) SWIG_fail
;
25062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25063 (arg1
)->SetYOffset(arg2
);
25065 wxPyEndAllowThreads(__tstate
);
25066 if (PyErr_Occurred()) SWIG_fail
;
25068 Py_INCREF(Py_None
); resultobj
= Py_None
;
25075 static PyObject
*_wrap_ArrowHead_GetMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25076 PyObject
*resultobj
;
25077 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25078 wxPseudoMetaFile
*result
;
25079 PyObject
* obj0
= 0 ;
25080 char *kwnames
[] = {
25081 (char *) "self", NULL
25084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetMetaFile",kwnames
,&obj0
)) goto fail
;
25085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
25086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25089 result
= (wxPseudoMetaFile
*)(arg1
)->GetMetaFile();
25091 wxPyEndAllowThreads(__tstate
);
25092 if (PyErr_Occurred()) SWIG_fail
;
25095 resultobj
= wxPyMake_wxObject(result
);
25103 static PyObject
*_wrap_ArrowHead_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25104 PyObject
*resultobj
;
25105 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25107 PyObject
* obj0
= 0 ;
25108 char *kwnames
[] = {
25109 (char *) "self", NULL
25112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetId",kwnames
,&obj0
)) goto fail
;
25113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
25114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25117 result
= (long)(arg1
)->GetId();
25119 wxPyEndAllowThreads(__tstate
);
25120 if (PyErr_Occurred()) SWIG_fail
;
25122 resultobj
= SWIG_FromLong((long)result
);
25129 static PyObject
*_wrap_ArrowHead_GetArrowEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25130 PyObject
*resultobj
;
25131 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25133 PyObject
* obj0
= 0 ;
25134 char *kwnames
[] = {
25135 (char *) "self", NULL
25138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetArrowEnd",kwnames
,&obj0
)) goto fail
;
25139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
25140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25143 result
= (int)(arg1
)->GetArrowEnd();
25145 wxPyEndAllowThreads(__tstate
);
25146 if (PyErr_Occurred()) SWIG_fail
;
25148 resultobj
= SWIG_FromInt((int)result
);
25155 static PyObject
*_wrap_ArrowHead_GetArrowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25156 PyObject
*resultobj
;
25157 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25159 PyObject
* obj0
= 0 ;
25160 char *kwnames
[] = {
25161 (char *) "self", NULL
25164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetArrowSize",kwnames
,&obj0
)) goto fail
;
25165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
25166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25169 result
= (double)(arg1
)->GetArrowSize();
25171 wxPyEndAllowThreads(__tstate
);
25172 if (PyErr_Occurred()) SWIG_fail
;
25174 resultobj
= SWIG_FromDouble((double)result
);
25181 static PyObject
*_wrap_ArrowHead_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25182 PyObject
*resultobj
;
25183 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25185 PyObject
* obj0
= 0 ;
25186 PyObject
* obj1
= 0 ;
25187 char *kwnames
[] = {
25188 (char *) "self",(char *) "size", NULL
25191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ArrowHead_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
25193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25194 arg2
= (double) SWIG_AsDouble(obj1
);
25195 if (PyErr_Occurred()) SWIG_fail
;
25197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25198 (arg1
)->SetSize(arg2
);
25200 wxPyEndAllowThreads(__tstate
);
25201 if (PyErr_Occurred()) SWIG_fail
;
25203 Py_INCREF(Py_None
); resultobj
= Py_None
;
25210 static PyObject
*_wrap_ArrowHead_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25211 PyObject
*resultobj
;
25212 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25214 PyObject
* obj0
= 0 ;
25215 PyObject
* obj1
= 0 ;
25216 char *kwnames
[] = {
25217 (char *) "self",(char *) "sp", NULL
25220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ArrowHead_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
25221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
25222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25223 arg2
= (double) SWIG_AsDouble(obj1
);
25224 if (PyErr_Occurred()) SWIG_fail
;
25226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25227 (arg1
)->SetSpacing(arg2
);
25229 wxPyEndAllowThreads(__tstate
);
25230 if (PyErr_Occurred()) SWIG_fail
;
25232 Py_INCREF(Py_None
); resultobj
= Py_None
;
25239 static PyObject
* ArrowHead_swigregister(PyObject
*self
, PyObject
*args
) {
25241 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25242 SWIG_TypeClientData(SWIGTYPE_p_wxArrowHead
, obj
);
25244 return Py_BuildValue((char *)"");
25246 static PyObject
*_wrap_new_PyLineShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25247 PyObject
*resultobj
;
25248 wxPyLineShape
*result
;
25249 char *kwnames
[] = {
25253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLineShape",kwnames
)) goto fail
;
25255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25256 result
= (wxPyLineShape
*)new wxPyLineShape();
25258 wxPyEndAllowThreads(__tstate
);
25259 if (PyErr_Occurred()) SWIG_fail
;
25261 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLineShape
, 1);
25268 static PyObject
*_wrap_PyLineShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25269 PyObject
*resultobj
;
25270 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25271 PyObject
*arg2
= (PyObject
*) 0 ;
25272 PyObject
*arg3
= (PyObject
*) 0 ;
25273 PyObject
* obj0
= 0 ;
25274 PyObject
* obj1
= 0 ;
25275 PyObject
* obj2
= 0 ;
25276 char *kwnames
[] = {
25277 (char *) "self",(char *) "self",(char *) "_class", NULL
25280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25287 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25289 wxPyEndAllowThreads(__tstate
);
25290 if (PyErr_Occurred()) SWIG_fail
;
25292 Py_INCREF(Py_None
); resultobj
= Py_None
;
25299 static PyObject
*_wrap_PyLineShape_AddArrow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25300 PyObject
*resultobj
;
25301 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25303 int arg3
= (int) ARROW_POSITION_END
;
25304 double arg4
= (double) 10.0 ;
25305 double arg5
= (double) 0.0 ;
25306 wxString
const &arg6_defvalue
= wxPyEmptyString
;
25307 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25308 wxPseudoMetaFile
*arg7
= (wxPseudoMetaFile
*) NULL
;
25309 long arg8
= (long) -1 ;
25310 bool temp6
= False
;
25311 PyObject
* obj0
= 0 ;
25312 PyObject
* obj1
= 0 ;
25313 PyObject
* obj2
= 0 ;
25314 PyObject
* obj3
= 0 ;
25315 PyObject
* obj4
= 0 ;
25316 PyObject
* obj5
= 0 ;
25317 PyObject
* obj6
= 0 ;
25318 PyObject
* obj7
= 0 ;
25319 char *kwnames
[] = {
25320 (char *) "self",(char *) "type",(char *) "end",(char *) "arrowSize",(char *) "xOffset",(char *) "name",(char *) "mf",(char *) "arrowId", NULL
25323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:PyLineShape_AddArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
25324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25326 arg2
= (int) SWIG_AsInt(obj1
);
25327 if (PyErr_Occurred()) SWIG_fail
;
25329 arg3
= (int) SWIG_AsInt(obj2
);
25330 if (PyErr_Occurred()) SWIG_fail
;
25333 arg4
= (double) SWIG_AsDouble(obj3
);
25334 if (PyErr_Occurred()) SWIG_fail
;
25337 arg5
= (double) SWIG_AsDouble(obj4
);
25338 if (PyErr_Occurred()) SWIG_fail
;
25342 arg6
= wxString_in_helper(obj5
);
25343 if (arg6
== NULL
) SWIG_fail
;
25348 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPseudoMetaFile
,
25349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25352 arg8
= (long) SWIG_AsLong(obj7
);
25353 if (PyErr_Occurred()) SWIG_fail
;
25356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25357 (arg1
)->AddArrow(arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
,arg8
);
25359 wxPyEndAllowThreads(__tstate
);
25360 if (PyErr_Occurred()) SWIG_fail
;
25362 Py_INCREF(Py_None
); resultobj
= Py_None
;
25377 static PyObject
*_wrap_PyLineShape_AddArrowOrdered(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25378 PyObject
*resultobj
;
25379 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25380 wxArrowHead
*arg2
= (wxArrowHead
*) 0 ;
25381 PyObject
*arg3
= (PyObject
*) 0 ;
25383 PyObject
* obj0
= 0 ;
25384 PyObject
* obj1
= 0 ;
25385 PyObject
* obj2
= 0 ;
25386 PyObject
* obj3
= 0 ;
25387 char *kwnames
[] = {
25388 (char *) "self",(char *) "arrow",(char *) "referenceList",(char *) "end", NULL
25391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyLineShape_AddArrowOrdered",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25394 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxArrowHead
,
25395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25397 arg4
= (int) SWIG_AsInt(obj3
);
25398 if (PyErr_Occurred()) SWIG_fail
;
25400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25401 wxPyLineShape_AddArrowOrdered(arg1
,arg2
,arg3
,arg4
);
25403 wxPyEndAllowThreads(__tstate
);
25404 if (PyErr_Occurred()) SWIG_fail
;
25406 Py_INCREF(Py_None
); resultobj
= Py_None
;
25413 static PyObject
*_wrap_PyLineShape_ClearArrow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25414 PyObject
*resultobj
;
25415 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25416 wxString
*arg2
= 0 ;
25418 bool temp2
= False
;
25419 PyObject
* obj0
= 0 ;
25420 PyObject
* obj1
= 0 ;
25421 char *kwnames
[] = {
25422 (char *) "self",(char *) "name", NULL
25425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_ClearArrow",kwnames
,&obj0
,&obj1
)) goto fail
;
25426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25429 arg2
= wxString_in_helper(obj1
);
25430 if (arg2
== NULL
) SWIG_fail
;
25434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25435 result
= (bool)(arg1
)->ClearArrow((wxString
const &)*arg2
);
25437 wxPyEndAllowThreads(__tstate
);
25438 if (PyErr_Occurred()) SWIG_fail
;
25441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25457 static PyObject
*_wrap_PyLineShape_ClearArrowsAtPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25458 PyObject
*resultobj
;
25459 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25460 int arg2
= (int) -1 ;
25461 PyObject
* obj0
= 0 ;
25462 PyObject
* obj1
= 0 ;
25463 char *kwnames
[] = {
25464 (char *) "self",(char *) "position", NULL
25467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyLineShape_ClearArrowsAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
25468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25471 arg2
= (int) SWIG_AsInt(obj1
);
25472 if (PyErr_Occurred()) SWIG_fail
;
25475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25476 (arg1
)->ClearArrowsAtPosition(arg2
);
25478 wxPyEndAllowThreads(__tstate
);
25479 if (PyErr_Occurred()) SWIG_fail
;
25481 Py_INCREF(Py_None
); resultobj
= Py_None
;
25488 static PyObject
*_wrap_PyLineShape_DrawArrow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25489 PyObject
*resultobj
;
25490 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25492 wxArrowHead
*arg3
= (wxArrowHead
*) 0 ;
25495 PyObject
* obj0
= 0 ;
25496 PyObject
* obj1
= 0 ;
25497 PyObject
* obj2
= 0 ;
25498 PyObject
* obj3
= 0 ;
25499 PyObject
* obj4
= 0 ;
25500 char *kwnames
[] = {
25501 (char *) "self",(char *) "dc",(char *) "arrow",(char *) "xOffset",(char *) "proportionalOffset", NULL
25504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyLineShape_DrawArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25507 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
25508 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25510 if (arg2
== NULL
) {
25511 PyErr_SetString(PyExc_TypeError
,"null reference");
25514 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxArrowHead
,
25515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25516 arg4
= (double) SWIG_AsDouble(obj3
);
25517 if (PyErr_Occurred()) SWIG_fail
;
25518 arg5
= (bool) SWIG_AsBool(obj4
);
25519 if (PyErr_Occurred()) SWIG_fail
;
25521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25522 (arg1
)->DrawArrow(*arg2
,arg3
,arg4
,arg5
);
25524 wxPyEndAllowThreads(__tstate
);
25525 if (PyErr_Occurred()) SWIG_fail
;
25527 Py_INCREF(Py_None
); resultobj
= Py_None
;
25534 static PyObject
*_wrap_PyLineShape_DeleteArrowHeadId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25535 PyObject
*resultobj
;
25536 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25539 PyObject
* obj0
= 0 ;
25540 PyObject
* obj1
= 0 ;
25541 char *kwnames
[] = {
25542 (char *) "self",(char *) "arrowId", NULL
25545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_DeleteArrowHeadId",kwnames
,&obj0
,&obj1
)) goto fail
;
25546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25548 arg2
= (long) SWIG_AsLong(obj1
);
25549 if (PyErr_Occurred()) SWIG_fail
;
25551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25552 result
= (bool)(arg1
)->DeleteArrowHead(arg2
);
25554 wxPyEndAllowThreads(__tstate
);
25555 if (PyErr_Occurred()) SWIG_fail
;
25558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25566 static PyObject
*_wrap_PyLineShape_DeleteArrowHead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25567 PyObject
*resultobj
;
25568 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25570 wxString
*arg3
= 0 ;
25572 bool temp3
= False
;
25573 PyObject
* obj0
= 0 ;
25574 PyObject
* obj1
= 0 ;
25575 PyObject
* obj2
= 0 ;
25576 char *kwnames
[] = {
25577 (char *) "self",(char *) "position",(char *) "name", NULL
25580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_DeleteArrowHead",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25583 arg2
= (int) SWIG_AsInt(obj1
);
25584 if (PyErr_Occurred()) SWIG_fail
;
25586 arg3
= wxString_in_helper(obj2
);
25587 if (arg3
== NULL
) SWIG_fail
;
25591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25592 result
= (bool)(arg1
)->DeleteArrowHead(arg2
,(wxString
const &)*arg3
);
25594 wxPyEndAllowThreads(__tstate
);
25595 if (PyErr_Occurred()) SWIG_fail
;
25598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25614 static PyObject
*_wrap_PyLineShape_DeleteLineControlPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25615 PyObject
*resultobj
;
25616 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25618 PyObject
* obj0
= 0 ;
25619 char *kwnames
[] = {
25620 (char *) "self", NULL
25623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_DeleteLineControlPoint",kwnames
,&obj0
)) goto fail
;
25624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25628 result
= (bool)(arg1
)->DeleteLineControlPoint();
25630 wxPyEndAllowThreads(__tstate
);
25631 if (PyErr_Occurred()) SWIG_fail
;
25634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25642 static PyObject
*_wrap_PyLineShape_DrawArrows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25643 PyObject
*resultobj
;
25644 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25646 PyObject
* obj0
= 0 ;
25647 PyObject
* obj1
= 0 ;
25648 char *kwnames
[] = {
25649 (char *) "self",(char *) "dc", NULL
25652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_DrawArrows",kwnames
,&obj0
,&obj1
)) goto fail
;
25653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25655 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
25656 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25658 if (arg2
== NULL
) {
25659 PyErr_SetString(PyExc_TypeError
,"null reference");
25663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25664 (arg1
)->DrawArrows(*arg2
);
25666 wxPyEndAllowThreads(__tstate
);
25667 if (PyErr_Occurred()) SWIG_fail
;
25669 Py_INCREF(Py_None
); resultobj
= Py_None
;
25676 static PyObject
*_wrap_PyLineShape_DrawRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25677 PyObject
*resultobj
;
25678 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25680 wxShapeRegion
*arg3
= (wxShapeRegion
*) 0 ;
25683 PyObject
* obj0
= 0 ;
25684 PyObject
* obj1
= 0 ;
25685 PyObject
* obj2
= 0 ;
25686 PyObject
* obj3
= 0 ;
25687 PyObject
* obj4
= 0 ;
25688 char *kwnames
[] = {
25689 (char *) "self",(char *) "dc",(char *) "region",(char *) "x",(char *) "y", NULL
25692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyLineShape_DrawRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25695 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
25696 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25698 if (arg2
== NULL
) {
25699 PyErr_SetString(PyExc_TypeError
,"null reference");
25702 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxShapeRegion
,
25703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25704 arg4
= (double) SWIG_AsDouble(obj3
);
25705 if (PyErr_Occurred()) SWIG_fail
;
25706 arg5
= (double) SWIG_AsDouble(obj4
);
25707 if (PyErr_Occurred()) SWIG_fail
;
25709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25710 (arg1
)->DrawRegion(*arg2
,arg3
,arg4
,arg5
);
25712 wxPyEndAllowThreads(__tstate
);
25713 if (PyErr_Occurred()) SWIG_fail
;
25715 Py_INCREF(Py_None
); resultobj
= Py_None
;
25722 static PyObject
*_wrap_PyLineShape_EraseRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25723 PyObject
*resultobj
;
25724 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25726 wxShapeRegion
*arg3
= (wxShapeRegion
*) 0 ;
25729 PyObject
* obj0
= 0 ;
25730 PyObject
* obj1
= 0 ;
25731 PyObject
* obj2
= 0 ;
25732 PyObject
* obj3
= 0 ;
25733 PyObject
* obj4
= 0 ;
25734 char *kwnames
[] = {
25735 (char *) "self",(char *) "dc",(char *) "region",(char *) "x",(char *) "y", NULL
25738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyLineShape_EraseRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25741 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
25742 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25744 if (arg2
== NULL
) {
25745 PyErr_SetString(PyExc_TypeError
,"null reference");
25748 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxShapeRegion
,
25749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25750 arg4
= (double) SWIG_AsDouble(obj3
);
25751 if (PyErr_Occurred()) SWIG_fail
;
25752 arg5
= (double) SWIG_AsDouble(obj4
);
25753 if (PyErr_Occurred()) SWIG_fail
;
25755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25756 (arg1
)->EraseRegion(*arg2
,arg3
,arg4
,arg5
);
25758 wxPyEndAllowThreads(__tstate
);
25759 if (PyErr_Occurred()) SWIG_fail
;
25761 Py_INCREF(Py_None
); resultobj
= Py_None
;
25768 static PyObject
*_wrap_PyLineShape_FindArrowHeadId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25769 PyObject
*resultobj
;
25770 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25772 wxArrowHead
*result
;
25773 PyObject
* obj0
= 0 ;
25774 PyObject
* obj1
= 0 ;
25775 char *kwnames
[] = {
25776 (char *) "self",(char *) "arrowId", NULL
25779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_FindArrowHeadId",kwnames
,&obj0
,&obj1
)) goto fail
;
25780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25782 arg2
= (long) SWIG_AsLong(obj1
);
25783 if (PyErr_Occurred()) SWIG_fail
;
25785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25786 result
= (wxArrowHead
*)(arg1
)->FindArrowHead(arg2
);
25788 wxPyEndAllowThreads(__tstate
);
25789 if (PyErr_Occurred()) SWIG_fail
;
25792 resultobj
= wxPyMake_wxObject(result
);
25800 static PyObject
*_wrap_PyLineShape_FindArrowHead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25801 PyObject
*resultobj
;
25802 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25804 wxString
*arg3
= 0 ;
25805 wxArrowHead
*result
;
25806 bool temp3
= False
;
25807 PyObject
* obj0
= 0 ;
25808 PyObject
* obj1
= 0 ;
25809 PyObject
* obj2
= 0 ;
25810 char *kwnames
[] = {
25811 (char *) "self",(char *) "position",(char *) "name", NULL
25814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_FindArrowHead",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25817 arg2
= (int) SWIG_AsInt(obj1
);
25818 if (PyErr_Occurred()) SWIG_fail
;
25820 arg3
= wxString_in_helper(obj2
);
25821 if (arg3
== NULL
) SWIG_fail
;
25825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25826 result
= (wxArrowHead
*)(arg1
)->FindArrowHead(arg2
,(wxString
const &)*arg3
);
25828 wxPyEndAllowThreads(__tstate
);
25829 if (PyErr_Occurred()) SWIG_fail
;
25832 resultobj
= wxPyMake_wxObject(result
);
25848 static PyObject
*_wrap_PyLineShape_FindLineEndPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25849 PyObject
*resultobj
;
25850 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25851 double *arg2
= (double *) 0 ;
25852 double *arg3
= (double *) 0 ;
25853 double *arg4
= (double *) 0 ;
25854 double *arg5
= (double *) 0 ;
25859 PyObject
* obj0
= 0 ;
25860 char *kwnames
[] = {
25861 (char *) "self", NULL
25868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_FindLineEndPoints",kwnames
,&obj0
)) goto fail
;
25869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25873 (arg1
)->FindLineEndPoints(arg2
,arg3
,arg4
,arg5
);
25875 wxPyEndAllowThreads(__tstate
);
25876 if (PyErr_Occurred()) SWIG_fail
;
25878 Py_INCREF(Py_None
); resultobj
= Py_None
;
25880 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
25881 resultobj
= t_output_helper(resultobj
,o
);
25884 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
25885 resultobj
= t_output_helper(resultobj
,o
);
25888 PyObject
*o
= PyFloat_FromDouble((double) (*arg4
));
25889 resultobj
= t_output_helper(resultobj
,o
);
25892 PyObject
*o
= PyFloat_FromDouble((double) (*arg5
));
25893 resultobj
= t_output_helper(resultobj
,o
);
25901 static PyObject
*_wrap_PyLineShape_FindLinePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25902 PyObject
*resultobj
;
25903 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25907 PyObject
* obj0
= 0 ;
25908 PyObject
* obj1
= 0 ;
25909 PyObject
* obj2
= 0 ;
25910 char *kwnames
[] = {
25911 (char *) "self",(char *) "x",(char *) "y", NULL
25914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_FindLinePosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25917 arg2
= (double) SWIG_AsDouble(obj1
);
25918 if (PyErr_Occurred()) SWIG_fail
;
25919 arg3
= (double) SWIG_AsDouble(obj2
);
25920 if (PyErr_Occurred()) SWIG_fail
;
25922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25923 result
= (int)(arg1
)->FindLinePosition(arg2
,arg3
);
25925 wxPyEndAllowThreads(__tstate
);
25926 if (PyErr_Occurred()) SWIG_fail
;
25928 resultobj
= SWIG_FromInt((int)result
);
25935 static PyObject
*_wrap_PyLineShape_FindMinimumWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25936 PyObject
*resultobj
;
25937 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25939 PyObject
* obj0
= 0 ;
25940 char *kwnames
[] = {
25941 (char *) "self", NULL
25944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_FindMinimumWidth",kwnames
,&obj0
)) goto fail
;
25945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25949 result
= (double)(arg1
)->FindMinimumWidth();
25951 wxPyEndAllowThreads(__tstate
);
25952 if (PyErr_Occurred()) SWIG_fail
;
25954 resultobj
= SWIG_FromDouble((double)result
);
25961 static PyObject
*_wrap_PyLineShape_FindNth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25962 PyObject
*resultobj
;
25963 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25964 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
25965 int *arg3
= (int *) 0 ;
25966 int *arg4
= (int *) 0 ;
25970 PyObject
* obj0
= 0 ;
25971 PyObject
* obj1
= 0 ;
25972 PyObject
* obj2
= 0 ;
25973 char *kwnames
[] = {
25974 (char *) "self",(char *) "image",(char *) "incoming", NULL
25979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_FindNth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25982 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
25983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25984 arg5
= (bool) SWIG_AsBool(obj2
);
25985 if (PyErr_Occurred()) SWIG_fail
;
25987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25988 (arg1
)->FindNth(arg2
,arg3
,arg4
,arg5
);
25990 wxPyEndAllowThreads(__tstate
);
25991 if (PyErr_Occurred()) SWIG_fail
;
25993 Py_INCREF(Py_None
); resultobj
= Py_None
;
25995 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
25996 resultobj
= t_output_helper(resultobj
,o
);
25999 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
26000 resultobj
= t_output_helper(resultobj
,o
);
26008 static PyObject
*_wrap_PyLineShape_GetAttachmentFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26009 PyObject
*resultobj
;
26010 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26012 PyObject
* obj0
= 0 ;
26013 char *kwnames
[] = {
26014 (char *) "self", NULL
26017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetAttachmentFrom",kwnames
,&obj0
)) goto fail
;
26018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26022 result
= (int)(arg1
)->GetAttachmentFrom();
26024 wxPyEndAllowThreads(__tstate
);
26025 if (PyErr_Occurred()) SWIG_fail
;
26027 resultobj
= SWIG_FromInt((int)result
);
26034 static PyObject
*_wrap_PyLineShape_GetAttachmentTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26035 PyObject
*resultobj
;
26036 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26038 PyObject
* obj0
= 0 ;
26039 char *kwnames
[] = {
26040 (char *) "self", NULL
26043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetAttachmentTo",kwnames
,&obj0
)) goto fail
;
26044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26048 result
= (int)(arg1
)->GetAttachmentTo();
26050 wxPyEndAllowThreads(__tstate
);
26051 if (PyErr_Occurred()) SWIG_fail
;
26053 resultobj
= SWIG_FromInt((int)result
);
26060 static PyObject
*_wrap_PyLineShape_GetEnds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26061 PyObject
*resultobj
;
26062 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26063 double *arg2
= (double *) 0 ;
26064 double *arg3
= (double *) 0 ;
26065 double *arg4
= (double *) 0 ;
26066 double *arg5
= (double *) 0 ;
26071 PyObject
* obj0
= 0 ;
26072 char *kwnames
[] = {
26073 (char *) "self", NULL
26080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetEnds",kwnames
,&obj0
)) goto fail
;
26081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26085 (arg1
)->GetEnds(arg2
,arg3
,arg4
,arg5
);
26087 wxPyEndAllowThreads(__tstate
);
26088 if (PyErr_Occurred()) SWIG_fail
;
26090 Py_INCREF(Py_None
); resultobj
= Py_None
;
26092 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
26093 resultobj
= t_output_helper(resultobj
,o
);
26096 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
26097 resultobj
= t_output_helper(resultobj
,o
);
26100 PyObject
*o
= PyFloat_FromDouble((double) (*arg4
));
26101 resultobj
= t_output_helper(resultobj
,o
);
26104 PyObject
*o
= PyFloat_FromDouble((double) (*arg5
));
26105 resultobj
= t_output_helper(resultobj
,o
);
26113 static PyObject
*_wrap_PyLineShape_GetFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26114 PyObject
*resultobj
;
26115 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26117 PyObject
* obj0
= 0 ;
26118 char *kwnames
[] = {
26119 (char *) "self", NULL
26122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetFrom",kwnames
,&obj0
)) goto fail
;
26123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26127 result
= (wxPyShape
*)(arg1
)->GetFrom();
26129 wxPyEndAllowThreads(__tstate
);
26130 if (PyErr_Occurred()) SWIG_fail
;
26133 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
26141 static PyObject
*_wrap_PyLineShape_GetLabelPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26142 PyObject
*resultobj
;
26143 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26145 double *arg3
= (double *) 0 ;
26146 double *arg4
= (double *) 0 ;
26149 PyObject
* obj0
= 0 ;
26150 PyObject
* obj1
= 0 ;
26151 char *kwnames
[] = {
26152 (char *) "self",(char *) "position", NULL
26157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_GetLabelPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
26158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26160 arg2
= (int) SWIG_AsInt(obj1
);
26161 if (PyErr_Occurred()) SWIG_fail
;
26163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26164 (arg1
)->GetLabelPosition(arg2
,arg3
,arg4
);
26166 wxPyEndAllowThreads(__tstate
);
26167 if (PyErr_Occurred()) SWIG_fail
;
26169 Py_INCREF(Py_None
); resultobj
= Py_None
;
26171 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
26172 resultobj
= t_output_helper(resultobj
,o
);
26175 PyObject
*o
= PyFloat_FromDouble((double) (*arg4
));
26176 resultobj
= t_output_helper(resultobj
,o
);
26184 static PyObject
*_wrap_PyLineShape_GetNextControlPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26185 PyObject
*resultobj
;
26186 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26187 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
26188 wxRealPoint
*result
;
26189 PyObject
* obj0
= 0 ;
26190 PyObject
* obj1
= 0 ;
26191 char *kwnames
[] = {
26192 (char *) "self",(char *) "shape", NULL
26195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_GetNextControlPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
26196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26198 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
26199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26202 result
= (wxRealPoint
*)(arg1
)->GetNextControlPoint(arg2
);
26204 wxPyEndAllowThreads(__tstate
);
26205 if (PyErr_Occurred()) SWIG_fail
;
26207 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 0);
26214 static PyObject
*_wrap_PyLineShape_GetTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26215 PyObject
*resultobj
;
26216 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26218 PyObject
* obj0
= 0 ;
26219 char *kwnames
[] = {
26220 (char *) "self", NULL
26223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetTo",kwnames
,&obj0
)) goto fail
;
26224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26228 result
= (wxPyShape
*)(arg1
)->GetTo();
26230 wxPyEndAllowThreads(__tstate
);
26231 if (PyErr_Occurred()) SWIG_fail
;
26234 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
26242 static PyObject
*_wrap_PyLineShape_Initialise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26243 PyObject
*resultobj
;
26244 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26245 PyObject
* obj0
= 0 ;
26246 char *kwnames
[] = {
26247 (char *) "self", NULL
26250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_Initialise",kwnames
,&obj0
)) goto fail
;
26251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26255 (arg1
)->Initialise();
26257 wxPyEndAllowThreads(__tstate
);
26258 if (PyErr_Occurred()) SWIG_fail
;
26260 Py_INCREF(Py_None
); resultobj
= Py_None
;
26267 static PyObject
*_wrap_PyLineShape_InsertLineControlPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26268 PyObject
*resultobj
;
26269 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26270 wxDC
*arg2
= (wxDC
*) 0 ;
26271 PyObject
* obj0
= 0 ;
26272 PyObject
* obj1
= 0 ;
26273 char *kwnames
[] = {
26274 (char *) "self",(char *) "dc", NULL
26277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_InsertLineControlPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
26278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26280 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
26281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26284 (arg1
)->InsertLineControlPoint(arg2
);
26286 wxPyEndAllowThreads(__tstate
);
26287 if (PyErr_Occurred()) SWIG_fail
;
26289 Py_INCREF(Py_None
); resultobj
= Py_None
;
26296 static PyObject
*_wrap_PyLineShape_IsEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26297 PyObject
*resultobj
;
26298 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26299 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
26301 PyObject
* obj0
= 0 ;
26302 PyObject
* obj1
= 0 ;
26303 char *kwnames
[] = {
26304 (char *) "self",(char *) "shape", NULL
26307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_IsEnd",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_wxPyShape
,
26311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26314 result
= (bool)(arg1
)->IsEnd(arg2
);
26316 wxPyEndAllowThreads(__tstate
);
26317 if (PyErr_Occurred()) SWIG_fail
;
26320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26328 static PyObject
*_wrap_PyLineShape_IsSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26329 PyObject
*resultobj
;
26330 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26332 PyObject
* obj0
= 0 ;
26333 char *kwnames
[] = {
26334 (char *) "self", NULL
26337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_IsSpline",kwnames
,&obj0
)) goto fail
;
26338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26342 result
= (bool)(arg1
)->IsSpline();
26344 wxPyEndAllowThreads(__tstate
);
26345 if (PyErr_Occurred()) SWIG_fail
;
26348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26356 static PyObject
*_wrap_PyLineShape_MakeLineControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26357 PyObject
*resultobj
;
26358 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26360 PyObject
* obj0
= 0 ;
26361 PyObject
* obj1
= 0 ;
26362 char *kwnames
[] = {
26363 (char *) "self",(char *) "n", NULL
26366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_MakeLineControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
26367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26369 arg2
= (int) SWIG_AsInt(obj1
);
26370 if (PyErr_Occurred()) SWIG_fail
;
26372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26373 (arg1
)->MakeLineControlPoints(arg2
);
26375 wxPyEndAllowThreads(__tstate
);
26376 if (PyErr_Occurred()) SWIG_fail
;
26378 Py_INCREF(Py_None
); resultobj
= Py_None
;
26385 static PyObject
*_wrap_PyLineShape_GetLineControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26386 PyObject
*resultobj
;
26387 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26389 PyObject
* obj0
= 0 ;
26390 char *kwnames
[] = {
26391 (char *) "self", NULL
26394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetLineControlPoints",kwnames
,&obj0
)) goto fail
;
26395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26399 result
= (PyObject
*)wxPyLineShape_GetLineControlPoints(arg1
);
26401 wxPyEndAllowThreads(__tstate
);
26402 if (PyErr_Occurred()) SWIG_fail
;
26404 resultobj
= result
;
26411 static PyObject
*_wrap_PyLineShape_SetLineControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26412 PyObject
*resultobj
;
26413 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26414 PyObject
*arg2
= (PyObject
*) 0 ;
26415 PyObject
* obj0
= 0 ;
26416 PyObject
* obj1
= 0 ;
26417 char *kwnames
[] = {
26418 (char *) "self",(char *) "list", NULL
26421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetLineControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
26422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26427 wxPyLineShape_SetLineControlPoints(arg1
,arg2
);
26429 wxPyEndAllowThreads(__tstate
);
26430 if (PyErr_Occurred()) SWIG_fail
;
26432 Py_INCREF(Py_None
); resultobj
= Py_None
;
26439 static PyObject
*_wrap_PyLineShape_SetAttachmentFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26440 PyObject
*resultobj
;
26441 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26443 PyObject
* obj0
= 0 ;
26444 PyObject
* obj1
= 0 ;
26445 char *kwnames
[] = {
26446 (char *) "self",(char *) "fromAttach", NULL
26449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetAttachmentFrom",kwnames
,&obj0
,&obj1
)) goto fail
;
26450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26452 arg2
= (int) SWIG_AsInt(obj1
);
26453 if (PyErr_Occurred()) SWIG_fail
;
26455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26456 (arg1
)->SetAttachmentFrom(arg2
);
26458 wxPyEndAllowThreads(__tstate
);
26459 if (PyErr_Occurred()) SWIG_fail
;
26461 Py_INCREF(Py_None
); resultobj
= Py_None
;
26468 static PyObject
*_wrap_PyLineShape_SetAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26469 PyObject
*resultobj
;
26470 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26473 PyObject
* obj0
= 0 ;
26474 PyObject
* obj1
= 0 ;
26475 PyObject
* obj2
= 0 ;
26476 char *kwnames
[] = {
26477 (char *) "self",(char *) "fromAttach",(char *) "toAttach", NULL
26480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_SetAttachments",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26483 arg2
= (int) SWIG_AsInt(obj1
);
26484 if (PyErr_Occurred()) SWIG_fail
;
26485 arg3
= (int) SWIG_AsInt(obj2
);
26486 if (PyErr_Occurred()) SWIG_fail
;
26488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26489 (arg1
)->SetAttachments(arg2
,arg3
);
26491 wxPyEndAllowThreads(__tstate
);
26492 if (PyErr_Occurred()) SWIG_fail
;
26494 Py_INCREF(Py_None
); resultobj
= Py_None
;
26501 static PyObject
*_wrap_PyLineShape_SetAttachmentTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26502 PyObject
*resultobj
;
26503 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26505 PyObject
* obj0
= 0 ;
26506 PyObject
* obj1
= 0 ;
26507 char *kwnames
[] = {
26508 (char *) "self",(char *) "toAttach", NULL
26511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetAttachmentTo",kwnames
,&obj0
,&obj1
)) goto fail
;
26512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26514 arg2
= (int) SWIG_AsInt(obj1
);
26515 if (PyErr_Occurred()) SWIG_fail
;
26517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26518 (arg1
)->SetAttachmentTo(arg2
);
26520 wxPyEndAllowThreads(__tstate
);
26521 if (PyErr_Occurred()) SWIG_fail
;
26523 Py_INCREF(Py_None
); resultobj
= Py_None
;
26530 static PyObject
*_wrap_PyLineShape_SetEnds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26531 PyObject
*resultobj
;
26532 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26537 PyObject
* obj0
= 0 ;
26538 PyObject
* obj1
= 0 ;
26539 PyObject
* obj2
= 0 ;
26540 PyObject
* obj3
= 0 ;
26541 PyObject
* obj4
= 0 ;
26542 char *kwnames
[] = {
26543 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
26546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyLineShape_SetEnds",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26549 arg2
= (double) SWIG_AsDouble(obj1
);
26550 if (PyErr_Occurred()) SWIG_fail
;
26551 arg3
= (double) SWIG_AsDouble(obj2
);
26552 if (PyErr_Occurred()) SWIG_fail
;
26553 arg4
= (double) SWIG_AsDouble(obj3
);
26554 if (PyErr_Occurred()) SWIG_fail
;
26555 arg5
= (double) SWIG_AsDouble(obj4
);
26556 if (PyErr_Occurred()) SWIG_fail
;
26558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26559 (arg1
)->SetEnds(arg2
,arg3
,arg4
,arg5
);
26561 wxPyEndAllowThreads(__tstate
);
26562 if (PyErr_Occurred()) SWIG_fail
;
26564 Py_INCREF(Py_None
); resultobj
= Py_None
;
26571 static PyObject
*_wrap_PyLineShape_SetFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26572 PyObject
*resultobj
;
26573 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26574 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
26575 PyObject
* obj0
= 0 ;
26576 PyObject
* obj1
= 0 ;
26577 char *kwnames
[] = {
26578 (char *) "self",(char *) "object", NULL
26581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetFrom",kwnames
,&obj0
,&obj1
)) goto fail
;
26582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26584 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
26585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26588 (arg1
)->SetFrom(arg2
);
26590 wxPyEndAllowThreads(__tstate
);
26591 if (PyErr_Occurred()) SWIG_fail
;
26593 Py_INCREF(Py_None
); resultobj
= Py_None
;
26600 static PyObject
*_wrap_PyLineShape_SetIgnoreOffsets(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26601 PyObject
*resultobj
;
26602 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26604 PyObject
* obj0
= 0 ;
26605 PyObject
* obj1
= 0 ;
26606 char *kwnames
[] = {
26607 (char *) "self",(char *) "ignore", NULL
26610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetIgnoreOffsets",kwnames
,&obj0
,&obj1
)) goto fail
;
26611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26613 arg2
= (bool) SWIG_AsBool(obj1
);
26614 if (PyErr_Occurred()) SWIG_fail
;
26616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26617 (arg1
)->SetIgnoreOffsets(arg2
);
26619 wxPyEndAllowThreads(__tstate
);
26620 if (PyErr_Occurred()) SWIG_fail
;
26622 Py_INCREF(Py_None
); resultobj
= Py_None
;
26629 static PyObject
*_wrap_PyLineShape_SetSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26630 PyObject
*resultobj
;
26631 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26633 PyObject
* obj0
= 0 ;
26634 PyObject
* obj1
= 0 ;
26635 char *kwnames
[] = {
26636 (char *) "self",(char *) "spline", NULL
26639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
26640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26642 arg2
= (bool) SWIG_AsBool(obj1
);
26643 if (PyErr_Occurred()) SWIG_fail
;
26645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26646 (arg1
)->SetSpline(arg2
);
26648 wxPyEndAllowThreads(__tstate
);
26649 if (PyErr_Occurred()) SWIG_fail
;
26651 Py_INCREF(Py_None
); resultobj
= Py_None
;
26658 static PyObject
*_wrap_PyLineShape_SetTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26659 PyObject
*resultobj
;
26660 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26661 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
26662 PyObject
* obj0
= 0 ;
26663 PyObject
* obj1
= 0 ;
26664 char *kwnames
[] = {
26665 (char *) "self",(char *) "object", NULL
26668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetTo",kwnames
,&obj0
,&obj1
)) goto fail
;
26669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26671 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
26672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26675 (arg1
)->SetTo(arg2
);
26677 wxPyEndAllowThreads(__tstate
);
26678 if (PyErr_Occurred()) SWIG_fail
;
26680 Py_INCREF(Py_None
); resultobj
= Py_None
;
26687 static PyObject
*_wrap_PyLineShape_Straighten(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26688 PyObject
*resultobj
;
26689 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26690 wxDC
*arg2
= (wxDC
*) NULL
;
26691 PyObject
* obj0
= 0 ;
26692 PyObject
* obj1
= 0 ;
26693 char *kwnames
[] = {
26694 (char *) "self",(char *) "dc", NULL
26697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyLineShape_Straighten",kwnames
,&obj0
,&obj1
)) goto fail
;
26698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26701 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
26702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26706 (arg1
)->Straighten(arg2
);
26708 wxPyEndAllowThreads(__tstate
);
26709 if (PyErr_Occurred()) SWIG_fail
;
26711 Py_INCREF(Py_None
); resultobj
= Py_None
;
26718 static PyObject
*_wrap_PyLineShape_Unlink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26719 PyObject
*resultobj
;
26720 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26721 PyObject
* obj0
= 0 ;
26722 char *kwnames
[] = {
26723 (char *) "self", NULL
26726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_Unlink",kwnames
,&obj0
)) goto fail
;
26727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26733 wxPyEndAllowThreads(__tstate
);
26734 if (PyErr_Occurred()) SWIG_fail
;
26736 Py_INCREF(Py_None
); resultobj
= Py_None
;
26743 static PyObject
*_wrap_PyLineShape_SetAlignmentOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26744 PyObject
*resultobj
;
26745 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26748 PyObject
* obj0
= 0 ;
26749 PyObject
* obj1
= 0 ;
26750 PyObject
* obj2
= 0 ;
26751 char *kwnames
[] = {
26752 (char *) "self",(char *) "isEnd",(char *) "isHoriz", NULL
26755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_SetAlignmentOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26758 arg2
= (bool) SWIG_AsBool(obj1
);
26759 if (PyErr_Occurred()) SWIG_fail
;
26760 arg3
= (bool) SWIG_AsBool(obj2
);
26761 if (PyErr_Occurred()) SWIG_fail
;
26763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26764 (arg1
)->SetAlignmentOrientation(arg2
,arg3
);
26766 wxPyEndAllowThreads(__tstate
);
26767 if (PyErr_Occurred()) SWIG_fail
;
26769 Py_INCREF(Py_None
); resultobj
= Py_None
;
26776 static PyObject
*_wrap_PyLineShape_SetAlignmentType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26777 PyObject
*resultobj
;
26778 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26781 PyObject
* obj0
= 0 ;
26782 PyObject
* obj1
= 0 ;
26783 PyObject
* obj2
= 0 ;
26784 char *kwnames
[] = {
26785 (char *) "self",(char *) "isEnd",(char *) "alignType", NULL
26788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_SetAlignmentType",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26791 arg2
= (bool) SWIG_AsBool(obj1
);
26792 if (PyErr_Occurred()) SWIG_fail
;
26793 arg3
= (int) SWIG_AsInt(obj2
);
26794 if (PyErr_Occurred()) SWIG_fail
;
26796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26797 (arg1
)->SetAlignmentType(arg2
,arg3
);
26799 wxPyEndAllowThreads(__tstate
);
26800 if (PyErr_Occurred()) SWIG_fail
;
26802 Py_INCREF(Py_None
); resultobj
= Py_None
;
26809 static PyObject
*_wrap_PyLineShape_GetAlignmentOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26810 PyObject
*resultobj
;
26811 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26814 PyObject
* obj0
= 0 ;
26815 PyObject
* obj1
= 0 ;
26816 char *kwnames
[] = {
26817 (char *) "self",(char *) "isEnd", NULL
26820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_GetAlignmentOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
26821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26823 arg2
= (bool) SWIG_AsBool(obj1
);
26824 if (PyErr_Occurred()) SWIG_fail
;
26826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26827 result
= (bool)(arg1
)->GetAlignmentOrientation(arg2
);
26829 wxPyEndAllowThreads(__tstate
);
26830 if (PyErr_Occurred()) SWIG_fail
;
26833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26841 static PyObject
*_wrap_PyLineShape_GetAlignmentType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26842 PyObject
*resultobj
;
26843 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26846 PyObject
* obj0
= 0 ;
26847 PyObject
* obj1
= 0 ;
26848 char *kwnames
[] = {
26849 (char *) "self",(char *) "isEnd", NULL
26852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_GetAlignmentType",kwnames
,&obj0
,&obj1
)) goto fail
;
26853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26855 arg2
= (bool) SWIG_AsBool(obj1
);
26856 if (PyErr_Occurred()) SWIG_fail
;
26858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26859 result
= (int)(arg1
)->GetAlignmentType(arg2
);
26861 wxPyEndAllowThreads(__tstate
);
26862 if (PyErr_Occurred()) SWIG_fail
;
26864 resultobj
= SWIG_FromInt((int)result
);
26871 static PyObject
*_wrap_PyLineShape_GetAlignmentStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26872 PyObject
*resultobj
;
26873 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26875 PyObject
* obj0
= 0 ;
26876 char *kwnames
[] = {
26877 (char *) "self", NULL
26880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetAlignmentStart",kwnames
,&obj0
)) goto fail
;
26881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26885 result
= (int)((wxPyLineShape
const *)arg1
)->GetAlignmentStart();
26887 wxPyEndAllowThreads(__tstate
);
26888 if (PyErr_Occurred()) SWIG_fail
;
26890 resultobj
= SWIG_FromInt((int)result
);
26897 static PyObject
*_wrap_PyLineShape_GetAlignmentEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26898 PyObject
*resultobj
;
26899 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26901 PyObject
* obj0
= 0 ;
26902 char *kwnames
[] = {
26903 (char *) "self", NULL
26906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetAlignmentEnd",kwnames
,&obj0
)) goto fail
;
26907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26911 result
= (int)((wxPyLineShape
const *)arg1
)->GetAlignmentEnd();
26913 wxPyEndAllowThreads(__tstate
);
26914 if (PyErr_Occurred()) SWIG_fail
;
26916 resultobj
= SWIG_FromInt((int)result
);
26923 static PyObject
*_wrap_PyLineShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26924 PyObject
*resultobj
;
26925 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26927 PyObject
* obj0
= 0 ;
26928 PyObject
* obj1
= 0 ;
26929 char *kwnames
[] = {
26930 (char *) "self",(char *) "dc", NULL
26933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
26934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26936 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
26937 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26939 if (arg2
== NULL
) {
26940 PyErr_SetString(PyExc_TypeError
,"null reference");
26944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26945 (arg1
)->base_OnDraw(*arg2
);
26947 wxPyEndAllowThreads(__tstate
);
26948 if (PyErr_Occurred()) SWIG_fail
;
26950 Py_INCREF(Py_None
); resultobj
= Py_None
;
26957 static PyObject
*_wrap_PyLineShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26958 PyObject
*resultobj
;
26959 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26961 PyObject
* obj0
= 0 ;
26962 PyObject
* obj1
= 0 ;
26963 char *kwnames
[] = {
26964 (char *) "self",(char *) "dc", NULL
26967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
26968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26970 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
26971 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26973 if (arg2
== NULL
) {
26974 PyErr_SetString(PyExc_TypeError
,"null reference");
26978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26979 (arg1
)->base_OnDrawContents(*arg2
);
26981 wxPyEndAllowThreads(__tstate
);
26982 if (PyErr_Occurred()) SWIG_fail
;
26984 Py_INCREF(Py_None
); resultobj
= Py_None
;
26991 static PyObject
*_wrap_PyLineShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26992 PyObject
*resultobj
;
26993 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26995 bool arg3
= (bool) FALSE
;
26996 PyObject
* obj0
= 0 ;
26997 PyObject
* obj1
= 0 ;
26998 PyObject
* obj2
= 0 ;
26999 char *kwnames
[] = {
27000 (char *) "self",(char *) "dc",(char *) "erase", NULL
27003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLineShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27006 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27007 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27009 if (arg2
== NULL
) {
27010 PyErr_SetString(PyExc_TypeError
,"null reference");
27014 arg3
= (bool) SWIG_AsBool(obj2
);
27015 if (PyErr_Occurred()) SWIG_fail
;
27018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27019 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
27021 wxPyEndAllowThreads(__tstate
);
27022 if (PyErr_Occurred()) SWIG_fail
;
27024 Py_INCREF(Py_None
); resultobj
= Py_None
;
27031 static PyObject
*_wrap_PyLineShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27032 PyObject
*resultobj
;
27033 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27035 PyObject
* obj0
= 0 ;
27036 PyObject
* obj1
= 0 ;
27037 char *kwnames
[] = {
27038 (char *) "self",(char *) "dc", NULL
27041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
27042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27044 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27045 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27047 if (arg2
== NULL
) {
27048 PyErr_SetString(PyExc_TypeError
,"null reference");
27052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27053 (arg1
)->base_OnMoveLinks(*arg2
);
27055 wxPyEndAllowThreads(__tstate
);
27056 if (PyErr_Occurred()) SWIG_fail
;
27058 Py_INCREF(Py_None
); resultobj
= Py_None
;
27065 static PyObject
*_wrap_PyLineShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27066 PyObject
*resultobj
;
27067 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27069 PyObject
* obj0
= 0 ;
27070 PyObject
* obj1
= 0 ;
27071 char *kwnames
[] = {
27072 (char *) "self",(char *) "dc", NULL
27075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
27076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27078 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27079 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27081 if (arg2
== NULL
) {
27082 PyErr_SetString(PyExc_TypeError
,"null reference");
27086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27087 (arg1
)->base_OnErase(*arg2
);
27089 wxPyEndAllowThreads(__tstate
);
27090 if (PyErr_Occurred()) SWIG_fail
;
27092 Py_INCREF(Py_None
); resultobj
= Py_None
;
27099 static PyObject
*_wrap_PyLineShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27100 PyObject
*resultobj
;
27101 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27103 PyObject
* obj0
= 0 ;
27104 PyObject
* obj1
= 0 ;
27105 char *kwnames
[] = {
27106 (char *) "self",(char *) "dc", NULL
27109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
27110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27112 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27113 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27115 if (arg2
== NULL
) {
27116 PyErr_SetString(PyExc_TypeError
,"null reference");
27120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27121 (arg1
)->base_OnEraseContents(*arg2
);
27123 wxPyEndAllowThreads(__tstate
);
27124 if (PyErr_Occurred()) SWIG_fail
;
27126 Py_INCREF(Py_None
); resultobj
= Py_None
;
27133 static PyObject
*_wrap_PyLineShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27134 PyObject
*resultobj
;
27135 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27137 PyObject
* obj0
= 0 ;
27138 PyObject
* obj1
= 0 ;
27139 char *kwnames
[] = {
27140 (char *) "self",(char *) "dc", NULL
27143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
27144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27146 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27147 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27149 if (arg2
== NULL
) {
27150 PyErr_SetString(PyExc_TypeError
,"null reference");
27154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27155 (arg1
)->base_OnHighlight(*arg2
);
27157 wxPyEndAllowThreads(__tstate
);
27158 if (PyErr_Occurred()) SWIG_fail
;
27160 Py_INCREF(Py_None
); resultobj
= Py_None
;
27167 static PyObject
*_wrap_PyLineShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27168 PyObject
*resultobj
;
27169 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27172 int arg4
= (int) 0 ;
27173 int arg5
= (int) 0 ;
27174 PyObject
* obj0
= 0 ;
27175 PyObject
* obj1
= 0 ;
27176 PyObject
* obj2
= 0 ;
27177 PyObject
* obj3
= 0 ;
27178 PyObject
* obj4
= 0 ;
27179 char *kwnames
[] = {
27180 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27186 arg2
= (double) SWIG_AsDouble(obj1
);
27187 if (PyErr_Occurred()) SWIG_fail
;
27188 arg3
= (double) SWIG_AsDouble(obj2
);
27189 if (PyErr_Occurred()) SWIG_fail
;
27191 arg4
= (int) SWIG_AsInt(obj3
);
27192 if (PyErr_Occurred()) SWIG_fail
;
27195 arg5
= (int) SWIG_AsInt(obj4
);
27196 if (PyErr_Occurred()) SWIG_fail
;
27199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27200 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
27202 wxPyEndAllowThreads(__tstate
);
27203 if (PyErr_Occurred()) SWIG_fail
;
27205 Py_INCREF(Py_None
); resultobj
= Py_None
;
27212 static PyObject
*_wrap_PyLineShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27213 PyObject
*resultobj
;
27214 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27217 int arg4
= (int) 0 ;
27218 int arg5
= (int) 0 ;
27219 PyObject
* obj0
= 0 ;
27220 PyObject
* obj1
= 0 ;
27221 PyObject
* obj2
= 0 ;
27222 PyObject
* obj3
= 0 ;
27223 PyObject
* obj4
= 0 ;
27224 char *kwnames
[] = {
27225 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27231 arg2
= (double) SWIG_AsDouble(obj1
);
27232 if (PyErr_Occurred()) SWIG_fail
;
27233 arg3
= (double) SWIG_AsDouble(obj2
);
27234 if (PyErr_Occurred()) SWIG_fail
;
27236 arg4
= (int) SWIG_AsInt(obj3
);
27237 if (PyErr_Occurred()) SWIG_fail
;
27240 arg5
= (int) SWIG_AsInt(obj4
);
27241 if (PyErr_Occurred()) SWIG_fail
;
27244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27245 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
27247 wxPyEndAllowThreads(__tstate
);
27248 if (PyErr_Occurred()) SWIG_fail
;
27250 Py_INCREF(Py_None
); resultobj
= Py_None
;
27257 static PyObject
*_wrap_PyLineShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27258 PyObject
*resultobj
;
27259 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27262 int arg4
= (int) 0 ;
27263 int arg5
= (int) 0 ;
27264 PyObject
* obj0
= 0 ;
27265 PyObject
* obj1
= 0 ;
27266 PyObject
* obj2
= 0 ;
27267 PyObject
* obj3
= 0 ;
27268 PyObject
* obj4
= 0 ;
27269 char *kwnames
[] = {
27270 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27276 arg2
= (double) SWIG_AsDouble(obj1
);
27277 if (PyErr_Occurred()) SWIG_fail
;
27278 arg3
= (double) SWIG_AsDouble(obj2
);
27279 if (PyErr_Occurred()) SWIG_fail
;
27281 arg4
= (int) SWIG_AsInt(obj3
);
27282 if (PyErr_Occurred()) SWIG_fail
;
27285 arg5
= (int) SWIG_AsInt(obj4
);
27286 if (PyErr_Occurred()) SWIG_fail
;
27289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27290 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
27292 wxPyEndAllowThreads(__tstate
);
27293 if (PyErr_Occurred()) SWIG_fail
;
27295 Py_INCREF(Py_None
); resultobj
= Py_None
;
27302 static PyObject
*_wrap_PyLineShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27303 PyObject
*resultobj
;
27304 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27307 PyObject
* obj0
= 0 ;
27308 PyObject
* obj1
= 0 ;
27309 PyObject
* obj2
= 0 ;
27310 char *kwnames
[] = {
27311 (char *) "self",(char *) "x",(char *) "y", NULL
27314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27317 arg2
= (double) SWIG_AsDouble(obj1
);
27318 if (PyErr_Occurred()) SWIG_fail
;
27319 arg3
= (double) SWIG_AsDouble(obj2
);
27320 if (PyErr_Occurred()) SWIG_fail
;
27322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27323 (arg1
)->base_OnSize(arg2
,arg3
);
27325 wxPyEndAllowThreads(__tstate
);
27326 if (PyErr_Occurred()) SWIG_fail
;
27328 Py_INCREF(Py_None
); resultobj
= Py_None
;
27335 static PyObject
*_wrap_PyLineShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27336 PyObject
*resultobj
;
27337 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27343 bool arg7
= (bool) True
;
27345 PyObject
* obj0
= 0 ;
27346 PyObject
* obj1
= 0 ;
27347 PyObject
* obj2
= 0 ;
27348 PyObject
* obj3
= 0 ;
27349 PyObject
* obj4
= 0 ;
27350 PyObject
* obj5
= 0 ;
27351 PyObject
* obj6
= 0 ;
27352 char *kwnames
[] = {
27353 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
27356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyLineShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27359 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27360 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27362 if (arg2
== NULL
) {
27363 PyErr_SetString(PyExc_TypeError
,"null reference");
27366 arg3
= (double) SWIG_AsDouble(obj2
);
27367 if (PyErr_Occurred()) SWIG_fail
;
27368 arg4
= (double) SWIG_AsDouble(obj3
);
27369 if (PyErr_Occurred()) SWIG_fail
;
27370 arg5
= (double) SWIG_AsDouble(obj4
);
27371 if (PyErr_Occurred()) SWIG_fail
;
27372 arg6
= (double) SWIG_AsDouble(obj5
);
27373 if (PyErr_Occurred()) SWIG_fail
;
27375 arg7
= (bool) SWIG_AsBool(obj6
);
27376 if (PyErr_Occurred()) SWIG_fail
;
27379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27380 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27382 wxPyEndAllowThreads(__tstate
);
27383 if (PyErr_Occurred()) SWIG_fail
;
27386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27394 static PyObject
*_wrap_PyLineShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27395 PyObject
*resultobj
;
27396 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27402 bool arg7
= (bool) True
;
27403 PyObject
* obj0
= 0 ;
27404 PyObject
* obj1
= 0 ;
27405 PyObject
* obj2
= 0 ;
27406 PyObject
* obj3
= 0 ;
27407 PyObject
* obj4
= 0 ;
27408 PyObject
* obj5
= 0 ;
27409 PyObject
* obj6
= 0 ;
27410 char *kwnames
[] = {
27411 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
27414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyLineShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27417 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27418 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27420 if (arg2
== NULL
) {
27421 PyErr_SetString(PyExc_TypeError
,"null reference");
27424 arg3
= (double) SWIG_AsDouble(obj2
);
27425 if (PyErr_Occurred()) SWIG_fail
;
27426 arg4
= (double) SWIG_AsDouble(obj3
);
27427 if (PyErr_Occurred()) SWIG_fail
;
27428 arg5
= (double) SWIG_AsDouble(obj4
);
27429 if (PyErr_Occurred()) SWIG_fail
;
27430 arg6
= (double) SWIG_AsDouble(obj5
);
27431 if (PyErr_Occurred()) SWIG_fail
;
27433 arg7
= (bool) SWIG_AsBool(obj6
);
27434 if (PyErr_Occurred()) SWIG_fail
;
27437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27438 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27440 wxPyEndAllowThreads(__tstate
);
27441 if (PyErr_Occurred()) SWIG_fail
;
27443 Py_INCREF(Py_None
); resultobj
= Py_None
;
27450 static PyObject
*_wrap_PyLineShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27451 PyObject
*resultobj
;
27452 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27456 int arg5
= (int) 0 ;
27457 int arg6
= (int) 0 ;
27458 PyObject
* obj0
= 0 ;
27459 PyObject
* obj1
= 0 ;
27460 PyObject
* obj2
= 0 ;
27461 PyObject
* obj3
= 0 ;
27462 PyObject
* obj4
= 0 ;
27463 PyObject
* obj5
= 0 ;
27464 char *kwnames
[] = {
27465 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyLineShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27471 arg2
= (bool) SWIG_AsBool(obj1
);
27472 if (PyErr_Occurred()) SWIG_fail
;
27473 arg3
= (double) SWIG_AsDouble(obj2
);
27474 if (PyErr_Occurred()) SWIG_fail
;
27475 arg4
= (double) SWIG_AsDouble(obj3
);
27476 if (PyErr_Occurred()) SWIG_fail
;
27478 arg5
= (int) SWIG_AsInt(obj4
);
27479 if (PyErr_Occurred()) SWIG_fail
;
27482 arg6
= (int) SWIG_AsInt(obj5
);
27483 if (PyErr_Occurred()) SWIG_fail
;
27486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27487 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
27489 wxPyEndAllowThreads(__tstate
);
27490 if (PyErr_Occurred()) SWIG_fail
;
27492 Py_INCREF(Py_None
); resultobj
= Py_None
;
27499 static PyObject
*_wrap_PyLineShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27500 PyObject
*resultobj
;
27501 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27504 int arg4
= (int) 0 ;
27505 int arg5
= (int) 0 ;
27506 PyObject
* obj0
= 0 ;
27507 PyObject
* obj1
= 0 ;
27508 PyObject
* obj2
= 0 ;
27509 PyObject
* obj3
= 0 ;
27510 PyObject
* obj4
= 0 ;
27511 char *kwnames
[] = {
27512 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27518 arg2
= (double) SWIG_AsDouble(obj1
);
27519 if (PyErr_Occurred()) SWIG_fail
;
27520 arg3
= (double) SWIG_AsDouble(obj2
);
27521 if (PyErr_Occurred()) SWIG_fail
;
27523 arg4
= (int) SWIG_AsInt(obj3
);
27524 if (PyErr_Occurred()) SWIG_fail
;
27527 arg5
= (int) SWIG_AsInt(obj4
);
27528 if (PyErr_Occurred()) SWIG_fail
;
27531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27532 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
27534 wxPyEndAllowThreads(__tstate
);
27535 if (PyErr_Occurred()) SWIG_fail
;
27537 Py_INCREF(Py_None
); resultobj
= Py_None
;
27544 static PyObject
*_wrap_PyLineShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27545 PyObject
*resultobj
;
27546 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27549 int arg4
= (int) 0 ;
27550 int arg5
= (int) 0 ;
27551 PyObject
* obj0
= 0 ;
27552 PyObject
* obj1
= 0 ;
27553 PyObject
* obj2
= 0 ;
27554 PyObject
* obj3
= 0 ;
27555 PyObject
* obj4
= 0 ;
27556 char *kwnames
[] = {
27557 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27563 arg2
= (double) SWIG_AsDouble(obj1
);
27564 if (PyErr_Occurred()) SWIG_fail
;
27565 arg3
= (double) SWIG_AsDouble(obj2
);
27566 if (PyErr_Occurred()) SWIG_fail
;
27568 arg4
= (int) SWIG_AsInt(obj3
);
27569 if (PyErr_Occurred()) SWIG_fail
;
27572 arg5
= (int) SWIG_AsInt(obj4
);
27573 if (PyErr_Occurred()) SWIG_fail
;
27576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27577 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
27579 wxPyEndAllowThreads(__tstate
);
27580 if (PyErr_Occurred()) SWIG_fail
;
27582 Py_INCREF(Py_None
); resultobj
= Py_None
;
27589 static PyObject
*_wrap_PyLineShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27590 PyObject
*resultobj
;
27591 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27595 int arg5
= (int) 0 ;
27596 int arg6
= (int) 0 ;
27597 PyObject
* obj0
= 0 ;
27598 PyObject
* obj1
= 0 ;
27599 PyObject
* obj2
= 0 ;
27600 PyObject
* obj3
= 0 ;
27601 PyObject
* obj4
= 0 ;
27602 PyObject
* obj5
= 0 ;
27603 char *kwnames
[] = {
27604 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyLineShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27610 arg2
= (bool) SWIG_AsBool(obj1
);
27611 if (PyErr_Occurred()) SWIG_fail
;
27612 arg3
= (double) SWIG_AsDouble(obj2
);
27613 if (PyErr_Occurred()) SWIG_fail
;
27614 arg4
= (double) SWIG_AsDouble(obj3
);
27615 if (PyErr_Occurred()) SWIG_fail
;
27617 arg5
= (int) SWIG_AsInt(obj4
);
27618 if (PyErr_Occurred()) SWIG_fail
;
27621 arg6
= (int) SWIG_AsInt(obj5
);
27622 if (PyErr_Occurred()) SWIG_fail
;
27625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27626 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
27628 wxPyEndAllowThreads(__tstate
);
27629 if (PyErr_Occurred()) SWIG_fail
;
27631 Py_INCREF(Py_None
); resultobj
= Py_None
;
27638 static PyObject
*_wrap_PyLineShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27639 PyObject
*resultobj
;
27640 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27643 int arg4
= (int) 0 ;
27644 int arg5
= (int) 0 ;
27645 PyObject
* obj0
= 0 ;
27646 PyObject
* obj1
= 0 ;
27647 PyObject
* obj2
= 0 ;
27648 PyObject
* obj3
= 0 ;
27649 PyObject
* obj4
= 0 ;
27650 char *kwnames
[] = {
27651 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27657 arg2
= (double) SWIG_AsDouble(obj1
);
27658 if (PyErr_Occurred()) SWIG_fail
;
27659 arg3
= (double) SWIG_AsDouble(obj2
);
27660 if (PyErr_Occurred()) SWIG_fail
;
27662 arg4
= (int) SWIG_AsInt(obj3
);
27663 if (PyErr_Occurred()) SWIG_fail
;
27666 arg5
= (int) SWIG_AsInt(obj4
);
27667 if (PyErr_Occurred()) SWIG_fail
;
27670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27671 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
27673 wxPyEndAllowThreads(__tstate
);
27674 if (PyErr_Occurred()) SWIG_fail
;
27676 Py_INCREF(Py_None
); resultobj
= Py_None
;
27683 static PyObject
*_wrap_PyLineShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27684 PyObject
*resultobj
;
27685 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27688 int arg4
= (int) 0 ;
27689 int arg5
= (int) 0 ;
27690 PyObject
* obj0
= 0 ;
27691 PyObject
* obj1
= 0 ;
27692 PyObject
* obj2
= 0 ;
27693 PyObject
* obj3
= 0 ;
27694 PyObject
* obj4
= 0 ;
27695 char *kwnames
[] = {
27696 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27702 arg2
= (double) SWIG_AsDouble(obj1
);
27703 if (PyErr_Occurred()) SWIG_fail
;
27704 arg3
= (double) SWIG_AsDouble(obj2
);
27705 if (PyErr_Occurred()) SWIG_fail
;
27707 arg4
= (int) SWIG_AsInt(obj3
);
27708 if (PyErr_Occurred()) SWIG_fail
;
27711 arg5
= (int) SWIG_AsInt(obj4
);
27712 if (PyErr_Occurred()) SWIG_fail
;
27715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27716 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
27718 wxPyEndAllowThreads(__tstate
);
27719 if (PyErr_Occurred()) SWIG_fail
;
27721 Py_INCREF(Py_None
); resultobj
= Py_None
;
27728 static PyObject
*_wrap_PyLineShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27729 PyObject
*resultobj
;
27730 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27736 PyObject
* obj0
= 0 ;
27737 PyObject
* obj1
= 0 ;
27738 PyObject
* obj2
= 0 ;
27739 PyObject
* obj3
= 0 ;
27740 PyObject
* obj4
= 0 ;
27741 PyObject
* obj5
= 0 ;
27742 char *kwnames
[] = {
27743 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyLineShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27749 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27750 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27752 if (arg2
== NULL
) {
27753 PyErr_SetString(PyExc_TypeError
,"null reference");
27756 arg3
= (double) SWIG_AsDouble(obj2
);
27757 if (PyErr_Occurred()) SWIG_fail
;
27758 arg4
= (double) SWIG_AsDouble(obj3
);
27759 if (PyErr_Occurred()) SWIG_fail
;
27760 arg5
= (double) SWIG_AsDouble(obj4
);
27761 if (PyErr_Occurred()) SWIG_fail
;
27762 arg6
= (double) SWIG_AsDouble(obj5
);
27763 if (PyErr_Occurred()) SWIG_fail
;
27765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27766 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
27768 wxPyEndAllowThreads(__tstate
);
27769 if (PyErr_Occurred()) SWIG_fail
;
27771 Py_INCREF(Py_None
); resultobj
= Py_None
;
27778 static PyObject
*_wrap_PyLineShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27779 PyObject
*resultobj
;
27780 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27782 PyObject
* obj0
= 0 ;
27783 PyObject
* obj1
= 0 ;
27784 char *kwnames
[] = {
27785 (char *) "self",(char *) "dc", NULL
27788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
27789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27791 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27792 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27794 if (arg2
== NULL
) {
27795 PyErr_SetString(PyExc_TypeError
,"null reference");
27799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27800 (arg1
)->base_OnDrawControlPoints(*arg2
);
27802 wxPyEndAllowThreads(__tstate
);
27803 if (PyErr_Occurred()) SWIG_fail
;
27805 Py_INCREF(Py_None
); resultobj
= Py_None
;
27812 static PyObject
*_wrap_PyLineShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27813 PyObject
*resultobj
;
27814 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27816 PyObject
* obj0
= 0 ;
27817 PyObject
* obj1
= 0 ;
27818 char *kwnames
[] = {
27819 (char *) "self",(char *) "dc", NULL
27822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
27823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27825 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27826 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27828 if (arg2
== NULL
) {
27829 PyErr_SetString(PyExc_TypeError
,"null reference");
27833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27834 (arg1
)->base_OnEraseControlPoints(*arg2
);
27836 wxPyEndAllowThreads(__tstate
);
27837 if (PyErr_Occurred()) SWIG_fail
;
27839 Py_INCREF(Py_None
); resultobj
= Py_None
;
27846 static PyObject
*_wrap_PyLineShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27847 PyObject
*resultobj
;
27848 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27850 bool arg3
= (bool) True
;
27851 PyObject
* obj0
= 0 ;
27852 PyObject
* obj1
= 0 ;
27853 PyObject
* obj2
= 0 ;
27854 char *kwnames
[] = {
27855 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
27858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLineShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27861 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27862 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27864 if (arg2
== NULL
) {
27865 PyErr_SetString(PyExc_TypeError
,"null reference");
27869 arg3
= (bool) SWIG_AsBool(obj2
);
27870 if (PyErr_Occurred()) SWIG_fail
;
27873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27874 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
27876 wxPyEndAllowThreads(__tstate
);
27877 if (PyErr_Occurred()) SWIG_fail
;
27879 Py_INCREF(Py_None
); resultobj
= Py_None
;
27886 static PyObject
*_wrap_PyLineShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27887 PyObject
*resultobj
;
27888 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27889 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
27893 int arg6
= (int) 0 ;
27894 int arg7
= (int) 0 ;
27895 PyObject
* obj0
= 0 ;
27896 PyObject
* obj1
= 0 ;
27897 PyObject
* obj2
= 0 ;
27898 PyObject
* obj3
= 0 ;
27899 PyObject
* obj4
= 0 ;
27900 PyObject
* obj5
= 0 ;
27901 PyObject
* obj6
= 0 ;
27902 char *kwnames
[] = {
27903 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyLineShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27909 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
27910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27911 arg3
= (bool) SWIG_AsBool(obj2
);
27912 if (PyErr_Occurred()) SWIG_fail
;
27913 arg4
= (double) SWIG_AsDouble(obj3
);
27914 if (PyErr_Occurred()) SWIG_fail
;
27915 arg5
= (double) SWIG_AsDouble(obj4
);
27916 if (PyErr_Occurred()) SWIG_fail
;
27918 arg6
= (int) SWIG_AsInt(obj5
);
27919 if (PyErr_Occurred()) SWIG_fail
;
27922 arg7
= (int) SWIG_AsInt(obj6
);
27923 if (PyErr_Occurred()) SWIG_fail
;
27926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27927 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27929 wxPyEndAllowThreads(__tstate
);
27930 if (PyErr_Occurred()) SWIG_fail
;
27932 Py_INCREF(Py_None
); resultobj
= Py_None
;
27939 static PyObject
*_wrap_PyLineShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27940 PyObject
*resultobj
;
27941 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27942 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
27945 int arg5
= (int) 0 ;
27946 int arg6
= (int) 0 ;
27947 PyObject
* obj0
= 0 ;
27948 PyObject
* obj1
= 0 ;
27949 PyObject
* obj2
= 0 ;
27950 PyObject
* obj3
= 0 ;
27951 PyObject
* obj4
= 0 ;
27952 PyObject
* obj5
= 0 ;
27953 char *kwnames
[] = {
27954 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyLineShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27960 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
27961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27962 arg3
= (double) SWIG_AsDouble(obj2
);
27963 if (PyErr_Occurred()) SWIG_fail
;
27964 arg4
= (double) SWIG_AsDouble(obj3
);
27965 if (PyErr_Occurred()) SWIG_fail
;
27967 arg5
= (int) SWIG_AsInt(obj4
);
27968 if (PyErr_Occurred()) SWIG_fail
;
27971 arg6
= (int) SWIG_AsInt(obj5
);
27972 if (PyErr_Occurred()) SWIG_fail
;
27975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27976 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
27978 wxPyEndAllowThreads(__tstate
);
27979 if (PyErr_Occurred()) SWIG_fail
;
27981 Py_INCREF(Py_None
); resultobj
= Py_None
;
27988 static PyObject
*_wrap_PyLineShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27989 PyObject
*resultobj
;
27990 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27991 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
27994 int arg5
= (int) 0 ;
27995 int arg6
= (int) 0 ;
27996 PyObject
* obj0
= 0 ;
27997 PyObject
* obj1
= 0 ;
27998 PyObject
* obj2
= 0 ;
27999 PyObject
* obj3
= 0 ;
28000 PyObject
* obj4
= 0 ;
28001 PyObject
* obj5
= 0 ;
28002 char *kwnames
[] = {
28003 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyLineShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
28008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28009 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
28010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28011 arg3
= (double) SWIG_AsDouble(obj2
);
28012 if (PyErr_Occurred()) SWIG_fail
;
28013 arg4
= (double) SWIG_AsDouble(obj3
);
28014 if (PyErr_Occurred()) SWIG_fail
;
28016 arg5
= (int) SWIG_AsInt(obj4
);
28017 if (PyErr_Occurred()) SWIG_fail
;
28020 arg6
= (int) SWIG_AsInt(obj5
);
28021 if (PyErr_Occurred()) SWIG_fail
;
28024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28025 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
28027 wxPyEndAllowThreads(__tstate
);
28028 if (PyErr_Occurred()) SWIG_fail
;
28030 Py_INCREF(Py_None
); resultobj
= Py_None
;
28037 static PyObject
*_wrap_PyLineShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28038 PyObject
*resultobj
;
28039 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
28042 PyObject
* obj0
= 0 ;
28043 PyObject
* obj1
= 0 ;
28044 PyObject
* obj2
= 0 ;
28045 char *kwnames
[] = {
28046 (char *) "self",(char *) "w",(char *) "h", NULL
28049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
28051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28052 arg2
= (double) SWIG_AsDouble(obj1
);
28053 if (PyErr_Occurred()) SWIG_fail
;
28054 arg3
= (double) SWIG_AsDouble(obj2
);
28055 if (PyErr_Occurred()) SWIG_fail
;
28057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28058 (arg1
)->base_OnBeginSize(arg2
,arg3
);
28060 wxPyEndAllowThreads(__tstate
);
28061 if (PyErr_Occurred()) SWIG_fail
;
28063 Py_INCREF(Py_None
); resultobj
= Py_None
;
28070 static PyObject
*_wrap_PyLineShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28071 PyObject
*resultobj
;
28072 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
28075 PyObject
* obj0
= 0 ;
28076 PyObject
* obj1
= 0 ;
28077 PyObject
* obj2
= 0 ;
28078 char *kwnames
[] = {
28079 (char *) "self",(char *) "w",(char *) "h", NULL
28082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
28084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28085 arg2
= (double) SWIG_AsDouble(obj1
);
28086 if (PyErr_Occurred()) SWIG_fail
;
28087 arg3
= (double) SWIG_AsDouble(obj2
);
28088 if (PyErr_Occurred()) SWIG_fail
;
28090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28091 (arg1
)->base_OnEndSize(arg2
,arg3
);
28093 wxPyEndAllowThreads(__tstate
);
28094 if (PyErr_Occurred()) SWIG_fail
;
28096 Py_INCREF(Py_None
); resultobj
= Py_None
;
28103 static PyObject
* PyLineShape_swigregister(PyObject
*self
, PyObject
*args
) {
28105 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28106 SWIG_TypeClientData(SWIGTYPE_p_wxPyLineShape
, obj
);
28108 return Py_BuildValue((char *)"");
28110 static PyObject
*_wrap_new_PyPolygonShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28111 PyObject
*resultobj
;
28112 wxPyPolygonShape
*result
;
28113 char *kwnames
[] = {
28117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyPolygonShape",kwnames
)) goto fail
;
28119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28120 result
= (wxPyPolygonShape
*)new wxPyPolygonShape();
28122 wxPyEndAllowThreads(__tstate
);
28123 if (PyErr_Occurred()) SWIG_fail
;
28125 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPolygonShape
, 1);
28132 static PyObject
*_wrap_PyPolygonShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28133 PyObject
*resultobj
;
28134 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28135 PyObject
*arg2
= (PyObject
*) 0 ;
28136 PyObject
*arg3
= (PyObject
*) 0 ;
28137 PyObject
* obj0
= 0 ;
28138 PyObject
* obj1
= 0 ;
28139 PyObject
* obj2
= 0 ;
28140 char *kwnames
[] = {
28141 (char *) "self",(char *) "self",(char *) "_class", NULL
28144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPolygonShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28151 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28153 wxPyEndAllowThreads(__tstate
);
28154 if (PyErr_Occurred()) SWIG_fail
;
28156 Py_INCREF(Py_None
); resultobj
= Py_None
;
28163 static PyObject
*_wrap_PyPolygonShape_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28164 PyObject
*resultobj
;
28165 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28166 PyObject
*arg2
= (PyObject
*) 0 ;
28168 PyObject
* obj0
= 0 ;
28169 PyObject
* obj1
= 0 ;
28170 char *kwnames
[] = {
28171 (char *) "self",(char *) "points", NULL
28174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
28175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28180 result
= (PyObject
*)wxPyPolygonShape_Create(arg1
,arg2
);
28182 wxPyEndAllowThreads(__tstate
);
28183 if (PyErr_Occurred()) SWIG_fail
;
28185 resultobj
= result
;
28192 static PyObject
*_wrap_PyPolygonShape_AddPolygonPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28193 PyObject
*resultobj
;
28194 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28195 int arg2
= (int) 0 ;
28196 PyObject
* obj0
= 0 ;
28197 PyObject
* obj1
= 0 ;
28198 char *kwnames
[] = {
28199 (char *) "self",(char *) "pos", NULL
28202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyPolygonShape_AddPolygonPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
28203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28206 arg2
= (int) SWIG_AsInt(obj1
);
28207 if (PyErr_Occurred()) SWIG_fail
;
28210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28211 (arg1
)->AddPolygonPoint(arg2
);
28213 wxPyEndAllowThreads(__tstate
);
28214 if (PyErr_Occurred()) SWIG_fail
;
28216 Py_INCREF(Py_None
); resultobj
= Py_None
;
28223 static PyObject
*_wrap_PyPolygonShape_CalculatePolygonCentre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28224 PyObject
*resultobj
;
28225 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28226 PyObject
* obj0
= 0 ;
28227 char *kwnames
[] = {
28228 (char *) "self", NULL
28231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_CalculatePolygonCentre",kwnames
,&obj0
)) goto fail
;
28232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28236 (arg1
)->CalculatePolygonCentre();
28238 wxPyEndAllowThreads(__tstate
);
28239 if (PyErr_Occurred()) SWIG_fail
;
28241 Py_INCREF(Py_None
); resultobj
= Py_None
;
28248 static PyObject
*_wrap_PyPolygonShape_DeletePolygonPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28249 PyObject
*resultobj
;
28250 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28251 int arg2
= (int) 0 ;
28252 PyObject
* obj0
= 0 ;
28253 PyObject
* obj1
= 0 ;
28254 char *kwnames
[] = {
28255 (char *) "self",(char *) "pos", NULL
28258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyPolygonShape_DeletePolygonPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
28259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28262 arg2
= (int) SWIG_AsInt(obj1
);
28263 if (PyErr_Occurred()) SWIG_fail
;
28266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28267 (arg1
)->DeletePolygonPoint(arg2
);
28269 wxPyEndAllowThreads(__tstate
);
28270 if (PyErr_Occurred()) SWIG_fail
;
28272 Py_INCREF(Py_None
); resultobj
= Py_None
;
28279 static PyObject
*_wrap_PyPolygonShape_GetPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28280 PyObject
*resultobj
;
28281 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28283 PyObject
* obj0
= 0 ;
28284 char *kwnames
[] = {
28285 (char *) "self", NULL
28288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_GetPoints",kwnames
,&obj0
)) goto fail
;
28289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28293 result
= (PyObject
*)wxPyPolygonShape_GetPoints(arg1
);
28295 wxPyEndAllowThreads(__tstate
);
28296 if (PyErr_Occurred()) SWIG_fail
;
28298 resultobj
= result
;
28305 static PyObject
*_wrap_PyPolygonShape_GetOriginalPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28306 PyObject
*resultobj
;
28307 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28309 PyObject
* obj0
= 0 ;
28310 char *kwnames
[] = {
28311 (char *) "self", NULL
28314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_GetOriginalPoints",kwnames
,&obj0
)) goto fail
;
28315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28319 result
= (PyObject
*)wxPyPolygonShape_GetOriginalPoints(arg1
);
28321 wxPyEndAllowThreads(__tstate
);
28322 if (PyErr_Occurred()) SWIG_fail
;
28324 resultobj
= result
;
28331 static PyObject
*_wrap_PyPolygonShape_GetOriginalWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28332 PyObject
*resultobj
;
28333 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28335 PyObject
* obj0
= 0 ;
28336 char *kwnames
[] = {
28337 (char *) "self", NULL
28340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_GetOriginalWidth",kwnames
,&obj0
)) goto fail
;
28341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28345 result
= (double)((wxPyPolygonShape
const *)arg1
)->GetOriginalWidth();
28347 wxPyEndAllowThreads(__tstate
);
28348 if (PyErr_Occurred()) SWIG_fail
;
28350 resultobj
= SWIG_FromDouble((double)result
);
28357 static PyObject
*_wrap_PyPolygonShape_GetOriginalHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28358 PyObject
*resultobj
;
28359 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28361 PyObject
* obj0
= 0 ;
28362 char *kwnames
[] = {
28363 (char *) "self", NULL
28366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_GetOriginalHeight",kwnames
,&obj0
)) goto fail
;
28367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28371 result
= (double)((wxPyPolygonShape
const *)arg1
)->GetOriginalHeight();
28373 wxPyEndAllowThreads(__tstate
);
28374 if (PyErr_Occurred()) SWIG_fail
;
28376 resultobj
= SWIG_FromDouble((double)result
);
28383 static PyObject
*_wrap_PyPolygonShape_SetOriginalWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28384 PyObject
*resultobj
;
28385 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28387 PyObject
* obj0
= 0 ;
28388 PyObject
* obj1
= 0 ;
28389 char *kwnames
[] = {
28390 (char *) "self",(char *) "w", NULL
28393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_SetOriginalWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
28394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28396 arg2
= (double) SWIG_AsDouble(obj1
);
28397 if (PyErr_Occurred()) SWIG_fail
;
28399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28400 (arg1
)->SetOriginalWidth(arg2
);
28402 wxPyEndAllowThreads(__tstate
);
28403 if (PyErr_Occurred()) SWIG_fail
;
28405 Py_INCREF(Py_None
); resultobj
= Py_None
;
28412 static PyObject
*_wrap_PyPolygonShape_SetOriginalHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28413 PyObject
*resultobj
;
28414 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28416 PyObject
* obj0
= 0 ;
28417 PyObject
* obj1
= 0 ;
28418 char *kwnames
[] = {
28419 (char *) "self",(char *) "h", NULL
28422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_SetOriginalHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
28423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28425 arg2
= (double) SWIG_AsDouble(obj1
);
28426 if (PyErr_Occurred()) SWIG_fail
;
28428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28429 (arg1
)->SetOriginalHeight(arg2
);
28431 wxPyEndAllowThreads(__tstate
);
28432 if (PyErr_Occurred()) SWIG_fail
;
28434 Py_INCREF(Py_None
); resultobj
= Py_None
;
28441 static PyObject
*_wrap_PyPolygonShape_UpdateOriginalPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28442 PyObject
*resultobj
;
28443 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28444 PyObject
* obj0
= 0 ;
28445 char *kwnames
[] = {
28446 (char *) "self", NULL
28449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_UpdateOriginalPoints",kwnames
,&obj0
)) goto fail
;
28450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28454 (arg1
)->UpdateOriginalPoints();
28456 wxPyEndAllowThreads(__tstate
);
28457 if (PyErr_Occurred()) SWIG_fail
;
28459 Py_INCREF(Py_None
); resultobj
= Py_None
;
28466 static PyObject
*_wrap_PyPolygonShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28467 PyObject
*resultobj
;
28468 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28470 PyObject
* obj0
= 0 ;
28471 PyObject
* obj1
= 0 ;
28472 char *kwnames
[] = {
28473 (char *) "self",(char *) "dc", NULL
28476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
28477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28479 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
28480 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28482 if (arg2
== NULL
) {
28483 PyErr_SetString(PyExc_TypeError
,"null reference");
28487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28488 (arg1
)->base_OnDraw(*arg2
);
28490 wxPyEndAllowThreads(__tstate
);
28491 if (PyErr_Occurred()) SWIG_fail
;
28493 Py_INCREF(Py_None
); resultobj
= Py_None
;
28500 static PyObject
*_wrap_PyPolygonShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28501 PyObject
*resultobj
;
28502 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28504 PyObject
* obj0
= 0 ;
28505 PyObject
* obj1
= 0 ;
28506 char *kwnames
[] = {
28507 (char *) "self",(char *) "dc", NULL
28510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
28511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28513 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
28514 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28516 if (arg2
== NULL
) {
28517 PyErr_SetString(PyExc_TypeError
,"null reference");
28521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28522 (arg1
)->base_OnDrawContents(*arg2
);
28524 wxPyEndAllowThreads(__tstate
);
28525 if (PyErr_Occurred()) SWIG_fail
;
28527 Py_INCREF(Py_None
); resultobj
= Py_None
;
28534 static PyObject
*_wrap_PyPolygonShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28535 PyObject
*resultobj
;
28536 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28538 bool arg3
= (bool) FALSE
;
28539 PyObject
* obj0
= 0 ;
28540 PyObject
* obj1
= 0 ;
28541 PyObject
* obj2
= 0 ;
28542 char *kwnames
[] = {
28543 (char *) "self",(char *) "dc",(char *) "erase", NULL
28546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyPolygonShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28549 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
28550 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28552 if (arg2
== NULL
) {
28553 PyErr_SetString(PyExc_TypeError
,"null reference");
28557 arg3
= (bool) SWIG_AsBool(obj2
);
28558 if (PyErr_Occurred()) SWIG_fail
;
28561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28562 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
28564 wxPyEndAllowThreads(__tstate
);
28565 if (PyErr_Occurred()) SWIG_fail
;
28567 Py_INCREF(Py_None
); resultobj
= Py_None
;
28574 static PyObject
*_wrap_PyPolygonShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28575 PyObject
*resultobj
;
28576 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28578 PyObject
* obj0
= 0 ;
28579 PyObject
* obj1
= 0 ;
28580 char *kwnames
[] = {
28581 (char *) "self",(char *) "dc", NULL
28584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
28585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28587 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
28588 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28590 if (arg2
== NULL
) {
28591 PyErr_SetString(PyExc_TypeError
,"null reference");
28595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28596 (arg1
)->base_OnMoveLinks(*arg2
);
28598 wxPyEndAllowThreads(__tstate
);
28599 if (PyErr_Occurred()) SWIG_fail
;
28601 Py_INCREF(Py_None
); resultobj
= Py_None
;
28608 static PyObject
*_wrap_PyPolygonShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28609 PyObject
*resultobj
;
28610 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28612 PyObject
* obj0
= 0 ;
28613 PyObject
* obj1
= 0 ;
28614 char *kwnames
[] = {
28615 (char *) "self",(char *) "dc", NULL
28618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
28619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28621 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
28622 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28624 if (arg2
== NULL
) {
28625 PyErr_SetString(PyExc_TypeError
,"null reference");
28629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28630 (arg1
)->base_OnErase(*arg2
);
28632 wxPyEndAllowThreads(__tstate
);
28633 if (PyErr_Occurred()) SWIG_fail
;
28635 Py_INCREF(Py_None
); resultobj
= Py_None
;
28642 static PyObject
*_wrap_PyPolygonShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28643 PyObject
*resultobj
;
28644 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28646 PyObject
* obj0
= 0 ;
28647 PyObject
* obj1
= 0 ;
28648 char *kwnames
[] = {
28649 (char *) "self",(char *) "dc", NULL
28652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
28653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28655 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
28656 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28658 if (arg2
== NULL
) {
28659 PyErr_SetString(PyExc_TypeError
,"null reference");
28663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28664 (arg1
)->base_OnEraseContents(*arg2
);
28666 wxPyEndAllowThreads(__tstate
);
28667 if (PyErr_Occurred()) SWIG_fail
;
28669 Py_INCREF(Py_None
); resultobj
= Py_None
;
28676 static PyObject
*_wrap_PyPolygonShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28677 PyObject
*resultobj
;
28678 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28680 PyObject
* obj0
= 0 ;
28681 PyObject
* obj1
= 0 ;
28682 char *kwnames
[] = {
28683 (char *) "self",(char *) "dc", NULL
28686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
28687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28689 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
28690 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28692 if (arg2
== NULL
) {
28693 PyErr_SetString(PyExc_TypeError
,"null reference");
28697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28698 (arg1
)->base_OnHighlight(*arg2
);
28700 wxPyEndAllowThreads(__tstate
);
28701 if (PyErr_Occurred()) SWIG_fail
;
28703 Py_INCREF(Py_None
); resultobj
= Py_None
;
28710 static PyObject
*_wrap_PyPolygonShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28711 PyObject
*resultobj
;
28712 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28715 int arg4
= (int) 0 ;
28716 int arg5
= (int) 0 ;
28717 PyObject
* obj0
= 0 ;
28718 PyObject
* obj1
= 0 ;
28719 PyObject
* obj2
= 0 ;
28720 PyObject
* obj3
= 0 ;
28721 PyObject
* obj4
= 0 ;
28722 char *kwnames
[] = {
28723 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28729 arg2
= (double) SWIG_AsDouble(obj1
);
28730 if (PyErr_Occurred()) SWIG_fail
;
28731 arg3
= (double) SWIG_AsDouble(obj2
);
28732 if (PyErr_Occurred()) SWIG_fail
;
28734 arg4
= (int) SWIG_AsInt(obj3
);
28735 if (PyErr_Occurred()) SWIG_fail
;
28738 arg5
= (int) SWIG_AsInt(obj4
);
28739 if (PyErr_Occurred()) SWIG_fail
;
28742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28743 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
28745 wxPyEndAllowThreads(__tstate
);
28746 if (PyErr_Occurred()) SWIG_fail
;
28748 Py_INCREF(Py_None
); resultobj
= Py_None
;
28755 static PyObject
*_wrap_PyPolygonShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28756 PyObject
*resultobj
;
28757 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28760 int arg4
= (int) 0 ;
28761 int arg5
= (int) 0 ;
28762 PyObject
* obj0
= 0 ;
28763 PyObject
* obj1
= 0 ;
28764 PyObject
* obj2
= 0 ;
28765 PyObject
* obj3
= 0 ;
28766 PyObject
* obj4
= 0 ;
28767 char *kwnames
[] = {
28768 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28774 arg2
= (double) SWIG_AsDouble(obj1
);
28775 if (PyErr_Occurred()) SWIG_fail
;
28776 arg3
= (double) SWIG_AsDouble(obj2
);
28777 if (PyErr_Occurred()) SWIG_fail
;
28779 arg4
= (int) SWIG_AsInt(obj3
);
28780 if (PyErr_Occurred()) SWIG_fail
;
28783 arg5
= (int) SWIG_AsInt(obj4
);
28784 if (PyErr_Occurred()) SWIG_fail
;
28787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28788 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
28790 wxPyEndAllowThreads(__tstate
);
28791 if (PyErr_Occurred()) SWIG_fail
;
28793 Py_INCREF(Py_None
); resultobj
= Py_None
;
28800 static PyObject
*_wrap_PyPolygonShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28801 PyObject
*resultobj
;
28802 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28805 int arg4
= (int) 0 ;
28806 int arg5
= (int) 0 ;
28807 PyObject
* obj0
= 0 ;
28808 PyObject
* obj1
= 0 ;
28809 PyObject
* obj2
= 0 ;
28810 PyObject
* obj3
= 0 ;
28811 PyObject
* obj4
= 0 ;
28812 char *kwnames
[] = {
28813 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28819 arg2
= (double) SWIG_AsDouble(obj1
);
28820 if (PyErr_Occurred()) SWIG_fail
;
28821 arg3
= (double) SWIG_AsDouble(obj2
);
28822 if (PyErr_Occurred()) SWIG_fail
;
28824 arg4
= (int) SWIG_AsInt(obj3
);
28825 if (PyErr_Occurred()) SWIG_fail
;
28828 arg5
= (int) SWIG_AsInt(obj4
);
28829 if (PyErr_Occurred()) SWIG_fail
;
28832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28833 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
28835 wxPyEndAllowThreads(__tstate
);
28836 if (PyErr_Occurred()) SWIG_fail
;
28838 Py_INCREF(Py_None
); resultobj
= Py_None
;
28845 static PyObject
*_wrap_PyPolygonShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28846 PyObject
*resultobj
;
28847 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28850 PyObject
* obj0
= 0 ;
28851 PyObject
* obj1
= 0 ;
28852 PyObject
* obj2
= 0 ;
28853 char *kwnames
[] = {
28854 (char *) "self",(char *) "x",(char *) "y", NULL
28857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPolygonShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28860 arg2
= (double) SWIG_AsDouble(obj1
);
28861 if (PyErr_Occurred()) SWIG_fail
;
28862 arg3
= (double) SWIG_AsDouble(obj2
);
28863 if (PyErr_Occurred()) SWIG_fail
;
28865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28866 (arg1
)->base_OnSize(arg2
,arg3
);
28868 wxPyEndAllowThreads(__tstate
);
28869 if (PyErr_Occurred()) SWIG_fail
;
28871 Py_INCREF(Py_None
); resultobj
= Py_None
;
28878 static PyObject
*_wrap_PyPolygonShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28879 PyObject
*resultobj
;
28880 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28886 bool arg7
= (bool) True
;
28888 PyObject
* obj0
= 0 ;
28889 PyObject
* obj1
= 0 ;
28890 PyObject
* obj2
= 0 ;
28891 PyObject
* obj3
= 0 ;
28892 PyObject
* obj4
= 0 ;
28893 PyObject
* obj5
= 0 ;
28894 PyObject
* obj6
= 0 ;
28895 char *kwnames
[] = {
28896 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
28899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyPolygonShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
28900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28902 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
28903 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28905 if (arg2
== NULL
) {
28906 PyErr_SetString(PyExc_TypeError
,"null reference");
28909 arg3
= (double) SWIG_AsDouble(obj2
);
28910 if (PyErr_Occurred()) SWIG_fail
;
28911 arg4
= (double) SWIG_AsDouble(obj3
);
28912 if (PyErr_Occurred()) SWIG_fail
;
28913 arg5
= (double) SWIG_AsDouble(obj4
);
28914 if (PyErr_Occurred()) SWIG_fail
;
28915 arg6
= (double) SWIG_AsDouble(obj5
);
28916 if (PyErr_Occurred()) SWIG_fail
;
28918 arg7
= (bool) SWIG_AsBool(obj6
);
28919 if (PyErr_Occurred()) SWIG_fail
;
28922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28923 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
28925 wxPyEndAllowThreads(__tstate
);
28926 if (PyErr_Occurred()) SWIG_fail
;
28929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28937 static PyObject
*_wrap_PyPolygonShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28938 PyObject
*resultobj
;
28939 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28945 bool arg7
= (bool) True
;
28946 PyObject
* obj0
= 0 ;
28947 PyObject
* obj1
= 0 ;
28948 PyObject
* obj2
= 0 ;
28949 PyObject
* obj3
= 0 ;
28950 PyObject
* obj4
= 0 ;
28951 PyObject
* obj5
= 0 ;
28952 PyObject
* obj6
= 0 ;
28953 char *kwnames
[] = {
28954 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
28957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyPolygonShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
28958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28960 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
28961 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28963 if (arg2
== NULL
) {
28964 PyErr_SetString(PyExc_TypeError
,"null reference");
28967 arg3
= (double) SWIG_AsDouble(obj2
);
28968 if (PyErr_Occurred()) SWIG_fail
;
28969 arg4
= (double) SWIG_AsDouble(obj3
);
28970 if (PyErr_Occurred()) SWIG_fail
;
28971 arg5
= (double) SWIG_AsDouble(obj4
);
28972 if (PyErr_Occurred()) SWIG_fail
;
28973 arg6
= (double) SWIG_AsDouble(obj5
);
28974 if (PyErr_Occurred()) SWIG_fail
;
28976 arg7
= (bool) SWIG_AsBool(obj6
);
28977 if (PyErr_Occurred()) SWIG_fail
;
28980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28981 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
28983 wxPyEndAllowThreads(__tstate
);
28984 if (PyErr_Occurred()) SWIG_fail
;
28986 Py_INCREF(Py_None
); resultobj
= Py_None
;
28993 static PyObject
*_wrap_PyPolygonShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28994 PyObject
*resultobj
;
28995 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28999 int arg5
= (int) 0 ;
29000 int arg6
= (int) 0 ;
29001 PyObject
* obj0
= 0 ;
29002 PyObject
* obj1
= 0 ;
29003 PyObject
* obj2
= 0 ;
29004 PyObject
* obj3
= 0 ;
29005 PyObject
* obj4
= 0 ;
29006 PyObject
* obj5
= 0 ;
29007 char *kwnames
[] = {
29008 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyPolygonShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29014 arg2
= (bool) SWIG_AsBool(obj1
);
29015 if (PyErr_Occurred()) SWIG_fail
;
29016 arg3
= (double) SWIG_AsDouble(obj2
);
29017 if (PyErr_Occurred()) SWIG_fail
;
29018 arg4
= (double) SWIG_AsDouble(obj3
);
29019 if (PyErr_Occurred()) SWIG_fail
;
29021 arg5
= (int) SWIG_AsInt(obj4
);
29022 if (PyErr_Occurred()) SWIG_fail
;
29025 arg6
= (int) SWIG_AsInt(obj5
);
29026 if (PyErr_Occurred()) SWIG_fail
;
29029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29030 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
29032 wxPyEndAllowThreads(__tstate
);
29033 if (PyErr_Occurred()) SWIG_fail
;
29035 Py_INCREF(Py_None
); resultobj
= Py_None
;
29042 static PyObject
*_wrap_PyPolygonShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29043 PyObject
*resultobj
;
29044 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29047 int arg4
= (int) 0 ;
29048 int arg5
= (int) 0 ;
29049 PyObject
* obj0
= 0 ;
29050 PyObject
* obj1
= 0 ;
29051 PyObject
* obj2
= 0 ;
29052 PyObject
* obj3
= 0 ;
29053 PyObject
* obj4
= 0 ;
29054 char *kwnames
[] = {
29055 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29061 arg2
= (double) SWIG_AsDouble(obj1
);
29062 if (PyErr_Occurred()) SWIG_fail
;
29063 arg3
= (double) SWIG_AsDouble(obj2
);
29064 if (PyErr_Occurred()) SWIG_fail
;
29066 arg4
= (int) SWIG_AsInt(obj3
);
29067 if (PyErr_Occurred()) SWIG_fail
;
29070 arg5
= (int) SWIG_AsInt(obj4
);
29071 if (PyErr_Occurred()) SWIG_fail
;
29074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29075 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
29077 wxPyEndAllowThreads(__tstate
);
29078 if (PyErr_Occurred()) SWIG_fail
;
29080 Py_INCREF(Py_None
); resultobj
= Py_None
;
29087 static PyObject
*_wrap_PyPolygonShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29088 PyObject
*resultobj
;
29089 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29092 int arg4
= (int) 0 ;
29093 int arg5
= (int) 0 ;
29094 PyObject
* obj0
= 0 ;
29095 PyObject
* obj1
= 0 ;
29096 PyObject
* obj2
= 0 ;
29097 PyObject
* obj3
= 0 ;
29098 PyObject
* obj4
= 0 ;
29099 char *kwnames
[] = {
29100 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29106 arg2
= (double) SWIG_AsDouble(obj1
);
29107 if (PyErr_Occurred()) SWIG_fail
;
29108 arg3
= (double) SWIG_AsDouble(obj2
);
29109 if (PyErr_Occurred()) SWIG_fail
;
29111 arg4
= (int) SWIG_AsInt(obj3
);
29112 if (PyErr_Occurred()) SWIG_fail
;
29115 arg5
= (int) SWIG_AsInt(obj4
);
29116 if (PyErr_Occurred()) SWIG_fail
;
29119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29120 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
29122 wxPyEndAllowThreads(__tstate
);
29123 if (PyErr_Occurred()) SWIG_fail
;
29125 Py_INCREF(Py_None
); resultobj
= Py_None
;
29132 static PyObject
*_wrap_PyPolygonShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29133 PyObject
*resultobj
;
29134 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29138 int arg5
= (int) 0 ;
29139 int arg6
= (int) 0 ;
29140 PyObject
* obj0
= 0 ;
29141 PyObject
* obj1
= 0 ;
29142 PyObject
* obj2
= 0 ;
29143 PyObject
* obj3
= 0 ;
29144 PyObject
* obj4
= 0 ;
29145 PyObject
* obj5
= 0 ;
29146 char *kwnames
[] = {
29147 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyPolygonShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29153 arg2
= (bool) SWIG_AsBool(obj1
);
29154 if (PyErr_Occurred()) SWIG_fail
;
29155 arg3
= (double) SWIG_AsDouble(obj2
);
29156 if (PyErr_Occurred()) SWIG_fail
;
29157 arg4
= (double) SWIG_AsDouble(obj3
);
29158 if (PyErr_Occurred()) SWIG_fail
;
29160 arg5
= (int) SWIG_AsInt(obj4
);
29161 if (PyErr_Occurred()) SWIG_fail
;
29164 arg6
= (int) SWIG_AsInt(obj5
);
29165 if (PyErr_Occurred()) SWIG_fail
;
29168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29169 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
29171 wxPyEndAllowThreads(__tstate
);
29172 if (PyErr_Occurred()) SWIG_fail
;
29174 Py_INCREF(Py_None
); resultobj
= Py_None
;
29181 static PyObject
*_wrap_PyPolygonShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29182 PyObject
*resultobj
;
29183 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29186 int arg4
= (int) 0 ;
29187 int arg5
= (int) 0 ;
29188 PyObject
* obj0
= 0 ;
29189 PyObject
* obj1
= 0 ;
29190 PyObject
* obj2
= 0 ;
29191 PyObject
* obj3
= 0 ;
29192 PyObject
* obj4
= 0 ;
29193 char *kwnames
[] = {
29194 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29200 arg2
= (double) SWIG_AsDouble(obj1
);
29201 if (PyErr_Occurred()) SWIG_fail
;
29202 arg3
= (double) SWIG_AsDouble(obj2
);
29203 if (PyErr_Occurred()) SWIG_fail
;
29205 arg4
= (int) SWIG_AsInt(obj3
);
29206 if (PyErr_Occurred()) SWIG_fail
;
29209 arg5
= (int) SWIG_AsInt(obj4
);
29210 if (PyErr_Occurred()) SWIG_fail
;
29213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29214 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
29216 wxPyEndAllowThreads(__tstate
);
29217 if (PyErr_Occurred()) SWIG_fail
;
29219 Py_INCREF(Py_None
); resultobj
= Py_None
;
29226 static PyObject
*_wrap_PyPolygonShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29227 PyObject
*resultobj
;
29228 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29231 int arg4
= (int) 0 ;
29232 int arg5
= (int) 0 ;
29233 PyObject
* obj0
= 0 ;
29234 PyObject
* obj1
= 0 ;
29235 PyObject
* obj2
= 0 ;
29236 PyObject
* obj3
= 0 ;
29237 PyObject
* obj4
= 0 ;
29238 char *kwnames
[] = {
29239 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29245 arg2
= (double) SWIG_AsDouble(obj1
);
29246 if (PyErr_Occurred()) SWIG_fail
;
29247 arg3
= (double) SWIG_AsDouble(obj2
);
29248 if (PyErr_Occurred()) SWIG_fail
;
29250 arg4
= (int) SWIG_AsInt(obj3
);
29251 if (PyErr_Occurred()) SWIG_fail
;
29254 arg5
= (int) SWIG_AsInt(obj4
);
29255 if (PyErr_Occurred()) SWIG_fail
;
29258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29259 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
29261 wxPyEndAllowThreads(__tstate
);
29262 if (PyErr_Occurred()) SWIG_fail
;
29264 Py_INCREF(Py_None
); resultobj
= Py_None
;
29271 static PyObject
*_wrap_PyPolygonShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29272 PyObject
*resultobj
;
29273 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29279 PyObject
* obj0
= 0 ;
29280 PyObject
* obj1
= 0 ;
29281 PyObject
* obj2
= 0 ;
29282 PyObject
* obj3
= 0 ;
29283 PyObject
* obj4
= 0 ;
29284 PyObject
* obj5
= 0 ;
29285 char *kwnames
[] = {
29286 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyPolygonShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29292 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29293 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29295 if (arg2
== NULL
) {
29296 PyErr_SetString(PyExc_TypeError
,"null reference");
29299 arg3
= (double) SWIG_AsDouble(obj2
);
29300 if (PyErr_Occurred()) SWIG_fail
;
29301 arg4
= (double) SWIG_AsDouble(obj3
);
29302 if (PyErr_Occurred()) SWIG_fail
;
29303 arg5
= (double) SWIG_AsDouble(obj4
);
29304 if (PyErr_Occurred()) SWIG_fail
;
29305 arg6
= (double) SWIG_AsDouble(obj5
);
29306 if (PyErr_Occurred()) SWIG_fail
;
29308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29309 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
29311 wxPyEndAllowThreads(__tstate
);
29312 if (PyErr_Occurred()) SWIG_fail
;
29314 Py_INCREF(Py_None
); resultobj
= Py_None
;
29321 static PyObject
*_wrap_PyPolygonShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29322 PyObject
*resultobj
;
29323 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29325 PyObject
* obj0
= 0 ;
29326 PyObject
* obj1
= 0 ;
29327 char *kwnames
[] = {
29328 (char *) "self",(char *) "dc", NULL
29331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
29332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29334 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29335 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29337 if (arg2
== NULL
) {
29338 PyErr_SetString(PyExc_TypeError
,"null reference");
29342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29343 (arg1
)->base_OnDrawControlPoints(*arg2
);
29345 wxPyEndAllowThreads(__tstate
);
29346 if (PyErr_Occurred()) SWIG_fail
;
29348 Py_INCREF(Py_None
); resultobj
= Py_None
;
29355 static PyObject
*_wrap_PyPolygonShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29356 PyObject
*resultobj
;
29357 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29359 PyObject
* obj0
= 0 ;
29360 PyObject
* obj1
= 0 ;
29361 char *kwnames
[] = {
29362 (char *) "self",(char *) "dc", NULL
29365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
29366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29368 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29369 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29371 if (arg2
== NULL
) {
29372 PyErr_SetString(PyExc_TypeError
,"null reference");
29376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29377 (arg1
)->base_OnEraseControlPoints(*arg2
);
29379 wxPyEndAllowThreads(__tstate
);
29380 if (PyErr_Occurred()) SWIG_fail
;
29382 Py_INCREF(Py_None
); resultobj
= Py_None
;
29389 static PyObject
*_wrap_PyPolygonShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29390 PyObject
*resultobj
;
29391 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29393 bool arg3
= (bool) True
;
29394 PyObject
* obj0
= 0 ;
29395 PyObject
* obj1
= 0 ;
29396 PyObject
* obj2
= 0 ;
29397 char *kwnames
[] = {
29398 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
29401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyPolygonShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29404 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29405 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29407 if (arg2
== NULL
) {
29408 PyErr_SetString(PyExc_TypeError
,"null reference");
29412 arg3
= (bool) SWIG_AsBool(obj2
);
29413 if (PyErr_Occurred()) SWIG_fail
;
29416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29417 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
29419 wxPyEndAllowThreads(__tstate
);
29420 if (PyErr_Occurred()) SWIG_fail
;
29422 Py_INCREF(Py_None
); resultobj
= Py_None
;
29429 static PyObject
*_wrap_PyPolygonShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29430 PyObject
*resultobj
;
29431 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29432 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
29436 int arg6
= (int) 0 ;
29437 int arg7
= (int) 0 ;
29438 PyObject
* obj0
= 0 ;
29439 PyObject
* obj1
= 0 ;
29440 PyObject
* obj2
= 0 ;
29441 PyObject
* obj3
= 0 ;
29442 PyObject
* obj4
= 0 ;
29443 PyObject
* obj5
= 0 ;
29444 PyObject
* obj6
= 0 ;
29445 char *kwnames
[] = {
29446 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyPolygonShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
29450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29452 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
29453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29454 arg3
= (bool) SWIG_AsBool(obj2
);
29455 if (PyErr_Occurred()) SWIG_fail
;
29456 arg4
= (double) SWIG_AsDouble(obj3
);
29457 if (PyErr_Occurred()) SWIG_fail
;
29458 arg5
= (double) SWIG_AsDouble(obj4
);
29459 if (PyErr_Occurred()) SWIG_fail
;
29461 arg6
= (int) SWIG_AsInt(obj5
);
29462 if (PyErr_Occurred()) SWIG_fail
;
29465 arg7
= (int) SWIG_AsInt(obj6
);
29466 if (PyErr_Occurred()) SWIG_fail
;
29469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29470 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
29472 wxPyEndAllowThreads(__tstate
);
29473 if (PyErr_Occurred()) SWIG_fail
;
29475 Py_INCREF(Py_None
); resultobj
= Py_None
;
29482 static PyObject
*_wrap_PyPolygonShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29483 PyObject
*resultobj
;
29484 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29485 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
29488 int arg5
= (int) 0 ;
29489 int arg6
= (int) 0 ;
29490 PyObject
* obj0
= 0 ;
29491 PyObject
* obj1
= 0 ;
29492 PyObject
* obj2
= 0 ;
29493 PyObject
* obj3
= 0 ;
29494 PyObject
* obj4
= 0 ;
29495 PyObject
* obj5
= 0 ;
29496 char *kwnames
[] = {
29497 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyPolygonShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29503 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
29504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29505 arg3
= (double) SWIG_AsDouble(obj2
);
29506 if (PyErr_Occurred()) SWIG_fail
;
29507 arg4
= (double) SWIG_AsDouble(obj3
);
29508 if (PyErr_Occurred()) SWIG_fail
;
29510 arg5
= (int) SWIG_AsInt(obj4
);
29511 if (PyErr_Occurred()) SWIG_fail
;
29514 arg6
= (int) SWIG_AsInt(obj5
);
29515 if (PyErr_Occurred()) SWIG_fail
;
29518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29519 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
29521 wxPyEndAllowThreads(__tstate
);
29522 if (PyErr_Occurred()) SWIG_fail
;
29524 Py_INCREF(Py_None
); resultobj
= Py_None
;
29531 static PyObject
*_wrap_PyPolygonShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29532 PyObject
*resultobj
;
29533 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29534 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
29537 int arg5
= (int) 0 ;
29538 int arg6
= (int) 0 ;
29539 PyObject
* obj0
= 0 ;
29540 PyObject
* obj1
= 0 ;
29541 PyObject
* obj2
= 0 ;
29542 PyObject
* obj3
= 0 ;
29543 PyObject
* obj4
= 0 ;
29544 PyObject
* obj5
= 0 ;
29545 char *kwnames
[] = {
29546 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyPolygonShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29552 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
29553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29554 arg3
= (double) SWIG_AsDouble(obj2
);
29555 if (PyErr_Occurred()) SWIG_fail
;
29556 arg4
= (double) SWIG_AsDouble(obj3
);
29557 if (PyErr_Occurred()) SWIG_fail
;
29559 arg5
= (int) SWIG_AsInt(obj4
);
29560 if (PyErr_Occurred()) SWIG_fail
;
29563 arg6
= (int) SWIG_AsInt(obj5
);
29564 if (PyErr_Occurred()) SWIG_fail
;
29567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29568 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
29570 wxPyEndAllowThreads(__tstate
);
29571 if (PyErr_Occurred()) SWIG_fail
;
29573 Py_INCREF(Py_None
); resultobj
= Py_None
;
29580 static PyObject
*_wrap_PyPolygonShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29581 PyObject
*resultobj
;
29582 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29585 PyObject
* obj0
= 0 ;
29586 PyObject
* obj1
= 0 ;
29587 PyObject
* obj2
= 0 ;
29588 char *kwnames
[] = {
29589 (char *) "self",(char *) "w",(char *) "h", NULL
29592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPolygonShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29595 arg2
= (double) SWIG_AsDouble(obj1
);
29596 if (PyErr_Occurred()) SWIG_fail
;
29597 arg3
= (double) SWIG_AsDouble(obj2
);
29598 if (PyErr_Occurred()) SWIG_fail
;
29600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29601 (arg1
)->base_OnBeginSize(arg2
,arg3
);
29603 wxPyEndAllowThreads(__tstate
);
29604 if (PyErr_Occurred()) SWIG_fail
;
29606 Py_INCREF(Py_None
); resultobj
= Py_None
;
29613 static PyObject
*_wrap_PyPolygonShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29614 PyObject
*resultobj
;
29615 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29618 PyObject
* obj0
= 0 ;
29619 PyObject
* obj1
= 0 ;
29620 PyObject
* obj2
= 0 ;
29621 char *kwnames
[] = {
29622 (char *) "self",(char *) "w",(char *) "h", NULL
29625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPolygonShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29628 arg2
= (double) SWIG_AsDouble(obj1
);
29629 if (PyErr_Occurred()) SWIG_fail
;
29630 arg3
= (double) SWIG_AsDouble(obj2
);
29631 if (PyErr_Occurred()) SWIG_fail
;
29633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29634 (arg1
)->base_OnEndSize(arg2
,arg3
);
29636 wxPyEndAllowThreads(__tstate
);
29637 if (PyErr_Occurred()) SWIG_fail
;
29639 Py_INCREF(Py_None
); resultobj
= Py_None
;
29646 static PyObject
* PyPolygonShape_swigregister(PyObject
*self
, PyObject
*args
) {
29648 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29649 SWIG_TypeClientData(SWIGTYPE_p_wxPyPolygonShape
, obj
);
29651 return Py_BuildValue((char *)"");
29653 static PyObject
*_wrap_new_PyTextShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29654 PyObject
*resultobj
;
29655 double arg1
= (double) 0.0 ;
29656 double arg2
= (double) 0.0 ;
29657 wxPyTextShape
*result
;
29658 PyObject
* obj0
= 0 ;
29659 PyObject
* obj1
= 0 ;
29660 char *kwnames
[] = {
29661 (char *) "width",(char *) "height", NULL
29664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyTextShape",kwnames
,&obj0
,&obj1
)) goto fail
;
29666 arg1
= (double) SWIG_AsDouble(obj0
);
29667 if (PyErr_Occurred()) SWIG_fail
;
29670 arg2
= (double) SWIG_AsDouble(obj1
);
29671 if (PyErr_Occurred()) SWIG_fail
;
29674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29675 result
= (wxPyTextShape
*)new wxPyTextShape(arg1
,arg2
);
29677 wxPyEndAllowThreads(__tstate
);
29678 if (PyErr_Occurred()) SWIG_fail
;
29680 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextShape
, 1);
29687 static PyObject
*_wrap_PyTextShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29688 PyObject
*resultobj
;
29689 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29690 PyObject
*arg2
= (PyObject
*) 0 ;
29691 PyObject
*arg3
= (PyObject
*) 0 ;
29692 PyObject
* obj0
= 0 ;
29693 PyObject
* obj1
= 0 ;
29694 PyObject
* obj2
= 0 ;
29695 char *kwnames
[] = {
29696 (char *) "self",(char *) "self",(char *) "_class", NULL
29699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29706 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29708 wxPyEndAllowThreads(__tstate
);
29709 if (PyErr_Occurred()) SWIG_fail
;
29711 Py_INCREF(Py_None
); resultobj
= Py_None
;
29718 static PyObject
*_wrap_PyTextShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29719 PyObject
*resultobj
;
29720 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29721 PyObject
* obj0
= 0 ;
29722 char *kwnames
[] = {
29723 (char *) "self", NULL
29726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyTextShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
29727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29731 (arg1
)->base_OnDelete();
29733 wxPyEndAllowThreads(__tstate
);
29734 if (PyErr_Occurred()) SWIG_fail
;
29736 Py_INCREF(Py_None
); resultobj
= Py_None
;
29743 static PyObject
*_wrap_PyTextShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29744 PyObject
*resultobj
;
29745 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29747 PyObject
* obj0
= 0 ;
29748 PyObject
* obj1
= 0 ;
29749 char *kwnames
[] = {
29750 (char *) "self",(char *) "dc", NULL
29753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
29754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29756 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29757 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29759 if (arg2
== NULL
) {
29760 PyErr_SetString(PyExc_TypeError
,"null reference");
29764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29765 (arg1
)->base_OnDraw(*arg2
);
29767 wxPyEndAllowThreads(__tstate
);
29768 if (PyErr_Occurred()) SWIG_fail
;
29770 Py_INCREF(Py_None
); resultobj
= Py_None
;
29777 static PyObject
*_wrap_PyTextShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29778 PyObject
*resultobj
;
29779 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29781 PyObject
* obj0
= 0 ;
29782 PyObject
* obj1
= 0 ;
29783 char *kwnames
[] = {
29784 (char *) "self",(char *) "dc", NULL
29787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
29788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29790 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29791 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29793 if (arg2
== NULL
) {
29794 PyErr_SetString(PyExc_TypeError
,"null reference");
29798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29799 (arg1
)->base_OnDrawContents(*arg2
);
29801 wxPyEndAllowThreads(__tstate
);
29802 if (PyErr_Occurred()) SWIG_fail
;
29804 Py_INCREF(Py_None
); resultobj
= Py_None
;
29811 static PyObject
*_wrap_PyTextShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29812 PyObject
*resultobj
;
29813 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29815 bool arg3
= (bool) FALSE
;
29816 PyObject
* obj0
= 0 ;
29817 PyObject
* obj1
= 0 ;
29818 PyObject
* obj2
= 0 ;
29819 char *kwnames
[] = {
29820 (char *) "self",(char *) "dc",(char *) "erase", NULL
29823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyTextShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29826 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29827 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29829 if (arg2
== NULL
) {
29830 PyErr_SetString(PyExc_TypeError
,"null reference");
29834 arg3
= (bool) SWIG_AsBool(obj2
);
29835 if (PyErr_Occurred()) SWIG_fail
;
29838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29839 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
29841 wxPyEndAllowThreads(__tstate
);
29842 if (PyErr_Occurred()) SWIG_fail
;
29844 Py_INCREF(Py_None
); resultobj
= Py_None
;
29851 static PyObject
*_wrap_PyTextShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29852 PyObject
*resultobj
;
29853 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29855 PyObject
* obj0
= 0 ;
29856 PyObject
* obj1
= 0 ;
29857 char *kwnames
[] = {
29858 (char *) "self",(char *) "dc", NULL
29861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
29862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29864 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29865 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29867 if (arg2
== NULL
) {
29868 PyErr_SetString(PyExc_TypeError
,"null reference");
29872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29873 (arg1
)->base_OnMoveLinks(*arg2
);
29875 wxPyEndAllowThreads(__tstate
);
29876 if (PyErr_Occurred()) SWIG_fail
;
29878 Py_INCREF(Py_None
); resultobj
= Py_None
;
29885 static PyObject
*_wrap_PyTextShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29886 PyObject
*resultobj
;
29887 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29889 PyObject
* obj0
= 0 ;
29890 PyObject
* obj1
= 0 ;
29891 char *kwnames
[] = {
29892 (char *) "self",(char *) "dc", NULL
29895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
29896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29898 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29899 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29901 if (arg2
== NULL
) {
29902 PyErr_SetString(PyExc_TypeError
,"null reference");
29906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29907 (arg1
)->base_OnErase(*arg2
);
29909 wxPyEndAllowThreads(__tstate
);
29910 if (PyErr_Occurred()) SWIG_fail
;
29912 Py_INCREF(Py_None
); resultobj
= Py_None
;
29919 static PyObject
*_wrap_PyTextShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29920 PyObject
*resultobj
;
29921 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29923 PyObject
* obj0
= 0 ;
29924 PyObject
* obj1
= 0 ;
29925 char *kwnames
[] = {
29926 (char *) "self",(char *) "dc", NULL
29929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
29930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29932 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29933 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29935 if (arg2
== NULL
) {
29936 PyErr_SetString(PyExc_TypeError
,"null reference");
29940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29941 (arg1
)->base_OnEraseContents(*arg2
);
29943 wxPyEndAllowThreads(__tstate
);
29944 if (PyErr_Occurred()) SWIG_fail
;
29946 Py_INCREF(Py_None
); resultobj
= Py_None
;
29953 static PyObject
*_wrap_PyTextShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29954 PyObject
*resultobj
;
29955 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29957 PyObject
* obj0
= 0 ;
29958 PyObject
* obj1
= 0 ;
29959 char *kwnames
[] = {
29960 (char *) "self",(char *) "dc", NULL
29963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
29964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29966 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29967 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29969 if (arg2
== NULL
) {
29970 PyErr_SetString(PyExc_TypeError
,"null reference");
29974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29975 (arg1
)->base_OnHighlight(*arg2
);
29977 wxPyEndAllowThreads(__tstate
);
29978 if (PyErr_Occurred()) SWIG_fail
;
29980 Py_INCREF(Py_None
); resultobj
= Py_None
;
29987 static PyObject
*_wrap_PyTextShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29988 PyObject
*resultobj
;
29989 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29992 int arg4
= (int) 0 ;
29993 int arg5
= (int) 0 ;
29994 PyObject
* obj0
= 0 ;
29995 PyObject
* obj1
= 0 ;
29996 PyObject
* obj2
= 0 ;
29997 PyObject
* obj3
= 0 ;
29998 PyObject
* obj4
= 0 ;
29999 char *kwnames
[] = {
30000 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30006 arg2
= (double) SWIG_AsDouble(obj1
);
30007 if (PyErr_Occurred()) SWIG_fail
;
30008 arg3
= (double) SWIG_AsDouble(obj2
);
30009 if (PyErr_Occurred()) SWIG_fail
;
30011 arg4
= (int) SWIG_AsInt(obj3
);
30012 if (PyErr_Occurred()) SWIG_fail
;
30015 arg5
= (int) SWIG_AsInt(obj4
);
30016 if (PyErr_Occurred()) SWIG_fail
;
30019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30020 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
30022 wxPyEndAllowThreads(__tstate
);
30023 if (PyErr_Occurred()) SWIG_fail
;
30025 Py_INCREF(Py_None
); resultobj
= Py_None
;
30032 static PyObject
*_wrap_PyTextShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30033 PyObject
*resultobj
;
30034 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30037 int arg4
= (int) 0 ;
30038 int arg5
= (int) 0 ;
30039 PyObject
* obj0
= 0 ;
30040 PyObject
* obj1
= 0 ;
30041 PyObject
* obj2
= 0 ;
30042 PyObject
* obj3
= 0 ;
30043 PyObject
* obj4
= 0 ;
30044 char *kwnames
[] = {
30045 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30051 arg2
= (double) SWIG_AsDouble(obj1
);
30052 if (PyErr_Occurred()) SWIG_fail
;
30053 arg3
= (double) SWIG_AsDouble(obj2
);
30054 if (PyErr_Occurred()) SWIG_fail
;
30056 arg4
= (int) SWIG_AsInt(obj3
);
30057 if (PyErr_Occurred()) SWIG_fail
;
30060 arg5
= (int) SWIG_AsInt(obj4
);
30061 if (PyErr_Occurred()) SWIG_fail
;
30064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30065 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
30067 wxPyEndAllowThreads(__tstate
);
30068 if (PyErr_Occurred()) SWIG_fail
;
30070 Py_INCREF(Py_None
); resultobj
= Py_None
;
30077 static PyObject
*_wrap_PyTextShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30078 PyObject
*resultobj
;
30079 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30082 int arg4
= (int) 0 ;
30083 int arg5
= (int) 0 ;
30084 PyObject
* obj0
= 0 ;
30085 PyObject
* obj1
= 0 ;
30086 PyObject
* obj2
= 0 ;
30087 PyObject
* obj3
= 0 ;
30088 PyObject
* obj4
= 0 ;
30089 char *kwnames
[] = {
30090 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30096 arg2
= (double) SWIG_AsDouble(obj1
);
30097 if (PyErr_Occurred()) SWIG_fail
;
30098 arg3
= (double) SWIG_AsDouble(obj2
);
30099 if (PyErr_Occurred()) SWIG_fail
;
30101 arg4
= (int) SWIG_AsInt(obj3
);
30102 if (PyErr_Occurred()) SWIG_fail
;
30105 arg5
= (int) SWIG_AsInt(obj4
);
30106 if (PyErr_Occurred()) SWIG_fail
;
30109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30110 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
30112 wxPyEndAllowThreads(__tstate
);
30113 if (PyErr_Occurred()) SWIG_fail
;
30115 Py_INCREF(Py_None
); resultobj
= Py_None
;
30122 static PyObject
*_wrap_PyTextShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30123 PyObject
*resultobj
;
30124 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30127 PyObject
* obj0
= 0 ;
30128 PyObject
* obj1
= 0 ;
30129 PyObject
* obj2
= 0 ;
30130 char *kwnames
[] = {
30131 (char *) "self",(char *) "x",(char *) "y", NULL
30134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30137 arg2
= (double) SWIG_AsDouble(obj1
);
30138 if (PyErr_Occurred()) SWIG_fail
;
30139 arg3
= (double) SWIG_AsDouble(obj2
);
30140 if (PyErr_Occurred()) SWIG_fail
;
30142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30143 (arg1
)->base_OnSize(arg2
,arg3
);
30145 wxPyEndAllowThreads(__tstate
);
30146 if (PyErr_Occurred()) SWIG_fail
;
30148 Py_INCREF(Py_None
); resultobj
= Py_None
;
30155 static PyObject
*_wrap_PyTextShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30156 PyObject
*resultobj
;
30157 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30163 bool arg7
= (bool) True
;
30165 PyObject
* obj0
= 0 ;
30166 PyObject
* obj1
= 0 ;
30167 PyObject
* obj2
= 0 ;
30168 PyObject
* obj3
= 0 ;
30169 PyObject
* obj4
= 0 ;
30170 PyObject
* obj5
= 0 ;
30171 PyObject
* obj6
= 0 ;
30172 char *kwnames
[] = {
30173 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
30176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyTextShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30179 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30180 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30182 if (arg2
== NULL
) {
30183 PyErr_SetString(PyExc_TypeError
,"null reference");
30186 arg3
= (double) SWIG_AsDouble(obj2
);
30187 if (PyErr_Occurred()) SWIG_fail
;
30188 arg4
= (double) SWIG_AsDouble(obj3
);
30189 if (PyErr_Occurred()) SWIG_fail
;
30190 arg5
= (double) SWIG_AsDouble(obj4
);
30191 if (PyErr_Occurred()) SWIG_fail
;
30192 arg6
= (double) SWIG_AsDouble(obj5
);
30193 if (PyErr_Occurred()) SWIG_fail
;
30195 arg7
= (bool) SWIG_AsBool(obj6
);
30196 if (PyErr_Occurred()) SWIG_fail
;
30199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30200 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30202 wxPyEndAllowThreads(__tstate
);
30203 if (PyErr_Occurred()) SWIG_fail
;
30206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30214 static PyObject
*_wrap_PyTextShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30215 PyObject
*resultobj
;
30216 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30222 bool arg7
= (bool) True
;
30223 PyObject
* obj0
= 0 ;
30224 PyObject
* obj1
= 0 ;
30225 PyObject
* obj2
= 0 ;
30226 PyObject
* obj3
= 0 ;
30227 PyObject
* obj4
= 0 ;
30228 PyObject
* obj5
= 0 ;
30229 PyObject
* obj6
= 0 ;
30230 char *kwnames
[] = {
30231 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
30234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyTextShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30237 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30238 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30240 if (arg2
== NULL
) {
30241 PyErr_SetString(PyExc_TypeError
,"null reference");
30244 arg3
= (double) SWIG_AsDouble(obj2
);
30245 if (PyErr_Occurred()) SWIG_fail
;
30246 arg4
= (double) SWIG_AsDouble(obj3
);
30247 if (PyErr_Occurred()) SWIG_fail
;
30248 arg5
= (double) SWIG_AsDouble(obj4
);
30249 if (PyErr_Occurred()) SWIG_fail
;
30250 arg6
= (double) SWIG_AsDouble(obj5
);
30251 if (PyErr_Occurred()) SWIG_fail
;
30253 arg7
= (bool) SWIG_AsBool(obj6
);
30254 if (PyErr_Occurred()) SWIG_fail
;
30257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30258 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30260 wxPyEndAllowThreads(__tstate
);
30261 if (PyErr_Occurred()) SWIG_fail
;
30263 Py_INCREF(Py_None
); resultobj
= Py_None
;
30270 static PyObject
*_wrap_PyTextShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30271 PyObject
*resultobj
;
30272 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30276 int arg5
= (int) 0 ;
30277 int arg6
= (int) 0 ;
30278 PyObject
* obj0
= 0 ;
30279 PyObject
* obj1
= 0 ;
30280 PyObject
* obj2
= 0 ;
30281 PyObject
* obj3
= 0 ;
30282 PyObject
* obj4
= 0 ;
30283 PyObject
* obj5
= 0 ;
30284 char *kwnames
[] = {
30285 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyTextShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30291 arg2
= (bool) SWIG_AsBool(obj1
);
30292 if (PyErr_Occurred()) SWIG_fail
;
30293 arg3
= (double) SWIG_AsDouble(obj2
);
30294 if (PyErr_Occurred()) SWIG_fail
;
30295 arg4
= (double) SWIG_AsDouble(obj3
);
30296 if (PyErr_Occurred()) SWIG_fail
;
30298 arg5
= (int) SWIG_AsInt(obj4
);
30299 if (PyErr_Occurred()) SWIG_fail
;
30302 arg6
= (int) SWIG_AsInt(obj5
);
30303 if (PyErr_Occurred()) SWIG_fail
;
30306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30307 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
30309 wxPyEndAllowThreads(__tstate
);
30310 if (PyErr_Occurred()) SWIG_fail
;
30312 Py_INCREF(Py_None
); resultobj
= Py_None
;
30319 static PyObject
*_wrap_PyTextShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30320 PyObject
*resultobj
;
30321 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30324 int arg4
= (int) 0 ;
30325 int arg5
= (int) 0 ;
30326 PyObject
* obj0
= 0 ;
30327 PyObject
* obj1
= 0 ;
30328 PyObject
* obj2
= 0 ;
30329 PyObject
* obj3
= 0 ;
30330 PyObject
* obj4
= 0 ;
30331 char *kwnames
[] = {
30332 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30338 arg2
= (double) SWIG_AsDouble(obj1
);
30339 if (PyErr_Occurred()) SWIG_fail
;
30340 arg3
= (double) SWIG_AsDouble(obj2
);
30341 if (PyErr_Occurred()) SWIG_fail
;
30343 arg4
= (int) SWIG_AsInt(obj3
);
30344 if (PyErr_Occurred()) SWIG_fail
;
30347 arg5
= (int) SWIG_AsInt(obj4
);
30348 if (PyErr_Occurred()) SWIG_fail
;
30351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30352 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
30354 wxPyEndAllowThreads(__tstate
);
30355 if (PyErr_Occurred()) SWIG_fail
;
30357 Py_INCREF(Py_None
); resultobj
= Py_None
;
30364 static PyObject
*_wrap_PyTextShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30365 PyObject
*resultobj
;
30366 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30369 int arg4
= (int) 0 ;
30370 int arg5
= (int) 0 ;
30371 PyObject
* obj0
= 0 ;
30372 PyObject
* obj1
= 0 ;
30373 PyObject
* obj2
= 0 ;
30374 PyObject
* obj3
= 0 ;
30375 PyObject
* obj4
= 0 ;
30376 char *kwnames
[] = {
30377 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30383 arg2
= (double) SWIG_AsDouble(obj1
);
30384 if (PyErr_Occurred()) SWIG_fail
;
30385 arg3
= (double) SWIG_AsDouble(obj2
);
30386 if (PyErr_Occurred()) SWIG_fail
;
30388 arg4
= (int) SWIG_AsInt(obj3
);
30389 if (PyErr_Occurred()) SWIG_fail
;
30392 arg5
= (int) SWIG_AsInt(obj4
);
30393 if (PyErr_Occurred()) SWIG_fail
;
30396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30397 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
30399 wxPyEndAllowThreads(__tstate
);
30400 if (PyErr_Occurred()) SWIG_fail
;
30402 Py_INCREF(Py_None
); resultobj
= Py_None
;
30409 static PyObject
*_wrap_PyTextShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30410 PyObject
*resultobj
;
30411 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30415 int arg5
= (int) 0 ;
30416 int arg6
= (int) 0 ;
30417 PyObject
* obj0
= 0 ;
30418 PyObject
* obj1
= 0 ;
30419 PyObject
* obj2
= 0 ;
30420 PyObject
* obj3
= 0 ;
30421 PyObject
* obj4
= 0 ;
30422 PyObject
* obj5
= 0 ;
30423 char *kwnames
[] = {
30424 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyTextShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30430 arg2
= (bool) SWIG_AsBool(obj1
);
30431 if (PyErr_Occurred()) SWIG_fail
;
30432 arg3
= (double) SWIG_AsDouble(obj2
);
30433 if (PyErr_Occurred()) SWIG_fail
;
30434 arg4
= (double) SWIG_AsDouble(obj3
);
30435 if (PyErr_Occurred()) SWIG_fail
;
30437 arg5
= (int) SWIG_AsInt(obj4
);
30438 if (PyErr_Occurred()) SWIG_fail
;
30441 arg6
= (int) SWIG_AsInt(obj5
);
30442 if (PyErr_Occurred()) SWIG_fail
;
30445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30446 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
30448 wxPyEndAllowThreads(__tstate
);
30449 if (PyErr_Occurred()) SWIG_fail
;
30451 Py_INCREF(Py_None
); resultobj
= Py_None
;
30458 static PyObject
*_wrap_PyTextShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30459 PyObject
*resultobj
;
30460 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30463 int arg4
= (int) 0 ;
30464 int arg5
= (int) 0 ;
30465 PyObject
* obj0
= 0 ;
30466 PyObject
* obj1
= 0 ;
30467 PyObject
* obj2
= 0 ;
30468 PyObject
* obj3
= 0 ;
30469 PyObject
* obj4
= 0 ;
30470 char *kwnames
[] = {
30471 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30477 arg2
= (double) SWIG_AsDouble(obj1
);
30478 if (PyErr_Occurred()) SWIG_fail
;
30479 arg3
= (double) SWIG_AsDouble(obj2
);
30480 if (PyErr_Occurred()) SWIG_fail
;
30482 arg4
= (int) SWIG_AsInt(obj3
);
30483 if (PyErr_Occurred()) SWIG_fail
;
30486 arg5
= (int) SWIG_AsInt(obj4
);
30487 if (PyErr_Occurred()) SWIG_fail
;
30490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30491 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
30493 wxPyEndAllowThreads(__tstate
);
30494 if (PyErr_Occurred()) SWIG_fail
;
30496 Py_INCREF(Py_None
); resultobj
= Py_None
;
30503 static PyObject
*_wrap_PyTextShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30504 PyObject
*resultobj
;
30505 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30508 int arg4
= (int) 0 ;
30509 int arg5
= (int) 0 ;
30510 PyObject
* obj0
= 0 ;
30511 PyObject
* obj1
= 0 ;
30512 PyObject
* obj2
= 0 ;
30513 PyObject
* obj3
= 0 ;
30514 PyObject
* obj4
= 0 ;
30515 char *kwnames
[] = {
30516 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30522 arg2
= (double) SWIG_AsDouble(obj1
);
30523 if (PyErr_Occurred()) SWIG_fail
;
30524 arg3
= (double) SWIG_AsDouble(obj2
);
30525 if (PyErr_Occurred()) SWIG_fail
;
30527 arg4
= (int) SWIG_AsInt(obj3
);
30528 if (PyErr_Occurred()) SWIG_fail
;
30531 arg5
= (int) SWIG_AsInt(obj4
);
30532 if (PyErr_Occurred()) SWIG_fail
;
30535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30536 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
30538 wxPyEndAllowThreads(__tstate
);
30539 if (PyErr_Occurred()) SWIG_fail
;
30541 Py_INCREF(Py_None
); resultobj
= Py_None
;
30548 static PyObject
*_wrap_PyTextShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30549 PyObject
*resultobj
;
30550 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30556 PyObject
* obj0
= 0 ;
30557 PyObject
* obj1
= 0 ;
30558 PyObject
* obj2
= 0 ;
30559 PyObject
* obj3
= 0 ;
30560 PyObject
* obj4
= 0 ;
30561 PyObject
* obj5
= 0 ;
30562 char *kwnames
[] = {
30563 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyTextShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30569 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30570 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30572 if (arg2
== NULL
) {
30573 PyErr_SetString(PyExc_TypeError
,"null reference");
30576 arg3
= (double) SWIG_AsDouble(obj2
);
30577 if (PyErr_Occurred()) SWIG_fail
;
30578 arg4
= (double) SWIG_AsDouble(obj3
);
30579 if (PyErr_Occurred()) SWIG_fail
;
30580 arg5
= (double) SWIG_AsDouble(obj4
);
30581 if (PyErr_Occurred()) SWIG_fail
;
30582 arg6
= (double) SWIG_AsDouble(obj5
);
30583 if (PyErr_Occurred()) SWIG_fail
;
30585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30586 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
30588 wxPyEndAllowThreads(__tstate
);
30589 if (PyErr_Occurred()) SWIG_fail
;
30591 Py_INCREF(Py_None
); resultobj
= Py_None
;
30598 static PyObject
*_wrap_PyTextShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30599 PyObject
*resultobj
;
30600 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30602 PyObject
* obj0
= 0 ;
30603 PyObject
* obj1
= 0 ;
30604 char *kwnames
[] = {
30605 (char *) "self",(char *) "dc", NULL
30608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
30609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30611 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30612 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30614 if (arg2
== NULL
) {
30615 PyErr_SetString(PyExc_TypeError
,"null reference");
30619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30620 (arg1
)->base_OnDrawControlPoints(*arg2
);
30622 wxPyEndAllowThreads(__tstate
);
30623 if (PyErr_Occurred()) SWIG_fail
;
30625 Py_INCREF(Py_None
); resultobj
= Py_None
;
30632 static PyObject
*_wrap_PyTextShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30633 PyObject
*resultobj
;
30634 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30636 PyObject
* obj0
= 0 ;
30637 PyObject
* obj1
= 0 ;
30638 char *kwnames
[] = {
30639 (char *) "self",(char *) "dc", NULL
30642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
30643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30645 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30646 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30648 if (arg2
== NULL
) {
30649 PyErr_SetString(PyExc_TypeError
,"null reference");
30653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30654 (arg1
)->base_OnEraseControlPoints(*arg2
);
30656 wxPyEndAllowThreads(__tstate
);
30657 if (PyErr_Occurred()) SWIG_fail
;
30659 Py_INCREF(Py_None
); resultobj
= Py_None
;
30666 static PyObject
*_wrap_PyTextShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30667 PyObject
*resultobj
;
30668 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30670 bool arg3
= (bool) True
;
30671 PyObject
* obj0
= 0 ;
30672 PyObject
* obj1
= 0 ;
30673 PyObject
* obj2
= 0 ;
30674 char *kwnames
[] = {
30675 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
30678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyTextShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30681 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30682 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30684 if (arg2
== NULL
) {
30685 PyErr_SetString(PyExc_TypeError
,"null reference");
30689 arg3
= (bool) SWIG_AsBool(obj2
);
30690 if (PyErr_Occurred()) SWIG_fail
;
30693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30694 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
30696 wxPyEndAllowThreads(__tstate
);
30697 if (PyErr_Occurred()) SWIG_fail
;
30699 Py_INCREF(Py_None
); resultobj
= Py_None
;
30706 static PyObject
*_wrap_PyTextShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30707 PyObject
*resultobj
;
30708 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30709 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
30713 int arg6
= (int) 0 ;
30714 int arg7
= (int) 0 ;
30715 PyObject
* obj0
= 0 ;
30716 PyObject
* obj1
= 0 ;
30717 PyObject
* obj2
= 0 ;
30718 PyObject
* obj3
= 0 ;
30719 PyObject
* obj4
= 0 ;
30720 PyObject
* obj5
= 0 ;
30721 PyObject
* obj6
= 0 ;
30722 char *kwnames
[] = {
30723 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyTextShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30729 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
30730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30731 arg3
= (bool) SWIG_AsBool(obj2
);
30732 if (PyErr_Occurred()) SWIG_fail
;
30733 arg4
= (double) SWIG_AsDouble(obj3
);
30734 if (PyErr_Occurred()) SWIG_fail
;
30735 arg5
= (double) SWIG_AsDouble(obj4
);
30736 if (PyErr_Occurred()) SWIG_fail
;
30738 arg6
= (int) SWIG_AsInt(obj5
);
30739 if (PyErr_Occurred()) SWIG_fail
;
30742 arg7
= (int) SWIG_AsInt(obj6
);
30743 if (PyErr_Occurred()) SWIG_fail
;
30746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30747 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30749 wxPyEndAllowThreads(__tstate
);
30750 if (PyErr_Occurred()) SWIG_fail
;
30752 Py_INCREF(Py_None
); resultobj
= Py_None
;
30759 static PyObject
*_wrap_PyTextShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30760 PyObject
*resultobj
;
30761 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30762 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
30765 int arg5
= (int) 0 ;
30766 int arg6
= (int) 0 ;
30767 PyObject
* obj0
= 0 ;
30768 PyObject
* obj1
= 0 ;
30769 PyObject
* obj2
= 0 ;
30770 PyObject
* obj3
= 0 ;
30771 PyObject
* obj4
= 0 ;
30772 PyObject
* obj5
= 0 ;
30773 char *kwnames
[] = {
30774 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyTextShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30780 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
30781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30782 arg3
= (double) SWIG_AsDouble(obj2
);
30783 if (PyErr_Occurred()) SWIG_fail
;
30784 arg4
= (double) SWIG_AsDouble(obj3
);
30785 if (PyErr_Occurred()) SWIG_fail
;
30787 arg5
= (int) SWIG_AsInt(obj4
);
30788 if (PyErr_Occurred()) SWIG_fail
;
30791 arg6
= (int) SWIG_AsInt(obj5
);
30792 if (PyErr_Occurred()) SWIG_fail
;
30795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30796 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
30798 wxPyEndAllowThreads(__tstate
);
30799 if (PyErr_Occurred()) SWIG_fail
;
30801 Py_INCREF(Py_None
); resultobj
= Py_None
;
30808 static PyObject
*_wrap_PyTextShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30809 PyObject
*resultobj
;
30810 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30811 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
30814 int arg5
= (int) 0 ;
30815 int arg6
= (int) 0 ;
30816 PyObject
* obj0
= 0 ;
30817 PyObject
* obj1
= 0 ;
30818 PyObject
* obj2
= 0 ;
30819 PyObject
* obj3
= 0 ;
30820 PyObject
* obj4
= 0 ;
30821 PyObject
* obj5
= 0 ;
30822 char *kwnames
[] = {
30823 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyTextShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30829 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
30830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30831 arg3
= (double) SWIG_AsDouble(obj2
);
30832 if (PyErr_Occurred()) SWIG_fail
;
30833 arg4
= (double) SWIG_AsDouble(obj3
);
30834 if (PyErr_Occurred()) SWIG_fail
;
30836 arg5
= (int) SWIG_AsInt(obj4
);
30837 if (PyErr_Occurred()) SWIG_fail
;
30840 arg6
= (int) SWIG_AsInt(obj5
);
30841 if (PyErr_Occurred()) SWIG_fail
;
30844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30845 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
30847 wxPyEndAllowThreads(__tstate
);
30848 if (PyErr_Occurred()) SWIG_fail
;
30850 Py_INCREF(Py_None
); resultobj
= Py_None
;
30857 static PyObject
*_wrap_PyTextShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30858 PyObject
*resultobj
;
30859 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30862 PyObject
* obj0
= 0 ;
30863 PyObject
* obj1
= 0 ;
30864 PyObject
* obj2
= 0 ;
30865 char *kwnames
[] = {
30866 (char *) "self",(char *) "w",(char *) "h", NULL
30869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30872 arg2
= (double) SWIG_AsDouble(obj1
);
30873 if (PyErr_Occurred()) SWIG_fail
;
30874 arg3
= (double) SWIG_AsDouble(obj2
);
30875 if (PyErr_Occurred()) SWIG_fail
;
30877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30878 (arg1
)->base_OnBeginSize(arg2
,arg3
);
30880 wxPyEndAllowThreads(__tstate
);
30881 if (PyErr_Occurred()) SWIG_fail
;
30883 Py_INCREF(Py_None
); resultobj
= Py_None
;
30890 static PyObject
*_wrap_PyTextShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30891 PyObject
*resultobj
;
30892 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30895 PyObject
* obj0
= 0 ;
30896 PyObject
* obj1
= 0 ;
30897 PyObject
* obj2
= 0 ;
30898 char *kwnames
[] = {
30899 (char *) "self",(char *) "w",(char *) "h", NULL
30902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30905 arg2
= (double) SWIG_AsDouble(obj1
);
30906 if (PyErr_Occurred()) SWIG_fail
;
30907 arg3
= (double) SWIG_AsDouble(obj2
);
30908 if (PyErr_Occurred()) SWIG_fail
;
30910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30911 (arg1
)->base_OnEndSize(arg2
,arg3
);
30913 wxPyEndAllowThreads(__tstate
);
30914 if (PyErr_Occurred()) SWIG_fail
;
30916 Py_INCREF(Py_None
); resultobj
= Py_None
;
30923 static PyObject
* PyTextShape_swigregister(PyObject
*self
, PyObject
*args
) {
30925 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30926 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextShape
, obj
);
30928 return Py_BuildValue((char *)"");
30930 static PyObject
*_wrap_new_Diagram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30931 PyObject
*resultobj
;
30933 char *kwnames
[] = {
30937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Diagram",kwnames
)) goto fail
;
30939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30940 result
= (wxDiagram
*)new wxDiagram();
30942 wxPyEndAllowThreads(__tstate
);
30943 if (PyErr_Occurred()) SWIG_fail
;
30946 resultobj
= wxPyMake_wxObject(result
);
30954 static PyObject
*_wrap_Diagram_AddShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30955 PyObject
*resultobj
;
30956 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
30957 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
30958 wxPyShape
*arg3
= (wxPyShape
*) NULL
;
30959 PyObject
* obj0
= 0 ;
30960 PyObject
* obj1
= 0 ;
30961 PyObject
* obj2
= 0 ;
30962 char *kwnames
[] = {
30963 (char *) "self",(char *) "shape",(char *) "addAfter", NULL
30966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Diagram_AddShape",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
30968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30969 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
30970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30972 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyShape
,
30973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30977 (arg1
)->AddShape(arg2
,arg3
);
30979 wxPyEndAllowThreads(__tstate
);
30980 if (PyErr_Occurred()) SWIG_fail
;
30982 Py_INCREF(Py_None
); resultobj
= Py_None
;
30989 static PyObject
*_wrap_Diagram_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30990 PyObject
*resultobj
;
30991 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
30993 PyObject
* obj0
= 0 ;
30994 PyObject
* obj1
= 0 ;
30995 char *kwnames
[] = {
30996 (char *) "self",(char *) "dc", NULL
30999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
31000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31002 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31003 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31005 if (arg2
== NULL
) {
31006 PyErr_SetString(PyExc_TypeError
,"null reference");
31010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31011 (arg1
)->Clear(*arg2
);
31013 wxPyEndAllowThreads(__tstate
);
31014 if (PyErr_Occurred()) SWIG_fail
;
31016 Py_INCREF(Py_None
); resultobj
= Py_None
;
31023 static PyObject
*_wrap_Diagram_DeleteAllShapes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31024 PyObject
*resultobj
;
31025 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31026 PyObject
* obj0
= 0 ;
31027 char *kwnames
[] = {
31028 (char *) "self", NULL
31031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_DeleteAllShapes",kwnames
,&obj0
)) goto fail
;
31032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31036 (arg1
)->DeleteAllShapes();
31038 wxPyEndAllowThreads(__tstate
);
31039 if (PyErr_Occurred()) SWIG_fail
;
31041 Py_INCREF(Py_None
); resultobj
= Py_None
;
31048 static PyObject
*_wrap_Diagram_DrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31049 PyObject
*resultobj
;
31050 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31056 PyObject
* obj0
= 0 ;
31057 PyObject
* obj1
= 0 ;
31058 PyObject
* obj2
= 0 ;
31059 PyObject
* obj3
= 0 ;
31060 PyObject
* obj4
= 0 ;
31061 PyObject
* obj5
= 0 ;
31062 char *kwnames
[] = {
31063 (char *) "self",(char *) "dc",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
31066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Diagram_DrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31069 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31070 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31072 if (arg2
== NULL
) {
31073 PyErr_SetString(PyExc_TypeError
,"null reference");
31076 arg3
= (double) SWIG_AsDouble(obj2
);
31077 if (PyErr_Occurred()) SWIG_fail
;
31078 arg4
= (double) SWIG_AsDouble(obj3
);
31079 if (PyErr_Occurred()) SWIG_fail
;
31080 arg5
= (double) SWIG_AsDouble(obj4
);
31081 if (PyErr_Occurred()) SWIG_fail
;
31082 arg6
= (double) SWIG_AsDouble(obj5
);
31083 if (PyErr_Occurred()) SWIG_fail
;
31085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31086 (arg1
)->DrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
31088 wxPyEndAllowThreads(__tstate
);
31089 if (PyErr_Occurred()) SWIG_fail
;
31091 Py_INCREF(Py_None
); resultobj
= Py_None
;
31098 static PyObject
*_wrap_Diagram_FindShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31099 PyObject
*resultobj
;
31100 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31103 PyObject
* obj0
= 0 ;
31104 PyObject
* obj1
= 0 ;
31105 char *kwnames
[] = {
31106 (char *) "self",(char *) "id", NULL
31109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_FindShape",kwnames
,&obj0
,&obj1
)) goto fail
;
31110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31112 arg2
= (long) SWIG_AsLong(obj1
);
31113 if (PyErr_Occurred()) SWIG_fail
;
31115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31116 result
= (wxPyShape
*)(arg1
)->FindShape(arg2
);
31118 wxPyEndAllowThreads(__tstate
);
31119 if (PyErr_Occurred()) SWIG_fail
;
31122 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
31130 static PyObject
*_wrap_Diagram_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31131 PyObject
*resultobj
;
31132 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31133 wxPyShapeCanvas
*result
;
31134 PyObject
* obj0
= 0 ;
31135 char *kwnames
[] = {
31136 (char *) "self", NULL
31139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetCanvas",kwnames
,&obj0
)) goto fail
;
31140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31144 result
= (wxPyShapeCanvas
*)(arg1
)->GetCanvas();
31146 wxPyEndAllowThreads(__tstate
);
31147 if (PyErr_Occurred()) SWIG_fail
;
31150 resultobj
= wxPyMake_wxObject(result
);
31158 static PyObject
*_wrap_Diagram_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31159 PyObject
*resultobj
;
31160 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31162 PyObject
* obj0
= 0 ;
31163 char *kwnames
[] = {
31164 (char *) "self", NULL
31167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetCount",kwnames
,&obj0
)) goto fail
;
31168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31172 result
= (int)(arg1
)->GetCount();
31174 wxPyEndAllowThreads(__tstate
);
31175 if (PyErr_Occurred()) SWIG_fail
;
31177 resultobj
= SWIG_FromInt((int)result
);
31184 static PyObject
*_wrap_Diagram_GetGridSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31185 PyObject
*resultobj
;
31186 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31188 PyObject
* obj0
= 0 ;
31189 char *kwnames
[] = {
31190 (char *) "self", NULL
31193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetGridSpacing",kwnames
,&obj0
)) goto fail
;
31194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31198 result
= (double)(arg1
)->GetGridSpacing();
31200 wxPyEndAllowThreads(__tstate
);
31201 if (PyErr_Occurred()) SWIG_fail
;
31203 resultobj
= SWIG_FromDouble((double)result
);
31210 static PyObject
*_wrap_Diagram_GetMouseTolerance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31211 PyObject
*resultobj
;
31212 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31214 PyObject
* obj0
= 0 ;
31215 char *kwnames
[] = {
31216 (char *) "self", NULL
31219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetMouseTolerance",kwnames
,&obj0
)) goto fail
;
31220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31224 result
= (int)(arg1
)->GetMouseTolerance();
31226 wxPyEndAllowThreads(__tstate
);
31227 if (PyErr_Occurred()) SWIG_fail
;
31229 resultobj
= SWIG_FromInt((int)result
);
31236 static PyObject
*_wrap_Diagram_GetShapeList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31237 PyObject
*resultobj
;
31238 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31240 PyObject
* obj0
= 0 ;
31241 char *kwnames
[] = {
31242 (char *) "self", NULL
31245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetShapeList",kwnames
,&obj0
)) goto fail
;
31246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31250 result
= (PyObject
*)wxDiagram_GetShapeList(arg1
);
31252 wxPyEndAllowThreads(__tstate
);
31253 if (PyErr_Occurred()) SWIG_fail
;
31255 resultobj
= result
;
31262 static PyObject
*_wrap_Diagram_GetQuickEditMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31263 PyObject
*resultobj
;
31264 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31266 PyObject
* obj0
= 0 ;
31267 char *kwnames
[] = {
31268 (char *) "self", NULL
31271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetQuickEditMode",kwnames
,&obj0
)) goto fail
;
31272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31276 result
= (bool)(arg1
)->GetQuickEditMode();
31278 wxPyEndAllowThreads(__tstate
);
31279 if (PyErr_Occurred()) SWIG_fail
;
31282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31290 static PyObject
*_wrap_Diagram_GetSnapToGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31291 PyObject
*resultobj
;
31292 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31294 PyObject
* obj0
= 0 ;
31295 char *kwnames
[] = {
31296 (char *) "self", NULL
31299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetSnapToGrid",kwnames
,&obj0
)) goto fail
;
31300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31304 result
= (bool)(arg1
)->GetSnapToGrid();
31306 wxPyEndAllowThreads(__tstate
);
31307 if (PyErr_Occurred()) SWIG_fail
;
31310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31318 static PyObject
*_wrap_Diagram_InsertShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31319 PyObject
*resultobj
;
31320 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31321 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
31322 PyObject
* obj0
= 0 ;
31323 PyObject
* obj1
= 0 ;
31324 char *kwnames
[] = {
31325 (char *) "self",(char *) "shape", NULL
31328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_InsertShape",kwnames
,&obj0
,&obj1
)) goto fail
;
31329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31331 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
31332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31335 (arg1
)->InsertShape(arg2
);
31337 wxPyEndAllowThreads(__tstate
);
31338 if (PyErr_Occurred()) SWIG_fail
;
31340 Py_INCREF(Py_None
); resultobj
= Py_None
;
31347 static PyObject
*_wrap_Diagram_RecentreAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31348 PyObject
*resultobj
;
31349 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31351 PyObject
* obj0
= 0 ;
31352 PyObject
* obj1
= 0 ;
31353 char *kwnames
[] = {
31354 (char *) "self",(char *) "dc", NULL
31357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_RecentreAll",kwnames
,&obj0
,&obj1
)) goto fail
;
31358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31360 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31361 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31363 if (arg2
== NULL
) {
31364 PyErr_SetString(PyExc_TypeError
,"null reference");
31368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31369 (arg1
)->RecentreAll(*arg2
);
31371 wxPyEndAllowThreads(__tstate
);
31372 if (PyErr_Occurred()) SWIG_fail
;
31374 Py_INCREF(Py_None
); resultobj
= Py_None
;
31381 static PyObject
*_wrap_Diagram_Redraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31382 PyObject
*resultobj
;
31383 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31385 PyObject
* obj0
= 0 ;
31386 PyObject
* obj1
= 0 ;
31387 char *kwnames
[] = {
31388 (char *) "self",(char *) "dc", NULL
31391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_Redraw",kwnames
,&obj0
,&obj1
)) goto fail
;
31392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31394 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31395 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31397 if (arg2
== NULL
) {
31398 PyErr_SetString(PyExc_TypeError
,"null reference");
31402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31403 (arg1
)->Redraw(*arg2
);
31405 wxPyEndAllowThreads(__tstate
);
31406 if (PyErr_Occurred()) SWIG_fail
;
31408 Py_INCREF(Py_None
); resultobj
= Py_None
;
31415 static PyObject
*_wrap_Diagram_RemoveAllShapes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31416 PyObject
*resultobj
;
31417 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31418 PyObject
* obj0
= 0 ;
31419 char *kwnames
[] = {
31420 (char *) "self", NULL
31423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_RemoveAllShapes",kwnames
,&obj0
)) goto fail
;
31424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31428 (arg1
)->RemoveAllShapes();
31430 wxPyEndAllowThreads(__tstate
);
31431 if (PyErr_Occurred()) SWIG_fail
;
31433 Py_INCREF(Py_None
); resultobj
= Py_None
;
31440 static PyObject
*_wrap_Diagram_RemoveShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31441 PyObject
*resultobj
;
31442 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31443 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
31444 PyObject
* obj0
= 0 ;
31445 PyObject
* obj1
= 0 ;
31446 char *kwnames
[] = {
31447 (char *) "self",(char *) "shape", NULL
31450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_RemoveShape",kwnames
,&obj0
,&obj1
)) goto fail
;
31451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31453 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
31454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31457 (arg1
)->RemoveShape(arg2
);
31459 wxPyEndAllowThreads(__tstate
);
31460 if (PyErr_Occurred()) SWIG_fail
;
31462 Py_INCREF(Py_None
); resultobj
= Py_None
;
31469 static PyObject
*_wrap_Diagram_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31470 PyObject
*resultobj
;
31471 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31472 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
31473 PyObject
* obj0
= 0 ;
31474 PyObject
* obj1
= 0 ;
31475 char *kwnames
[] = {
31476 (char *) "self",(char *) "canvas", NULL
31479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
31480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31482 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShapeCanvas
,
31483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31486 (arg1
)->SetCanvas(arg2
);
31488 wxPyEndAllowThreads(__tstate
);
31489 if (PyErr_Occurred()) SWIG_fail
;
31491 Py_INCREF(Py_None
); resultobj
= Py_None
;
31498 static PyObject
*_wrap_Diagram_SetGridSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31499 PyObject
*resultobj
;
31500 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31502 PyObject
* obj0
= 0 ;
31503 PyObject
* obj1
= 0 ;
31504 char *kwnames
[] = {
31505 (char *) "self",(char *) "spacing", NULL
31508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_SetGridSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
31509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31511 arg2
= (double) SWIG_AsDouble(obj1
);
31512 if (PyErr_Occurred()) SWIG_fail
;
31514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31515 (arg1
)->SetGridSpacing(arg2
);
31517 wxPyEndAllowThreads(__tstate
);
31518 if (PyErr_Occurred()) SWIG_fail
;
31520 Py_INCREF(Py_None
); resultobj
= Py_None
;
31527 static PyObject
*_wrap_Diagram_SetMouseTolerance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31528 PyObject
*resultobj
;
31529 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31531 PyObject
* obj0
= 0 ;
31532 PyObject
* obj1
= 0 ;
31533 char *kwnames
[] = {
31534 (char *) "self",(char *) "tolerance", NULL
31537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_SetMouseTolerance",kwnames
,&obj0
,&obj1
)) goto fail
;
31538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31540 arg2
= (int) SWIG_AsInt(obj1
);
31541 if (PyErr_Occurred()) SWIG_fail
;
31543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31544 (arg1
)->SetMouseTolerance(arg2
);
31546 wxPyEndAllowThreads(__tstate
);
31547 if (PyErr_Occurred()) SWIG_fail
;
31549 Py_INCREF(Py_None
); resultobj
= Py_None
;
31556 static PyObject
*_wrap_Diagram_SetQuickEditMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31557 PyObject
*resultobj
;
31558 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31560 PyObject
* obj0
= 0 ;
31561 PyObject
* obj1
= 0 ;
31562 char *kwnames
[] = {
31563 (char *) "self",(char *) "mode", NULL
31566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_SetQuickEditMode",kwnames
,&obj0
,&obj1
)) goto fail
;
31567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31569 arg2
= (bool) SWIG_AsBool(obj1
);
31570 if (PyErr_Occurred()) SWIG_fail
;
31572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31573 (arg1
)->SetQuickEditMode(arg2
);
31575 wxPyEndAllowThreads(__tstate
);
31576 if (PyErr_Occurred()) SWIG_fail
;
31578 Py_INCREF(Py_None
); resultobj
= Py_None
;
31585 static PyObject
*_wrap_Diagram_SetSnapToGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31586 PyObject
*resultobj
;
31587 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31589 PyObject
* obj0
= 0 ;
31590 PyObject
* obj1
= 0 ;
31591 char *kwnames
[] = {
31592 (char *) "self",(char *) "snap", NULL
31595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_SetSnapToGrid",kwnames
,&obj0
,&obj1
)) goto fail
;
31596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31598 arg2
= (bool) SWIG_AsBool(obj1
);
31599 if (PyErr_Occurred()) SWIG_fail
;
31601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31602 (arg1
)->SetSnapToGrid(arg2
);
31604 wxPyEndAllowThreads(__tstate
);
31605 if (PyErr_Occurred()) SWIG_fail
;
31607 Py_INCREF(Py_None
); resultobj
= Py_None
;
31614 static PyObject
*_wrap_Diagram_ShowAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31615 PyObject
*resultobj
;
31616 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31618 PyObject
* obj0
= 0 ;
31619 PyObject
* obj1
= 0 ;
31620 char *kwnames
[] = {
31621 (char *) "self",(char *) "show", NULL
31624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_ShowAll",kwnames
,&obj0
,&obj1
)) goto fail
;
31625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31627 arg2
= (bool) SWIG_AsBool(obj1
);
31628 if (PyErr_Occurred()) SWIG_fail
;
31630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31631 (arg1
)->ShowAll(arg2
);
31633 wxPyEndAllowThreads(__tstate
);
31634 if (PyErr_Occurred()) SWIG_fail
;
31636 Py_INCREF(Py_None
); resultobj
= Py_None
;
31643 static PyObject
*_wrap_Diagram_Snap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31644 PyObject
*resultobj
;
31645 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31646 double *arg2
= (double *) 0 ;
31647 double *arg3
= (double *) 0 ;
31650 PyObject
* obj0
= 0 ;
31651 PyObject
* obj1
= 0 ;
31652 PyObject
* obj2
= 0 ;
31653 char *kwnames
[] = {
31654 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
31657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Diagram_Snap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31661 temp2
= PyFloat_AsDouble(obj1
);
31662 if (PyErr_Occurred()) SWIG_fail
;
31666 temp3
= PyFloat_AsDouble(obj2
);
31667 if (PyErr_Occurred()) SWIG_fail
;
31671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31672 (arg1
)->Snap(arg2
,arg3
);
31674 wxPyEndAllowThreads(__tstate
);
31675 if (PyErr_Occurred()) SWIG_fail
;
31677 Py_INCREF(Py_None
); resultobj
= Py_None
;
31679 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
31680 resultobj
= t_output_helper(resultobj
,o
);
31683 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
31684 resultobj
= t_output_helper(resultobj
,o
);
31692 static PyObject
* Diagram_swigregister(PyObject
*self
, PyObject
*args
) {
31694 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31695 SWIG_TypeClientData(SWIGTYPE_p_wxDiagram
, obj
);
31697 return Py_BuildValue((char *)"");
31699 static PyObject
*_wrap_new_PyShapeCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31700 PyObject
*resultobj
;
31701 wxWindow
*arg1
= (wxWindow
*) NULL
;
31702 int arg2
= (int) -1 ;
31703 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31704 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31705 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31706 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31707 long arg5
= (long) wxBORDER
;
31708 wxString
const &arg6_defvalue
= wxPyShapeCanvasNameStr
;
31709 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
31710 wxPyShapeCanvas
*result
;
31713 bool temp6
= False
;
31714 PyObject
* obj0
= 0 ;
31715 PyObject
* obj1
= 0 ;
31716 PyObject
* obj2
= 0 ;
31717 PyObject
* obj3
= 0 ;
31718 PyObject
* obj4
= 0 ;
31719 PyObject
* obj5
= 0 ;
31720 char *kwnames
[] = {
31721 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_PyShapeCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
31727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31730 arg2
= (int) SWIG_AsInt(obj1
);
31731 if (PyErr_Occurred()) SWIG_fail
;
31736 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31742 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31746 arg5
= (long) SWIG_AsLong(obj4
);
31747 if (PyErr_Occurred()) SWIG_fail
;
31751 arg6
= wxString_in_helper(obj5
);
31752 if (arg6
== NULL
) SWIG_fail
;
31757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31758 result
= (wxPyShapeCanvas
*)new wxPyShapeCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
31760 wxPyEndAllowThreads(__tstate
);
31761 if (PyErr_Occurred()) SWIG_fail
;
31764 resultobj
= wxPyMake_wxObject(result
);
31780 static PyObject
*_wrap_PyShapeCanvas__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31781 PyObject
*resultobj
;
31782 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
31783 PyObject
*arg2
= (PyObject
*) 0 ;
31784 PyObject
*arg3
= (PyObject
*) 0 ;
31785 PyObject
* obj0
= 0 ;
31786 PyObject
* obj1
= 0 ;
31787 PyObject
* obj2
= 0 ;
31788 char *kwnames
[] = {
31789 (char *) "self",(char *) "self",(char *) "_class", NULL
31792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeCanvas__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
31794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31799 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31801 wxPyEndAllowThreads(__tstate
);
31802 if (PyErr_Occurred()) SWIG_fail
;
31804 Py_INCREF(Py_None
); resultobj
= Py_None
;
31811 static PyObject
*_wrap_PyShapeCanvas_AddShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31812 PyObject
*resultobj
;
31813 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
31814 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
31815 wxPyShape
*arg3
= (wxPyShape
*) NULL
;
31816 PyObject
* obj0
= 0 ;
31817 PyObject
* obj1
= 0 ;
31818 PyObject
* obj2
= 0 ;
31819 char *kwnames
[] = {
31820 (char *) "self",(char *) "shape",(char *) "addAfter", NULL
31823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShapeCanvas_AddShape",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
31825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31826 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
31827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31829 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyShape
,
31830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31834 (arg1
)->AddShape(arg2
,arg3
);
31836 wxPyEndAllowThreads(__tstate
);
31837 if (PyErr_Occurred()) SWIG_fail
;
31839 Py_INCREF(Py_None
); resultobj
= Py_None
;
31846 static PyObject
*_wrap_PyShapeCanvas_FindShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31847 PyObject
*resultobj
;
31848 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
31851 int *arg4
= (int *) 0 ;
31852 wxClassInfo
*arg5
= (wxClassInfo
*) NULL
;
31853 wxPyShape
*arg6
= (wxPyShape
*) NULL
;
31856 PyObject
* obj0
= 0 ;
31857 PyObject
* obj1
= 0 ;
31858 PyObject
* obj2
= 0 ;
31859 PyObject
* obj3
= 0 ;
31860 PyObject
* obj4
= 0 ;
31861 char *kwnames
[] = {
31862 (char *) "self",(char *) "x1",(char *) "y",(char *) "info",(char *) "notImage", NULL
31866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeCanvas_FindShape",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
31868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31869 arg2
= (double) SWIG_AsDouble(obj1
);
31870 if (PyErr_Occurred()) SWIG_fail
;
31871 arg3
= (double) SWIG_AsDouble(obj2
);
31872 if (PyErr_Occurred()) SWIG_fail
;
31874 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxClassInfo
,
31875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31878 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg6
),SWIGTYPE_p_wxPyShape
,
31879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31883 result
= (wxPyShape
*)(arg1
)->FindShape(arg2
,arg3
,arg4
,arg5
,arg6
);
31885 wxPyEndAllowThreads(__tstate
);
31886 if (PyErr_Occurred()) SWIG_fail
;
31889 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
31892 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
31893 resultobj
= t_output_helper(resultobj
,o
);
31901 static PyObject
*_wrap_PyShapeCanvas_FindFirstSensitiveShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31902 PyObject
*resultobj
;
31903 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
31906 int *arg4
= (int *) 0 ;
31910 PyObject
* obj0
= 0 ;
31911 PyObject
* obj1
= 0 ;
31912 PyObject
* obj2
= 0 ;
31913 PyObject
* obj3
= 0 ;
31914 char *kwnames
[] = {
31915 (char *) "self",(char *) "x1",(char *) "y",(char *) "op", NULL
31919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyShapeCanvas_FindFirstSensitiveShape",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
31921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31922 arg2
= (double) SWIG_AsDouble(obj1
);
31923 if (PyErr_Occurred()) SWIG_fail
;
31924 arg3
= (double) SWIG_AsDouble(obj2
);
31925 if (PyErr_Occurred()) SWIG_fail
;
31926 arg5
= (int) SWIG_AsInt(obj3
);
31927 if (PyErr_Occurred()) SWIG_fail
;
31929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31930 result
= (wxPyShape
*)(arg1
)->FindFirstSensitiveShape(arg2
,arg3
,arg4
,arg5
);
31932 wxPyEndAllowThreads(__tstate
);
31933 if (PyErr_Occurred()) SWIG_fail
;
31936 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
31939 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
31940 resultobj
= t_output_helper(resultobj
,o
);
31948 static PyObject
*_wrap_PyShapeCanvas_GetDiagram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31949 PyObject
*resultobj
;
31950 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
31952 PyObject
* obj0
= 0 ;
31953 char *kwnames
[] = {
31954 (char *) "self", NULL
31957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeCanvas_GetDiagram",kwnames
,&obj0
)) goto fail
;
31958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
31959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31962 result
= (wxDiagram
*)(arg1
)->GetDiagram();
31964 wxPyEndAllowThreads(__tstate
);
31965 if (PyErr_Occurred()) SWIG_fail
;
31968 resultobj
= wxPyMake_wxObject(result
);
31976 static PyObject
*_wrap_PyShapeCanvas_GetQuickEditMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31977 PyObject
*resultobj
;
31978 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
31980 PyObject
* obj0
= 0 ;
31981 char *kwnames
[] = {
31982 (char *) "self", NULL
31985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeCanvas_GetQuickEditMode",kwnames
,&obj0
)) goto fail
;
31986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
31987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31990 result
= (bool)(arg1
)->GetQuickEditMode();
31992 wxPyEndAllowThreads(__tstate
);
31993 if (PyErr_Occurred()) SWIG_fail
;
31996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32004 static PyObject
*_wrap_PyShapeCanvas_InsertShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32005 PyObject
*resultobj
;
32006 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32007 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
32008 PyObject
* obj0
= 0 ;
32009 PyObject
* obj1
= 0 ;
32010 char *kwnames
[] = {
32011 (char *) "self",(char *) "shape", NULL
32014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeCanvas_InsertShape",kwnames
,&obj0
,&obj1
)) goto fail
;
32015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32017 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
32018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32021 (arg1
)->InsertShape(arg2
);
32023 wxPyEndAllowThreads(__tstate
);
32024 if (PyErr_Occurred()) SWIG_fail
;
32026 Py_INCREF(Py_None
); resultobj
= Py_None
;
32033 static PyObject
*_wrap_PyShapeCanvas_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32034 PyObject
*resultobj
;
32035 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32038 int arg4
= (int) 0 ;
32039 PyObject
* obj0
= 0 ;
32040 PyObject
* obj1
= 0 ;
32041 PyObject
* obj2
= 0 ;
32042 PyObject
* obj3
= 0 ;
32043 char *kwnames
[] = {
32044 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShapeCanvas_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32050 arg2
= (double) SWIG_AsDouble(obj1
);
32051 if (PyErr_Occurred()) SWIG_fail
;
32052 arg3
= (double) SWIG_AsDouble(obj2
);
32053 if (PyErr_Occurred()) SWIG_fail
;
32055 arg4
= (int) SWIG_AsInt(obj3
);
32056 if (PyErr_Occurred()) SWIG_fail
;
32059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32060 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
);
32062 wxPyEndAllowThreads(__tstate
);
32063 if (PyErr_Occurred()) SWIG_fail
;
32065 Py_INCREF(Py_None
); resultobj
= Py_None
;
32072 static PyObject
*_wrap_PyShapeCanvas_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32073 PyObject
*resultobj
;
32074 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32077 int arg4
= (int) 0 ;
32078 PyObject
* obj0
= 0 ;
32079 PyObject
* obj1
= 0 ;
32080 PyObject
* obj2
= 0 ;
32081 PyObject
* obj3
= 0 ;
32082 char *kwnames
[] = {
32083 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShapeCanvas_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32089 arg2
= (double) SWIG_AsDouble(obj1
);
32090 if (PyErr_Occurred()) SWIG_fail
;
32091 arg3
= (double) SWIG_AsDouble(obj2
);
32092 if (PyErr_Occurred()) SWIG_fail
;
32094 arg4
= (int) SWIG_AsInt(obj3
);
32095 if (PyErr_Occurred()) SWIG_fail
;
32098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32099 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
);
32101 wxPyEndAllowThreads(__tstate
);
32102 if (PyErr_Occurred()) SWIG_fail
;
32104 Py_INCREF(Py_None
); resultobj
= Py_None
;
32111 static PyObject
*_wrap_PyShapeCanvas_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32112 PyObject
*resultobj
;
32113 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32116 int arg4
= (int) 0 ;
32117 PyObject
* obj0
= 0 ;
32118 PyObject
* obj1
= 0 ;
32119 PyObject
* obj2
= 0 ;
32120 PyObject
* obj3
= 0 ;
32121 char *kwnames
[] = {
32122 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShapeCanvas_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32128 arg2
= (double) SWIG_AsDouble(obj1
);
32129 if (PyErr_Occurred()) SWIG_fail
;
32130 arg3
= (double) SWIG_AsDouble(obj2
);
32131 if (PyErr_Occurred()) SWIG_fail
;
32133 arg4
= (int) SWIG_AsInt(obj3
);
32134 if (PyErr_Occurred()) SWIG_fail
;
32137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32138 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
);
32140 wxPyEndAllowThreads(__tstate
);
32141 if (PyErr_Occurred()) SWIG_fail
;
32143 Py_INCREF(Py_None
); resultobj
= Py_None
;
32150 static PyObject
*_wrap_PyShapeCanvas_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32151 PyObject
*resultobj
;
32152 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32155 int arg4
= (int) 0 ;
32156 PyObject
* obj0
= 0 ;
32157 PyObject
* obj1
= 0 ;
32158 PyObject
* obj2
= 0 ;
32159 PyObject
* obj3
= 0 ;
32160 char *kwnames
[] = {
32161 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShapeCanvas_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32167 arg2
= (double) SWIG_AsDouble(obj1
);
32168 if (PyErr_Occurred()) SWIG_fail
;
32169 arg3
= (double) SWIG_AsDouble(obj2
);
32170 if (PyErr_Occurred()) SWIG_fail
;
32172 arg4
= (int) SWIG_AsInt(obj3
);
32173 if (PyErr_Occurred()) SWIG_fail
;
32176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32177 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
);
32179 wxPyEndAllowThreads(__tstate
);
32180 if (PyErr_Occurred()) SWIG_fail
;
32182 Py_INCREF(Py_None
); resultobj
= Py_None
;
32189 static PyObject
*_wrap_PyShapeCanvas_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32190 PyObject
*resultobj
;
32191 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32195 int arg5
= (int) 0 ;
32196 PyObject
* obj0
= 0 ;
32197 PyObject
* obj1
= 0 ;
32198 PyObject
* obj2
= 0 ;
32199 PyObject
* obj3
= 0 ;
32200 PyObject
* obj4
= 0 ;
32201 char *kwnames
[] = {
32202 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys", NULL
32205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyShapeCanvas_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32208 arg2
= (bool) SWIG_AsBool(obj1
);
32209 if (PyErr_Occurred()) SWIG_fail
;
32210 arg3
= (double) SWIG_AsDouble(obj2
);
32211 if (PyErr_Occurred()) SWIG_fail
;
32212 arg4
= (double) SWIG_AsDouble(obj3
);
32213 if (PyErr_Occurred()) SWIG_fail
;
32215 arg5
= (int) SWIG_AsInt(obj4
);
32216 if (PyErr_Occurred()) SWIG_fail
;
32219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32220 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
);
32222 wxPyEndAllowThreads(__tstate
);
32223 if (PyErr_Occurred()) SWIG_fail
;
32225 Py_INCREF(Py_None
); resultobj
= Py_None
;
32232 static PyObject
*_wrap_PyShapeCanvas_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32233 PyObject
*resultobj
;
32234 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32238 int arg5
= (int) 0 ;
32239 PyObject
* obj0
= 0 ;
32240 PyObject
* obj1
= 0 ;
32241 PyObject
* obj2
= 0 ;
32242 PyObject
* obj3
= 0 ;
32243 PyObject
* obj4
= 0 ;
32244 char *kwnames
[] = {
32245 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys", NULL
32248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyShapeCanvas_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32251 arg2
= (bool) SWIG_AsBool(obj1
);
32252 if (PyErr_Occurred()) SWIG_fail
;
32253 arg3
= (double) SWIG_AsDouble(obj2
);
32254 if (PyErr_Occurred()) SWIG_fail
;
32255 arg4
= (double) SWIG_AsDouble(obj3
);
32256 if (PyErr_Occurred()) SWIG_fail
;
32258 arg5
= (int) SWIG_AsInt(obj4
);
32259 if (PyErr_Occurred()) SWIG_fail
;
32262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32263 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
);
32265 wxPyEndAllowThreads(__tstate
);
32266 if (PyErr_Occurred()) SWIG_fail
;
32268 Py_INCREF(Py_None
); resultobj
= Py_None
;
32275 static PyObject
*_wrap_PyShapeCanvas_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32276 PyObject
*resultobj
;
32277 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32280 int arg4
= (int) 0 ;
32281 PyObject
* obj0
= 0 ;
32282 PyObject
* obj1
= 0 ;
32283 PyObject
* obj2
= 0 ;
32284 PyObject
* obj3
= 0 ;
32285 char *kwnames
[] = {
32286 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShapeCanvas_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32292 arg2
= (double) SWIG_AsDouble(obj1
);
32293 if (PyErr_Occurred()) SWIG_fail
;
32294 arg3
= (double) SWIG_AsDouble(obj2
);
32295 if (PyErr_Occurred()) SWIG_fail
;
32297 arg4
= (int) SWIG_AsInt(obj3
);
32298 if (PyErr_Occurred()) SWIG_fail
;
32301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32302 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
);
32304 wxPyEndAllowThreads(__tstate
);
32305 if (PyErr_Occurred()) SWIG_fail
;
32307 Py_INCREF(Py_None
); resultobj
= Py_None
;
32314 static PyObject
*_wrap_PyShapeCanvas_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32315 PyObject
*resultobj
;
32316 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32319 int arg4
= (int) 0 ;
32320 PyObject
* obj0
= 0 ;
32321 PyObject
* obj1
= 0 ;
32322 PyObject
* obj2
= 0 ;
32323 PyObject
* obj3
= 0 ;
32324 char *kwnames
[] = {
32325 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShapeCanvas_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32331 arg2
= (double) SWIG_AsDouble(obj1
);
32332 if (PyErr_Occurred()) SWIG_fail
;
32333 arg3
= (double) SWIG_AsDouble(obj2
);
32334 if (PyErr_Occurred()) SWIG_fail
;
32336 arg4
= (int) SWIG_AsInt(obj3
);
32337 if (PyErr_Occurred()) SWIG_fail
;
32340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32341 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
);
32343 wxPyEndAllowThreads(__tstate
);
32344 if (PyErr_Occurred()) SWIG_fail
;
32346 Py_INCREF(Py_None
); resultobj
= Py_None
;
32353 static PyObject
*_wrap_PyShapeCanvas_Redraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32354 PyObject
*resultobj
;
32355 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32357 PyObject
* obj0
= 0 ;
32358 PyObject
* obj1
= 0 ;
32359 char *kwnames
[] = {
32360 (char *) "self",(char *) "dc", NULL
32363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeCanvas_Redraw",kwnames
,&obj0
,&obj1
)) goto fail
;
32364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32366 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
32367 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32369 if (arg2
== NULL
) {
32370 PyErr_SetString(PyExc_TypeError
,"null reference");
32374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32375 (arg1
)->Redraw(*arg2
);
32377 wxPyEndAllowThreads(__tstate
);
32378 if (PyErr_Occurred()) SWIG_fail
;
32380 Py_INCREF(Py_None
); resultobj
= Py_None
;
32387 static PyObject
*_wrap_PyShapeCanvas_RemoveShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32388 PyObject
*resultobj
;
32389 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32390 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
32391 PyObject
* obj0
= 0 ;
32392 PyObject
* obj1
= 0 ;
32393 char *kwnames
[] = {
32394 (char *) "self",(char *) "shape", NULL
32397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeCanvas_RemoveShape",kwnames
,&obj0
,&obj1
)) goto fail
;
32398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32400 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
32401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32404 (arg1
)->RemoveShape(arg2
);
32406 wxPyEndAllowThreads(__tstate
);
32407 if (PyErr_Occurred()) SWIG_fail
;
32409 Py_INCREF(Py_None
); resultobj
= Py_None
;
32416 static PyObject
*_wrap_PyShapeCanvas_SetDiagram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32417 PyObject
*resultobj
;
32418 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32419 wxDiagram
*arg2
= (wxDiagram
*) 0 ;
32420 PyObject
* obj0
= 0 ;
32421 PyObject
* obj1
= 0 ;
32422 char *kwnames
[] = {
32423 (char *) "self",(char *) "diagram", NULL
32426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeCanvas_SetDiagram",kwnames
,&obj0
,&obj1
)) goto fail
;
32427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32429 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDiagram
,
32430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32433 (arg1
)->SetDiagram(arg2
);
32435 wxPyEndAllowThreads(__tstate
);
32436 if (PyErr_Occurred()) SWIG_fail
;
32438 Py_INCREF(Py_None
); resultobj
= Py_None
;
32445 static PyObject
*_wrap_PyShapeCanvas_Snap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32446 PyObject
*resultobj
;
32447 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32448 double *arg2
= (double *) 0 ;
32449 double *arg3
= (double *) 0 ;
32452 PyObject
* obj0
= 0 ;
32453 PyObject
* obj1
= 0 ;
32454 PyObject
* obj2
= 0 ;
32455 char *kwnames
[] = {
32456 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
32459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeCanvas_Snap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32463 temp2
= PyFloat_AsDouble(obj1
);
32464 if (PyErr_Occurred()) SWIG_fail
;
32468 temp3
= PyFloat_AsDouble(obj2
);
32469 if (PyErr_Occurred()) SWIG_fail
;
32473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32474 (arg1
)->Snap(arg2
,arg3
);
32476 wxPyEndAllowThreads(__tstate
);
32477 if (PyErr_Occurred()) SWIG_fail
;
32479 Py_INCREF(Py_None
); resultobj
= Py_None
;
32481 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
32482 resultobj
= t_output_helper(resultobj
,o
);
32485 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
32486 resultobj
= t_output_helper(resultobj
,o
);
32494 static PyObject
* PyShapeCanvas_swigregister(PyObject
*self
, PyObject
*args
) {
32496 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32497 SWIG_TypeClientData(SWIGTYPE_p_wxPyShapeCanvas
, obj
);
32499 return Py_BuildValue((char *)"");
32501 static PyObject
*_wrap_OGLInitialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32502 PyObject
*resultobj
;
32503 char *kwnames
[] = {
32507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":OGLInitialize",kwnames
)) goto fail
;
32509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32512 wxPyEndAllowThreads(__tstate
);
32513 if (PyErr_Occurred()) SWIG_fail
;
32515 Py_INCREF(Py_None
); resultobj
= Py_None
;
32522 static PyObject
*_wrap_OGLCleanUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32523 PyObject
*resultobj
;
32524 char *kwnames
[] = {
32528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":OGLCleanUp",kwnames
)) goto fail
;
32530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32533 wxPyEndAllowThreads(__tstate
);
32534 if (PyErr_Occurred()) SWIG_fail
;
32536 Py_INCREF(Py_None
); resultobj
= Py_None
;
32543 static PyMethodDef SwigMethods
[] = {
32544 { (char *)"new_ShapeRegion", (PyCFunction
) _wrap_new_ShapeRegion
, METH_VARARGS
| METH_KEYWORDS
},
32545 { (char *)"ShapeRegion_SetText", (PyCFunction
) _wrap_ShapeRegion_SetText
, METH_VARARGS
| METH_KEYWORDS
},
32546 { (char *)"ShapeRegion_SetFont", (PyCFunction
) _wrap_ShapeRegion_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
32547 { (char *)"ShapeRegion_SetMinSize", (PyCFunction
) _wrap_ShapeRegion_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
32548 { (char *)"ShapeRegion_SetSize", (PyCFunction
) _wrap_ShapeRegion_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
32549 { (char *)"ShapeRegion_SetPosition", (PyCFunction
) _wrap_ShapeRegion_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
32550 { (char *)"ShapeRegion_SetProportions", (PyCFunction
) _wrap_ShapeRegion_SetProportions
, METH_VARARGS
| METH_KEYWORDS
},
32551 { (char *)"ShapeRegion_SetFormatMode", (PyCFunction
) _wrap_ShapeRegion_SetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
32552 { (char *)"ShapeRegion_SetName", (PyCFunction
) _wrap_ShapeRegion_SetName
, METH_VARARGS
| METH_KEYWORDS
},
32553 { (char *)"ShapeRegion_SetColour", (PyCFunction
) _wrap_ShapeRegion_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
32554 { (char *)"ShapeRegion_GetText", (PyCFunction
) _wrap_ShapeRegion_GetText
, METH_VARARGS
| METH_KEYWORDS
},
32555 { (char *)"ShapeRegion_GetFont", (PyCFunction
) _wrap_ShapeRegion_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
32556 { (char *)"ShapeRegion_GetMinSize", (PyCFunction
) _wrap_ShapeRegion_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
32557 { (char *)"ShapeRegion_GetProportion", (PyCFunction
) _wrap_ShapeRegion_GetProportion
, METH_VARARGS
| METH_KEYWORDS
},
32558 { (char *)"ShapeRegion_GetSize", (PyCFunction
) _wrap_ShapeRegion_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
32559 { (char *)"ShapeRegion_GetPosition", (PyCFunction
) _wrap_ShapeRegion_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
32560 { (char *)"ShapeRegion_GetFormatMode", (PyCFunction
) _wrap_ShapeRegion_GetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
32561 { (char *)"ShapeRegion_GetName", (PyCFunction
) _wrap_ShapeRegion_GetName
, METH_VARARGS
| METH_KEYWORDS
},
32562 { (char *)"ShapeRegion_GetColour", (PyCFunction
) _wrap_ShapeRegion_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
32563 { (char *)"ShapeRegion_GetActualColourObject", (PyCFunction
) _wrap_ShapeRegion_GetActualColourObject
, METH_VARARGS
| METH_KEYWORDS
},
32564 { (char *)"ShapeRegion_GetFormattedText", (PyCFunction
) _wrap_ShapeRegion_GetFormattedText
, METH_VARARGS
| METH_KEYWORDS
},
32565 { (char *)"ShapeRegion_GetPenColour", (PyCFunction
) _wrap_ShapeRegion_GetPenColour
, METH_VARARGS
| METH_KEYWORDS
},
32566 { (char *)"ShapeRegion_GetPenStyle", (PyCFunction
) _wrap_ShapeRegion_GetPenStyle
, METH_VARARGS
| METH_KEYWORDS
},
32567 { (char *)"ShapeRegion_SetPenStyle", (PyCFunction
) _wrap_ShapeRegion_SetPenStyle
, METH_VARARGS
| METH_KEYWORDS
},
32568 { (char *)"ShapeRegion_SetPenColour", (PyCFunction
) _wrap_ShapeRegion_SetPenColour
, METH_VARARGS
| METH_KEYWORDS
},
32569 { (char *)"ShapeRegion_GetActualPen", (PyCFunction
) _wrap_ShapeRegion_GetActualPen
, METH_VARARGS
| METH_KEYWORDS
},
32570 { (char *)"ShapeRegion_GetWidth", (PyCFunction
) _wrap_ShapeRegion_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
32571 { (char *)"ShapeRegion_GetHeight", (PyCFunction
) _wrap_ShapeRegion_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
32572 { (char *)"ShapeRegion_ClearText", (PyCFunction
) _wrap_ShapeRegion_ClearText
, METH_VARARGS
| METH_KEYWORDS
},
32573 { (char *)"ShapeRegion_swigregister", ShapeRegion_swigregister
, METH_VARARGS
},
32574 { (char *)"new_AttachmentPoint", (PyCFunction
) _wrap_new_AttachmentPoint
, METH_VARARGS
| METH_KEYWORDS
},
32575 { (char *)"AttachmentPoint_m_id_set", (PyCFunction
) _wrap_AttachmentPoint_m_id_set
, METH_VARARGS
| METH_KEYWORDS
},
32576 { (char *)"AttachmentPoint_m_id_get", (PyCFunction
) _wrap_AttachmentPoint_m_id_get
, METH_VARARGS
| METH_KEYWORDS
},
32577 { (char *)"AttachmentPoint_m_x_set", (PyCFunction
) _wrap_AttachmentPoint_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
32578 { (char *)"AttachmentPoint_m_x_get", (PyCFunction
) _wrap_AttachmentPoint_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
32579 { (char *)"AttachmentPoint_m_y_set", (PyCFunction
) _wrap_AttachmentPoint_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
32580 { (char *)"AttachmentPoint_m_y_get", (PyCFunction
) _wrap_AttachmentPoint_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
32581 { (char *)"AttachmentPoint_swigregister", AttachmentPoint_swigregister
, METH_VARARGS
},
32582 { (char *)"new_PyShapeEvtHandler", (PyCFunction
) _wrap_new_PyShapeEvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
32583 { (char *)"PyShapeEvtHandler__setCallbackInfo", (PyCFunction
) _wrap_PyShapeEvtHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
32584 { (char *)"PyShapeEvtHandler__setOORInfo", (PyCFunction
) _wrap_PyShapeEvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
32585 { (char *)"PyShapeEvtHandler_SetShape", (PyCFunction
) _wrap_PyShapeEvtHandler_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
32586 { (char *)"PyShapeEvtHandler_GetShape", (PyCFunction
) _wrap_PyShapeEvtHandler_GetShape
, METH_VARARGS
| METH_KEYWORDS
},
32587 { (char *)"PyShapeEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_PyShapeEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
32588 { (char *)"PyShapeEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_PyShapeEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
32589 { (char *)"PyShapeEvtHandler_CreateNewCopy", (PyCFunction
) _wrap_PyShapeEvtHandler_CreateNewCopy
, METH_VARARGS
| METH_KEYWORDS
},
32590 { (char *)"PyShapeEvtHandler_base_OnDelete", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
32591 { (char *)"PyShapeEvtHandler_base_OnDraw", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
32592 { (char *)"PyShapeEvtHandler_base_OnDrawContents", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
32593 { (char *)"PyShapeEvtHandler_base_OnDrawBranches", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
32594 { (char *)"PyShapeEvtHandler_base_OnMoveLinks", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
32595 { (char *)"PyShapeEvtHandler_base_OnErase", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
32596 { (char *)"PyShapeEvtHandler_base_OnEraseContents", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
32597 { (char *)"PyShapeEvtHandler_base_OnHighlight", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
32598 { (char *)"PyShapeEvtHandler_base_OnLeftClick", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
32599 { (char *)"PyShapeEvtHandler_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
32600 { (char *)"PyShapeEvtHandler_base_OnRightClick", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
32601 { (char *)"PyShapeEvtHandler_base_OnSize", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
32602 { (char *)"PyShapeEvtHandler_base_OnMovePre", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
32603 { (char *)"PyShapeEvtHandler_base_OnMovePost", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
32604 { (char *)"PyShapeEvtHandler_base_OnDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32605 { (char *)"PyShapeEvtHandler_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32606 { (char *)"PyShapeEvtHandler_base_OnEndDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32607 { (char *)"PyShapeEvtHandler_base_OnDragRight", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32608 { (char *)"PyShapeEvtHandler_base_OnBeginDragRight", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32609 { (char *)"PyShapeEvtHandler_base_OnEndDragRight", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32610 { (char *)"PyShapeEvtHandler_base_OnDrawOutline", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
32611 { (char *)"PyShapeEvtHandler_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32612 { (char *)"PyShapeEvtHandler_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32613 { (char *)"PyShapeEvtHandler_base_OnMoveLink", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
32614 { (char *)"PyShapeEvtHandler_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32615 { (char *)"PyShapeEvtHandler_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32616 { (char *)"PyShapeEvtHandler_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32617 { (char *)"PyShapeEvtHandler_base_OnBeginSize", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
32618 { (char *)"PyShapeEvtHandler_base_OnEndSize", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
32619 { (char *)"PyShapeEvtHandler_swigregister", PyShapeEvtHandler_swigregister
, METH_VARARGS
},
32620 { (char *)"new_PyShape", (PyCFunction
) _wrap_new_PyShape
, METH_VARARGS
| METH_KEYWORDS
},
32621 { (char *)"PyShape__setCallbackInfo", (PyCFunction
) _wrap_PyShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
32622 { (char *)"PyShape_GetBoundingBoxMax", (PyCFunction
) _wrap_PyShape_GetBoundingBoxMax
, METH_VARARGS
| METH_KEYWORDS
},
32623 { (char *)"PyShape_GetBoundingBoxMin", (PyCFunction
) _wrap_PyShape_GetBoundingBoxMin
, METH_VARARGS
| METH_KEYWORDS
},
32624 { (char *)"PyShape_GetPerimeterPoint", (PyCFunction
) _wrap_PyShape_GetPerimeterPoint
, METH_VARARGS
| METH_KEYWORDS
},
32625 { (char *)"PyShape_GetCanvas", (PyCFunction
) _wrap_PyShape_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
32626 { (char *)"PyShape_SetCanvas", (PyCFunction
) _wrap_PyShape_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
32627 { (char *)"PyShape_AddToCanvas", (PyCFunction
) _wrap_PyShape_AddToCanvas
, METH_VARARGS
| METH_KEYWORDS
},
32628 { (char *)"PyShape_InsertInCanvas", (PyCFunction
) _wrap_PyShape_InsertInCanvas
, METH_VARARGS
| METH_KEYWORDS
},
32629 { (char *)"PyShape_RemoveFromCanvas", (PyCFunction
) _wrap_PyShape_RemoveFromCanvas
, METH_VARARGS
| METH_KEYWORDS
},
32630 { (char *)"PyShape_GetX", (PyCFunction
) _wrap_PyShape_GetX
, METH_VARARGS
| METH_KEYWORDS
},
32631 { (char *)"PyShape_GetY", (PyCFunction
) _wrap_PyShape_GetY
, METH_VARARGS
| METH_KEYWORDS
},
32632 { (char *)"PyShape_SetX", (PyCFunction
) _wrap_PyShape_SetX
, METH_VARARGS
| METH_KEYWORDS
},
32633 { (char *)"PyShape_SetY", (PyCFunction
) _wrap_PyShape_SetY
, METH_VARARGS
| METH_KEYWORDS
},
32634 { (char *)"PyShape_GetParent", (PyCFunction
) _wrap_PyShape_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
32635 { (char *)"PyShape_SetParent", (PyCFunction
) _wrap_PyShape_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
32636 { (char *)"PyShape_GetTopAncestor", (PyCFunction
) _wrap_PyShape_GetTopAncestor
, METH_VARARGS
| METH_KEYWORDS
},
32637 { (char *)"PyShape_GetChildren", (PyCFunction
) _wrap_PyShape_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
32638 { (char *)"PyShape_Unlink", (PyCFunction
) _wrap_PyShape_Unlink
, METH_VARARGS
| METH_KEYWORDS
},
32639 { (char *)"PyShape_SetDrawHandles", (PyCFunction
) _wrap_PyShape_SetDrawHandles
, METH_VARARGS
| METH_KEYWORDS
},
32640 { (char *)"PyShape_GetDrawHandles", (PyCFunction
) _wrap_PyShape_GetDrawHandles
, METH_VARARGS
| METH_KEYWORDS
},
32641 { (char *)"PyShape_MakeControlPoints", (PyCFunction
) _wrap_PyShape_MakeControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32642 { (char *)"PyShape_DeleteControlPoints", (PyCFunction
) _wrap_PyShape_DeleteControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32643 { (char *)"PyShape_ResetControlPoints", (PyCFunction
) _wrap_PyShape_ResetControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32644 { (char *)"PyShape_GetEventHandler", (PyCFunction
) _wrap_PyShape_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
32645 { (char *)"PyShape_SetEventHandler", (PyCFunction
) _wrap_PyShape_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
32646 { (char *)"PyShape_MakeMandatoryControlPoints", (PyCFunction
) _wrap_PyShape_MakeMandatoryControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32647 { (char *)"PyShape_ResetMandatoryControlPoints", (PyCFunction
) _wrap_PyShape_ResetMandatoryControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32648 { (char *)"PyShape_Recompute", (PyCFunction
) _wrap_PyShape_Recompute
, METH_VARARGS
| METH_KEYWORDS
},
32649 { (char *)"PyShape_CalculateSize", (PyCFunction
) _wrap_PyShape_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
},
32650 { (char *)"PyShape_Select", (PyCFunction
) _wrap_PyShape_Select
, METH_VARARGS
| METH_KEYWORDS
},
32651 { (char *)"PyShape_SetHighlight", (PyCFunction
) _wrap_PyShape_SetHighlight
, METH_VARARGS
| METH_KEYWORDS
},
32652 { (char *)"PyShape_IsHighlighted", (PyCFunction
) _wrap_PyShape_IsHighlighted
, METH_VARARGS
| METH_KEYWORDS
},
32653 { (char *)"PyShape_Selected", (PyCFunction
) _wrap_PyShape_Selected
, METH_VARARGS
| METH_KEYWORDS
},
32654 { (char *)"PyShape_AncestorSelected", (PyCFunction
) _wrap_PyShape_AncestorSelected
, METH_VARARGS
| METH_KEYWORDS
},
32655 { (char *)"PyShape_SetSensitivityFilter", (PyCFunction
) _wrap_PyShape_SetSensitivityFilter
, METH_VARARGS
| METH_KEYWORDS
},
32656 { (char *)"PyShape_GetSensitivityFilter", (PyCFunction
) _wrap_PyShape_GetSensitivityFilter
, METH_VARARGS
| METH_KEYWORDS
},
32657 { (char *)"PyShape_SetDraggable", (PyCFunction
) _wrap_PyShape_SetDraggable
, METH_VARARGS
| METH_KEYWORDS
},
32658 { (char *)"PyShape_SetFixedSize", (PyCFunction
) _wrap_PyShape_SetFixedSize
, METH_VARARGS
| METH_KEYWORDS
},
32659 { (char *)"PyShape_GetFixedSize", (PyCFunction
) _wrap_PyShape_GetFixedSize
, METH_VARARGS
| METH_KEYWORDS
},
32660 { (char *)"PyShape_GetFixedWidth", (PyCFunction
) _wrap_PyShape_GetFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
32661 { (char *)"PyShape_GetFixedHeight", (PyCFunction
) _wrap_PyShape_GetFixedHeight
, METH_VARARGS
| METH_KEYWORDS
},
32662 { (char *)"PyShape_SetSpaceAttachments", (PyCFunction
) _wrap_PyShape_SetSpaceAttachments
, METH_VARARGS
| METH_KEYWORDS
},
32663 { (char *)"PyShape_GetSpaceAttachments", (PyCFunction
) _wrap_PyShape_GetSpaceAttachments
, METH_VARARGS
| METH_KEYWORDS
},
32664 { (char *)"PyShape_SetShadowMode", (PyCFunction
) _wrap_PyShape_SetShadowMode
, METH_VARARGS
| METH_KEYWORDS
},
32665 { (char *)"PyShape_GetShadowMode", (PyCFunction
) _wrap_PyShape_GetShadowMode
, METH_VARARGS
| METH_KEYWORDS
},
32666 { (char *)"PyShape_HitTest", (PyCFunction
) _wrap_PyShape_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
32667 { (char *)"PyShape_SetCentreResize", (PyCFunction
) _wrap_PyShape_SetCentreResize
, METH_VARARGS
| METH_KEYWORDS
},
32668 { (char *)"PyShape_GetCentreResize", (PyCFunction
) _wrap_PyShape_GetCentreResize
, METH_VARARGS
| METH_KEYWORDS
},
32669 { (char *)"PyShape_SetMaintainAspectRatio", (PyCFunction
) _wrap_PyShape_SetMaintainAspectRatio
, METH_VARARGS
| METH_KEYWORDS
},
32670 { (char *)"PyShape_GetMaintainAspectRatio", (PyCFunction
) _wrap_PyShape_GetMaintainAspectRatio
, METH_VARARGS
| METH_KEYWORDS
},
32671 { (char *)"PyShape_GetLines", (PyCFunction
) _wrap_PyShape_GetLines
, METH_VARARGS
| METH_KEYWORDS
},
32672 { (char *)"PyShape_SetDisableLabel", (PyCFunction
) _wrap_PyShape_SetDisableLabel
, METH_VARARGS
| METH_KEYWORDS
},
32673 { (char *)"PyShape_GetDisableLabel", (PyCFunction
) _wrap_PyShape_GetDisableLabel
, METH_VARARGS
| METH_KEYWORDS
},
32674 { (char *)"PyShape_SetAttachmentMode", (PyCFunction
) _wrap_PyShape_SetAttachmentMode
, METH_VARARGS
| METH_KEYWORDS
},
32675 { (char *)"PyShape_GetAttachmentMode", (PyCFunction
) _wrap_PyShape_GetAttachmentMode
, METH_VARARGS
| METH_KEYWORDS
},
32676 { (char *)"PyShape_SetId", (PyCFunction
) _wrap_PyShape_SetId
, METH_VARARGS
| METH_KEYWORDS
},
32677 { (char *)"PyShape_GetId", (PyCFunction
) _wrap_PyShape_GetId
, METH_VARARGS
| METH_KEYWORDS
},
32678 { (char *)"PyShape_SetPen", (PyCFunction
) _wrap_PyShape_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
32679 { (char *)"PyShape_SetBrush", (PyCFunction
) _wrap_PyShape_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
32680 { (char *)"PyShape_Show", (PyCFunction
) _wrap_PyShape_Show
, METH_VARARGS
| METH_KEYWORDS
},
32681 { (char *)"PyShape_IsShown", (PyCFunction
) _wrap_PyShape_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
32682 { (char *)"PyShape_Move", (PyCFunction
) _wrap_PyShape_Move
, METH_VARARGS
| METH_KEYWORDS
},
32683 { (char *)"PyShape_Erase", (PyCFunction
) _wrap_PyShape_Erase
, METH_VARARGS
| METH_KEYWORDS
},
32684 { (char *)"PyShape_EraseContents", (PyCFunction
) _wrap_PyShape_EraseContents
, METH_VARARGS
| METH_KEYWORDS
},
32685 { (char *)"PyShape_Draw", (PyCFunction
) _wrap_PyShape_Draw
, METH_VARARGS
| METH_KEYWORDS
},
32686 { (char *)"PyShape_Flash", (PyCFunction
) _wrap_PyShape_Flash
, METH_VARARGS
| METH_KEYWORDS
},
32687 { (char *)"PyShape_MoveLinks", (PyCFunction
) _wrap_PyShape_MoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
32688 { (char *)"PyShape_DrawContents", (PyCFunction
) _wrap_PyShape_DrawContents
, METH_VARARGS
| METH_KEYWORDS
},
32689 { (char *)"PyShape_SetSize", (PyCFunction
) _wrap_PyShape_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
32690 { (char *)"PyShape_SetAttachmentSize", (PyCFunction
) _wrap_PyShape_SetAttachmentSize
, METH_VARARGS
| METH_KEYWORDS
},
32691 { (char *)"PyShape_Attach", (PyCFunction
) _wrap_PyShape_Attach
, METH_VARARGS
| METH_KEYWORDS
},
32692 { (char *)"PyShape_Detach", (PyCFunction
) _wrap_PyShape_Detach
, METH_VARARGS
| METH_KEYWORDS
},
32693 { (char *)"PyShape_Constrain", (PyCFunction
) _wrap_PyShape_Constrain
, METH_VARARGS
| METH_KEYWORDS
},
32694 { (char *)"PyShape_AddLine", (PyCFunction
) _wrap_PyShape_AddLine
, METH_VARARGS
| METH_KEYWORDS
},
32695 { (char *)"PyShape_GetLinePosition", (PyCFunction
) _wrap_PyShape_GetLinePosition
, METH_VARARGS
| METH_KEYWORDS
},
32696 { (char *)"PyShape_AddText", (PyCFunction
) _wrap_PyShape_AddText
, METH_VARARGS
| METH_KEYWORDS
},
32697 { (char *)"PyShape_GetPen", (PyCFunction
) _wrap_PyShape_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
32698 { (char *)"PyShape_GetBrush", (PyCFunction
) _wrap_PyShape_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
32699 { (char *)"PyShape_SetDefaultRegionSize", (PyCFunction
) _wrap_PyShape_SetDefaultRegionSize
, METH_VARARGS
| METH_KEYWORDS
},
32700 { (char *)"PyShape_FormatText", (PyCFunction
) _wrap_PyShape_FormatText
, METH_VARARGS
| METH_KEYWORDS
},
32701 { (char *)"PyShape_SetFormatMode", (PyCFunction
) _wrap_PyShape_SetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
32702 { (char *)"PyShape_GetFormatMode", (PyCFunction
) _wrap_PyShape_GetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
32703 { (char *)"PyShape_SetFont", (PyCFunction
) _wrap_PyShape_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
32704 { (char *)"PyShape_GetFont", (PyCFunction
) _wrap_PyShape_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
32705 { (char *)"PyShape_SetTextColour", (PyCFunction
) _wrap_PyShape_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
32706 { (char *)"PyShape_GetTextColour", (PyCFunction
) _wrap_PyShape_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
32707 { (char *)"PyShape_GetNumberOfTextRegions", (PyCFunction
) _wrap_PyShape_GetNumberOfTextRegions
, METH_VARARGS
| METH_KEYWORDS
},
32708 { (char *)"PyShape_SetRegionName", (PyCFunction
) _wrap_PyShape_SetRegionName
, METH_VARARGS
| METH_KEYWORDS
},
32709 { (char *)"PyShape_GetRegionName", (PyCFunction
) _wrap_PyShape_GetRegionName
, METH_VARARGS
| METH_KEYWORDS
},
32710 { (char *)"PyShape_GetRegionId", (PyCFunction
) _wrap_PyShape_GetRegionId
, METH_VARARGS
| METH_KEYWORDS
},
32711 { (char *)"PyShape_NameRegions", (PyCFunction
) _wrap_PyShape_NameRegions
, METH_VARARGS
| METH_KEYWORDS
},
32712 { (char *)"PyShape_GetRegions", (PyCFunction
) _wrap_PyShape_GetRegions
, METH_VARARGS
| METH_KEYWORDS
},
32713 { (char *)"PyShape_AddRegion", (PyCFunction
) _wrap_PyShape_AddRegion
, METH_VARARGS
| METH_KEYWORDS
},
32714 { (char *)"PyShape_ClearRegions", (PyCFunction
) _wrap_PyShape_ClearRegions
, METH_VARARGS
| METH_KEYWORDS
},
32715 { (char *)"PyShape_AssignNewIds", (PyCFunction
) _wrap_PyShape_AssignNewIds
, METH_VARARGS
| METH_KEYWORDS
},
32716 { (char *)"PyShape_FindRegion", (PyCFunction
) _wrap_PyShape_FindRegion
, METH_VARARGS
| METH_KEYWORDS
},
32717 { (char *)"PyShape_FindRegionNames", (PyCFunction
) _wrap_PyShape_FindRegionNames
, METH_VARARGS
| METH_KEYWORDS
},
32718 { (char *)"PyShape_ClearText", (PyCFunction
) _wrap_PyShape_ClearText
, METH_VARARGS
| METH_KEYWORDS
},
32719 { (char *)"PyShape_RemoveLine", (PyCFunction
) _wrap_PyShape_RemoveLine
, METH_VARARGS
| METH_KEYWORDS
},
32720 { (char *)"PyShape_GetAttachmentPosition", (PyCFunction
) _wrap_PyShape_GetAttachmentPosition
, METH_VARARGS
| METH_KEYWORDS
},
32721 { (char *)"PyShape_GetNumberOfAttachments", (PyCFunction
) _wrap_PyShape_GetNumberOfAttachments
, METH_VARARGS
| METH_KEYWORDS
},
32722 { (char *)"PyShape_AttachmentIsValid", (PyCFunction
) _wrap_PyShape_AttachmentIsValid
, METH_VARARGS
| METH_KEYWORDS
},
32723 { (char *)"PyShape_GetAttachments", (PyCFunction
) _wrap_PyShape_GetAttachments
, METH_VARARGS
| METH_KEYWORDS
},
32724 { (char *)"PyShape_GetAttachmentPositionEdge", (PyCFunction
) _wrap_PyShape_GetAttachmentPositionEdge
, METH_VARARGS
| METH_KEYWORDS
},
32725 { (char *)"PyShape_CalcSimpleAttachment", (PyCFunction
) _wrap_PyShape_CalcSimpleAttachment
, METH_VARARGS
| METH_KEYWORDS
},
32726 { (char *)"PyShape_AttachmentSortTest", (PyCFunction
) _wrap_PyShape_AttachmentSortTest
, METH_VARARGS
| METH_KEYWORDS
},
32727 { (char *)"PyShape_EraseLinks", (PyCFunction
) _wrap_PyShape_EraseLinks
, METH_VARARGS
| METH_KEYWORDS
},
32728 { (char *)"PyShape_DrawLinks", (PyCFunction
) _wrap_PyShape_DrawLinks
, METH_VARARGS
| METH_KEYWORDS
},
32729 { (char *)"PyShape_MoveLineToNewAttachment", (PyCFunction
) _wrap_PyShape_MoveLineToNewAttachment
, METH_VARARGS
| METH_KEYWORDS
},
32730 { (char *)"PyShape_ApplyAttachmentOrdering", (PyCFunction
) _wrap_PyShape_ApplyAttachmentOrdering
, METH_VARARGS
| METH_KEYWORDS
},
32731 { (char *)"PyShape_GetBranchingAttachmentRoot", (PyCFunction
) _wrap_PyShape_GetBranchingAttachmentRoot
, METH_VARARGS
| METH_KEYWORDS
},
32732 { (char *)"PyShape_GetBranchingAttachmentInfo", (PyCFunction
) _wrap_PyShape_GetBranchingAttachmentInfo
, METH_VARARGS
| METH_KEYWORDS
},
32733 { (char *)"PyShape_GetBranchingAttachmentPoint", (PyCFunction
) _wrap_PyShape_GetBranchingAttachmentPoint
, METH_VARARGS
| METH_KEYWORDS
},
32734 { (char *)"PyShape_GetAttachmentLineCount", (PyCFunction
) _wrap_PyShape_GetAttachmentLineCount
, METH_VARARGS
| METH_KEYWORDS
},
32735 { (char *)"PyShape_SetBranchNeckLength", (PyCFunction
) _wrap_PyShape_SetBranchNeckLength
, METH_VARARGS
| METH_KEYWORDS
},
32736 { (char *)"PyShape_GetBranchNeckLength", (PyCFunction
) _wrap_PyShape_GetBranchNeckLength
, METH_VARARGS
| METH_KEYWORDS
},
32737 { (char *)"PyShape_SetBranchStemLength", (PyCFunction
) _wrap_PyShape_SetBranchStemLength
, METH_VARARGS
| METH_KEYWORDS
},
32738 { (char *)"PyShape_GetBranchStemLength", (PyCFunction
) _wrap_PyShape_GetBranchStemLength
, METH_VARARGS
| METH_KEYWORDS
},
32739 { (char *)"PyShape_SetBranchSpacing", (PyCFunction
) _wrap_PyShape_SetBranchSpacing
, METH_VARARGS
| METH_KEYWORDS
},
32740 { (char *)"PyShape_GetBranchSpacing", (PyCFunction
) _wrap_PyShape_GetBranchSpacing
, METH_VARARGS
| METH_KEYWORDS
},
32741 { (char *)"PyShape_SetBranchStyle", (PyCFunction
) _wrap_PyShape_SetBranchStyle
, METH_VARARGS
| METH_KEYWORDS
},
32742 { (char *)"PyShape_GetBranchStyle", (PyCFunction
) _wrap_PyShape_GetBranchStyle
, METH_VARARGS
| METH_KEYWORDS
},
32743 { (char *)"PyShape_PhysicalToLogicalAttachment", (PyCFunction
) _wrap_PyShape_PhysicalToLogicalAttachment
, METH_VARARGS
| METH_KEYWORDS
},
32744 { (char *)"PyShape_LogicalToPhysicalAttachment", (PyCFunction
) _wrap_PyShape_LogicalToPhysicalAttachment
, METH_VARARGS
| METH_KEYWORDS
},
32745 { (char *)"PyShape_Draggable", (PyCFunction
) _wrap_PyShape_Draggable
, METH_VARARGS
| METH_KEYWORDS
},
32746 { (char *)"PyShape_HasDescendant", (PyCFunction
) _wrap_PyShape_HasDescendant
, METH_VARARGS
| METH_KEYWORDS
},
32747 { (char *)"PyShape_CreateNewCopy", (PyCFunction
) _wrap_PyShape_CreateNewCopy
, METH_VARARGS
| METH_KEYWORDS
},
32748 { (char *)"PyShape_Copy", (PyCFunction
) _wrap_PyShape_Copy
, METH_VARARGS
| METH_KEYWORDS
},
32749 { (char *)"PyShape_CopyWithHandler", (PyCFunction
) _wrap_PyShape_CopyWithHandler
, METH_VARARGS
| METH_KEYWORDS
},
32750 { (char *)"PyShape_Rotate", (PyCFunction
) _wrap_PyShape_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
32751 { (char *)"PyShape_GetRotation", (PyCFunction
) _wrap_PyShape_GetRotation
, METH_VARARGS
| METH_KEYWORDS
},
32752 { (char *)"PyShape_SetRotation", (PyCFunction
) _wrap_PyShape_SetRotation
, METH_VARARGS
| METH_KEYWORDS
},
32753 { (char *)"PyShape_ClearAttachments", (PyCFunction
) _wrap_PyShape_ClearAttachments
, METH_VARARGS
| METH_KEYWORDS
},
32754 { (char *)"PyShape_Recentre", (PyCFunction
) _wrap_PyShape_Recentre
, METH_VARARGS
| METH_KEYWORDS
},
32755 { (char *)"PyShape_ClearPointList", (PyCFunction
) _wrap_PyShape_ClearPointList
, METH_VARARGS
| METH_KEYWORDS
},
32756 { (char *)"PyShape_GetBackgroundPen", (PyCFunction
) _wrap_PyShape_GetBackgroundPen
, METH_VARARGS
| METH_KEYWORDS
},
32757 { (char *)"PyShape_GetBackgroundBrush", (PyCFunction
) _wrap_PyShape_GetBackgroundBrush
, METH_VARARGS
| METH_KEYWORDS
},
32758 { (char *)"PyShape_base_OnDelete", (PyCFunction
) _wrap_PyShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
32759 { (char *)"PyShape_base_OnDraw", (PyCFunction
) _wrap_PyShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
32760 { (char *)"PyShape_base_OnDrawContents", (PyCFunction
) _wrap_PyShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
32761 { (char *)"PyShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
32762 { (char *)"PyShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
32763 { (char *)"PyShape_base_OnErase", (PyCFunction
) _wrap_PyShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
32764 { (char *)"PyShape_base_OnEraseContents", (PyCFunction
) _wrap_PyShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
32765 { (char *)"PyShape_base_OnHighlight", (PyCFunction
) _wrap_PyShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
32766 { (char *)"PyShape_base_OnLeftClick", (PyCFunction
) _wrap_PyShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
32767 { (char *)"PyShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
32768 { (char *)"PyShape_base_OnRightClick", (PyCFunction
) _wrap_PyShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
32769 { (char *)"PyShape_base_OnSize", (PyCFunction
) _wrap_PyShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
32770 { (char *)"PyShape_base_OnMovePre", (PyCFunction
) _wrap_PyShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
32771 { (char *)"PyShape_base_OnMovePost", (PyCFunction
) _wrap_PyShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
32772 { (char *)"PyShape_base_OnDragLeft", (PyCFunction
) _wrap_PyShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32773 { (char *)"PyShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32774 { (char *)"PyShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32775 { (char *)"PyShape_base_OnDragRight", (PyCFunction
) _wrap_PyShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32776 { (char *)"PyShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32777 { (char *)"PyShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32778 { (char *)"PyShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
32779 { (char *)"PyShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32780 { (char *)"PyShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32781 { (char *)"PyShape_base_OnMoveLink", (PyCFunction
) _wrap_PyShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
32782 { (char *)"PyShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32783 { (char *)"PyShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32784 { (char *)"PyShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32785 { (char *)"PyShape_base_OnBeginSize", (PyCFunction
) _wrap_PyShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
32786 { (char *)"PyShape_base_OnEndSize", (PyCFunction
) _wrap_PyShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
32787 { (char *)"PyShape_swigregister", PyShape_swigregister
, METH_VARARGS
},
32788 { (char *)"new_PseudoMetaFile", (PyCFunction
) _wrap_new_PseudoMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
32789 { (char *)"delete_PseudoMetaFile", (PyCFunction
) _wrap_delete_PseudoMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
32790 { (char *)"PseudoMetaFile_Draw", (PyCFunction
) _wrap_PseudoMetaFile_Draw
, METH_VARARGS
| METH_KEYWORDS
},
32791 { (char *)"PseudoMetaFile_Clear", (PyCFunction
) _wrap_PseudoMetaFile_Clear
, METH_VARARGS
| METH_KEYWORDS
},
32792 { (char *)"PseudoMetaFile_Copy", (PyCFunction
) _wrap_PseudoMetaFile_Copy
, METH_VARARGS
| METH_KEYWORDS
},
32793 { (char *)"PseudoMetaFile_Scale", (PyCFunction
) _wrap_PseudoMetaFile_Scale
, METH_VARARGS
| METH_KEYWORDS
},
32794 { (char *)"PseudoMetaFile_ScaleTo", (PyCFunction
) _wrap_PseudoMetaFile_ScaleTo
, METH_VARARGS
| METH_KEYWORDS
},
32795 { (char *)"PseudoMetaFile_Translate", (PyCFunction
) _wrap_PseudoMetaFile_Translate
, METH_VARARGS
| METH_KEYWORDS
},
32796 { (char *)"PseudoMetaFile_Rotate", (PyCFunction
) _wrap_PseudoMetaFile_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
32797 { (char *)"PseudoMetaFile_LoadFromMetaFile", (PyCFunction
) _wrap_PseudoMetaFile_LoadFromMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
32798 { (char *)"PseudoMetaFile_GetBounds", (PyCFunction
) _wrap_PseudoMetaFile_GetBounds
, METH_VARARGS
| METH_KEYWORDS
},
32799 { (char *)"PseudoMetaFile_CalculateSize", (PyCFunction
) _wrap_PseudoMetaFile_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
},
32800 { (char *)"PseudoMetaFile_SetRotateable", (PyCFunction
) _wrap_PseudoMetaFile_SetRotateable
, METH_VARARGS
| METH_KEYWORDS
},
32801 { (char *)"PseudoMetaFile_GetRotateable", (PyCFunction
) _wrap_PseudoMetaFile_GetRotateable
, METH_VARARGS
| METH_KEYWORDS
},
32802 { (char *)"PseudoMetaFile_SetSize", (PyCFunction
) _wrap_PseudoMetaFile_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
32803 { (char *)"PseudoMetaFile_SetFillBrush", (PyCFunction
) _wrap_PseudoMetaFile_SetFillBrush
, METH_VARARGS
| METH_KEYWORDS
},
32804 { (char *)"PseudoMetaFile_GetFillBrush", (PyCFunction
) _wrap_PseudoMetaFile_GetFillBrush
, METH_VARARGS
| METH_KEYWORDS
},
32805 { (char *)"PseudoMetaFile_SetOutlinePen", (PyCFunction
) _wrap_PseudoMetaFile_SetOutlinePen
, METH_VARARGS
| METH_KEYWORDS
},
32806 { (char *)"PseudoMetaFile_GetOutlinePen", (PyCFunction
) _wrap_PseudoMetaFile_GetOutlinePen
, METH_VARARGS
| METH_KEYWORDS
},
32807 { (char *)"PseudoMetaFile_SetOutlineOp", (PyCFunction
) _wrap_PseudoMetaFile_SetOutlineOp
, METH_VARARGS
| METH_KEYWORDS
},
32808 { (char *)"PseudoMetaFile_GetOutlineOp", (PyCFunction
) _wrap_PseudoMetaFile_GetOutlineOp
, METH_VARARGS
| METH_KEYWORDS
},
32809 { (char *)"PseudoMetaFile_IsValid", (PyCFunction
) _wrap_PseudoMetaFile_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
32810 { (char *)"PseudoMetaFile_DrawLine", (PyCFunction
) _wrap_PseudoMetaFile_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
32811 { (char *)"PseudoMetaFile_DrawRectangle", (PyCFunction
) _wrap_PseudoMetaFile_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
32812 { (char *)"PseudoMetaFile_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoMetaFile_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
32813 { (char *)"PseudoMetaFile_DrawArc", (PyCFunction
) _wrap_PseudoMetaFile_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
32814 { (char *)"PseudoMetaFile_DrawEllipticArc", (PyCFunction
) _wrap_PseudoMetaFile_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
32815 { (char *)"PseudoMetaFile_DrawEllipse", (PyCFunction
) _wrap_PseudoMetaFile_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
32816 { (char *)"PseudoMetaFile_DrawPoint", (PyCFunction
) _wrap_PseudoMetaFile_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
32817 { (char *)"PseudoMetaFile_DrawText", (PyCFunction
) _wrap_PseudoMetaFile_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
32818 { (char *)"PseudoMetaFile_DrawLines", (PyCFunction
) _wrap_PseudoMetaFile_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
32819 { (char *)"PseudoMetaFile_DrawPolygon", (PyCFunction
) _wrap_PseudoMetaFile_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
32820 { (char *)"PseudoMetaFile_DrawSpline", (PyCFunction
) _wrap_PseudoMetaFile_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
32821 { (char *)"PseudoMetaFile_SetClippingRect", (PyCFunction
) _wrap_PseudoMetaFile_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
32822 { (char *)"PseudoMetaFile_DestroyClippingRect", (PyCFunction
) _wrap_PseudoMetaFile_DestroyClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
32823 { (char *)"PseudoMetaFile_SetPen", (PyCFunction
) _wrap_PseudoMetaFile_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
32824 { (char *)"PseudoMetaFile_SetBrush", (PyCFunction
) _wrap_PseudoMetaFile_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
32825 { (char *)"PseudoMetaFile_SetFont", (PyCFunction
) _wrap_PseudoMetaFile_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
32826 { (char *)"PseudoMetaFile_SetTextColour", (PyCFunction
) _wrap_PseudoMetaFile_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
32827 { (char *)"PseudoMetaFile_SetBackgroundColour", (PyCFunction
) _wrap_PseudoMetaFile_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
32828 { (char *)"PseudoMetaFile_SetBackgroundMode", (PyCFunction
) _wrap_PseudoMetaFile_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
32829 { (char *)"PseudoMetaFile_swigregister", PseudoMetaFile_swigregister
, METH_VARARGS
},
32830 { (char *)"new_PyRectangleShape", (PyCFunction
) _wrap_new_PyRectangleShape
, METH_VARARGS
| METH_KEYWORDS
},
32831 { (char *)"PyRectangleShape__setCallbackInfo", (PyCFunction
) _wrap_PyRectangleShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
32832 { (char *)"PyRectangleShape_SetCornerRadius", (PyCFunction
) _wrap_PyRectangleShape_SetCornerRadius
, METH_VARARGS
| METH_KEYWORDS
},
32833 { (char *)"PyRectangleShape_GetCornerRadius", (PyCFunction
) _wrap_PyRectangleShape_GetCornerRadius
, METH_VARARGS
| METH_KEYWORDS
},
32834 { (char *)"PyRectangleShape_base_OnDelete", (PyCFunction
) _wrap_PyRectangleShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
32835 { (char *)"PyRectangleShape_base_OnDraw", (PyCFunction
) _wrap_PyRectangleShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
32836 { (char *)"PyRectangleShape_base_OnDrawContents", (PyCFunction
) _wrap_PyRectangleShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
32837 { (char *)"PyRectangleShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyRectangleShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
32838 { (char *)"PyRectangleShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyRectangleShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
32839 { (char *)"PyRectangleShape_base_OnErase", (PyCFunction
) _wrap_PyRectangleShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
32840 { (char *)"PyRectangleShape_base_OnEraseContents", (PyCFunction
) _wrap_PyRectangleShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
32841 { (char *)"PyRectangleShape_base_OnHighlight", (PyCFunction
) _wrap_PyRectangleShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
32842 { (char *)"PyRectangleShape_base_OnLeftClick", (PyCFunction
) _wrap_PyRectangleShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
32843 { (char *)"PyRectangleShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyRectangleShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
32844 { (char *)"PyRectangleShape_base_OnRightClick", (PyCFunction
) _wrap_PyRectangleShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
32845 { (char *)"PyRectangleShape_base_OnSize", (PyCFunction
) _wrap_PyRectangleShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
32846 { (char *)"PyRectangleShape_base_OnMovePre", (PyCFunction
) _wrap_PyRectangleShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
32847 { (char *)"PyRectangleShape_base_OnMovePost", (PyCFunction
) _wrap_PyRectangleShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
32848 { (char *)"PyRectangleShape_base_OnDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32849 { (char *)"PyRectangleShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32850 { (char *)"PyRectangleShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32851 { (char *)"PyRectangleShape_base_OnDragRight", (PyCFunction
) _wrap_PyRectangleShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32852 { (char *)"PyRectangleShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyRectangleShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32853 { (char *)"PyRectangleShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyRectangleShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32854 { (char *)"PyRectangleShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyRectangleShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
32855 { (char *)"PyRectangleShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyRectangleShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32856 { (char *)"PyRectangleShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyRectangleShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32857 { (char *)"PyRectangleShape_base_OnMoveLink", (PyCFunction
) _wrap_PyRectangleShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
32858 { (char *)"PyRectangleShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32859 { (char *)"PyRectangleShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32860 { (char *)"PyRectangleShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32861 { (char *)"PyRectangleShape_base_OnBeginSize", (PyCFunction
) _wrap_PyRectangleShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
32862 { (char *)"PyRectangleShape_base_OnEndSize", (PyCFunction
) _wrap_PyRectangleShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
32863 { (char *)"PyRectangleShape_swigregister", PyRectangleShape_swigregister
, METH_VARARGS
},
32864 { (char *)"new_PyControlPoint", (PyCFunction
) _wrap_new_PyControlPoint
, METH_VARARGS
| METH_KEYWORDS
},
32865 { (char *)"PyControlPoint__setCallbackInfo", (PyCFunction
) _wrap_PyControlPoint__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
32866 { (char *)"PyControlPoint_SetCornerRadius", (PyCFunction
) _wrap_PyControlPoint_SetCornerRadius
, METH_VARARGS
| METH_KEYWORDS
},
32867 { (char *)"PyControlPoint_base_OnDelete", (PyCFunction
) _wrap_PyControlPoint_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
32868 { (char *)"PyControlPoint_base_OnDraw", (PyCFunction
) _wrap_PyControlPoint_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
32869 { (char *)"PyControlPoint_base_OnDrawContents", (PyCFunction
) _wrap_PyControlPoint_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
32870 { (char *)"PyControlPoint_base_OnDrawBranches", (PyCFunction
) _wrap_PyControlPoint_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
32871 { (char *)"PyControlPoint_base_OnMoveLinks", (PyCFunction
) _wrap_PyControlPoint_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
32872 { (char *)"PyControlPoint_base_OnErase", (PyCFunction
) _wrap_PyControlPoint_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
32873 { (char *)"PyControlPoint_base_OnEraseContents", (PyCFunction
) _wrap_PyControlPoint_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
32874 { (char *)"PyControlPoint_base_OnHighlight", (PyCFunction
) _wrap_PyControlPoint_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
32875 { (char *)"PyControlPoint_base_OnLeftClick", (PyCFunction
) _wrap_PyControlPoint_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
32876 { (char *)"PyControlPoint_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyControlPoint_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
32877 { (char *)"PyControlPoint_base_OnRightClick", (PyCFunction
) _wrap_PyControlPoint_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
32878 { (char *)"PyControlPoint_base_OnSize", (PyCFunction
) _wrap_PyControlPoint_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
32879 { (char *)"PyControlPoint_base_OnMovePre", (PyCFunction
) _wrap_PyControlPoint_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
32880 { (char *)"PyControlPoint_base_OnMovePost", (PyCFunction
) _wrap_PyControlPoint_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
32881 { (char *)"PyControlPoint_base_OnDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32882 { (char *)"PyControlPoint_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32883 { (char *)"PyControlPoint_base_OnEndDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32884 { (char *)"PyControlPoint_base_OnDragRight", (PyCFunction
) _wrap_PyControlPoint_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32885 { (char *)"PyControlPoint_base_OnBeginDragRight", (PyCFunction
) _wrap_PyControlPoint_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32886 { (char *)"PyControlPoint_base_OnEndDragRight", (PyCFunction
) _wrap_PyControlPoint_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32887 { (char *)"PyControlPoint_base_OnDrawOutline", (PyCFunction
) _wrap_PyControlPoint_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
32888 { (char *)"PyControlPoint_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyControlPoint_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32889 { (char *)"PyControlPoint_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyControlPoint_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32890 { (char *)"PyControlPoint_base_OnMoveLink", (PyCFunction
) _wrap_PyControlPoint_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
32891 { (char *)"PyControlPoint_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32892 { (char *)"PyControlPoint_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32893 { (char *)"PyControlPoint_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32894 { (char *)"PyControlPoint_base_OnBeginSize", (PyCFunction
) _wrap_PyControlPoint_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
32895 { (char *)"PyControlPoint_base_OnEndSize", (PyCFunction
) _wrap_PyControlPoint_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
32896 { (char *)"PyControlPoint_swigregister", PyControlPoint_swigregister
, METH_VARARGS
},
32897 { (char *)"new_PyBitmapShape", (PyCFunction
) _wrap_new_PyBitmapShape
, METH_VARARGS
| METH_KEYWORDS
},
32898 { (char *)"PyBitmapShape__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
32899 { (char *)"PyBitmapShape_GetBitmap", (PyCFunction
) _wrap_PyBitmapShape_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
32900 { (char *)"PyBitmapShape_GetFilename", (PyCFunction
) _wrap_PyBitmapShape_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
32901 { (char *)"PyBitmapShape_SetBitmap", (PyCFunction
) _wrap_PyBitmapShape_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
32902 { (char *)"PyBitmapShape_SetFilename", (PyCFunction
) _wrap_PyBitmapShape_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
32903 { (char *)"PyBitmapShape_base_OnDelete", (PyCFunction
) _wrap_PyBitmapShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
32904 { (char *)"PyBitmapShape_base_OnDraw", (PyCFunction
) _wrap_PyBitmapShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
32905 { (char *)"PyBitmapShape_base_OnDrawContents", (PyCFunction
) _wrap_PyBitmapShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
32906 { (char *)"PyBitmapShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyBitmapShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
32907 { (char *)"PyBitmapShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyBitmapShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
32908 { (char *)"PyBitmapShape_base_OnErase", (PyCFunction
) _wrap_PyBitmapShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
32909 { (char *)"PyBitmapShape_base_OnEraseContents", (PyCFunction
) _wrap_PyBitmapShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
32910 { (char *)"PyBitmapShape_base_OnHighlight", (PyCFunction
) _wrap_PyBitmapShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
32911 { (char *)"PyBitmapShape_base_OnLeftClick", (PyCFunction
) _wrap_PyBitmapShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
32912 { (char *)"PyBitmapShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyBitmapShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
32913 { (char *)"PyBitmapShape_base_OnRightClick", (PyCFunction
) _wrap_PyBitmapShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
32914 { (char *)"PyBitmapShape_base_OnSize", (PyCFunction
) _wrap_PyBitmapShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
32915 { (char *)"PyBitmapShape_base_OnMovePre", (PyCFunction
) _wrap_PyBitmapShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
32916 { (char *)"PyBitmapShape_base_OnMovePost", (PyCFunction
) _wrap_PyBitmapShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
32917 { (char *)"PyBitmapShape_base_OnDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32918 { (char *)"PyBitmapShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32919 { (char *)"PyBitmapShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32920 { (char *)"PyBitmapShape_base_OnDragRight", (PyCFunction
) _wrap_PyBitmapShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32921 { (char *)"PyBitmapShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyBitmapShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32922 { (char *)"PyBitmapShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyBitmapShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32923 { (char *)"PyBitmapShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyBitmapShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
32924 { (char *)"PyBitmapShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyBitmapShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32925 { (char *)"PyBitmapShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyBitmapShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32926 { (char *)"PyBitmapShape_base_OnMoveLink", (PyCFunction
) _wrap_PyBitmapShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
32927 { (char *)"PyBitmapShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32928 { (char *)"PyBitmapShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32929 { (char *)"PyBitmapShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32930 { (char *)"PyBitmapShape_base_OnBeginSize", (PyCFunction
) _wrap_PyBitmapShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
32931 { (char *)"PyBitmapShape_base_OnEndSize", (PyCFunction
) _wrap_PyBitmapShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
32932 { (char *)"PyBitmapShape_swigregister", PyBitmapShape_swigregister
, METH_VARARGS
},
32933 { (char *)"new_PyDrawnShape", (PyCFunction
) _wrap_new_PyDrawnShape
, METH_VARARGS
| METH_KEYWORDS
},
32934 { (char *)"PyDrawnShape__setCallbackInfo", (PyCFunction
) _wrap_PyDrawnShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
32935 { (char *)"PyDrawnShape_CalculateSize", (PyCFunction
) _wrap_PyDrawnShape_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
},
32936 { (char *)"PyDrawnShape_DestroyClippingRect", (PyCFunction
) _wrap_PyDrawnShape_DestroyClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
32937 { (char *)"PyDrawnShape_DrawArc", (PyCFunction
) _wrap_PyDrawnShape_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
32938 { (char *)"PyDrawnShape_DrawAtAngle", (PyCFunction
) _wrap_PyDrawnShape_DrawAtAngle
, METH_VARARGS
| METH_KEYWORDS
},
32939 { (char *)"PyDrawnShape_DrawEllipticArc", (PyCFunction
) _wrap_PyDrawnShape_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
32940 { (char *)"PyDrawnShape_DrawLine", (PyCFunction
) _wrap_PyDrawnShape_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
32941 { (char *)"PyDrawnShape_DrawLines", (PyCFunction
) _wrap_PyDrawnShape_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
32942 { (char *)"PyDrawnShape_DrawPoint", (PyCFunction
) _wrap_PyDrawnShape_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
32943 { (char *)"PyDrawnShape_DrawPolygon", (PyCFunction
) _wrap_PyDrawnShape_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
32944 { (char *)"PyDrawnShape_DrawRectangle", (PyCFunction
) _wrap_PyDrawnShape_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
32945 { (char *)"PyDrawnShape_DrawRoundedRectangle", (PyCFunction
) _wrap_PyDrawnShape_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
32946 { (char *)"PyDrawnShape_DrawSpline", (PyCFunction
) _wrap_PyDrawnShape_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
32947 { (char *)"PyDrawnShape_DrawText", (PyCFunction
) _wrap_PyDrawnShape_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
32948 { (char *)"PyDrawnShape_GetAngle", (PyCFunction
) _wrap_PyDrawnShape_GetAngle
, METH_VARARGS
| METH_KEYWORDS
},
32949 { (char *)"PyDrawnShape_GetMetaFile", (PyCFunction
) _wrap_PyDrawnShape_GetMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
32950 { (char *)"PyDrawnShape_GetRotation", (PyCFunction
) _wrap_PyDrawnShape_GetRotation
, METH_VARARGS
| METH_KEYWORDS
},
32951 { (char *)"PyDrawnShape_LoadFromMetaFile", (PyCFunction
) _wrap_PyDrawnShape_LoadFromMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
32952 { (char *)"PyDrawnShape_Rotate", (PyCFunction
) _wrap_PyDrawnShape_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
32953 { (char *)"PyDrawnShape_SetClippingRect", (PyCFunction
) _wrap_PyDrawnShape_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
32954 { (char *)"PyDrawnShape_SetDrawnBackgroundColour", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
32955 { (char *)"PyDrawnShape_SetDrawnBackgroundMode", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
32956 { (char *)"PyDrawnShape_SetDrawnBrush", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnBrush
, METH_VARARGS
| METH_KEYWORDS
},
32957 { (char *)"PyDrawnShape_SetDrawnFont", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnFont
, METH_VARARGS
| METH_KEYWORDS
},
32958 { (char *)"PyDrawnShape_SetDrawnPen", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnPen
, METH_VARARGS
| METH_KEYWORDS
},
32959 { (char *)"PyDrawnShape_SetDrawnTextColour", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnTextColour
, METH_VARARGS
| METH_KEYWORDS
},
32960 { (char *)"PyDrawnShape_Scale", (PyCFunction
) _wrap_PyDrawnShape_Scale
, METH_VARARGS
| METH_KEYWORDS
},
32961 { (char *)"PyDrawnShape_SetSaveToFile", (PyCFunction
) _wrap_PyDrawnShape_SetSaveToFile
, METH_VARARGS
| METH_KEYWORDS
},
32962 { (char *)"PyDrawnShape_Translate", (PyCFunction
) _wrap_PyDrawnShape_Translate
, METH_VARARGS
| METH_KEYWORDS
},
32963 { (char *)"PyDrawnShape_base_OnDelete", (PyCFunction
) _wrap_PyDrawnShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
32964 { (char *)"PyDrawnShape_base_OnDraw", (PyCFunction
) _wrap_PyDrawnShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
32965 { (char *)"PyDrawnShape_base_OnDrawContents", (PyCFunction
) _wrap_PyDrawnShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
32966 { (char *)"PyDrawnShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyDrawnShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
32967 { (char *)"PyDrawnShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyDrawnShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
32968 { (char *)"PyDrawnShape_base_OnErase", (PyCFunction
) _wrap_PyDrawnShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
32969 { (char *)"PyDrawnShape_base_OnEraseContents", (PyCFunction
) _wrap_PyDrawnShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
32970 { (char *)"PyDrawnShape_base_OnHighlight", (PyCFunction
) _wrap_PyDrawnShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
32971 { (char *)"PyDrawnShape_base_OnLeftClick", (PyCFunction
) _wrap_PyDrawnShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
32972 { (char *)"PyDrawnShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyDrawnShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
32973 { (char *)"PyDrawnShape_base_OnRightClick", (PyCFunction
) _wrap_PyDrawnShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
32974 { (char *)"PyDrawnShape_base_OnSize", (PyCFunction
) _wrap_PyDrawnShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
32975 { (char *)"PyDrawnShape_base_OnMovePre", (PyCFunction
) _wrap_PyDrawnShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
32976 { (char *)"PyDrawnShape_base_OnMovePost", (PyCFunction
) _wrap_PyDrawnShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
32977 { (char *)"PyDrawnShape_base_OnDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32978 { (char *)"PyDrawnShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32979 { (char *)"PyDrawnShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32980 { (char *)"PyDrawnShape_base_OnDragRight", (PyCFunction
) _wrap_PyDrawnShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32981 { (char *)"PyDrawnShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyDrawnShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32982 { (char *)"PyDrawnShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyDrawnShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32983 { (char *)"PyDrawnShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyDrawnShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
32984 { (char *)"PyDrawnShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyDrawnShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32985 { (char *)"PyDrawnShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyDrawnShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32986 { (char *)"PyDrawnShape_base_OnMoveLink", (PyCFunction
) _wrap_PyDrawnShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
32987 { (char *)"PyDrawnShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32988 { (char *)"PyDrawnShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32989 { (char *)"PyDrawnShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32990 { (char *)"PyDrawnShape_base_OnBeginSize", (PyCFunction
) _wrap_PyDrawnShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
32991 { (char *)"PyDrawnShape_base_OnEndSize", (PyCFunction
) _wrap_PyDrawnShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
32992 { (char *)"PyDrawnShape_swigregister", PyDrawnShape_swigregister
, METH_VARARGS
},
32993 { (char *)"new_OGLConstraint", (PyCFunction
) _wrap_new_OGLConstraint
, METH_VARARGS
| METH_KEYWORDS
},
32994 { (char *)"OGLConstraint_Evaluate", (PyCFunction
) _wrap_OGLConstraint_Evaluate
, METH_VARARGS
| METH_KEYWORDS
},
32995 { (char *)"OGLConstraint_SetSpacing", (PyCFunction
) _wrap_OGLConstraint_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
32996 { (char *)"OGLConstraint_Equals", (PyCFunction
) _wrap_OGLConstraint_Equals
, METH_VARARGS
| METH_KEYWORDS
},
32997 { (char *)"OGLConstraint_swigregister", OGLConstraint_swigregister
, METH_VARARGS
},
32998 { (char *)"new_PyCompositeShape", (PyCFunction
) _wrap_new_PyCompositeShape
, METH_VARARGS
| METH_KEYWORDS
},
32999 { (char *)"PyCompositeShape__setCallbackInfo", (PyCFunction
) _wrap_PyCompositeShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
33000 { (char *)"PyCompositeShape_AddChild", (PyCFunction
) _wrap_PyCompositeShape_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
33001 { (char *)"PyCompositeShape_AddConstraint", (PyCFunction
) _wrap_PyCompositeShape_AddConstraint
, METH_VARARGS
| METH_KEYWORDS
},
33002 { (char *)"PyCompositeShape_AddConstrainedShapes", (PyCFunction
) _wrap_PyCompositeShape_AddConstrainedShapes
, METH_VARARGS
| METH_KEYWORDS
},
33003 { (char *)"PyCompositeShape_AddSimpleConstraint", (PyCFunction
) _wrap_PyCompositeShape_AddSimpleConstraint
, METH_VARARGS
| METH_KEYWORDS
},
33004 { (char *)"PyCompositeShape_CalculateSize", (PyCFunction
) _wrap_PyCompositeShape_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
},
33005 { (char *)"PyCompositeShape_ContainsDivision", (PyCFunction
) _wrap_PyCompositeShape_ContainsDivision
, METH_VARARGS
| METH_KEYWORDS
},
33006 { (char *)"PyCompositeShape_DeleteConstraint", (PyCFunction
) _wrap_PyCompositeShape_DeleteConstraint
, METH_VARARGS
| METH_KEYWORDS
},
33007 { (char *)"PyCompositeShape_DeleteConstraintsInvolvingChild", (PyCFunction
) _wrap_PyCompositeShape_DeleteConstraintsInvolvingChild
, METH_VARARGS
| METH_KEYWORDS
},
33008 { (char *)"PyCompositeShape_FindContainerImage", (PyCFunction
) _wrap_PyCompositeShape_FindContainerImage
, METH_VARARGS
| METH_KEYWORDS
},
33009 { (char *)"PyCompositeShape_GetConstraints", (PyCFunction
) _wrap_PyCompositeShape_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
33010 { (char *)"PyCompositeShape_GetDivisions", (PyCFunction
) _wrap_PyCompositeShape_GetDivisions
, METH_VARARGS
| METH_KEYWORDS
},
33011 { (char *)"PyCompositeShape_MakeContainer", (PyCFunction
) _wrap_PyCompositeShape_MakeContainer
, METH_VARARGS
| METH_KEYWORDS
},
33012 { (char *)"PyCompositeShape_Recompute", (PyCFunction
) _wrap_PyCompositeShape_Recompute
, METH_VARARGS
| METH_KEYWORDS
},
33013 { (char *)"PyCompositeShape_RemoveChild", (PyCFunction
) _wrap_PyCompositeShape_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
33014 { (char *)"PyCompositeShape_base_OnDelete", (PyCFunction
) _wrap_PyCompositeShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
33015 { (char *)"PyCompositeShape_base_OnDraw", (PyCFunction
) _wrap_PyCompositeShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
33016 { (char *)"PyCompositeShape_base_OnDrawContents", (PyCFunction
) _wrap_PyCompositeShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
33017 { (char *)"PyCompositeShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyCompositeShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
33018 { (char *)"PyCompositeShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyCompositeShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
33019 { (char *)"PyCompositeShape_base_OnErase", (PyCFunction
) _wrap_PyCompositeShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
33020 { (char *)"PyCompositeShape_base_OnEraseContents", (PyCFunction
) _wrap_PyCompositeShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
33021 { (char *)"PyCompositeShape_base_OnHighlight", (PyCFunction
) _wrap_PyCompositeShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
33022 { (char *)"PyCompositeShape_base_OnLeftClick", (PyCFunction
) _wrap_PyCompositeShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
33023 { (char *)"PyCompositeShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyCompositeShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
33024 { (char *)"PyCompositeShape_base_OnRightClick", (PyCFunction
) _wrap_PyCompositeShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
33025 { (char *)"PyCompositeShape_base_OnSize", (PyCFunction
) _wrap_PyCompositeShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
33026 { (char *)"PyCompositeShape_base_OnMovePre", (PyCFunction
) _wrap_PyCompositeShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
33027 { (char *)"PyCompositeShape_base_OnMovePost", (PyCFunction
) _wrap_PyCompositeShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
33028 { (char *)"PyCompositeShape_base_OnDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33029 { (char *)"PyCompositeShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33030 { (char *)"PyCompositeShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33031 { (char *)"PyCompositeShape_base_OnDragRight", (PyCFunction
) _wrap_PyCompositeShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33032 { (char *)"PyCompositeShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyCompositeShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33033 { (char *)"PyCompositeShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyCompositeShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33034 { (char *)"PyCompositeShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyCompositeShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
33035 { (char *)"PyCompositeShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyCompositeShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33036 { (char *)"PyCompositeShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyCompositeShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33037 { (char *)"PyCompositeShape_base_OnMoveLink", (PyCFunction
) _wrap_PyCompositeShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
33038 { (char *)"PyCompositeShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33039 { (char *)"PyCompositeShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33040 { (char *)"PyCompositeShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33041 { (char *)"PyCompositeShape_base_OnBeginSize", (PyCFunction
) _wrap_PyCompositeShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
33042 { (char *)"PyCompositeShape_base_OnEndSize", (PyCFunction
) _wrap_PyCompositeShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
33043 { (char *)"PyCompositeShape_swigregister", PyCompositeShape_swigregister
, METH_VARARGS
},
33044 { (char *)"new_PyDividedShape", (PyCFunction
) _wrap_new_PyDividedShape
, METH_VARARGS
| METH_KEYWORDS
},
33045 { (char *)"PyDividedShape__setCallbackInfo", (PyCFunction
) _wrap_PyDividedShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
33046 { (char *)"PyDividedShape_EditRegions", (PyCFunction
) _wrap_PyDividedShape_EditRegions
, METH_VARARGS
| METH_KEYWORDS
},
33047 { (char *)"PyDividedShape_SetRegionSizes", (PyCFunction
) _wrap_PyDividedShape_SetRegionSizes
, METH_VARARGS
| METH_KEYWORDS
},
33048 { (char *)"PyDividedShape_base_OnDelete", (PyCFunction
) _wrap_PyDividedShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
33049 { (char *)"PyDividedShape_base_OnDraw", (PyCFunction
) _wrap_PyDividedShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
33050 { (char *)"PyDividedShape_base_OnDrawContents", (PyCFunction
) _wrap_PyDividedShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
33051 { (char *)"PyDividedShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyDividedShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
33052 { (char *)"PyDividedShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyDividedShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
33053 { (char *)"PyDividedShape_base_OnErase", (PyCFunction
) _wrap_PyDividedShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
33054 { (char *)"PyDividedShape_base_OnEraseContents", (PyCFunction
) _wrap_PyDividedShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
33055 { (char *)"PyDividedShape_base_OnHighlight", (PyCFunction
) _wrap_PyDividedShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
33056 { (char *)"PyDividedShape_base_OnLeftClick", (PyCFunction
) _wrap_PyDividedShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
33057 { (char *)"PyDividedShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyDividedShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
33058 { (char *)"PyDividedShape_base_OnRightClick", (PyCFunction
) _wrap_PyDividedShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
33059 { (char *)"PyDividedShape_base_OnSize", (PyCFunction
) _wrap_PyDividedShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
33060 { (char *)"PyDividedShape_base_OnMovePre", (PyCFunction
) _wrap_PyDividedShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
33061 { (char *)"PyDividedShape_base_OnMovePost", (PyCFunction
) _wrap_PyDividedShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
33062 { (char *)"PyDividedShape_base_OnDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33063 { (char *)"PyDividedShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33064 { (char *)"PyDividedShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33065 { (char *)"PyDividedShape_base_OnDragRight", (PyCFunction
) _wrap_PyDividedShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33066 { (char *)"PyDividedShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyDividedShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33067 { (char *)"PyDividedShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyDividedShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33068 { (char *)"PyDividedShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyDividedShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
33069 { (char *)"PyDividedShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyDividedShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33070 { (char *)"PyDividedShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyDividedShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33071 { (char *)"PyDividedShape_base_OnMoveLink", (PyCFunction
) _wrap_PyDividedShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
33072 { (char *)"PyDividedShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33073 { (char *)"PyDividedShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33074 { (char *)"PyDividedShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33075 { (char *)"PyDividedShape_base_OnBeginSize", (PyCFunction
) _wrap_PyDividedShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
33076 { (char *)"PyDividedShape_base_OnEndSize", (PyCFunction
) _wrap_PyDividedShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
33077 { (char *)"PyDividedShape_swigregister", PyDividedShape_swigregister
, METH_VARARGS
},
33078 { (char *)"new_PyDivisionShape", (PyCFunction
) _wrap_new_PyDivisionShape
, METH_VARARGS
| METH_KEYWORDS
},
33079 { (char *)"PyDivisionShape__setCallbackInfo", (PyCFunction
) _wrap_PyDivisionShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
33080 { (char *)"PyDivisionShape_AdjustBottom", (PyCFunction
) _wrap_PyDivisionShape_AdjustBottom
, METH_VARARGS
| METH_KEYWORDS
},
33081 { (char *)"PyDivisionShape_AdjustLeft", (PyCFunction
) _wrap_PyDivisionShape_AdjustLeft
, METH_VARARGS
| METH_KEYWORDS
},
33082 { (char *)"PyDivisionShape_AdjustRight", (PyCFunction
) _wrap_PyDivisionShape_AdjustRight
, METH_VARARGS
| METH_KEYWORDS
},
33083 { (char *)"PyDivisionShape_AdjustTop", (PyCFunction
) _wrap_PyDivisionShape_AdjustTop
, METH_VARARGS
| METH_KEYWORDS
},
33084 { (char *)"PyDivisionShape_Divide", (PyCFunction
) _wrap_PyDivisionShape_Divide
, METH_VARARGS
| METH_KEYWORDS
},
33085 { (char *)"PyDivisionShape_EditEdge", (PyCFunction
) _wrap_PyDivisionShape_EditEdge
, METH_VARARGS
| METH_KEYWORDS
},
33086 { (char *)"PyDivisionShape_GetBottomSide", (PyCFunction
) _wrap_PyDivisionShape_GetBottomSide
, METH_VARARGS
| METH_KEYWORDS
},
33087 { (char *)"PyDivisionShape_GetHandleSide", (PyCFunction
) _wrap_PyDivisionShape_GetHandleSide
, METH_VARARGS
| METH_KEYWORDS
},
33088 { (char *)"PyDivisionShape_GetLeftSide", (PyCFunction
) _wrap_PyDivisionShape_GetLeftSide
, METH_VARARGS
| METH_KEYWORDS
},
33089 { (char *)"PyDivisionShape_GetLeftSideColour", (PyCFunction
) _wrap_PyDivisionShape_GetLeftSideColour
, METH_VARARGS
| METH_KEYWORDS
},
33090 { (char *)"PyDivisionShape_GetLeftSidePen", (PyCFunction
) _wrap_PyDivisionShape_GetLeftSidePen
, METH_VARARGS
| METH_KEYWORDS
},
33091 { (char *)"PyDivisionShape_GetRightSide", (PyCFunction
) _wrap_PyDivisionShape_GetRightSide
, METH_VARARGS
| METH_KEYWORDS
},
33092 { (char *)"PyDivisionShape_GetTopSide", (PyCFunction
) _wrap_PyDivisionShape_GetTopSide
, METH_VARARGS
| METH_KEYWORDS
},
33093 { (char *)"PyDivisionShape_GetTopSidePen", (PyCFunction
) _wrap_PyDivisionShape_GetTopSidePen
, METH_VARARGS
| METH_KEYWORDS
},
33094 { (char *)"PyDivisionShape_ResizeAdjoining", (PyCFunction
) _wrap_PyDivisionShape_ResizeAdjoining
, METH_VARARGS
| METH_KEYWORDS
},
33095 { (char *)"PyDivisionShape_PopupMenu", (PyCFunction
) _wrap_PyDivisionShape_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
33096 { (char *)"PyDivisionShape_SetBottomSide", (PyCFunction
) _wrap_PyDivisionShape_SetBottomSide
, METH_VARARGS
| METH_KEYWORDS
},
33097 { (char *)"PyDivisionShape_SetHandleSide", (PyCFunction
) _wrap_PyDivisionShape_SetHandleSide
, METH_VARARGS
| METH_KEYWORDS
},
33098 { (char *)"PyDivisionShape_SetLeftSide", (PyCFunction
) _wrap_PyDivisionShape_SetLeftSide
, METH_VARARGS
| METH_KEYWORDS
},
33099 { (char *)"PyDivisionShape_SetLeftSideColour", (PyCFunction
) _wrap_PyDivisionShape_SetLeftSideColour
, METH_VARARGS
| METH_KEYWORDS
},
33100 { (char *)"PyDivisionShape_SetLeftSidePen", (PyCFunction
) _wrap_PyDivisionShape_SetLeftSidePen
, METH_VARARGS
| METH_KEYWORDS
},
33101 { (char *)"PyDivisionShape_SetRightSide", (PyCFunction
) _wrap_PyDivisionShape_SetRightSide
, METH_VARARGS
| METH_KEYWORDS
},
33102 { (char *)"PyDivisionShape_SetTopSide", (PyCFunction
) _wrap_PyDivisionShape_SetTopSide
, METH_VARARGS
| METH_KEYWORDS
},
33103 { (char *)"PyDivisionShape_SetTopSideColour", (PyCFunction
) _wrap_PyDivisionShape_SetTopSideColour
, METH_VARARGS
| METH_KEYWORDS
},
33104 { (char *)"PyDivisionShape_SetTopSidePen", (PyCFunction
) _wrap_PyDivisionShape_SetTopSidePen
, METH_VARARGS
| METH_KEYWORDS
},
33105 { (char *)"PyDivisionShape_base_OnDelete", (PyCFunction
) _wrap_PyDivisionShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
33106 { (char *)"PyDivisionShape_base_OnDraw", (PyCFunction
) _wrap_PyDivisionShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
33107 { (char *)"PyDivisionShape_base_OnDrawContents", (PyCFunction
) _wrap_PyDivisionShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
33108 { (char *)"PyDivisionShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyDivisionShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
33109 { (char *)"PyDivisionShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyDivisionShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
33110 { (char *)"PyDivisionShape_base_OnErase", (PyCFunction
) _wrap_PyDivisionShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
33111 { (char *)"PyDivisionShape_base_OnEraseContents", (PyCFunction
) _wrap_PyDivisionShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
33112 { (char *)"PyDivisionShape_base_OnHighlight", (PyCFunction
) _wrap_PyDivisionShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
33113 { (char *)"PyDivisionShape_base_OnLeftClick", (PyCFunction
) _wrap_PyDivisionShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
33114 { (char *)"PyDivisionShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyDivisionShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
33115 { (char *)"PyDivisionShape_base_OnRightClick", (PyCFunction
) _wrap_PyDivisionShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
33116 { (char *)"PyDivisionShape_base_OnSize", (PyCFunction
) _wrap_PyDivisionShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
33117 { (char *)"PyDivisionShape_base_OnMovePre", (PyCFunction
) _wrap_PyDivisionShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
33118 { (char *)"PyDivisionShape_base_OnMovePost", (PyCFunction
) _wrap_PyDivisionShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
33119 { (char *)"PyDivisionShape_base_OnDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33120 { (char *)"PyDivisionShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33121 { (char *)"PyDivisionShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33122 { (char *)"PyDivisionShape_base_OnDragRight", (PyCFunction
) _wrap_PyDivisionShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33123 { (char *)"PyDivisionShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyDivisionShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33124 { (char *)"PyDivisionShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyDivisionShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33125 { (char *)"PyDivisionShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyDivisionShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
33126 { (char *)"PyDivisionShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyDivisionShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33127 { (char *)"PyDivisionShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyDivisionShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33128 { (char *)"PyDivisionShape_base_OnMoveLink", (PyCFunction
) _wrap_PyDivisionShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
33129 { (char *)"PyDivisionShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33130 { (char *)"PyDivisionShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33131 { (char *)"PyDivisionShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33132 { (char *)"PyDivisionShape_base_OnBeginSize", (PyCFunction
) _wrap_PyDivisionShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
33133 { (char *)"PyDivisionShape_base_OnEndSize", (PyCFunction
) _wrap_PyDivisionShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
33134 { (char *)"PyDivisionShape_swigregister", PyDivisionShape_swigregister
, METH_VARARGS
},
33135 { (char *)"new_PyEllipseShape", (PyCFunction
) _wrap_new_PyEllipseShape
, METH_VARARGS
| METH_KEYWORDS
},
33136 { (char *)"PyEllipseShape__setCallbackInfo", (PyCFunction
) _wrap_PyEllipseShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
33137 { (char *)"PyEllipseShape_base_OnDraw", (PyCFunction
) _wrap_PyEllipseShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
33138 { (char *)"PyEllipseShape_base_OnDrawContents", (PyCFunction
) _wrap_PyEllipseShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
33139 { (char *)"PyEllipseShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyEllipseShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
33140 { (char *)"PyEllipseShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyEllipseShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
33141 { (char *)"PyEllipseShape_base_OnErase", (PyCFunction
) _wrap_PyEllipseShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
33142 { (char *)"PyEllipseShape_base_OnEraseContents", (PyCFunction
) _wrap_PyEllipseShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
33143 { (char *)"PyEllipseShape_base_OnHighlight", (PyCFunction
) _wrap_PyEllipseShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
33144 { (char *)"PyEllipseShape_base_OnLeftClick", (PyCFunction
) _wrap_PyEllipseShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
33145 { (char *)"PyEllipseShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyEllipseShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
33146 { (char *)"PyEllipseShape_base_OnRightClick", (PyCFunction
) _wrap_PyEllipseShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
33147 { (char *)"PyEllipseShape_base_OnSize", (PyCFunction
) _wrap_PyEllipseShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
33148 { (char *)"PyEllipseShape_base_OnMovePre", (PyCFunction
) _wrap_PyEllipseShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
33149 { (char *)"PyEllipseShape_base_OnMovePost", (PyCFunction
) _wrap_PyEllipseShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
33150 { (char *)"PyEllipseShape_base_OnDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33151 { (char *)"PyEllipseShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33152 { (char *)"PyEllipseShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33153 { (char *)"PyEllipseShape_base_OnDragRight", (PyCFunction
) _wrap_PyEllipseShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33154 { (char *)"PyEllipseShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyEllipseShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33155 { (char *)"PyEllipseShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyEllipseShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33156 { (char *)"PyEllipseShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyEllipseShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
33157 { (char *)"PyEllipseShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyEllipseShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33158 { (char *)"PyEllipseShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyEllipseShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33159 { (char *)"PyEllipseShape_base_OnMoveLink", (PyCFunction
) _wrap_PyEllipseShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
33160 { (char *)"PyEllipseShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33161 { (char *)"PyEllipseShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33162 { (char *)"PyEllipseShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33163 { (char *)"PyEllipseShape_base_OnBeginSize", (PyCFunction
) _wrap_PyEllipseShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
33164 { (char *)"PyEllipseShape_base_OnEndSize", (PyCFunction
) _wrap_PyEllipseShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
33165 { (char *)"PyEllipseShape_swigregister", PyEllipseShape_swigregister
, METH_VARARGS
},
33166 { (char *)"new_PyCircleShape", (PyCFunction
) _wrap_new_PyCircleShape
, METH_VARARGS
| METH_KEYWORDS
},
33167 { (char *)"PyCircleShape__setCallbackInfo", (PyCFunction
) _wrap_PyCircleShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
33168 { (char *)"PyCircleShape_base_OnDraw", (PyCFunction
) _wrap_PyCircleShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
33169 { (char *)"PyCircleShape_base_OnDrawContents", (PyCFunction
) _wrap_PyCircleShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
33170 { (char *)"PyCircleShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyCircleShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
33171 { (char *)"PyCircleShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyCircleShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
33172 { (char *)"PyCircleShape_base_OnErase", (PyCFunction
) _wrap_PyCircleShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
33173 { (char *)"PyCircleShape_base_OnEraseContents", (PyCFunction
) _wrap_PyCircleShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
33174 { (char *)"PyCircleShape_base_OnHighlight", (PyCFunction
) _wrap_PyCircleShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
33175 { (char *)"PyCircleShape_base_OnLeftClick", (PyCFunction
) _wrap_PyCircleShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
33176 { (char *)"PyCircleShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyCircleShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
33177 { (char *)"PyCircleShape_base_OnRightClick", (PyCFunction
) _wrap_PyCircleShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
33178 { (char *)"PyCircleShape_base_OnSize", (PyCFunction
) _wrap_PyCircleShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
33179 { (char *)"PyCircleShape_base_OnMovePre", (PyCFunction
) _wrap_PyCircleShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
33180 { (char *)"PyCircleShape_base_OnMovePost", (PyCFunction
) _wrap_PyCircleShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
33181 { (char *)"PyCircleShape_base_OnDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33182 { (char *)"PyCircleShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33183 { (char *)"PyCircleShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33184 { (char *)"PyCircleShape_base_OnDragRight", (PyCFunction
) _wrap_PyCircleShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33185 { (char *)"PyCircleShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyCircleShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33186 { (char *)"PyCircleShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyCircleShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33187 { (char *)"PyCircleShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyCircleShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
33188 { (char *)"PyCircleShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyCircleShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33189 { (char *)"PyCircleShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyCircleShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33190 { (char *)"PyCircleShape_base_OnMoveLink", (PyCFunction
) _wrap_PyCircleShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
33191 { (char *)"PyCircleShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33192 { (char *)"PyCircleShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33193 { (char *)"PyCircleShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33194 { (char *)"PyCircleShape_base_OnBeginSize", (PyCFunction
) _wrap_PyCircleShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
33195 { (char *)"PyCircleShape_base_OnEndSize", (PyCFunction
) _wrap_PyCircleShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
33196 { (char *)"PyCircleShape_swigregister", PyCircleShape_swigregister
, METH_VARARGS
},
33197 { (char *)"new_ArrowHead", (PyCFunction
) _wrap_new_ArrowHead
, METH_VARARGS
| METH_KEYWORDS
},
33198 { (char *)"delete_ArrowHead", (PyCFunction
) _wrap_delete_ArrowHead
, METH_VARARGS
| METH_KEYWORDS
},
33199 { (char *)"ArrowHead__GetType", (PyCFunction
) _wrap_ArrowHead__GetType
, METH_VARARGS
| METH_KEYWORDS
},
33200 { (char *)"ArrowHead_GetPosition", (PyCFunction
) _wrap_ArrowHead_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
33201 { (char *)"ArrowHead_SetPosition", (PyCFunction
) _wrap_ArrowHead_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
33202 { (char *)"ArrowHead_GetXOffset", (PyCFunction
) _wrap_ArrowHead_GetXOffset
, METH_VARARGS
| METH_KEYWORDS
},
33203 { (char *)"ArrowHead_GetYOffset", (PyCFunction
) _wrap_ArrowHead_GetYOffset
, METH_VARARGS
| METH_KEYWORDS
},
33204 { (char *)"ArrowHead_GetSpacing", (PyCFunction
) _wrap_ArrowHead_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
33205 { (char *)"ArrowHead_GetSize", (PyCFunction
) _wrap_ArrowHead_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
33206 { (char *)"ArrowHead_GetName", (PyCFunction
) _wrap_ArrowHead_GetName
, METH_VARARGS
| METH_KEYWORDS
},
33207 { (char *)"ArrowHead_SetXOffset", (PyCFunction
) _wrap_ArrowHead_SetXOffset
, METH_VARARGS
| METH_KEYWORDS
},
33208 { (char *)"ArrowHead_SetYOffset", (PyCFunction
) _wrap_ArrowHead_SetYOffset
, METH_VARARGS
| METH_KEYWORDS
},
33209 { (char *)"ArrowHead_GetMetaFile", (PyCFunction
) _wrap_ArrowHead_GetMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
33210 { (char *)"ArrowHead_GetId", (PyCFunction
) _wrap_ArrowHead_GetId
, METH_VARARGS
| METH_KEYWORDS
},
33211 { (char *)"ArrowHead_GetArrowEnd", (PyCFunction
) _wrap_ArrowHead_GetArrowEnd
, METH_VARARGS
| METH_KEYWORDS
},
33212 { (char *)"ArrowHead_GetArrowSize", (PyCFunction
) _wrap_ArrowHead_GetArrowSize
, METH_VARARGS
| METH_KEYWORDS
},
33213 { (char *)"ArrowHead_SetSize", (PyCFunction
) _wrap_ArrowHead_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
33214 { (char *)"ArrowHead_SetSpacing", (PyCFunction
) _wrap_ArrowHead_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
33215 { (char *)"ArrowHead_swigregister", ArrowHead_swigregister
, METH_VARARGS
},
33216 { (char *)"new_PyLineShape", (PyCFunction
) _wrap_new_PyLineShape
, METH_VARARGS
| METH_KEYWORDS
},
33217 { (char *)"PyLineShape__setCallbackInfo", (PyCFunction
) _wrap_PyLineShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
33218 { (char *)"PyLineShape_AddArrow", (PyCFunction
) _wrap_PyLineShape_AddArrow
, METH_VARARGS
| METH_KEYWORDS
},
33219 { (char *)"PyLineShape_AddArrowOrdered", (PyCFunction
) _wrap_PyLineShape_AddArrowOrdered
, METH_VARARGS
| METH_KEYWORDS
},
33220 { (char *)"PyLineShape_ClearArrow", (PyCFunction
) _wrap_PyLineShape_ClearArrow
, METH_VARARGS
| METH_KEYWORDS
},
33221 { (char *)"PyLineShape_ClearArrowsAtPosition", (PyCFunction
) _wrap_PyLineShape_ClearArrowsAtPosition
, METH_VARARGS
| METH_KEYWORDS
},
33222 { (char *)"PyLineShape_DrawArrow", (PyCFunction
) _wrap_PyLineShape_DrawArrow
, METH_VARARGS
| METH_KEYWORDS
},
33223 { (char *)"PyLineShape_DeleteArrowHeadId", (PyCFunction
) _wrap_PyLineShape_DeleteArrowHeadId
, METH_VARARGS
| METH_KEYWORDS
},
33224 { (char *)"PyLineShape_DeleteArrowHead", (PyCFunction
) _wrap_PyLineShape_DeleteArrowHead
, METH_VARARGS
| METH_KEYWORDS
},
33225 { (char *)"PyLineShape_DeleteLineControlPoint", (PyCFunction
) _wrap_PyLineShape_DeleteLineControlPoint
, METH_VARARGS
| METH_KEYWORDS
},
33226 { (char *)"PyLineShape_DrawArrows", (PyCFunction
) _wrap_PyLineShape_DrawArrows
, METH_VARARGS
| METH_KEYWORDS
},
33227 { (char *)"PyLineShape_DrawRegion", (PyCFunction
) _wrap_PyLineShape_DrawRegion
, METH_VARARGS
| METH_KEYWORDS
},
33228 { (char *)"PyLineShape_EraseRegion", (PyCFunction
) _wrap_PyLineShape_EraseRegion
, METH_VARARGS
| METH_KEYWORDS
},
33229 { (char *)"PyLineShape_FindArrowHeadId", (PyCFunction
) _wrap_PyLineShape_FindArrowHeadId
, METH_VARARGS
| METH_KEYWORDS
},
33230 { (char *)"PyLineShape_FindArrowHead", (PyCFunction
) _wrap_PyLineShape_FindArrowHead
, METH_VARARGS
| METH_KEYWORDS
},
33231 { (char *)"PyLineShape_FindLineEndPoints", (PyCFunction
) _wrap_PyLineShape_FindLineEndPoints
, METH_VARARGS
| METH_KEYWORDS
},
33232 { (char *)"PyLineShape_FindLinePosition", (PyCFunction
) _wrap_PyLineShape_FindLinePosition
, METH_VARARGS
| METH_KEYWORDS
},
33233 { (char *)"PyLineShape_FindMinimumWidth", (PyCFunction
) _wrap_PyLineShape_FindMinimumWidth
, METH_VARARGS
| METH_KEYWORDS
},
33234 { (char *)"PyLineShape_FindNth", (PyCFunction
) _wrap_PyLineShape_FindNth
, METH_VARARGS
| METH_KEYWORDS
},
33235 { (char *)"PyLineShape_GetAttachmentFrom", (PyCFunction
) _wrap_PyLineShape_GetAttachmentFrom
, METH_VARARGS
| METH_KEYWORDS
},
33236 { (char *)"PyLineShape_GetAttachmentTo", (PyCFunction
) _wrap_PyLineShape_GetAttachmentTo
, METH_VARARGS
| METH_KEYWORDS
},
33237 { (char *)"PyLineShape_GetEnds", (PyCFunction
) _wrap_PyLineShape_GetEnds
, METH_VARARGS
| METH_KEYWORDS
},
33238 { (char *)"PyLineShape_GetFrom", (PyCFunction
) _wrap_PyLineShape_GetFrom
, METH_VARARGS
| METH_KEYWORDS
},
33239 { (char *)"PyLineShape_GetLabelPosition", (PyCFunction
) _wrap_PyLineShape_GetLabelPosition
, METH_VARARGS
| METH_KEYWORDS
},
33240 { (char *)"PyLineShape_GetNextControlPoint", (PyCFunction
) _wrap_PyLineShape_GetNextControlPoint
, METH_VARARGS
| METH_KEYWORDS
},
33241 { (char *)"PyLineShape_GetTo", (PyCFunction
) _wrap_PyLineShape_GetTo
, METH_VARARGS
| METH_KEYWORDS
},
33242 { (char *)"PyLineShape_Initialise", (PyCFunction
) _wrap_PyLineShape_Initialise
, METH_VARARGS
| METH_KEYWORDS
},
33243 { (char *)"PyLineShape_InsertLineControlPoint", (PyCFunction
) _wrap_PyLineShape_InsertLineControlPoint
, METH_VARARGS
| METH_KEYWORDS
},
33244 { (char *)"PyLineShape_IsEnd", (PyCFunction
) _wrap_PyLineShape_IsEnd
, METH_VARARGS
| METH_KEYWORDS
},
33245 { (char *)"PyLineShape_IsSpline", (PyCFunction
) _wrap_PyLineShape_IsSpline
, METH_VARARGS
| METH_KEYWORDS
},
33246 { (char *)"PyLineShape_MakeLineControlPoints", (PyCFunction
) _wrap_PyLineShape_MakeLineControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33247 { (char *)"PyLineShape_GetLineControlPoints", (PyCFunction
) _wrap_PyLineShape_GetLineControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33248 { (char *)"PyLineShape_SetLineControlPoints", (PyCFunction
) _wrap_PyLineShape_SetLineControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33249 { (char *)"PyLineShape_SetAttachmentFrom", (PyCFunction
) _wrap_PyLineShape_SetAttachmentFrom
, METH_VARARGS
| METH_KEYWORDS
},
33250 { (char *)"PyLineShape_SetAttachments", (PyCFunction
) _wrap_PyLineShape_SetAttachments
, METH_VARARGS
| METH_KEYWORDS
},
33251 { (char *)"PyLineShape_SetAttachmentTo", (PyCFunction
) _wrap_PyLineShape_SetAttachmentTo
, METH_VARARGS
| METH_KEYWORDS
},
33252 { (char *)"PyLineShape_SetEnds", (PyCFunction
) _wrap_PyLineShape_SetEnds
, METH_VARARGS
| METH_KEYWORDS
},
33253 { (char *)"PyLineShape_SetFrom", (PyCFunction
) _wrap_PyLineShape_SetFrom
, METH_VARARGS
| METH_KEYWORDS
},
33254 { (char *)"PyLineShape_SetIgnoreOffsets", (PyCFunction
) _wrap_PyLineShape_SetIgnoreOffsets
, METH_VARARGS
| METH_KEYWORDS
},
33255 { (char *)"PyLineShape_SetSpline", (PyCFunction
) _wrap_PyLineShape_SetSpline
, METH_VARARGS
| METH_KEYWORDS
},
33256 { (char *)"PyLineShape_SetTo", (PyCFunction
) _wrap_PyLineShape_SetTo
, METH_VARARGS
| METH_KEYWORDS
},
33257 { (char *)"PyLineShape_Straighten", (PyCFunction
) _wrap_PyLineShape_Straighten
, METH_VARARGS
| METH_KEYWORDS
},
33258 { (char *)"PyLineShape_Unlink", (PyCFunction
) _wrap_PyLineShape_Unlink
, METH_VARARGS
| METH_KEYWORDS
},
33259 { (char *)"PyLineShape_SetAlignmentOrientation", (PyCFunction
) _wrap_PyLineShape_SetAlignmentOrientation
, METH_VARARGS
| METH_KEYWORDS
},
33260 { (char *)"PyLineShape_SetAlignmentType", (PyCFunction
) _wrap_PyLineShape_SetAlignmentType
, METH_VARARGS
| METH_KEYWORDS
},
33261 { (char *)"PyLineShape_GetAlignmentOrientation", (PyCFunction
) _wrap_PyLineShape_GetAlignmentOrientation
, METH_VARARGS
| METH_KEYWORDS
},
33262 { (char *)"PyLineShape_GetAlignmentType", (PyCFunction
) _wrap_PyLineShape_GetAlignmentType
, METH_VARARGS
| METH_KEYWORDS
},
33263 { (char *)"PyLineShape_GetAlignmentStart", (PyCFunction
) _wrap_PyLineShape_GetAlignmentStart
, METH_VARARGS
| METH_KEYWORDS
},
33264 { (char *)"PyLineShape_GetAlignmentEnd", (PyCFunction
) _wrap_PyLineShape_GetAlignmentEnd
, METH_VARARGS
| METH_KEYWORDS
},
33265 { (char *)"PyLineShape_base_OnDraw", (PyCFunction
) _wrap_PyLineShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
33266 { (char *)"PyLineShape_base_OnDrawContents", (PyCFunction
) _wrap_PyLineShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
33267 { (char *)"PyLineShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyLineShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
33268 { (char *)"PyLineShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyLineShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
33269 { (char *)"PyLineShape_base_OnErase", (PyCFunction
) _wrap_PyLineShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
33270 { (char *)"PyLineShape_base_OnEraseContents", (PyCFunction
) _wrap_PyLineShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
33271 { (char *)"PyLineShape_base_OnHighlight", (PyCFunction
) _wrap_PyLineShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
33272 { (char *)"PyLineShape_base_OnLeftClick", (PyCFunction
) _wrap_PyLineShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
33273 { (char *)"PyLineShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyLineShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
33274 { (char *)"PyLineShape_base_OnRightClick", (PyCFunction
) _wrap_PyLineShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
33275 { (char *)"PyLineShape_base_OnSize", (PyCFunction
) _wrap_PyLineShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
33276 { (char *)"PyLineShape_base_OnMovePre", (PyCFunction
) _wrap_PyLineShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
33277 { (char *)"PyLineShape_base_OnMovePost", (PyCFunction
) _wrap_PyLineShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
33278 { (char *)"PyLineShape_base_OnDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33279 { (char *)"PyLineShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33280 { (char *)"PyLineShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33281 { (char *)"PyLineShape_base_OnDragRight", (PyCFunction
) _wrap_PyLineShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33282 { (char *)"PyLineShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyLineShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33283 { (char *)"PyLineShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyLineShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33284 { (char *)"PyLineShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyLineShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
33285 { (char *)"PyLineShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyLineShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33286 { (char *)"PyLineShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyLineShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33287 { (char *)"PyLineShape_base_OnMoveLink", (PyCFunction
) _wrap_PyLineShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
33288 { (char *)"PyLineShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33289 { (char *)"PyLineShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33290 { (char *)"PyLineShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33291 { (char *)"PyLineShape_base_OnBeginSize", (PyCFunction
) _wrap_PyLineShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
33292 { (char *)"PyLineShape_base_OnEndSize", (PyCFunction
) _wrap_PyLineShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
33293 { (char *)"PyLineShape_swigregister", PyLineShape_swigregister
, METH_VARARGS
},
33294 { (char *)"new_PyPolygonShape", (PyCFunction
) _wrap_new_PyPolygonShape
, METH_VARARGS
| METH_KEYWORDS
},
33295 { (char *)"PyPolygonShape__setCallbackInfo", (PyCFunction
) _wrap_PyPolygonShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
33296 { (char *)"PyPolygonShape_Create", (PyCFunction
) _wrap_PyPolygonShape_Create
, METH_VARARGS
| METH_KEYWORDS
},
33297 { (char *)"PyPolygonShape_AddPolygonPoint", (PyCFunction
) _wrap_PyPolygonShape_AddPolygonPoint
, METH_VARARGS
| METH_KEYWORDS
},
33298 { (char *)"PyPolygonShape_CalculatePolygonCentre", (PyCFunction
) _wrap_PyPolygonShape_CalculatePolygonCentre
, METH_VARARGS
| METH_KEYWORDS
},
33299 { (char *)"PyPolygonShape_DeletePolygonPoint", (PyCFunction
) _wrap_PyPolygonShape_DeletePolygonPoint
, METH_VARARGS
| METH_KEYWORDS
},
33300 { (char *)"PyPolygonShape_GetPoints", (PyCFunction
) _wrap_PyPolygonShape_GetPoints
, METH_VARARGS
| METH_KEYWORDS
},
33301 { (char *)"PyPolygonShape_GetOriginalPoints", (PyCFunction
) _wrap_PyPolygonShape_GetOriginalPoints
, METH_VARARGS
| METH_KEYWORDS
},
33302 { (char *)"PyPolygonShape_GetOriginalWidth", (PyCFunction
) _wrap_PyPolygonShape_GetOriginalWidth
, METH_VARARGS
| METH_KEYWORDS
},
33303 { (char *)"PyPolygonShape_GetOriginalHeight", (PyCFunction
) _wrap_PyPolygonShape_GetOriginalHeight
, METH_VARARGS
| METH_KEYWORDS
},
33304 { (char *)"PyPolygonShape_SetOriginalWidth", (PyCFunction
) _wrap_PyPolygonShape_SetOriginalWidth
, METH_VARARGS
| METH_KEYWORDS
},
33305 { (char *)"PyPolygonShape_SetOriginalHeight", (PyCFunction
) _wrap_PyPolygonShape_SetOriginalHeight
, METH_VARARGS
| METH_KEYWORDS
},
33306 { (char *)"PyPolygonShape_UpdateOriginalPoints", (PyCFunction
) _wrap_PyPolygonShape_UpdateOriginalPoints
, METH_VARARGS
| METH_KEYWORDS
},
33307 { (char *)"PyPolygonShape_base_OnDraw", (PyCFunction
) _wrap_PyPolygonShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
33308 { (char *)"PyPolygonShape_base_OnDrawContents", (PyCFunction
) _wrap_PyPolygonShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
33309 { (char *)"PyPolygonShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyPolygonShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
33310 { (char *)"PyPolygonShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyPolygonShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
33311 { (char *)"PyPolygonShape_base_OnErase", (PyCFunction
) _wrap_PyPolygonShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
33312 { (char *)"PyPolygonShape_base_OnEraseContents", (PyCFunction
) _wrap_PyPolygonShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
33313 { (char *)"PyPolygonShape_base_OnHighlight", (PyCFunction
) _wrap_PyPolygonShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
33314 { (char *)"PyPolygonShape_base_OnLeftClick", (PyCFunction
) _wrap_PyPolygonShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
33315 { (char *)"PyPolygonShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyPolygonShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
33316 { (char *)"PyPolygonShape_base_OnRightClick", (PyCFunction
) _wrap_PyPolygonShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
33317 { (char *)"PyPolygonShape_base_OnSize", (PyCFunction
) _wrap_PyPolygonShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
33318 { (char *)"PyPolygonShape_base_OnMovePre", (PyCFunction
) _wrap_PyPolygonShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
33319 { (char *)"PyPolygonShape_base_OnMovePost", (PyCFunction
) _wrap_PyPolygonShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
33320 { (char *)"PyPolygonShape_base_OnDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33321 { (char *)"PyPolygonShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33322 { (char *)"PyPolygonShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33323 { (char *)"PyPolygonShape_base_OnDragRight", (PyCFunction
) _wrap_PyPolygonShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33324 { (char *)"PyPolygonShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyPolygonShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33325 { (char *)"PyPolygonShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyPolygonShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33326 { (char *)"PyPolygonShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyPolygonShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
33327 { (char *)"PyPolygonShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyPolygonShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33328 { (char *)"PyPolygonShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyPolygonShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33329 { (char *)"PyPolygonShape_base_OnMoveLink", (PyCFunction
) _wrap_PyPolygonShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
33330 { (char *)"PyPolygonShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33331 { (char *)"PyPolygonShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33332 { (char *)"PyPolygonShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33333 { (char *)"PyPolygonShape_base_OnBeginSize", (PyCFunction
) _wrap_PyPolygonShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
33334 { (char *)"PyPolygonShape_base_OnEndSize", (PyCFunction
) _wrap_PyPolygonShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
33335 { (char *)"PyPolygonShape_swigregister", PyPolygonShape_swigregister
, METH_VARARGS
},
33336 { (char *)"new_PyTextShape", (PyCFunction
) _wrap_new_PyTextShape
, METH_VARARGS
| METH_KEYWORDS
},
33337 { (char *)"PyTextShape__setCallbackInfo", (PyCFunction
) _wrap_PyTextShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
33338 { (char *)"PyTextShape_base_OnDelete", (PyCFunction
) _wrap_PyTextShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
33339 { (char *)"PyTextShape_base_OnDraw", (PyCFunction
) _wrap_PyTextShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
33340 { (char *)"PyTextShape_base_OnDrawContents", (PyCFunction
) _wrap_PyTextShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
33341 { (char *)"PyTextShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyTextShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
33342 { (char *)"PyTextShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyTextShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
33343 { (char *)"PyTextShape_base_OnErase", (PyCFunction
) _wrap_PyTextShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
33344 { (char *)"PyTextShape_base_OnEraseContents", (PyCFunction
) _wrap_PyTextShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
33345 { (char *)"PyTextShape_base_OnHighlight", (PyCFunction
) _wrap_PyTextShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
33346 { (char *)"PyTextShape_base_OnLeftClick", (PyCFunction
) _wrap_PyTextShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
33347 { (char *)"PyTextShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyTextShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
33348 { (char *)"PyTextShape_base_OnRightClick", (PyCFunction
) _wrap_PyTextShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
33349 { (char *)"PyTextShape_base_OnSize", (PyCFunction
) _wrap_PyTextShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
33350 { (char *)"PyTextShape_base_OnMovePre", (PyCFunction
) _wrap_PyTextShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
33351 { (char *)"PyTextShape_base_OnMovePost", (PyCFunction
) _wrap_PyTextShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
33352 { (char *)"PyTextShape_base_OnDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33353 { (char *)"PyTextShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33354 { (char *)"PyTextShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33355 { (char *)"PyTextShape_base_OnDragRight", (PyCFunction
) _wrap_PyTextShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33356 { (char *)"PyTextShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyTextShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33357 { (char *)"PyTextShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyTextShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33358 { (char *)"PyTextShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyTextShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
33359 { (char *)"PyTextShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyTextShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33360 { (char *)"PyTextShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyTextShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33361 { (char *)"PyTextShape_base_OnMoveLink", (PyCFunction
) _wrap_PyTextShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
33362 { (char *)"PyTextShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33363 { (char *)"PyTextShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33364 { (char *)"PyTextShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33365 { (char *)"PyTextShape_base_OnBeginSize", (PyCFunction
) _wrap_PyTextShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
33366 { (char *)"PyTextShape_base_OnEndSize", (PyCFunction
) _wrap_PyTextShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
33367 { (char *)"PyTextShape_swigregister", PyTextShape_swigregister
, METH_VARARGS
},
33368 { (char *)"new_Diagram", (PyCFunction
) _wrap_new_Diagram
, METH_VARARGS
| METH_KEYWORDS
},
33369 { (char *)"Diagram_AddShape", (PyCFunction
) _wrap_Diagram_AddShape
, METH_VARARGS
| METH_KEYWORDS
},
33370 { (char *)"Diagram_Clear", (PyCFunction
) _wrap_Diagram_Clear
, METH_VARARGS
| METH_KEYWORDS
},
33371 { (char *)"Diagram_DeleteAllShapes", (PyCFunction
) _wrap_Diagram_DeleteAllShapes
, METH_VARARGS
| METH_KEYWORDS
},
33372 { (char *)"Diagram_DrawOutline", (PyCFunction
) _wrap_Diagram_DrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
33373 { (char *)"Diagram_FindShape", (PyCFunction
) _wrap_Diagram_FindShape
, METH_VARARGS
| METH_KEYWORDS
},
33374 { (char *)"Diagram_GetCanvas", (PyCFunction
) _wrap_Diagram_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
33375 { (char *)"Diagram_GetCount", (PyCFunction
) _wrap_Diagram_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
33376 { (char *)"Diagram_GetGridSpacing", (PyCFunction
) _wrap_Diagram_GetGridSpacing
, METH_VARARGS
| METH_KEYWORDS
},
33377 { (char *)"Diagram_GetMouseTolerance", (PyCFunction
) _wrap_Diagram_GetMouseTolerance
, METH_VARARGS
| METH_KEYWORDS
},
33378 { (char *)"Diagram_GetShapeList", (PyCFunction
) _wrap_Diagram_GetShapeList
, METH_VARARGS
| METH_KEYWORDS
},
33379 { (char *)"Diagram_GetQuickEditMode", (PyCFunction
) _wrap_Diagram_GetQuickEditMode
, METH_VARARGS
| METH_KEYWORDS
},
33380 { (char *)"Diagram_GetSnapToGrid", (PyCFunction
) _wrap_Diagram_GetSnapToGrid
, METH_VARARGS
| METH_KEYWORDS
},
33381 { (char *)"Diagram_InsertShape", (PyCFunction
) _wrap_Diagram_InsertShape
, METH_VARARGS
| METH_KEYWORDS
},
33382 { (char *)"Diagram_RecentreAll", (PyCFunction
) _wrap_Diagram_RecentreAll
, METH_VARARGS
| METH_KEYWORDS
},
33383 { (char *)"Diagram_Redraw", (PyCFunction
) _wrap_Diagram_Redraw
, METH_VARARGS
| METH_KEYWORDS
},
33384 { (char *)"Diagram_RemoveAllShapes", (PyCFunction
) _wrap_Diagram_RemoveAllShapes
, METH_VARARGS
| METH_KEYWORDS
},
33385 { (char *)"Diagram_RemoveShape", (PyCFunction
) _wrap_Diagram_RemoveShape
, METH_VARARGS
| METH_KEYWORDS
},
33386 { (char *)"Diagram_SetCanvas", (PyCFunction
) _wrap_Diagram_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
33387 { (char *)"Diagram_SetGridSpacing", (PyCFunction
) _wrap_Diagram_SetGridSpacing
, METH_VARARGS
| METH_KEYWORDS
},
33388 { (char *)"Diagram_SetMouseTolerance", (PyCFunction
) _wrap_Diagram_SetMouseTolerance
, METH_VARARGS
| METH_KEYWORDS
},
33389 { (char *)"Diagram_SetQuickEditMode", (PyCFunction
) _wrap_Diagram_SetQuickEditMode
, METH_VARARGS
| METH_KEYWORDS
},
33390 { (char *)"Diagram_SetSnapToGrid", (PyCFunction
) _wrap_Diagram_SetSnapToGrid
, METH_VARARGS
| METH_KEYWORDS
},
33391 { (char *)"Diagram_ShowAll", (PyCFunction
) _wrap_Diagram_ShowAll
, METH_VARARGS
| METH_KEYWORDS
},
33392 { (char *)"Diagram_Snap", (PyCFunction
) _wrap_Diagram_Snap
, METH_VARARGS
| METH_KEYWORDS
},
33393 { (char *)"Diagram_swigregister", Diagram_swigregister
, METH_VARARGS
},
33394 { (char *)"new_PyShapeCanvas", (PyCFunction
) _wrap_new_PyShapeCanvas
, METH_VARARGS
| METH_KEYWORDS
},
33395 { (char *)"PyShapeCanvas__setCallbackInfo", (PyCFunction
) _wrap_PyShapeCanvas__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
33396 { (char *)"PyShapeCanvas_AddShape", (PyCFunction
) _wrap_PyShapeCanvas_AddShape
, METH_VARARGS
| METH_KEYWORDS
},
33397 { (char *)"PyShapeCanvas_FindShape", (PyCFunction
) _wrap_PyShapeCanvas_FindShape
, METH_VARARGS
| METH_KEYWORDS
},
33398 { (char *)"PyShapeCanvas_FindFirstSensitiveShape", (PyCFunction
) _wrap_PyShapeCanvas_FindFirstSensitiveShape
, METH_VARARGS
| METH_KEYWORDS
},
33399 { (char *)"PyShapeCanvas_GetDiagram", (PyCFunction
) _wrap_PyShapeCanvas_GetDiagram
, METH_VARARGS
| METH_KEYWORDS
},
33400 { (char *)"PyShapeCanvas_GetQuickEditMode", (PyCFunction
) _wrap_PyShapeCanvas_GetQuickEditMode
, METH_VARARGS
| METH_KEYWORDS
},
33401 { (char *)"PyShapeCanvas_InsertShape", (PyCFunction
) _wrap_PyShapeCanvas_InsertShape
, METH_VARARGS
| METH_KEYWORDS
},
33402 { (char *)"PyShapeCanvas_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyShapeCanvas_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33403 { (char *)"PyShapeCanvas_base_OnBeginDragRight", (PyCFunction
) _wrap_PyShapeCanvas_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33404 { (char *)"PyShapeCanvas_base_OnEndDragLeft", (PyCFunction
) _wrap_PyShapeCanvas_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33405 { (char *)"PyShapeCanvas_base_OnEndDragRight", (PyCFunction
) _wrap_PyShapeCanvas_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33406 { (char *)"PyShapeCanvas_base_OnDragLeft", (PyCFunction
) _wrap_PyShapeCanvas_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33407 { (char *)"PyShapeCanvas_base_OnDragRight", (PyCFunction
) _wrap_PyShapeCanvas_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33408 { (char *)"PyShapeCanvas_base_OnLeftClick", (PyCFunction
) _wrap_PyShapeCanvas_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
33409 { (char *)"PyShapeCanvas_base_OnRightClick", (PyCFunction
) _wrap_PyShapeCanvas_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
33410 { (char *)"PyShapeCanvas_Redraw", (PyCFunction
) _wrap_PyShapeCanvas_Redraw
, METH_VARARGS
| METH_KEYWORDS
},
33411 { (char *)"PyShapeCanvas_RemoveShape", (PyCFunction
) _wrap_PyShapeCanvas_RemoveShape
, METH_VARARGS
| METH_KEYWORDS
},
33412 { (char *)"PyShapeCanvas_SetDiagram", (PyCFunction
) _wrap_PyShapeCanvas_SetDiagram
, METH_VARARGS
| METH_KEYWORDS
},
33413 { (char *)"PyShapeCanvas_Snap", (PyCFunction
) _wrap_PyShapeCanvas_Snap
, METH_VARARGS
| METH_KEYWORDS
},
33414 { (char *)"PyShapeCanvas_swigregister", PyShapeCanvas_swigregister
, METH_VARARGS
},
33415 { (char *)"OGLInitialize", (PyCFunction
) _wrap_OGLInitialize
, METH_VARARGS
| METH_KEYWORDS
},
33416 { (char *)"OGLCleanUp", (PyCFunction
) _wrap_OGLCleanUp
, METH_VARARGS
| METH_KEYWORDS
},
33421 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
33423 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
33424 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
33426 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
33427 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33429 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
33430 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33432 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
33433 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33435 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
33436 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33438 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
33439 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
33441 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
33442 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33444 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
33445 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
33447 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
33448 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33450 static void *_p_wxPyShapeCanvasTo_p_wxPanel(void *x
) {
33451 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
33453 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
33454 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33456 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
33457 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33459 static void *_p_wxPyShapeCanvasTo_p_wxScrolledWindow(void *x
) {
33460 return (void *)((wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
33462 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
33463 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
33465 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
33466 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
33468 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
33469 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
33471 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
33472 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
33474 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
33475 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
33477 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
33478 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
33480 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
33481 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
33483 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
33484 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
33486 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
33487 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33489 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
33490 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33492 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
33493 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
33495 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
33496 return (void *)((wxWindow
*) ((wxPanel
*) x
));
33498 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
33499 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
33501 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
33502 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
33504 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
33505 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33507 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
33508 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
33510 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
33511 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
33513 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
33514 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
33516 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
33517 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
33519 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
33520 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
33522 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
33523 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
33525 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
33526 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
33528 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
33529 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
33531 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
33532 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
33534 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
33535 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33537 static void *_p_wxControlTo_p_wxWindow(void *x
) {
33538 return (void *)((wxWindow
*) ((wxControl
*) x
));
33540 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
33541 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
33543 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
33544 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
33546 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
33547 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
33549 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
33550 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
33552 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
33553 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
33555 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
33556 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33558 static void *_p_wxPyShapeCanvasTo_p_wxWindow(void *x
) {
33559 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
33561 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
33562 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33564 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
33565 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33567 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
33568 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
33570 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
33571 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33573 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
33574 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
33576 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
33577 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
33579 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
33580 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
33582 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
33583 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
33585 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
33586 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
33588 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
33589 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
33591 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
33592 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
33594 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
33595 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
33597 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
33598 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
33600 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
33601 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
33603 static void *_p_wxPyControlPointTo_p_wxObject(void *x
) {
33604 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyControlPoint
*) x
));
33606 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
33607 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
33609 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
33610 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
33612 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
33613 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
33615 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
33616 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
33618 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
33619 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
33621 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
33622 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
33624 static void *_p_wxOGLConstraintTo_p_wxObject(void *x
) {
33625 return (void *)((wxObject
*) ((wxOGLConstraint
*) x
));
33627 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
33628 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
33630 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
33631 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
33633 static void *_p_wxSizerTo_p_wxObject(void *x
) {
33634 return (void *)((wxObject
*) ((wxSizer
*) x
));
33636 static void *_p_wxPyDrawnShapeTo_p_wxObject(void *x
) {
33637 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyDrawnShape
*) x
));
33639 static void *_p_wxPyDivisionShapeTo_p_wxObject(void *x
) {
33640 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*)(wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
33642 static void *_p_wxPyPolygonShapeTo_p_wxObject(void *x
) {
33643 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*) ((wxPyPolygonShape
*) x
));
33645 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
33646 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
33648 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
33649 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33651 static void *_p_wxArrowHeadTo_p_wxObject(void *x
) {
33652 return (void *)((wxObject
*) ((wxArrowHead
*) x
));
33654 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
33655 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
33657 static void *_p_wxEventTo_p_wxObject(void *x
) {
33658 return (void *)((wxObject
*) ((wxEvent
*) x
));
33660 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
33661 return (void *)((wxObject
*) ((wxFontData
*) x
));
33663 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
33664 return (void *)((wxObject
*) ((wxPrintData
*) x
));
33666 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
33667 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
33669 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
33670 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
33672 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
33673 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
33675 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
33676 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
33678 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
33679 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
33681 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
33682 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
33684 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
33685 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
33687 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
33688 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
33690 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
33691 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
33693 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
33694 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
33696 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
33697 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
33699 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
33700 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
33702 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
33703 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33705 static void *_p_wxPyShapeCanvasTo_p_wxObject(void *x
) {
33706 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
33708 static void *_p_wxControlTo_p_wxObject(void *x
) {
33709 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
33711 static void *_p_wxPyEllipseShapeTo_p_wxObject(void *x
) {
33712 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*) ((wxPyEllipseShape
*) x
));
33714 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
33715 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
33717 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
33718 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
33720 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
33721 return (void *)((wxObject
*) ((wxFSFile
*) x
));
33723 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
33724 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
33726 static void *_p_wxPyBitmapShapeTo_p_wxObject(void *x
) {
33727 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyBitmapShape
*) x
));
33729 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
33730 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
33732 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
33733 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
33735 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
33736 return (void *)((wxObject
*) ((wxColourData
*) x
));
33738 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
33739 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
33741 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
33742 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33744 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
33745 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
33747 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
33748 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
33750 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
33751 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
33753 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
33754 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33756 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
33757 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33759 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
33760 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
33762 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
33763 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
33765 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
33766 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
33768 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
33769 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
33771 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
33772 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
33774 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
33775 return (void *)((wxObject
*) ((wxPrinter
*) x
));
33777 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
33778 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
33780 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
33781 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
33783 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
33784 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33786 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
33787 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
33789 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
33790 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
33792 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
33793 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
33795 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
33796 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
33798 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
33799 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
33801 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
33802 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
33804 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
33805 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
33807 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
33808 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
33810 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
33811 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
33813 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
33814 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
33816 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
33817 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
33819 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
33820 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
33822 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
33823 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
33825 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
33826 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
33828 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
33829 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
33831 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
33832 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
33834 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
33835 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
33837 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
33838 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
33840 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
33841 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
33843 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
33844 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
33846 static void *_p_wxPyShapeEvtHandlerTo_p_wxObject(void *x
) {
33847 return (void *)((wxObject
*) ((wxPyShapeEvtHandler
*) x
));
33849 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
33850 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33852 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
33853 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33855 static void *_p_wxPyTextShapeTo_p_wxObject(void *x
) {
33856 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyTextShape
*) x
));
33858 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
33859 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
33861 static void *_p_wxPyDividedShapeTo_p_wxObject(void *x
) {
33862 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyDividedShape
*) x
));
33864 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
33865 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
33867 static void *_p_wxImageTo_p_wxObject(void *x
) {
33868 return (void *)((wxObject
*) ((wxImage
*) x
));
33870 static void *_p_wxFrameTo_p_wxObject(void *x
) {
33871 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
33873 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
33874 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
33876 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
33877 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
33879 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
33880 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
33882 static void *_p_wxDiagramTo_p_wxObject(void *x
) {
33883 return (void *)((wxObject
*) ((wxDiagram
*) x
));
33885 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
33886 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
33888 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
33889 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
33891 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
33892 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33894 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
33895 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
33897 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
33898 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
33900 static void *_p_wxWindowTo_p_wxObject(void *x
) {
33901 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
33903 static void *_p_wxMenuTo_p_wxObject(void *x
) {
33904 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
33906 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
33907 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
33909 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
33910 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
33912 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
33913 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
33915 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
33916 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
33918 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
33919 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
33921 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
33922 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
33924 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
33925 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
33927 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
33928 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
33930 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
33931 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
33933 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
33934 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
33936 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
33937 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33939 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
33940 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
33942 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
33943 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33945 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
33946 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
33948 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
33949 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
33951 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
33952 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
33954 static void *_p_wxPanelTo_p_wxObject(void *x
) {
33955 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
33957 static void *_p_wxDialogTo_p_wxObject(void *x
) {
33958 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
33960 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
33961 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
33963 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
33964 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
33966 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
33967 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
33969 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
33970 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
33972 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
33973 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
33975 static void *_p_wxAttachmentPointTo_p_wxObject(void *x
) {
33976 return (void *)((wxObject
*) ((wxAttachmentPoint
*) x
));
33978 static void *_p_wxPyShapeTo_p_wxObject(void *x
) {
33979 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*) ((wxPyShape
*) x
));
33981 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
33982 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
33984 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
33985 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33987 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
33988 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
33990 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
33991 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
33993 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
33994 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
33996 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
33997 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
33999 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
34000 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
34002 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
34003 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
34005 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
34006 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
34008 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
34009 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
34011 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
34012 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
34014 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
34015 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
34017 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
34018 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
34020 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
34021 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
34023 static void *_p_wxPyRectangleShapeTo_p_wxObject(void *x
) {
34024 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*) ((wxPyRectangleShape
*) x
));
34026 static void *_p_wxPyCompositeShapeTo_p_wxObject(void *x
) {
34027 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyCompositeShape
*) x
));
34029 static void *_p_wxPyCircleShapeTo_p_wxObject(void *x
) {
34030 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyEllipseShape
*) ((wxPyCircleShape
*) x
));
34032 static void *_p_wxPyLineShapeTo_p_wxObject(void *x
) {
34033 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*) ((wxPyLineShape
*) x
));
34035 static void *_p_wxPseudoMetaFileTo_p_wxObject(void *x
) {
34036 return (void *)((wxObject
*) ((wxPseudoMetaFile
*) x
));
34038 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
34039 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
34041 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
34042 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
34044 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
34045 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
34047 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
34048 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
34050 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
34051 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
34053 static void *_p_wxShapeRegionTo_p_wxObject(void *x
) {
34054 return (void *)((wxObject
*) ((wxShapeRegion
*) x
));
34056 static void *_p_wxPyRectangleShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34057 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*) ((wxPyRectangleShape
*) x
));
34059 static void *_p_wxPyBitmapShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34060 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyBitmapShape
*) x
));
34062 static void *_p_wxPyCompositeShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34063 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyCompositeShape
*) x
));
34065 static void *_p_wxPyCircleShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34066 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyEllipseShape
*) ((wxPyCircleShape
*) x
));
34068 static void *_p_wxPyLineShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34069 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*) ((wxPyLineShape
*) x
));
34071 static void *_p_wxPyTextShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34072 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyTextShape
*) x
));
34074 static void *_p_wxPyControlPointTo_p_wxPyShapeEvtHandler(void *x
) {
34075 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyControlPoint
*) x
));
34077 static void *_p_wxPyDrawnShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34078 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyDrawnShape
*) x
));
34080 static void *_p_wxPyDivisionShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34081 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*)(wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
34083 static void *_p_wxPyPolygonShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34084 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*) ((wxPyPolygonShape
*) x
));
34086 static void *_p_wxPyDividedShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34087 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyDividedShape
*) x
));
34089 static void *_p_wxPyShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34090 return (void *)((wxPyShapeEvtHandler
*) ((wxPyShape
*) x
));
34092 static void *_p_wxPyEllipseShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34093 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*) ((wxPyEllipseShape
*) x
));
34095 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
34096 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
34098 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
34099 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
34101 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
34102 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
34104 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
34105 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
34107 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
34108 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
34110 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
34111 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
34113 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
34114 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
34116 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
34117 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
34119 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
34120 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
34122 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
34123 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
34125 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
34126 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
34128 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
34129 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
34131 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
34132 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
34134 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
34135 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
34137 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
34138 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
34140 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
34141 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
34143 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
34144 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
34146 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
34147 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
34149 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
34150 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
34152 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
34153 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
34155 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
34156 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
34158 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
34159 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
34161 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
34162 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
34164 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
34165 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
34167 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
34168 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
34170 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
34171 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
34173 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
34174 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
34176 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
34177 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
34179 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
34180 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
34182 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
34183 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
34185 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
34186 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
34188 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
34189 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
34191 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
34192 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
34194 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
34195 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
34197 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
34198 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
34200 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
34201 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
34203 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
34204 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
34206 static void *_p_wxPyShapeCanvasTo_p_wxEvtHandler(void *x
) {
34207 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
34209 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
34210 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
34212 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
34213 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
34215 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
34216 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
34218 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
34219 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
34221 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
34222 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
34224 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
34225 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
34227 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
34228 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
34230 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
34231 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
34233 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
34234 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
34236 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
34237 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
34239 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
34240 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
34242 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
34243 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
34245 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
34246 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
34248 static void *_p_wxPyCircleShapeTo_p_wxPyEllipseShape(void *x
) {
34249 return (void *)((wxPyEllipseShape
*) ((wxPyCircleShape
*) x
));
34251 static void *_p_wxPyRectangleShapeTo_p_wxPyShape(void *x
) {
34252 return (void *)((wxPyShape
*) ((wxPyRectangleShape
*) x
));
34254 static void *_p_wxPyBitmapShapeTo_p_wxPyShape(void *x
) {
34255 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyBitmapShape
*) x
));
34257 static void *_p_wxPyCompositeShapeTo_p_wxPyShape(void *x
) {
34258 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyCompositeShape
*) x
));
34260 static void *_p_wxPyCircleShapeTo_p_wxPyShape(void *x
) {
34261 return (void *)((wxPyShape
*) (wxPyEllipseShape
*) ((wxPyCircleShape
*) x
));
34263 static void *_p_wxPyLineShapeTo_p_wxPyShape(void *x
) {
34264 return (void *)((wxPyShape
*) ((wxPyLineShape
*) x
));
34266 static void *_p_wxPyTextShapeTo_p_wxPyShape(void *x
) {
34267 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyTextShape
*) x
));
34269 static void *_p_wxPyControlPointTo_p_wxPyShape(void *x
) {
34270 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyControlPoint
*) x
));
34272 static void *_p_wxPyDrawnShapeTo_p_wxPyShape(void *x
) {
34273 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyDrawnShape
*) x
));
34275 static void *_p_wxPyDivisionShapeTo_p_wxPyShape(void *x
) {
34276 return (void *)((wxPyShape
*) (wxPyRectangleShape
*)(wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
34278 static void *_p_wxPyPolygonShapeTo_p_wxPyShape(void *x
) {
34279 return (void *)((wxPyShape
*) ((wxPyPolygonShape
*) x
));
34281 static void *_p_wxPyDividedShapeTo_p_wxPyShape(void *x
) {
34282 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyDividedShape
*) x
));
34284 static void *_p_wxPyEllipseShapeTo_p_wxPyShape(void *x
) {
34285 return (void *)((wxPyShape
*) ((wxPyEllipseShape
*) x
));
34287 static void *_p_wxPyBitmapShapeTo_p_wxPyRectangleShape(void *x
) {
34288 return (void *)((wxPyRectangleShape
*) ((wxPyBitmapShape
*) x
));
34290 static void *_p_wxPyCompositeShapeTo_p_wxPyRectangleShape(void *x
) {
34291 return (void *)((wxPyRectangleShape
*) ((wxPyCompositeShape
*) x
));
34293 static void *_p_wxPyTextShapeTo_p_wxPyRectangleShape(void *x
) {
34294 return (void *)((wxPyRectangleShape
*) ((wxPyTextShape
*) x
));
34296 static void *_p_wxPyControlPointTo_p_wxPyRectangleShape(void *x
) {
34297 return (void *)((wxPyRectangleShape
*) ((wxPyControlPoint
*) x
));
34299 static void *_p_wxPyDrawnShapeTo_p_wxPyRectangleShape(void *x
) {
34300 return (void *)((wxPyRectangleShape
*) ((wxPyDrawnShape
*) x
));
34302 static void *_p_wxPyDivisionShapeTo_p_wxPyRectangleShape(void *x
) {
34303 return (void *)((wxPyRectangleShape
*) (wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
34305 static void *_p_wxPyDividedShapeTo_p_wxPyRectangleShape(void *x
) {
34306 return (void *)((wxPyRectangleShape
*) ((wxPyDividedShape
*) x
));
34308 static void *_p_wxPyDivisionShapeTo_p_wxPyCompositeShape(void *x
) {
34309 return (void *)((wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
34311 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}};
34312 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}};
34313 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}};
34314 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}};
34315 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}};
34316 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}};
34317 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}};
34318 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}};
34319 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}};
34320 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}};
34321 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}};
34322 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}};
34323 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}};
34324 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}};
34325 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}};
34326 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}};
34327 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}};
34328 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}};
34329 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}};
34330 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}};
34331 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}};
34332 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}};
34333 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}};
34334 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}};
34335 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}};
34336 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}};
34337 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}};
34338 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}};
34339 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}};
34340 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}};
34341 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}};
34342 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}};
34343 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}};
34344 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}};
34345 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}};
34346 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}};
34347 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}};
34348 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}};
34349 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}};
34350 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}};
34351 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}};
34353 static swig_type_info
*swig_types_initial
[] = {
34354 _swigt__p_wxOGLConstraint
,
34356 _swigt__p_wxColour
,
34357 _swigt__p_wxShapeRegion
,
34359 _swigt__p_wxRealPoint
,
34360 _swigt__p_wxPyControlPoint
,
34361 _swigt__p_wxArrowHead
,
34363 _swigt__p_wxStringList
,
34368 _swigt__p_wxScrolledWindow
,
34369 _swigt__p_wxWindow
,
34371 _swigt__p_wxPyDivisionShape
,
34372 _swigt__p_wxPyDrawnShape
,
34373 _swigt__p_wxPyPolygonShape
,
34374 _swigt__p_wxBitmap
,
34375 _swigt__p_wxObject
,
34376 _swigt__p_wxPyBitmapShape
,
34377 _swigt__p_wxPyShapeEvtHandler
,
34378 _swigt__p_wxEvtHandler
,
34379 _swigt__p_wxPyEllipseShape
,
34380 _swigt__p_wxPyShapeCanvas
,
34382 _swigt__p_wxDiagram
,
34383 _swigt__p_wxPyShape
,
34384 _swigt__p_wxAttachmentPoint
,
34385 _swigt__p_wxClassInfo
,
34386 _swigt__p_wxPyLineShape
,
34387 _swigt__p_wxPyRectangleShape
,
34388 _swigt__p_wxPyCompositeShape
,
34389 _swigt__p_wxPyCircleShape
,
34392 _swigt__p_wxPseudoMetaFile
,
34393 _swigt__p_wxPyTextShape
,
34394 _swigt__p_wxPyDividedShape
,
34399 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
34401 static swig_const_info swig_const_table
[] = {
34411 SWIGEXPORT(void) SWIG_init(void) {
34412 static PyObject
*SWIG_globals
= 0;
34413 static int typeinit
= 0;
34416 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
34417 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
34418 d
= PyModule_GetDict(m
);
34421 for (i
= 0; swig_types_initial
[i
]; i
++) {
34422 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
34426 SWIG_InstallConstants(d
,swig_const_table
);
34428 PyDict_SetItemString(d
,"oglMETAFLAGS_OUTLINE", SWIG_FromInt((int)oglMETAFLAGS_OUTLINE
));
34429 PyDict_SetItemString(d
,"oglMETAFLAGS_ATTACHMENTS", SWIG_FromInt((int)oglMETAFLAGS_ATTACHMENTS
));
34430 PyDict_SetItemString(d
,"KEY_SHIFT", SWIG_FromInt((int)KEY_SHIFT
));
34431 PyDict_SetItemString(d
,"KEY_CTRL", SWIG_FromInt((int)KEY_CTRL
));
34432 PyDict_SetItemString(d
,"ARROW_NONE", SWIG_FromInt((int)ARROW_NONE
));
34433 PyDict_SetItemString(d
,"ARROW_END", SWIG_FromInt((int)ARROW_END
));
34434 PyDict_SetItemString(d
,"ARROW_BOTH", SWIG_FromInt((int)ARROW_BOTH
));
34435 PyDict_SetItemString(d
,"ARROW_MIDDLE", SWIG_FromInt((int)ARROW_MIDDLE
));
34436 PyDict_SetItemString(d
,"ARROW_START", SWIG_FromInt((int)ARROW_START
));
34437 PyDict_SetItemString(d
,"ARROW_HOLLOW_CIRCLE", SWIG_FromInt((int)ARROW_HOLLOW_CIRCLE
));
34438 PyDict_SetItemString(d
,"ARROW_FILLED_CIRCLE", SWIG_FromInt((int)ARROW_FILLED_CIRCLE
));
34439 PyDict_SetItemString(d
,"ARROW_ARROW", SWIG_FromInt((int)ARROW_ARROW
));
34440 PyDict_SetItemString(d
,"ARROW_SINGLE_OBLIQUE", SWIG_FromInt((int)ARROW_SINGLE_OBLIQUE
));
34441 PyDict_SetItemString(d
,"ARROW_DOUBLE_OBLIQUE", SWIG_FromInt((int)ARROW_DOUBLE_OBLIQUE
));
34442 PyDict_SetItemString(d
,"ARROW_METAFILE", SWIG_FromInt((int)ARROW_METAFILE
));
34443 PyDict_SetItemString(d
,"ARROW_POSITION_END", SWIG_FromInt((int)ARROW_POSITION_END
));
34444 PyDict_SetItemString(d
,"ARROW_POSITION_START", SWIG_FromInt((int)ARROW_POSITION_START
));
34445 PyDict_SetItemString(d
,"CONTROL_POINT_VERTICAL", SWIG_FromInt((int)CONTROL_POINT_VERTICAL
));
34446 PyDict_SetItemString(d
,"CONTROL_POINT_HORIZONTAL", SWIG_FromInt((int)CONTROL_POINT_HORIZONTAL
));
34447 PyDict_SetItemString(d
,"CONTROL_POINT_DIAGONAL", SWIG_FromInt((int)CONTROL_POINT_DIAGONAL
));
34448 PyDict_SetItemString(d
,"CONTROL_POINT_ENDPOINT_TO", SWIG_FromInt((int)CONTROL_POINT_ENDPOINT_TO
));
34449 PyDict_SetItemString(d
,"CONTROL_POINT_ENDPOINT_FROM", SWIG_FromInt((int)CONTROL_POINT_ENDPOINT_FROM
));
34450 PyDict_SetItemString(d
,"CONTROL_POINT_LINE", SWIG_FromInt((int)CONTROL_POINT_LINE
));
34451 PyDict_SetItemString(d
,"FORMAT_NONE", SWIG_FromInt((int)FORMAT_NONE
));
34452 PyDict_SetItemString(d
,"FORMAT_CENTRE_HORIZ", SWIG_FromInt((int)FORMAT_CENTRE_HORIZ
));
34453 PyDict_SetItemString(d
,"FORMAT_CENTRE_VERT", SWIG_FromInt((int)FORMAT_CENTRE_VERT
));
34454 PyDict_SetItemString(d
,"FORMAT_SIZE_TO_CONTENTS", SWIG_FromInt((int)FORMAT_SIZE_TO_CONTENTS
));
34455 PyDict_SetItemString(d
,"LINE_ALIGNMENT_HORIZ", SWIG_FromInt((int)LINE_ALIGNMENT_HORIZ
));
34456 PyDict_SetItemString(d
,"LINE_ALIGNMENT_VERT", SWIG_FromInt((int)LINE_ALIGNMENT_VERT
));
34457 PyDict_SetItemString(d
,"LINE_ALIGNMENT_TO_NEXT_HANDLE", SWIG_FromInt((int)LINE_ALIGNMENT_TO_NEXT_HANDLE
));
34458 PyDict_SetItemString(d
,"LINE_ALIGNMENT_NONE", SWIG_FromInt((int)LINE_ALIGNMENT_NONE
));
34459 PyDict_SetItemString(d
,"SHADOW_NONE", SWIG_FromInt((int)SHADOW_NONE
));
34460 PyDict_SetItemString(d
,"SHADOW_LEFT", SWIG_FromInt((int)SHADOW_LEFT
));
34461 PyDict_SetItemString(d
,"SHADOW_RIGHT", SWIG_FromInt((int)SHADOW_RIGHT
));
34462 PyDict_SetItemString(d
,"OP_CLICK_LEFT", SWIG_FromInt((int)OP_CLICK_LEFT
));
34463 PyDict_SetItemString(d
,"OP_CLICK_RIGHT", SWIG_FromInt((int)OP_CLICK_RIGHT
));
34464 PyDict_SetItemString(d
,"OP_DRAG_LEFT", SWIG_FromInt((int)OP_DRAG_LEFT
));
34465 PyDict_SetItemString(d
,"OP_DRAG_RIGHT", SWIG_FromInt((int)OP_DRAG_RIGHT
));
34466 PyDict_SetItemString(d
,"OP_ALL", SWIG_FromInt((int)OP_ALL
));
34467 PyDict_SetItemString(d
,"ATTACHMENT_MODE_NONE", SWIG_FromInt((int)ATTACHMENT_MODE_NONE
));
34468 PyDict_SetItemString(d
,"ATTACHMENT_MODE_EDGE", SWIG_FromInt((int)ATTACHMENT_MODE_EDGE
));
34469 PyDict_SetItemString(d
,"ATTACHMENT_MODE_BRANCHING", SWIG_FromInt((int)ATTACHMENT_MODE_BRANCHING
));
34470 PyDict_SetItemString(d
,"BRANCHING_ATTACHMENT_NORMAL", SWIG_FromInt((int)BRANCHING_ATTACHMENT_NORMAL
));
34471 PyDict_SetItemString(d
,"BRANCHING_ATTACHMENT_BLOB", SWIG_FromInt((int)BRANCHING_ATTACHMENT_BLOB
));
34472 PyDict_SetItemString(d
,"gyCONSTRAINT_CENTRED_VERTICALLY", SWIG_FromInt((int)gyCONSTRAINT_CENTRED_VERTICALLY
));
34473 PyDict_SetItemString(d
,"gyCONSTRAINT_CENTRED_HORIZONTALLY", SWIG_FromInt((int)gyCONSTRAINT_CENTRED_HORIZONTALLY
));
34474 PyDict_SetItemString(d
,"gyCONSTRAINT_CENTRED_BOTH", SWIG_FromInt((int)gyCONSTRAINT_CENTRED_BOTH
));
34475 PyDict_SetItemString(d
,"gyCONSTRAINT_LEFT_OF", SWIG_FromInt((int)gyCONSTRAINT_LEFT_OF
));
34476 PyDict_SetItemString(d
,"gyCONSTRAINT_RIGHT_OF", SWIG_FromInt((int)gyCONSTRAINT_RIGHT_OF
));
34477 PyDict_SetItemString(d
,"gyCONSTRAINT_ABOVE", SWIG_FromInt((int)gyCONSTRAINT_ABOVE
));
34478 PyDict_SetItemString(d
,"gyCONSTRAINT_BELOW", SWIG_FromInt((int)gyCONSTRAINT_BELOW
));
34479 PyDict_SetItemString(d
,"gyCONSTRAINT_ALIGNED_TOP", SWIG_FromInt((int)gyCONSTRAINT_ALIGNED_TOP
));
34480 PyDict_SetItemString(d
,"gyCONSTRAINT_ALIGNED_BOTTOM", SWIG_FromInt((int)gyCONSTRAINT_ALIGNED_BOTTOM
));
34481 PyDict_SetItemString(d
,"gyCONSTRAINT_ALIGNED_LEFT", SWIG_FromInt((int)gyCONSTRAINT_ALIGNED_LEFT
));
34482 PyDict_SetItemString(d
,"gyCONSTRAINT_ALIGNED_RIGHT", SWIG_FromInt((int)gyCONSTRAINT_ALIGNED_RIGHT
));
34483 PyDict_SetItemString(d
,"gyCONSTRAINT_MIDALIGNED_TOP", SWIG_FromInt((int)gyCONSTRAINT_MIDALIGNED_TOP
));
34484 PyDict_SetItemString(d
,"gyCONSTRAINT_MIDALIGNED_BOTTOM", SWIG_FromInt((int)gyCONSTRAINT_MIDALIGNED_BOTTOM
));
34485 PyDict_SetItemString(d
,"gyCONSTRAINT_MIDALIGNED_LEFT", SWIG_FromInt((int)gyCONSTRAINT_MIDALIGNED_LEFT
));
34486 PyDict_SetItemString(d
,"gyCONSTRAINT_MIDALIGNED_RIGHT", SWIG_FromInt((int)gyCONSTRAINT_MIDALIGNED_RIGHT
));
34487 PyDict_SetItemString(d
,"DIVISION_SIDE_NONE", SWIG_FromInt((int)DIVISION_SIDE_NONE
));
34488 PyDict_SetItemString(d
,"DIVISION_SIDE_LEFT", SWIG_FromInt((int)DIVISION_SIDE_LEFT
));
34489 PyDict_SetItemString(d
,"DIVISION_SIDE_TOP", SWIG_FromInt((int)DIVISION_SIDE_TOP
));
34490 PyDict_SetItemString(d
,"DIVISION_SIDE_RIGHT", SWIG_FromInt((int)DIVISION_SIDE_RIGHT
));
34491 PyDict_SetItemString(d
,"DIVISION_SIDE_BOTTOM", SWIG_FromInt((int)DIVISION_SIDE_BOTTOM
));
34494 // initoglbasicc();
34495 // initoglshapesc();
34496 // initoglshapes2c();
34497 // initoglcanvasc();
34500 wxPyPtrTypeMap_Add("wxControlPoint", "wxPyControlPoint");
34501 wxPyPtrTypeMap_Add("wxShapeCanvas", "wxPyShapeCanvas");
34502 wxPyPtrTypeMap_Add("wxShapeEvtHandler", "wxPyShapeEvtHandler");
34503 wxPyPtrTypeMap_Add("wxShape", "wxPyShape");
34504 wxPyPtrTypeMap_Add("wxRectangleShape", "wxPyRectangleShape");
34505 wxPyPtrTypeMap_Add("wxDrawnShape", "wxPyDrawnShape");
34506 wxPyPtrTypeMap_Add("wxCompositeShape", "wxPyCompositeShape");
34507 wxPyPtrTypeMap_Add("wxDividedShape", "wxPyDividedShape");
34508 wxPyPtrTypeMap_Add("wxDivisionShape", "wxPyDivisionShape");
34509 wxPyPtrTypeMap_Add("wxEllipseShape", "wxPyEllipseShape");
34510 wxPyPtrTypeMap_Add("wxCircleShape", "wxPyCircleShape");
34511 wxPyPtrTypeMap_Add("wxLineShape", "wxPyLineShape");
34512 wxPyPtrTypeMap_Add("wxPolygonShape", "wxPyPolygonShape");
34513 wxPyPtrTypeMap_Add("wxTextShape", "wxPyTextShape");