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);
127 /***********************************************************************
128 * pyrun.swg for wxPython
130 * Include only the function prototypes and such from SWIG's pyrun.swg,
131 * but not the runtime functions themselves. This helps keep the
132 * wrapper files clean of unnecessary stuff that is in the libpy.c file
135 ************************************************************************/
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
149 /* Flags for pointer conversion */
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
157 /* Constant information structure */
158 typedef struct swig_const_info
{
164 swig_type_info
**ptype
;
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
187 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
190 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
192 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
195 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* -----------------------------------------------------------------------------
199 * the needed conversions between C++ and python
200 * ----------------------------------------------------------------------------- */
205 SWIGIMPORT(char* ) SWIG_PyObj_AsCharPtr(PyObject
*obj
, swig_type_info
* pchar_info
);
206 SWIGIMPORT(PyObject
*) SWIG_PyObj_FromCharPtr(const char* cptr
);
207 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLong(PyObject
* obj
);
208 SWIGIMPORT(long) SWIG_PyObj_AsLongInRange(PyObject
* obj
, const char* type
,
209 long min_value
, long max_value
);
210 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLongInRange(PyObject
*obj
, const char* type
,
211 unsigned long max_value
);
212 SWIGIMPORT(char *) SWIG_PyObj_AsNewCharPtr(PyObject
*obj
, swig_type_info
* pchar_info
);
213 SWIGIMPORT(void) SWIG_PyObj_AsCharPtrAndSize(PyObject
*obj
, swig_type_info
* pchar_info
,
214 char** cptr
, size_t* size
);
215 SWIGIMPORT(void) SWIG_PyObj_AsCharArray(PyObject
*obj
, swig_type_info
* pchar_info
,
216 char* carray
, size_t size
);
217 SWIGIMPORT(PyObject
*) SWIG_PyObj_FromCharArray(const char* carray
, size_t size
);
218 SWIGIMPORT(float) SWIG_PyObj_AsFloatConv(PyObject
*obj
, py_objasdbl_conv pyconv
);
221 /* Contract support */
223 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
231 /* -------- TYPES TABLE (BEGIN) -------- */
233 #define SWIGTYPE_p_wxOGLConstraint swig_types[0]
234 #define SWIGTYPE_p_wxBrush swig_types[1]
235 #define SWIGTYPE_p_wxColour swig_types[2]
236 #define SWIGTYPE_p_wxShapeRegion swig_types[3]
237 #define SWIGTYPE_p_wxDC swig_types[4]
238 #define SWIGTYPE_p_wxRealPoint swig_types[5]
239 #define SWIGTYPE_p_wxPyControlPoint swig_types[6]
240 #define SWIGTYPE_p_wxArrowHead swig_types[7]
241 #define SWIGTYPE_p_char swig_types[8]
242 #define SWIGTYPE_p_wxStringList swig_types[9]
243 #define SWIGTYPE_p_wxPanel swig_types[10]
244 #define SWIGTYPE_p_bool swig_types[11]
245 #define SWIGTYPE_p_wxList swig_types[12]
246 #define SWIGTYPE_p_wxFont swig_types[13]
247 #define SWIGTYPE_p_wxScrolledWindow swig_types[14]
248 #define SWIGTYPE_p_wxWindow swig_types[15]
249 #define SWIGTYPE_p_double swig_types[16]
250 #define SWIGTYPE_p_wxPyDrawnShape swig_types[17]
251 #define SWIGTYPE_p_wxPyDivisionShape swig_types[18]
252 #define SWIGTYPE_p_wxPyPolygonShape swig_types[19]
253 #define SWIGTYPE_p_wxBitmap swig_types[20]
254 #define SWIGTYPE_p_wxObject swig_types[21]
255 #define SWIGTYPE_p_wxPyBitmapShape swig_types[22]
256 #define SWIGTYPE_p_wxString swig_types[23]
257 #define SWIGTYPE_p_wxPyShapeEvtHandler swig_types[24]
258 #define SWIGTYPE_p_wxEvtHandler swig_types[25]
259 #define SWIGTYPE_p_wxPyEllipseShape swig_types[26]
260 #define SWIGTYPE_p_wxPyShapeCanvas swig_types[27]
261 #define SWIGTYPE_p_wxPoint swig_types[28]
262 #define SWIGTYPE_p_wxDiagram swig_types[29]
263 #define SWIGTYPE_p_wxPyShape swig_types[30]
264 #define SWIGTYPE_p_wxAttachmentPoint swig_types[31]
265 #define SWIGTYPE_p_wxClassInfo swig_types[32]
266 #define SWIGTYPE_p_wxPyLineShape swig_types[33]
267 #define SWIGTYPE_p_wxPyRectangleShape swig_types[34]
268 #define SWIGTYPE_p_wxPyCompositeShape swig_types[35]
269 #define SWIGTYPE_p_wxPyCircleShape swig_types[36]
270 #define SWIGTYPE_p_wxPen swig_types[37]
271 #define SWIGTYPE_p_int swig_types[38]
272 #define SWIGTYPE_p_wxPseudoMetaFile swig_types[39]
273 #define SWIGTYPE_p_wxPyTextShape swig_types[40]
274 #define SWIGTYPE_p_wxPyDividedShape swig_types[41]
275 static swig_type_info
*swig_types
[43];
277 /* -------- TYPES TABLE (END) -------- */
280 /*-----------------------------------------------
282 ------------------------------------------------*/
283 #define SWIG_init init_ogl
285 #define SWIG_name "_ogl"
293 #define SWIGSTATIC(a) static inline a
295 #define SWIGSTATIC(a) static a
301 #ifdef HAVE_NUMERIC_CAST
302 #define numeric_cast(type,a) numeric_cast<type>(a)
304 #define numeric_cast(type,a) static_cast<type>(a)
307 #define numeric_cast(type,a) (type)(a)
313 #define SWIG_PyObj_FromSignedChar PyInt_FromLong
314 #define SWIG_PyObj_FromUnsignedChar PyInt_FromLong
315 #define SWIG_PyObj_FromShort PyInt_FromLong
316 #define SWIG_PyObj_FromUnsignedShort PyInt_FromLong
317 #define SWIG_PyObj_FromInt PyInt_FromLong
318 #define SWIG_PyObj_FromLong PyInt_FromLong
319 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
320 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
321 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
322 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
325 #include "wx/wxPython/wxPython.h"
326 #include "wx/wxPython/pyclasses.h"
327 #include "oglhelpers.h"
330 static const wxString
wxPyEmptyString(wxEmptyString
);
333 SWIG_PyObj_AsDouble(PyObject
*obj
)
335 return (PyFloat_Check(obj
)) ? PyFloat_AsDouble(obj
) :
337 (double)((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLongLong(obj
));
339 (double)((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
));
341 if (PyErr_Occurred()) {
343 PyErr_SetString(PyExc_TypeError
, "a double is expected");
349 SWIG_PyObj_AsInt(PyObject
*obj
)
351 return numeric_cast(int,
352 SWIG_PyObj_AsLongInRange(obj
, "int", INT_MIN
, INT_MAX
));
356 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
362 } else if (target
== Py_None
) {
366 if (!PyTuple_Check(target
)) {
368 target
= PyTuple_New(1);
369 PyTuple_SetItem(target
, 0, o2
);
372 PyTuple_SetItem(o3
, 0, o
);
375 target
= PySequence_Concat(o2
, o3
);
383 WXSHAPE_IMP_CALLBACKS(wxPyShapeEvtHandler
,wxShapeEvtHandler
);
385 void wxPyShapeEvtHandler__setOORInfo(wxPyShapeEvtHandler
*self
,PyObject
*_self
){
386 self
->SetClientObject(new wxPyOORClientData(_self
));
390 SWIG_PyObj_AsBool(PyObject
*obj
)
392 return PyObject_IsTrue(obj
) ? true : false;
396 SWIGSTATIC(PyObject
*)
397 SWIG_PyObj_FromBool(bool value
)
399 PyObject
*obj
= value
? Py_True
: Py_False
;
405 WXSHAPE_IMP_CALLBACKS(wxPyShape
, wxShape
);
407 PyObject
*wxPyShape_GetChildren(wxPyShape
*self
){
408 wxList
& list
= self
->GetChildren();
409 return wxPy_ConvertShapeList(&list
);
411 PyObject
*wxPyShape_GetLines(wxPyShape
*self
){
412 wxList
& list
= self
->GetLines();
413 return wxPy_ConvertShapeList(&list
);
417 SWIG_PyObj_AsLong(PyObject
* obj
)
419 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
422 PyObject
*wxPyShape_GetRegions(wxPyShape
*self
){
423 wxList
& list
= self
->GetRegions();
424 return wxPy_ConvertList(&list
);
426 PyObject
*wxPyShape_GetAttachments(wxPyShape
*self
){
427 wxList
& list
= self
->GetAttachments();
428 return wxPy_ConvertList(&list
);
430 void wxPyShape_ApplyAttachmentOrdering(wxPyShape
*self
,PyObject
*linesToSort
){
431 wxList
* list
= wxPy_wxListHelper(linesToSort
, wxT("wxPyLineShape"));
432 self
->ApplyAttachmentOrdering(*list
);
436 // Using this macro can sometimes provoke an Internal Compiler Error in MSVC
437 // 6, so instead I'l just expand it out by hand...
438 // WXSHAPE_IMP_CALLBACKS(wxPyRectangleShape, wxRectangleShape);
440 IMP_PYCALLBACK__ (wxPyRectangleShape
, wxRectangleShape
, OnDelete
);
441 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnDraw
);
442 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnDrawContents
);
443 IMP_PYCALLBACK__DCBOOL (wxPyRectangleShape
, wxRectangleShape
, OnDrawBranches
);
444 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnMoveLinks
);
445 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnErase
);
446 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnEraseContents
);
447 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnHighlight
);
448 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnLeftClick
);
449 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnLeftDoubleClick
);
450 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnRightClick
);
451 IMP_PYCALLBACK__2DBL (wxPyRectangleShape
, wxRectangleShape
, OnSize
);
452 IMP_PYCALLBACK_BOOL_DC4DBLBOOL (wxPyRectangleShape
, wxRectangleShape
, OnMovePre
);
453 IMP_PYCALLBACK__DC4DBLBOOL (wxPyRectangleShape
, wxRectangleShape
, OnMovePost
);
454 IMP_PYCALLBACK__BOOL2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnDragLeft
);
455 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnBeginDragLeft
);
456 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnEndDragLeft
);
457 IMP_PYCALLBACK__BOOL2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnDragRight
);
458 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnBeginDragRight
);
459 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnEndDragRight
);
460 IMP_PYCALLBACK__DC4DBL (wxPyRectangleShape
, wxRectangleShape
, OnDrawOutline
);
461 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnDrawControlPoints
);
462 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnEraseControlPoints
);
463 IMP_PYCALLBACK__DCBOOL (wxPyRectangleShape
, wxRectangleShape
, OnMoveLink
);
464 IMP_PYCALLBACK__WXCPBOOL2DBL2INT(wxPyRectangleShape
, wxRectangleShape
, OnSizingDragLeft
);
465 IMP_PYCALLBACK__WXCP2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnSizingBeginDragLeft
);
466 IMP_PYCALLBACK__WXCP2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnSizingEndDragLeft
);
467 IMP_PYCALLBACK__2DBL (wxPyRectangleShape
, wxRectangleShape
, OnBeginSize
);
468 IMP_PYCALLBACK__2DBL (wxPyRectangleShape
, wxRectangleShape
, OnEndSize
)
472 WXSHAPE_IMP_CALLBACKS(wxPyControlPoint
, wxControlPoint
);
475 WXSHAPE_IMP_CALLBACKS(wxPyBitmapShape
, wxBitmapShape
);
478 WXSHAPE_IMP_CALLBACKS(wxPyDrawnShape
, wxDrawnShape
);
480 wxOGLConstraint
*new_wxOGLConstraint(int type
,wxPyShape
*constraining
,PyObject
*constrained
){
481 wxList
* list
= wxPy_wxListHelper(constrained
, wxT("wxPyShape"));
482 wxOGLConstraint
* rv
= new wxOGLConstraint(type
, constraining
, *list
);
487 WXSHAPE_IMP_CALLBACKS(wxPyCompositeShape
, wxCompositeShape
);
489 wxOGLConstraint
*wxPyCompositeShape_AddConstrainedShapes(wxPyCompositeShape
*self
,int type
,wxPyShape
*constraining
,PyObject
*constrained
){
490 wxList
* list
= wxPy_wxListHelper(constrained
, wxT("wxPyShape"));
491 wxOGLConstraint
* rv
= self
->AddConstraint(type
, constraining
, *list
);
495 PyObject
*wxPyCompositeShape_GetConstraints(wxPyCompositeShape
*self
){
496 wxList
& list
= self
->GetConstraints();
497 return wxPy_ConvertList(&list
);
499 PyObject
*wxPyCompositeShape_GetDivisions(wxPyCompositeShape
*self
){
500 wxList
& list
= self
->GetDivisions();
501 return wxPy_ConvertShapeList(&list
);
504 WXSHAPE_IMP_CALLBACKS(wxPyDividedShape
, wxDividedShape
);
507 WXSHAPE_IMP_CALLBACKS(wxPyDivisionShape
, wxDivisionShape
);
510 WXSHAPE_IMP_CALLBACKS(wxPyEllipseShape
, wxEllipseShape
);
513 WXSHAPE_IMP_CALLBACKS(wxPyCircleShape
, wxCircleShape
);
516 WXSHAPE_IMP_CALLBACKS(wxPyLineShape
, wxLineShape
);
518 void wxPyLineShape_AddArrowOrdered(wxPyLineShape
*self
,wxArrowHead
*arrow
,PyObject
*referenceList
,int end
){
519 wxList
* list
= wxPy_wxListHelper(referenceList
, wxT("wxArrowHead"));
520 self
->AddArrowOrdered(arrow
, *list
, end
);
523 PyObject
*wxPyLineShape_GetLineControlPoints(wxPyLineShape
*self
){
524 wxList
* list
= self
->GetLineControlPoints();
525 return wxPy_ConvertShapeList(list
);
528 WXSHAPE_IMP_CALLBACKS(wxPyPolygonShape
, wxPolygonShape
);
530 PyObject
*wxPyPolygonShape_Create(wxPyPolygonShape
*self
,PyObject
*points
){
531 wxList
* list
= wxPy_wxRealPoint_ListHelper(points
);
539 PyObject
*wxPyPolygonShape_GetPoints(wxPyPolygonShape
*self
){
540 wxList
* list
= self
->GetPoints();
544 wxNode
* node
= list
->GetFirst();
546 wxPyBeginBlockThreads();
547 pyList
= PyList_New(0);
549 wxObj
= node
->GetData();
550 pyObj
= wxPyConstructObject(wxObj
, wxT("wxRealPoint"), 0);
551 PyList_Append(pyList
, pyObj
);
552 node
= node
->GetNext();
554 wxPyEndBlockThreads();
557 PyObject
*wxPyPolygonShape_GetOriginalPoints(wxPyPolygonShape
*self
){
558 wxList
* list
= self
->GetOriginalPoints();
562 wxNode
* node
= list
->GetFirst();
564 wxPyBeginBlockThreads();
565 pyList
= PyList_New(0);
567 wxObj
= node
->GetData();
568 pyObj
= wxPyConstructObject(wxObj
, wxT("wxRealPoint"), 0);
569 PyList_Append(pyList
, pyObj
);
570 node
= node
->GetNext();
572 wxPyEndBlockThreads();
576 WXSHAPE_IMP_CALLBACKS(wxPyTextShape
, wxTextShape
);
579 // Put some wx default wxChar* values into wxStrings.
580 DECLARE_DEF_STRING(ShapeCanvasNameStr
);
582 PyObject
*wxDiagram_GetShapeList(wxDiagram
*self
){
583 wxList
* list
= self
->GetShapeList();
584 return wxPy_ConvertShapeList(list
);
587 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnBeginDragLeft
);
588 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnBeginDragRight
);
589 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnEndDragLeft
);
590 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnEndDragRight
);
591 IMP_PYCALLBACK__BOOL2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnDragLeft
);
592 IMP_PYCALLBACK__BOOL2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnDragRight
);
593 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnLeftClick
);
594 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnRightClick
);
597 //---------------------------------------------------------------------------
599 // Convert from a Python list to a list of className objects. This one will
600 // work for any class for the VERY generic cases, but beyond that the helper
601 // needs to know more about the type.
602 wxList
* wxPy_wxListHelper(PyObject
* pyList
, const wxChar
* className
) {
603 wxPyBeginBlockThreads();
604 if (!PyList_Check(pyList
)) {
605 PyErr_SetString(PyExc_TypeError
, "Expected a list object.");
606 wxPyEndBlockThreads();
609 int count
= PyList_Size(pyList
);
610 wxList
* list
= new wxList
;
612 PyErr_SetString(PyExc_MemoryError
, "Unable to allocate wxList object");
613 wxPyEndBlockThreads();
616 for (int x
=0; x
<count
; x
++) {
617 PyObject
* pyo
= PyList_GetItem(pyList
, x
);
618 wxObject
* wxo
= NULL
;
620 if ( !wxPyConvertSwigPtr(pyo
, (void **)&wxo
, className
) ) {
622 errmsg
.Printf(wxT("Type error, expected list of %s objects"), className
);
623 PyErr_SetString(PyExc_TypeError
, errmsg
.mb_str());
624 wxPyEndBlockThreads();
629 wxPyEndBlockThreads();
633 //---------------------------------------------------------------------------
635 wxList
* wxPy_wxRealPoint_ListHelper(PyObject
* pyList
) {
636 wxPyBeginBlockThreads();
637 if (!PyList_Check(pyList
)) {
638 PyErr_SetString(PyExc_TypeError
, "Expected a list object.");
639 wxPyEndBlockThreads();
642 int count
= PyList_Size(pyList
);
643 wxList
* list
= new wxList
;
645 PyErr_SetString(PyExc_MemoryError
, "Unable to allocate wxList object");
646 wxPyEndBlockThreads();
649 for (int x
=0; x
<count
; x
++) {
650 PyObject
* pyo
= PyList_GetItem(pyList
, x
);
652 if (PyTuple_Check(pyo
)) {
653 PyObject
* o1
= PyNumber_Float(PyTuple_GetItem(pyo
, 0));
654 PyObject
* o2
= PyNumber_Float(PyTuple_GetItem(pyo
, 1));
656 double val1
= (o1
? PyFloat_AsDouble(o1
) : 0.0);
657 double val2
= (o2
? PyFloat_AsDouble(o2
) : 0.0);
659 list
->Append((wxObject
*) new wxRealPoint(val1
, val2
));
662 wxRealPoint
* wxo
= NULL
;
663 if (wxPyConvertSwigPtr(pyo
, (void **)&wxo
, wxT("wxRealPoint"))) {
664 PyErr_SetString(PyExc_TypeError
, "Type error, expected list of wxRealPoint objects or 2-tuples");
665 wxPyEndBlockThreads();
668 list
->Append((wxObject
*) new wxRealPoint(*wxo
));
671 wxPyEndBlockThreads();
675 //---------------------------------------------------------------------------
677 PyObject
* wxPyMake_wxShapeEvtHandler(wxShapeEvtHandler
* source
) {
678 PyObject
* target
= NULL
;
680 if (source
&& wxIsKindOf(source
, wxShapeEvtHandler
)) {
681 // If it's derived from wxShapeEvtHandler then there may
682 // already be a pointer to a Python object that we can use
684 wxShapeEvtHandler
* seh
= (wxShapeEvtHandler
*)source
;
685 wxPyOORClientData
* data
= (wxPyOORClientData
*)seh
->GetClientObject();
687 target
= data
->m_obj
;
692 target
= wxPyMake_wxObject2(source
, FALSE
);
693 if (target
!= Py_None
)
694 ((wxShapeEvtHandler
*)source
)->SetClientObject(new wxPyOORClientData(target
));
699 //---------------------------------------------------------------------------
701 PyObject
* wxPy_ConvertShapeList(wxListBase
* listbase
) {
702 wxList
* list
= (wxList
*)listbase
;
706 wxNode
* node
= list
->GetFirst();
708 wxPyBeginBlockThreads();
709 pyList
= PyList_New(0);
711 wxObj
= node
->GetData();
712 pyObj
= wxPyMake_wxShapeEvtHandler((wxShapeEvtHandler
*)wxObj
);
713 PyList_Append(pyList
, pyObj
);
714 node
= node
->GetNext();
716 wxPyEndBlockThreads();
721 //---------------------------------------------------------------------------
723 IMPLEMENT_DYNAMIC_CLASS(wxPyShapeCanvas
, wxShapeCanvas
);
724 IMPLEMENT_DYNAMIC_CLASS(wxPyShapeEvtHandler
, wxShapeEvtHandler
);
725 IMPLEMENT_ABSTRACT_CLASS(wxPyShape
, wxShape
);
726 IMPLEMENT_DYNAMIC_CLASS(wxPyRectangleShape
, wxRectangleShape
);
727 IMPLEMENT_DYNAMIC_CLASS(wxPyControlPoint
, wxControlPoint
);
728 IMPLEMENT_DYNAMIC_CLASS(wxPyBitmapShape
, wxBitmapShape
);
729 IMPLEMENT_DYNAMIC_CLASS(wxPyDrawnShape
, wxDrawnShape
);
730 IMPLEMENT_DYNAMIC_CLASS(wxPyCompositeShape
, wxCompositeShape
);
731 IMPLEMENT_DYNAMIC_CLASS(wxPyDividedShape
, wxDividedShape
);
732 IMPLEMENT_DYNAMIC_CLASS(wxPyDivisionShape
, wxDivisionShape
);
733 IMPLEMENT_DYNAMIC_CLASS(wxPyEllipseShape
, wxEllipseShape
);
734 IMPLEMENT_DYNAMIC_CLASS(wxPyCircleShape
, wxCircleShape
);
735 IMPLEMENT_DYNAMIC_CLASS(wxPyLineShape
, wxLineShape
);
736 IMPLEMENT_DYNAMIC_CLASS(wxPyPolygonShape
, wxPolygonShape
);
737 IMPLEMENT_DYNAMIC_CLASS(wxPyTextShape
, wxTextShape
);
739 //---------------------------------------------------------------------------
741 // extern "C" SWIGEXPORT(void) initoglbasicc();
742 // extern "C" SWIGEXPORT(void) initoglshapesc();
743 // extern "C" SWIGEXPORT(void) initoglshapes2c();
744 // extern "C" SWIGEXPORT(void) initoglcanvasc();
749 static PyObject
*_wrap_new_ShapeRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
751 wxShapeRegion
*result
;
756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ShapeRegion",kwnames
)) goto fail
;
758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
759 result
= (wxShapeRegion
*)new wxShapeRegion();
761 wxPyEndAllowThreads(__tstate
);
762 if (PyErr_Occurred()) SWIG_fail
;
764 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxShapeRegion
, 1);
771 static PyObject
*_wrap_ShapeRegion_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
773 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
776 PyObject
* obj0
= 0 ;
777 PyObject
* obj1
= 0 ;
779 (char *) "self",(char *) "s", NULL
782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
785 arg2
= wxString_in_helper(obj1
);
786 if (arg2
== NULL
) SWIG_fail
;
790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
791 (arg1
)->SetText((wxString
const &)*arg2
);
793 wxPyEndAllowThreads(__tstate
);
794 if (PyErr_Occurred()) SWIG_fail
;
796 Py_INCREF(Py_None
); resultobj
= Py_None
;
811 static PyObject
*_wrap_ShapeRegion_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
813 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
814 wxFont
*arg2
= (wxFont
*) 0 ;
815 PyObject
* obj0
= 0 ;
816 PyObject
* obj1
= 0 ;
818 (char *) "self",(char *) "f", NULL
821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
826 if (obj1
== Py_None
) {
829 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxFont"))) {
830 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxFont.");
835 arg2
= wxTheFontList
->FindOrCreateFont(temp
->GetPointSize(),
839 temp
->GetUnderlined(),
841 temp
->GetEncoding());
846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
847 (arg1
)->SetFont(arg2
);
849 wxPyEndAllowThreads(__tstate
);
850 if (PyErr_Occurred()) SWIG_fail
;
852 Py_INCREF(Py_None
); resultobj
= Py_None
;
859 static PyObject
*_wrap_ShapeRegion_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
861 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
864 PyObject
* obj0
= 0 ;
865 PyObject
* obj1
= 0 ;
866 PyObject
* obj2
= 0 ;
868 (char *) "self",(char *) "w",(char *) "h", NULL
871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ShapeRegion_SetMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
872 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
874 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
875 if (PyErr_Occurred()) SWIG_fail
;
878 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
879 if (PyErr_Occurred()) SWIG_fail
;
882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
883 (arg1
)->SetMinSize(arg2
,arg3
);
885 wxPyEndAllowThreads(__tstate
);
886 if (PyErr_Occurred()) SWIG_fail
;
888 Py_INCREF(Py_None
); resultobj
= Py_None
;
895 static PyObject
*_wrap_ShapeRegion_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
897 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
900 PyObject
* obj0
= 0 ;
901 PyObject
* obj1
= 0 ;
902 PyObject
* obj2
= 0 ;
904 (char *) "self",(char *) "w",(char *) "h", NULL
907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ShapeRegion_SetSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
910 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
911 if (PyErr_Occurred()) SWIG_fail
;
914 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
915 if (PyErr_Occurred()) SWIG_fail
;
918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
919 (arg1
)->SetSize(arg2
,arg3
);
921 wxPyEndAllowThreads(__tstate
);
922 if (PyErr_Occurred()) SWIG_fail
;
924 Py_INCREF(Py_None
); resultobj
= Py_None
;
931 static PyObject
*_wrap_ShapeRegion_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
933 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
936 PyObject
* obj0
= 0 ;
937 PyObject
* obj1
= 0 ;
938 PyObject
* obj2
= 0 ;
940 (char *) "self",(char *) "x",(char *) "y", NULL
943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ShapeRegion_SetPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
944 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
946 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
947 if (PyErr_Occurred()) SWIG_fail
;
950 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
951 if (PyErr_Occurred()) SWIG_fail
;
954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
955 (arg1
)->SetPosition(arg2
,arg3
);
957 wxPyEndAllowThreads(__tstate
);
958 if (PyErr_Occurred()) SWIG_fail
;
960 Py_INCREF(Py_None
); resultobj
= Py_None
;
967 static PyObject
*_wrap_ShapeRegion_SetProportions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
969 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
972 PyObject
* obj0
= 0 ;
973 PyObject
* obj1
= 0 ;
974 PyObject
* obj2
= 0 ;
976 (char *) "self",(char *) "x",(char *) "y", NULL
979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ShapeRegion_SetProportions",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
980 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
982 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
983 if (PyErr_Occurred()) SWIG_fail
;
986 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
987 if (PyErr_Occurred()) SWIG_fail
;
990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
991 (arg1
)->SetProportions(arg2
,arg3
);
993 wxPyEndAllowThreads(__tstate
);
994 if (PyErr_Occurred()) SWIG_fail
;
996 Py_INCREF(Py_None
); resultobj
= Py_None
;
1003 static PyObject
*_wrap_ShapeRegion_SetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1004 PyObject
*resultobj
;
1005 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1007 PyObject
* obj0
= 0 ;
1008 PyObject
* obj1
= 0 ;
1010 (char *) "self",(char *) "mode", NULL
1013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetFormatMode",kwnames
,&obj0
,&obj1
)) goto fail
;
1014 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1016 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1017 if (PyErr_Occurred()) SWIG_fail
;
1020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1021 (arg1
)->SetFormatMode(arg2
);
1023 wxPyEndAllowThreads(__tstate
);
1024 if (PyErr_Occurred()) SWIG_fail
;
1026 Py_INCREF(Py_None
); resultobj
= Py_None
;
1033 static PyObject
*_wrap_ShapeRegion_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1034 PyObject
*resultobj
;
1035 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1036 wxString
*arg2
= 0 ;
1037 bool temp2
= False
;
1038 PyObject
* obj0
= 0 ;
1039 PyObject
* obj1
= 0 ;
1041 (char *) "self",(char *) "s", NULL
1044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
1045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1047 arg2
= wxString_in_helper(obj1
);
1048 if (arg2
== NULL
) SWIG_fail
;
1052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1053 (arg1
)->SetName((wxString
const &)*arg2
);
1055 wxPyEndAllowThreads(__tstate
);
1056 if (PyErr_Occurred()) SWIG_fail
;
1058 Py_INCREF(Py_None
); resultobj
= Py_None
;
1073 static PyObject
*_wrap_ShapeRegion_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1074 PyObject
*resultobj
;
1075 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1076 wxString
*arg2
= 0 ;
1077 bool temp2
= False
;
1078 PyObject
* obj0
= 0 ;
1079 PyObject
* obj1
= 0 ;
1081 (char *) "self",(char *) "col", NULL
1084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
1085 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1087 arg2
= wxString_in_helper(obj1
);
1088 if (arg2
== NULL
) SWIG_fail
;
1092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1093 (arg1
)->SetColour((wxString
const &)*arg2
);
1095 wxPyEndAllowThreads(__tstate
);
1096 if (PyErr_Occurred()) SWIG_fail
;
1098 Py_INCREF(Py_None
); resultobj
= Py_None
;
1113 static PyObject
*_wrap_ShapeRegion_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1114 PyObject
*resultobj
;
1115 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1117 PyObject
* obj0
= 0 ;
1119 (char *) "self", NULL
1122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetText",kwnames
,&obj0
)) goto fail
;
1123 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1126 result
= (arg1
)->GetText();
1128 wxPyEndAllowThreads(__tstate
);
1129 if (PyErr_Occurred()) SWIG_fail
;
1133 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1135 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1144 static PyObject
*_wrap_ShapeRegion_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1145 PyObject
*resultobj
;
1146 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1148 PyObject
* obj0
= 0 ;
1150 (char *) "self", NULL
1153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetFont",kwnames
,&obj0
)) goto fail
;
1154 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1157 result
= (wxFont
*)(arg1
)->GetFont();
1159 wxPyEndAllowThreads(__tstate
);
1160 if (PyErr_Occurred()) SWIG_fail
;
1162 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
1169 static PyObject
*_wrap_ShapeRegion_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1170 PyObject
*resultobj
;
1171 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1172 double *arg2
= (double *) 0 ;
1173 double *arg3
= (double *) 0 ;
1176 PyObject
* obj0
= 0 ;
1178 (char *) "self", NULL
1183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetMinSize",kwnames
,&obj0
)) goto fail
;
1184 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1187 (arg1
)->GetMinSize(arg2
,arg3
);
1189 wxPyEndAllowThreads(__tstate
);
1190 if (PyErr_Occurred()) SWIG_fail
;
1192 Py_INCREF(Py_None
); resultobj
= Py_None
;
1194 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
1195 resultobj
= t_output_helper(resultobj
,o
);
1198 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
1199 resultobj
= t_output_helper(resultobj
,o
);
1207 static PyObject
*_wrap_ShapeRegion_GetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1208 PyObject
*resultobj
;
1209 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1210 double *arg2
= (double *) 0 ;
1211 double *arg3
= (double *) 0 ;
1214 PyObject
* obj0
= 0 ;
1216 (char *) "self", NULL
1221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetProportion",kwnames
,&obj0
)) goto fail
;
1222 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1225 (arg1
)->GetProportion(arg2
,arg3
);
1227 wxPyEndAllowThreads(__tstate
);
1228 if (PyErr_Occurred()) SWIG_fail
;
1230 Py_INCREF(Py_None
); resultobj
= Py_None
;
1232 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
1233 resultobj
= t_output_helper(resultobj
,o
);
1236 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
1237 resultobj
= t_output_helper(resultobj
,o
);
1245 static PyObject
*_wrap_ShapeRegion_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1246 PyObject
*resultobj
;
1247 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1248 double *arg2
= (double *) 0 ;
1249 double *arg3
= (double *) 0 ;
1252 PyObject
* obj0
= 0 ;
1254 (char *) "self", NULL
1259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetSize",kwnames
,&obj0
)) goto fail
;
1260 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1263 (arg1
)->GetSize(arg2
,arg3
);
1265 wxPyEndAllowThreads(__tstate
);
1266 if (PyErr_Occurred()) SWIG_fail
;
1268 Py_INCREF(Py_None
); resultobj
= Py_None
;
1270 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
1271 resultobj
= t_output_helper(resultobj
,o
);
1274 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
1275 resultobj
= t_output_helper(resultobj
,o
);
1283 static PyObject
*_wrap_ShapeRegion_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1284 PyObject
*resultobj
;
1285 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1286 double *arg2
= (double *) 0 ;
1287 double *arg3
= (double *) 0 ;
1290 PyObject
* obj0
= 0 ;
1292 (char *) "self", NULL
1297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetPosition",kwnames
,&obj0
)) goto fail
;
1298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1301 (arg1
)->GetPosition(arg2
,arg3
);
1303 wxPyEndAllowThreads(__tstate
);
1304 if (PyErr_Occurred()) SWIG_fail
;
1306 Py_INCREF(Py_None
); resultobj
= Py_None
;
1308 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
1309 resultobj
= t_output_helper(resultobj
,o
);
1312 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
1313 resultobj
= t_output_helper(resultobj
,o
);
1321 static PyObject
*_wrap_ShapeRegion_GetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1322 PyObject
*resultobj
;
1323 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1325 PyObject
* obj0
= 0 ;
1327 (char *) "self", NULL
1330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetFormatMode",kwnames
,&obj0
)) goto fail
;
1331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1334 result
= (int)(arg1
)->GetFormatMode();
1336 wxPyEndAllowThreads(__tstate
);
1337 if (PyErr_Occurred()) SWIG_fail
;
1339 resultobj
= SWIG_PyObj_FromInt((int)result
);
1346 static PyObject
*_wrap_ShapeRegion_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1347 PyObject
*resultobj
;
1348 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1350 PyObject
* obj0
= 0 ;
1352 (char *) "self", NULL
1355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetName",kwnames
,&obj0
)) goto fail
;
1356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1359 result
= (arg1
)->GetName();
1361 wxPyEndAllowThreads(__tstate
);
1362 if (PyErr_Occurred()) SWIG_fail
;
1366 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1368 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1377 static PyObject
*_wrap_ShapeRegion_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1378 PyObject
*resultobj
;
1379 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1381 PyObject
* obj0
= 0 ;
1383 (char *) "self", NULL
1386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetColour",kwnames
,&obj0
)) goto fail
;
1387 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1390 result
= (arg1
)->GetColour();
1392 wxPyEndAllowThreads(__tstate
);
1393 if (PyErr_Occurred()) SWIG_fail
;
1397 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1399 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1408 static PyObject
*_wrap_ShapeRegion_GetActualColourObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1409 PyObject
*resultobj
;
1410 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1412 PyObject
* obj0
= 0 ;
1414 (char *) "self", NULL
1417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetActualColourObject",kwnames
,&obj0
)) goto fail
;
1418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1421 result
= (arg1
)->GetActualColourObject();
1423 wxPyEndAllowThreads(__tstate
);
1424 if (PyErr_Occurred()) SWIG_fail
;
1427 wxColour
* resultptr
;
1428 resultptr
= new wxColour((wxColour
&) result
);
1429 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1437 static PyObject
*_wrap_ShapeRegion_GetFormattedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1438 PyObject
*resultobj
;
1439 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1441 PyObject
* obj0
= 0 ;
1443 (char *) "self", NULL
1446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetFormattedText",kwnames
,&obj0
)) goto fail
;
1447 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1451 wxList
&_result_ref
= (arg1
)->GetFormattedText();
1452 result
= (wxList
*) &_result_ref
;
1455 wxPyEndAllowThreads(__tstate
);
1456 if (PyErr_Occurred()) SWIG_fail
;
1458 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxList
, 0);
1465 static PyObject
*_wrap_ShapeRegion_GetPenColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1466 PyObject
*resultobj
;
1467 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1469 PyObject
* obj0
= 0 ;
1471 (char *) "self", NULL
1474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetPenColour",kwnames
,&obj0
)) goto fail
;
1475 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1478 result
= (arg1
)->GetPenColour();
1480 wxPyEndAllowThreads(__tstate
);
1481 if (PyErr_Occurred()) SWIG_fail
;
1485 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1487 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1496 static PyObject
*_wrap_ShapeRegion_GetPenStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1497 PyObject
*resultobj
;
1498 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1500 PyObject
* obj0
= 0 ;
1502 (char *) "self", NULL
1505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetPenStyle",kwnames
,&obj0
)) goto fail
;
1506 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1509 result
= (int)(arg1
)->GetPenStyle();
1511 wxPyEndAllowThreads(__tstate
);
1512 if (PyErr_Occurred()) SWIG_fail
;
1514 resultobj
= SWIG_PyObj_FromInt((int)result
);
1521 static PyObject
*_wrap_ShapeRegion_SetPenStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1522 PyObject
*resultobj
;
1523 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1525 PyObject
* obj0
= 0 ;
1526 PyObject
* obj1
= 0 ;
1528 (char *) "self",(char *) "style", NULL
1531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetPenStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
1532 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1534 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1535 if (PyErr_Occurred()) SWIG_fail
;
1538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1539 (arg1
)->SetPenStyle(arg2
);
1541 wxPyEndAllowThreads(__tstate
);
1542 if (PyErr_Occurred()) SWIG_fail
;
1544 Py_INCREF(Py_None
); resultobj
= Py_None
;
1551 static PyObject
*_wrap_ShapeRegion_SetPenColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1552 PyObject
*resultobj
;
1553 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1554 wxString
*arg2
= 0 ;
1555 bool temp2
= False
;
1556 PyObject
* obj0
= 0 ;
1557 PyObject
* obj1
= 0 ;
1559 (char *) "self",(char *) "col", NULL
1562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetPenColour",kwnames
,&obj0
,&obj1
)) goto fail
;
1563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1565 arg2
= wxString_in_helper(obj1
);
1566 if (arg2
== NULL
) SWIG_fail
;
1570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1571 (arg1
)->SetPenColour((wxString
const &)*arg2
);
1573 wxPyEndAllowThreads(__tstate
);
1574 if (PyErr_Occurred()) SWIG_fail
;
1576 Py_INCREF(Py_None
); resultobj
= Py_None
;
1591 static PyObject
*_wrap_ShapeRegion_GetActualPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1592 PyObject
*resultobj
;
1593 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1595 PyObject
* obj0
= 0 ;
1597 (char *) "self", NULL
1600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetActualPen",kwnames
,&obj0
)) goto fail
;
1601 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1604 result
= (wxPen
*)(arg1
)->GetActualPen();
1606 wxPyEndAllowThreads(__tstate
);
1607 if (PyErr_Occurred()) SWIG_fail
;
1609 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPen
, 0);
1616 static PyObject
*_wrap_ShapeRegion_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1617 PyObject
*resultobj
;
1618 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1620 PyObject
* obj0
= 0 ;
1622 (char *) "self", NULL
1625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetWidth",kwnames
,&obj0
)) goto fail
;
1626 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1629 result
= (double)(arg1
)->GetWidth();
1631 wxPyEndAllowThreads(__tstate
);
1632 if (PyErr_Occurred()) SWIG_fail
;
1634 resultobj
= SWIG_PyObj_FromDouble((double)result
);
1641 static PyObject
*_wrap_ShapeRegion_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1642 PyObject
*resultobj
;
1643 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1645 PyObject
* obj0
= 0 ;
1647 (char *) "self", NULL
1650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetHeight",kwnames
,&obj0
)) goto fail
;
1651 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1654 result
= (double)(arg1
)->GetHeight();
1656 wxPyEndAllowThreads(__tstate
);
1657 if (PyErr_Occurred()) SWIG_fail
;
1659 resultobj
= SWIG_PyObj_FromDouble((double)result
);
1666 static PyObject
*_wrap_ShapeRegion_ClearText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1667 PyObject
*resultobj
;
1668 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1669 PyObject
* obj0
= 0 ;
1671 (char *) "self", NULL
1674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_ClearText",kwnames
,&obj0
)) goto fail
;
1675 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1678 (arg1
)->ClearText();
1680 wxPyEndAllowThreads(__tstate
);
1681 if (PyErr_Occurred()) SWIG_fail
;
1683 Py_INCREF(Py_None
); resultobj
= Py_None
;
1690 static PyObject
* ShapeRegion_swigregister(PyObject
*self
, PyObject
*args
) {
1692 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1693 SWIG_TypeClientData(SWIGTYPE_p_wxShapeRegion
, obj
);
1695 return Py_BuildValue((char *)"");
1697 static PyObject
*_wrap_new_AttachmentPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1698 PyObject
*resultobj
;
1699 int arg1
= (int) 0 ;
1700 double arg2
= (double) 0.0 ;
1701 double arg3
= (double) 0.0 ;
1702 wxAttachmentPoint
*result
;
1703 PyObject
* obj0
= 0 ;
1704 PyObject
* obj1
= 0 ;
1705 PyObject
* obj2
= 0 ;
1707 (char *) "id",(char *) "x",(char *) "y", NULL
1710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AttachmentPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1713 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
1714 if (PyErr_Occurred()) SWIG_fail
;
1719 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
1720 if (PyErr_Occurred()) SWIG_fail
;
1725 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
1726 if (PyErr_Occurred()) SWIG_fail
;
1730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1731 result
= (wxAttachmentPoint
*)new wxAttachmentPoint(arg1
,arg2
,arg3
);
1733 wxPyEndAllowThreads(__tstate
);
1734 if (PyErr_Occurred()) SWIG_fail
;
1736 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAttachmentPoint
, 1);
1743 static PyObject
*_wrap_AttachmentPoint_m_id_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1744 PyObject
*resultobj
;
1745 wxAttachmentPoint
*arg1
= (wxAttachmentPoint
*) 0 ;
1747 PyObject
* obj0
= 0 ;
1748 PyObject
* obj1
= 0 ;
1750 (char *) "self",(char *) "m_id", NULL
1753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AttachmentPoint_m_id_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1754 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAttachmentPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1756 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1757 if (PyErr_Occurred()) SWIG_fail
;
1759 if (arg1
) (arg1
)->m_id
= arg2
;
1761 Py_INCREF(Py_None
); resultobj
= Py_None
;
1768 static PyObject
*_wrap_AttachmentPoint_m_id_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1769 PyObject
*resultobj
;
1770 wxAttachmentPoint
*arg1
= (wxAttachmentPoint
*) 0 ;
1772 PyObject
* obj0
= 0 ;
1774 (char *) "self", NULL
1777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AttachmentPoint_m_id_get",kwnames
,&obj0
)) goto fail
;
1778 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAttachmentPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1779 result
= (int) ((arg1
)->m_id
);
1781 resultobj
= SWIG_PyObj_FromInt((int)result
);
1788 static PyObject
*_wrap_AttachmentPoint_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1789 PyObject
*resultobj
;
1790 wxAttachmentPoint
*arg1
= (wxAttachmentPoint
*) 0 ;
1792 PyObject
* obj0
= 0 ;
1793 PyObject
* obj1
= 0 ;
1795 (char *) "self",(char *) "m_x", NULL
1798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AttachmentPoint_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1799 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAttachmentPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1801 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
1802 if (PyErr_Occurred()) SWIG_fail
;
1804 if (arg1
) (arg1
)->m_x
= arg2
;
1806 Py_INCREF(Py_None
); resultobj
= Py_None
;
1813 static PyObject
*_wrap_AttachmentPoint_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1814 PyObject
*resultobj
;
1815 wxAttachmentPoint
*arg1
= (wxAttachmentPoint
*) 0 ;
1817 PyObject
* obj0
= 0 ;
1819 (char *) "self", NULL
1822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AttachmentPoint_m_x_get",kwnames
,&obj0
)) goto fail
;
1823 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAttachmentPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1824 result
= (double) ((arg1
)->m_x
);
1826 resultobj
= SWIG_PyObj_FromDouble((double)result
);
1833 static PyObject
*_wrap_AttachmentPoint_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1834 PyObject
*resultobj
;
1835 wxAttachmentPoint
*arg1
= (wxAttachmentPoint
*) 0 ;
1837 PyObject
* obj0
= 0 ;
1838 PyObject
* obj1
= 0 ;
1840 (char *) "self",(char *) "m_y", NULL
1843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AttachmentPoint_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1844 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAttachmentPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1846 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
1847 if (PyErr_Occurred()) SWIG_fail
;
1849 if (arg1
) (arg1
)->m_y
= arg2
;
1851 Py_INCREF(Py_None
); resultobj
= Py_None
;
1858 static PyObject
*_wrap_AttachmentPoint_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1859 PyObject
*resultobj
;
1860 wxAttachmentPoint
*arg1
= (wxAttachmentPoint
*) 0 ;
1862 PyObject
* obj0
= 0 ;
1864 (char *) "self", NULL
1867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AttachmentPoint_m_y_get",kwnames
,&obj0
)) goto fail
;
1868 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAttachmentPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1869 result
= (double) ((arg1
)->m_y
);
1871 resultobj
= SWIG_PyObj_FromDouble((double)result
);
1878 static PyObject
* AttachmentPoint_swigregister(PyObject
*self
, PyObject
*args
) {
1880 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1881 SWIG_TypeClientData(SWIGTYPE_p_wxAttachmentPoint
, obj
);
1883 return Py_BuildValue((char *)"");
1885 static PyObject
*_wrap_new_PyShapeEvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1886 PyObject
*resultobj
;
1887 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) NULL
;
1888 wxPyShape
*arg2
= (wxPyShape
*) NULL
;
1889 wxPyShapeEvtHandler
*result
;
1890 PyObject
* obj0
= 0 ;
1891 PyObject
* obj1
= 0 ;
1893 (char *) "prev",(char *) "shape", NULL
1896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyShapeEvtHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
1898 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1901 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1905 result
= (wxPyShapeEvtHandler
*)new wxPyShapeEvtHandler(arg1
,arg2
);
1907 wxPyEndAllowThreads(__tstate
);
1908 if (PyErr_Occurred()) SWIG_fail
;
1911 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
1919 static PyObject
*_wrap_PyShapeEvtHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1920 PyObject
*resultobj
;
1921 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
1922 PyObject
*arg2
= (PyObject
*) 0 ;
1923 PyObject
*arg3
= (PyObject
*) 0 ;
1924 PyObject
* obj0
= 0 ;
1925 PyObject
* obj1
= 0 ;
1926 PyObject
* obj2
= 0 ;
1928 (char *) "self",(char *) "self",(char *) "_class", NULL
1931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeEvtHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1932 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1937 (arg1
)->_setCallbackInfo(arg2
,arg3
);
1939 wxPyEndAllowThreads(__tstate
);
1940 if (PyErr_Occurred()) SWIG_fail
;
1942 Py_INCREF(Py_None
); resultobj
= Py_None
;
1949 static PyObject
*_wrap_PyShapeEvtHandler__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1950 PyObject
*resultobj
;
1951 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
1952 PyObject
*arg2
= (PyObject
*) 0 ;
1953 PyObject
* obj0
= 0 ;
1954 PyObject
* obj1
= 0 ;
1956 (char *) "self",(char *) "_self", NULL
1959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
1960 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1964 wxPyShapeEvtHandler__setOORInfo(arg1
,arg2
);
1966 wxPyEndAllowThreads(__tstate
);
1967 if (PyErr_Occurred()) SWIG_fail
;
1969 Py_INCREF(Py_None
); resultobj
= Py_None
;
1976 static PyObject
*_wrap_PyShapeEvtHandler_SetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1977 PyObject
*resultobj
;
1978 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
1979 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
1980 PyObject
* obj0
= 0 ;
1981 PyObject
* obj1
= 0 ;
1983 (char *) "self",(char *) "sh", NULL
1986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
1987 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1988 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1991 (arg1
)->SetShape(arg2
);
1993 wxPyEndAllowThreads(__tstate
);
1994 if (PyErr_Occurred()) SWIG_fail
;
1996 Py_INCREF(Py_None
); resultobj
= Py_None
;
2003 static PyObject
*_wrap_PyShapeEvtHandler_GetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2004 PyObject
*resultobj
;
2005 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2007 PyObject
* obj0
= 0 ;
2009 (char *) "self", NULL
2012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeEvtHandler_GetShape",kwnames
,&obj0
)) goto fail
;
2013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2016 result
= (wxPyShape
*)(arg1
)->GetShape();
2018 wxPyEndAllowThreads(__tstate
);
2019 if (PyErr_Occurred()) SWIG_fail
;
2022 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
2030 static PyObject
*_wrap_PyShapeEvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2031 PyObject
*resultobj
;
2032 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2033 wxPyShapeEvtHandler
*arg2
= (wxPyShapeEvtHandler
*) 0 ;
2034 PyObject
* obj0
= 0 ;
2035 PyObject
* obj1
= 0 ;
2037 (char *) "self",(char *) "handler", NULL
2040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
2041 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2042 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2045 (arg1
)->SetPreviousHandler(arg2
);
2047 wxPyEndAllowThreads(__tstate
);
2048 if (PyErr_Occurred()) SWIG_fail
;
2050 Py_INCREF(Py_None
); resultobj
= Py_None
;
2057 static PyObject
*_wrap_PyShapeEvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2058 PyObject
*resultobj
;
2059 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2060 wxPyShapeEvtHandler
*result
;
2061 PyObject
* obj0
= 0 ;
2063 (char *) "self", NULL
2066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeEvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
2067 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2070 result
= (wxPyShapeEvtHandler
*)(arg1
)->GetPreviousHandler();
2072 wxPyEndAllowThreads(__tstate
);
2073 if (PyErr_Occurred()) SWIG_fail
;
2076 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
2084 static PyObject
*_wrap_PyShapeEvtHandler_CreateNewCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2085 PyObject
*resultobj
;
2086 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2087 wxPyShapeEvtHandler
*result
;
2088 PyObject
* obj0
= 0 ;
2090 (char *) "self", NULL
2093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeEvtHandler_CreateNewCopy",kwnames
,&obj0
)) goto fail
;
2094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2097 result
= (wxPyShapeEvtHandler
*)(arg1
)->CreateNewCopy();
2099 wxPyEndAllowThreads(__tstate
);
2100 if (PyErr_Occurred()) SWIG_fail
;
2103 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
2111 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2112 PyObject
*resultobj
;
2113 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2114 PyObject
* obj0
= 0 ;
2116 (char *) "self", NULL
2119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeEvtHandler_base_OnDelete",kwnames
,&obj0
)) goto fail
;
2120 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2123 (arg1
)->base_OnDelete();
2125 wxPyEndAllowThreads(__tstate
);
2126 if (PyErr_Occurred()) SWIG_fail
;
2128 Py_INCREF(Py_None
); resultobj
= Py_None
;
2135 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2136 PyObject
*resultobj
;
2137 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2139 PyObject
* obj0
= 0 ;
2140 PyObject
* obj1
= 0 ;
2142 (char *) "self",(char *) "dc", NULL
2145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
2146 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2147 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2149 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2153 (arg1
)->base_OnDraw(*arg2
);
2155 wxPyEndAllowThreads(__tstate
);
2156 if (PyErr_Occurred()) SWIG_fail
;
2158 Py_INCREF(Py_None
); resultobj
= Py_None
;
2165 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2166 PyObject
*resultobj
;
2167 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2169 PyObject
* obj0
= 0 ;
2170 PyObject
* obj1
= 0 ;
2172 (char *) "self",(char *) "dc", NULL
2175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
2176 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2177 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2179 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2183 (arg1
)->base_OnDrawContents(*arg2
);
2185 wxPyEndAllowThreads(__tstate
);
2186 if (PyErr_Occurred()) SWIG_fail
;
2188 Py_INCREF(Py_None
); resultobj
= Py_None
;
2195 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2196 PyObject
*resultobj
;
2197 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2199 bool arg3
= (bool) False
;
2200 PyObject
* obj0
= 0 ;
2201 PyObject
* obj1
= 0 ;
2202 PyObject
* obj2
= 0 ;
2204 (char *) "self",(char *) "dc",(char *) "erase", NULL
2207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShapeEvtHandler_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2208 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2209 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2211 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2215 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
2216 if (PyErr_Occurred()) SWIG_fail
;
2220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2221 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
2223 wxPyEndAllowThreads(__tstate
);
2224 if (PyErr_Occurred()) SWIG_fail
;
2226 Py_INCREF(Py_None
); resultobj
= Py_None
;
2233 static PyObject
*_wrap_PyShapeEvtHandler_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2234 PyObject
*resultobj
;
2235 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2237 PyObject
* obj0
= 0 ;
2238 PyObject
* obj1
= 0 ;
2240 (char *) "self",(char *) "dc", NULL
2243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
2244 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2245 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2247 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2251 (arg1
)->base_OnMoveLinks(*arg2
);
2253 wxPyEndAllowThreads(__tstate
);
2254 if (PyErr_Occurred()) SWIG_fail
;
2256 Py_INCREF(Py_None
); resultobj
= Py_None
;
2263 static PyObject
*_wrap_PyShapeEvtHandler_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2264 PyObject
*resultobj
;
2265 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2267 PyObject
* obj0
= 0 ;
2268 PyObject
* obj1
= 0 ;
2270 (char *) "self",(char *) "dc", NULL
2273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
2274 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2275 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2277 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2281 (arg1
)->base_OnErase(*arg2
);
2283 wxPyEndAllowThreads(__tstate
);
2284 if (PyErr_Occurred()) SWIG_fail
;
2286 Py_INCREF(Py_None
); resultobj
= Py_None
;
2293 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2294 PyObject
*resultobj
;
2295 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2297 PyObject
* obj0
= 0 ;
2298 PyObject
* obj1
= 0 ;
2300 (char *) "self",(char *) "dc", NULL
2303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
2304 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2305 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2307 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2311 (arg1
)->base_OnEraseContents(*arg2
);
2313 wxPyEndAllowThreads(__tstate
);
2314 if (PyErr_Occurred()) SWIG_fail
;
2316 Py_INCREF(Py_None
); resultobj
= Py_None
;
2323 static PyObject
*_wrap_PyShapeEvtHandler_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2324 PyObject
*resultobj
;
2325 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2327 PyObject
* obj0
= 0 ;
2328 PyObject
* obj1
= 0 ;
2330 (char *) "self",(char *) "dc", NULL
2333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
2334 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2335 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2337 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2341 (arg1
)->base_OnHighlight(*arg2
);
2343 wxPyEndAllowThreads(__tstate
);
2344 if (PyErr_Occurred()) SWIG_fail
;
2346 Py_INCREF(Py_None
); resultobj
= Py_None
;
2353 static PyObject
*_wrap_PyShapeEvtHandler_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2354 PyObject
*resultobj
;
2355 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2358 int arg4
= (int) 0 ;
2359 int arg5
= (int) 0 ;
2360 PyObject
* obj0
= 0 ;
2361 PyObject
* obj1
= 0 ;
2362 PyObject
* obj2
= 0 ;
2363 PyObject
* obj3
= 0 ;
2364 PyObject
* obj4
= 0 ;
2366 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeEvtHandler_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
2370 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2372 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
2373 if (PyErr_Occurred()) SWIG_fail
;
2376 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
2377 if (PyErr_Occurred()) SWIG_fail
;
2381 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
2382 if (PyErr_Occurred()) SWIG_fail
;
2387 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
2388 if (PyErr_Occurred()) SWIG_fail
;
2392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2393 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
2395 wxPyEndAllowThreads(__tstate
);
2396 if (PyErr_Occurred()) SWIG_fail
;
2398 Py_INCREF(Py_None
); resultobj
= Py_None
;
2405 static PyObject
*_wrap_PyShapeEvtHandler_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2406 PyObject
*resultobj
;
2407 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2410 int arg4
= (int) 0 ;
2411 int arg5
= (int) 0 ;
2412 PyObject
* obj0
= 0 ;
2413 PyObject
* obj1
= 0 ;
2414 PyObject
* obj2
= 0 ;
2415 PyObject
* obj3
= 0 ;
2416 PyObject
* obj4
= 0 ;
2418 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeEvtHandler_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
2422 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2424 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
2425 if (PyErr_Occurred()) SWIG_fail
;
2428 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
2429 if (PyErr_Occurred()) SWIG_fail
;
2433 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
2434 if (PyErr_Occurred()) SWIG_fail
;
2439 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
2440 if (PyErr_Occurred()) SWIG_fail
;
2444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2445 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
2447 wxPyEndAllowThreads(__tstate
);
2448 if (PyErr_Occurred()) SWIG_fail
;
2450 Py_INCREF(Py_None
); resultobj
= Py_None
;
2457 static PyObject
*_wrap_PyShapeEvtHandler_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2458 PyObject
*resultobj
;
2459 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2462 int arg4
= (int) 0 ;
2463 int arg5
= (int) 0 ;
2464 PyObject
* obj0
= 0 ;
2465 PyObject
* obj1
= 0 ;
2466 PyObject
* obj2
= 0 ;
2467 PyObject
* obj3
= 0 ;
2468 PyObject
* obj4
= 0 ;
2470 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeEvtHandler_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
2474 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2476 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
2477 if (PyErr_Occurred()) SWIG_fail
;
2480 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
2481 if (PyErr_Occurred()) SWIG_fail
;
2485 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
2486 if (PyErr_Occurred()) SWIG_fail
;
2491 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
2492 if (PyErr_Occurred()) SWIG_fail
;
2496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2497 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
2499 wxPyEndAllowThreads(__tstate
);
2500 if (PyErr_Occurred()) SWIG_fail
;
2502 Py_INCREF(Py_None
); resultobj
= Py_None
;
2509 static PyObject
*_wrap_PyShapeEvtHandler_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2510 PyObject
*resultobj
;
2511 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2514 PyObject
* obj0
= 0 ;
2515 PyObject
* obj1
= 0 ;
2516 PyObject
* obj2
= 0 ;
2518 (char *) "self",(char *) "x",(char *) "y", NULL
2521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeEvtHandler_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2522 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2524 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
2525 if (PyErr_Occurred()) SWIG_fail
;
2528 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
2529 if (PyErr_Occurred()) SWIG_fail
;
2532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2533 (arg1
)->base_OnSize(arg2
,arg3
);
2535 wxPyEndAllowThreads(__tstate
);
2536 if (PyErr_Occurred()) SWIG_fail
;
2538 Py_INCREF(Py_None
); resultobj
= Py_None
;
2545 static PyObject
*_wrap_PyShapeEvtHandler_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2546 PyObject
*resultobj
;
2547 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2553 bool arg7
= (bool) True
;
2555 PyObject
* obj0
= 0 ;
2556 PyObject
* obj1
= 0 ;
2557 PyObject
* obj2
= 0 ;
2558 PyObject
* obj3
= 0 ;
2559 PyObject
* obj4
= 0 ;
2560 PyObject
* obj5
= 0 ;
2561 PyObject
* obj6
= 0 ;
2563 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
2566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyShapeEvtHandler_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2567 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2568 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2570 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2573 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
2574 if (PyErr_Occurred()) SWIG_fail
;
2577 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
2578 if (PyErr_Occurred()) SWIG_fail
;
2581 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
2582 if (PyErr_Occurred()) SWIG_fail
;
2585 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
2586 if (PyErr_Occurred()) SWIG_fail
;
2590 arg7
= (bool) SWIG_PyObj_AsBool(obj6
);
2591 if (PyErr_Occurred()) SWIG_fail
;
2595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2596 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
2598 wxPyEndAllowThreads(__tstate
);
2599 if (PyErr_Occurred()) SWIG_fail
;
2601 resultobj
= SWIG_PyObj_FromBool((bool)result
);
2608 static PyObject
*_wrap_PyShapeEvtHandler_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2609 PyObject
*resultobj
;
2610 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2616 bool arg7
= (bool) True
;
2617 PyObject
* obj0
= 0 ;
2618 PyObject
* obj1
= 0 ;
2619 PyObject
* obj2
= 0 ;
2620 PyObject
* obj3
= 0 ;
2621 PyObject
* obj4
= 0 ;
2622 PyObject
* obj5
= 0 ;
2623 PyObject
* obj6
= 0 ;
2625 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
2628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyShapeEvtHandler_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2630 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2632 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2635 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
2636 if (PyErr_Occurred()) SWIG_fail
;
2639 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
2640 if (PyErr_Occurred()) SWIG_fail
;
2643 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
2644 if (PyErr_Occurred()) SWIG_fail
;
2647 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
2648 if (PyErr_Occurred()) SWIG_fail
;
2652 arg7
= (bool) SWIG_PyObj_AsBool(obj6
);
2653 if (PyErr_Occurred()) SWIG_fail
;
2657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2658 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
2660 wxPyEndAllowThreads(__tstate
);
2661 if (PyErr_Occurred()) SWIG_fail
;
2663 Py_INCREF(Py_None
); resultobj
= Py_None
;
2670 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2671 PyObject
*resultobj
;
2672 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2676 int arg5
= (int) 0 ;
2677 int arg6
= (int) 0 ;
2678 PyObject
* obj0
= 0 ;
2679 PyObject
* obj1
= 0 ;
2680 PyObject
* obj2
= 0 ;
2681 PyObject
* obj3
= 0 ;
2682 PyObject
* obj4
= 0 ;
2683 PyObject
* obj5
= 0 ;
2685 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
2689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2691 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
2692 if (PyErr_Occurred()) SWIG_fail
;
2695 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
2696 if (PyErr_Occurred()) SWIG_fail
;
2699 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
2700 if (PyErr_Occurred()) SWIG_fail
;
2704 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
2705 if (PyErr_Occurred()) SWIG_fail
;
2710 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
2711 if (PyErr_Occurred()) SWIG_fail
;
2715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2716 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
2718 wxPyEndAllowThreads(__tstate
);
2719 if (PyErr_Occurred()) SWIG_fail
;
2721 Py_INCREF(Py_None
); resultobj
= Py_None
;
2728 static PyObject
*_wrap_PyShapeEvtHandler_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2729 PyObject
*resultobj
;
2730 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2733 int arg4
= (int) 0 ;
2734 int arg5
= (int) 0 ;
2735 PyObject
* obj0
= 0 ;
2736 PyObject
* obj1
= 0 ;
2737 PyObject
* obj2
= 0 ;
2738 PyObject
* obj3
= 0 ;
2739 PyObject
* obj4
= 0 ;
2741 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeEvtHandler_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
2745 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2747 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
2748 if (PyErr_Occurred()) SWIG_fail
;
2751 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
2752 if (PyErr_Occurred()) SWIG_fail
;
2756 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
2757 if (PyErr_Occurred()) SWIG_fail
;
2762 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
2763 if (PyErr_Occurred()) SWIG_fail
;
2767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2768 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
2770 wxPyEndAllowThreads(__tstate
);
2771 if (PyErr_Occurred()) SWIG_fail
;
2773 Py_INCREF(Py_None
); resultobj
= Py_None
;
2780 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2781 PyObject
*resultobj
;
2782 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2785 int arg4
= (int) 0 ;
2786 int arg5
= (int) 0 ;
2787 PyObject
* obj0
= 0 ;
2788 PyObject
* obj1
= 0 ;
2789 PyObject
* obj2
= 0 ;
2790 PyObject
* obj3
= 0 ;
2791 PyObject
* obj4
= 0 ;
2793 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeEvtHandler_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
2797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2799 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
2800 if (PyErr_Occurred()) SWIG_fail
;
2803 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
2804 if (PyErr_Occurred()) SWIG_fail
;
2808 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
2809 if (PyErr_Occurred()) SWIG_fail
;
2814 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
2815 if (PyErr_Occurred()) SWIG_fail
;
2819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2820 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
2822 wxPyEndAllowThreads(__tstate
);
2823 if (PyErr_Occurred()) SWIG_fail
;
2825 Py_INCREF(Py_None
); resultobj
= Py_None
;
2832 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2833 PyObject
*resultobj
;
2834 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2838 int arg5
= (int) 0 ;
2839 int arg6
= (int) 0 ;
2840 PyObject
* obj0
= 0 ;
2841 PyObject
* obj1
= 0 ;
2842 PyObject
* obj2
= 0 ;
2843 PyObject
* obj3
= 0 ;
2844 PyObject
* obj4
= 0 ;
2845 PyObject
* obj5
= 0 ;
2847 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
2851 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2853 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
2854 if (PyErr_Occurred()) SWIG_fail
;
2857 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
2858 if (PyErr_Occurred()) SWIG_fail
;
2861 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
2862 if (PyErr_Occurred()) SWIG_fail
;
2866 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
2867 if (PyErr_Occurred()) SWIG_fail
;
2872 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
2873 if (PyErr_Occurred()) SWIG_fail
;
2877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2878 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
2880 wxPyEndAllowThreads(__tstate
);
2881 if (PyErr_Occurred()) SWIG_fail
;
2883 Py_INCREF(Py_None
); resultobj
= Py_None
;
2890 static PyObject
*_wrap_PyShapeEvtHandler_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2891 PyObject
*resultobj
;
2892 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2895 int arg4
= (int) 0 ;
2896 int arg5
= (int) 0 ;
2897 PyObject
* obj0
= 0 ;
2898 PyObject
* obj1
= 0 ;
2899 PyObject
* obj2
= 0 ;
2900 PyObject
* obj3
= 0 ;
2901 PyObject
* obj4
= 0 ;
2903 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeEvtHandler_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
2907 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2909 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
2910 if (PyErr_Occurred()) SWIG_fail
;
2913 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
2914 if (PyErr_Occurred()) SWIG_fail
;
2918 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
2919 if (PyErr_Occurred()) SWIG_fail
;
2924 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
2925 if (PyErr_Occurred()) SWIG_fail
;
2929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2930 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
2932 wxPyEndAllowThreads(__tstate
);
2933 if (PyErr_Occurred()) SWIG_fail
;
2935 Py_INCREF(Py_None
); resultobj
= Py_None
;
2942 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2943 PyObject
*resultobj
;
2944 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2947 int arg4
= (int) 0 ;
2948 int arg5
= (int) 0 ;
2949 PyObject
* obj0
= 0 ;
2950 PyObject
* obj1
= 0 ;
2951 PyObject
* obj2
= 0 ;
2952 PyObject
* obj3
= 0 ;
2953 PyObject
* obj4
= 0 ;
2955 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeEvtHandler_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
2959 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2961 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
2962 if (PyErr_Occurred()) SWIG_fail
;
2965 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
2966 if (PyErr_Occurred()) SWIG_fail
;
2970 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
2971 if (PyErr_Occurred()) SWIG_fail
;
2976 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
2977 if (PyErr_Occurred()) SWIG_fail
;
2981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2982 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
2984 wxPyEndAllowThreads(__tstate
);
2985 if (PyErr_Occurred()) SWIG_fail
;
2987 Py_INCREF(Py_None
); resultobj
= Py_None
;
2994 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2995 PyObject
*resultobj
;
2996 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3002 PyObject
* obj0
= 0 ;
3003 PyObject
* obj1
= 0 ;
3004 PyObject
* obj2
= 0 ;
3005 PyObject
* obj3
= 0 ;
3006 PyObject
* obj4
= 0 ;
3007 PyObject
* obj5
= 0 ;
3009 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
3012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyShapeEvtHandler_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3014 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3016 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3019 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
3020 if (PyErr_Occurred()) SWIG_fail
;
3023 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
3024 if (PyErr_Occurred()) SWIG_fail
;
3027 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
3028 if (PyErr_Occurred()) SWIG_fail
;
3031 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
3032 if (PyErr_Occurred()) SWIG_fail
;
3035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3036 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
3038 wxPyEndAllowThreads(__tstate
);
3039 if (PyErr_Occurred()) SWIG_fail
;
3041 Py_INCREF(Py_None
); resultobj
= Py_None
;
3048 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3049 PyObject
*resultobj
;
3050 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3052 PyObject
* obj0
= 0 ;
3053 PyObject
* obj1
= 0 ;
3055 (char *) "self",(char *) "dc", NULL
3058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
3059 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3060 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3062 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3066 (arg1
)->base_OnDrawControlPoints(*arg2
);
3068 wxPyEndAllowThreads(__tstate
);
3069 if (PyErr_Occurred()) SWIG_fail
;
3071 Py_INCREF(Py_None
); resultobj
= Py_None
;
3078 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3079 PyObject
*resultobj
;
3080 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3082 PyObject
* obj0
= 0 ;
3083 PyObject
* obj1
= 0 ;
3085 (char *) "self",(char *) "dc", NULL
3088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
3089 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3090 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3092 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3096 (arg1
)->base_OnEraseControlPoints(*arg2
);
3098 wxPyEndAllowThreads(__tstate
);
3099 if (PyErr_Occurred()) SWIG_fail
;
3101 Py_INCREF(Py_None
); resultobj
= Py_None
;
3108 static PyObject
*_wrap_PyShapeEvtHandler_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3109 PyObject
*resultobj
;
3110 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3112 bool arg3
= (bool) True
;
3113 PyObject
* obj0
= 0 ;
3114 PyObject
* obj1
= 0 ;
3115 PyObject
* obj2
= 0 ;
3117 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
3120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShapeEvtHandler_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3122 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3124 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3128 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
3129 if (PyErr_Occurred()) SWIG_fail
;
3133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3134 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
3136 wxPyEndAllowThreads(__tstate
);
3137 if (PyErr_Occurred()) SWIG_fail
;
3139 Py_INCREF(Py_None
); resultobj
= Py_None
;
3146 static PyObject
*_wrap_PyShapeEvtHandler_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3147 PyObject
*resultobj
;
3148 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3149 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
3153 int arg6
= (int) 0 ;
3154 int arg7
= (int) 0 ;
3155 PyObject
* obj0
= 0 ;
3156 PyObject
* obj1
= 0 ;
3157 PyObject
* obj2
= 0 ;
3158 PyObject
* obj3
= 0 ;
3159 PyObject
* obj4
= 0 ;
3160 PyObject
* obj5
= 0 ;
3161 PyObject
* obj6
= 0 ;
3163 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
3166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyShapeEvtHandler_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3167 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3168 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3170 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
3171 if (PyErr_Occurred()) SWIG_fail
;
3174 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
3175 if (PyErr_Occurred()) SWIG_fail
;
3178 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
3179 if (PyErr_Occurred()) SWIG_fail
;
3183 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
3184 if (PyErr_Occurred()) SWIG_fail
;
3189 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
3190 if (PyErr_Occurred()) SWIG_fail
;
3194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3195 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
3197 wxPyEndAllowThreads(__tstate
);
3198 if (PyErr_Occurred()) SWIG_fail
;
3200 Py_INCREF(Py_None
); resultobj
= Py_None
;
3207 static PyObject
*_wrap_PyShapeEvtHandler_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3208 PyObject
*resultobj
;
3209 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3210 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
3213 int arg5
= (int) 0 ;
3214 int arg6
= (int) 0 ;
3215 PyObject
* obj0
= 0 ;
3216 PyObject
* obj1
= 0 ;
3217 PyObject
* obj2
= 0 ;
3218 PyObject
* obj3
= 0 ;
3219 PyObject
* obj4
= 0 ;
3220 PyObject
* obj5
= 0 ;
3222 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
3225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3226 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3227 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3229 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
3230 if (PyErr_Occurred()) SWIG_fail
;
3233 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
3234 if (PyErr_Occurred()) SWIG_fail
;
3238 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
3239 if (PyErr_Occurred()) SWIG_fail
;
3244 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
3245 if (PyErr_Occurred()) SWIG_fail
;
3249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3250 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
3252 wxPyEndAllowThreads(__tstate
);
3253 if (PyErr_Occurred()) SWIG_fail
;
3255 Py_INCREF(Py_None
); resultobj
= Py_None
;
3262 static PyObject
*_wrap_PyShapeEvtHandler_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3263 PyObject
*resultobj
;
3264 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3265 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
3268 int arg5
= (int) 0 ;
3269 int arg6
= (int) 0 ;
3270 PyObject
* obj0
= 0 ;
3271 PyObject
* obj1
= 0 ;
3272 PyObject
* obj2
= 0 ;
3273 PyObject
* obj3
= 0 ;
3274 PyObject
* obj4
= 0 ;
3275 PyObject
* obj5
= 0 ;
3277 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
3280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3281 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3282 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3284 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
3285 if (PyErr_Occurred()) SWIG_fail
;
3288 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
3289 if (PyErr_Occurred()) SWIG_fail
;
3293 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
3294 if (PyErr_Occurred()) SWIG_fail
;
3299 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
3300 if (PyErr_Occurred()) SWIG_fail
;
3304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3305 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
3307 wxPyEndAllowThreads(__tstate
);
3308 if (PyErr_Occurred()) SWIG_fail
;
3310 Py_INCREF(Py_None
); resultobj
= Py_None
;
3317 static PyObject
*_wrap_PyShapeEvtHandler_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3318 PyObject
*resultobj
;
3319 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3322 PyObject
* obj0
= 0 ;
3323 PyObject
* obj1
= 0 ;
3324 PyObject
* obj2
= 0 ;
3326 (char *) "self",(char *) "w",(char *) "h", NULL
3329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeEvtHandler_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3330 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3332 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
3333 if (PyErr_Occurred()) SWIG_fail
;
3336 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
3337 if (PyErr_Occurred()) SWIG_fail
;
3340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3341 (arg1
)->base_OnBeginSize(arg2
,arg3
);
3343 wxPyEndAllowThreads(__tstate
);
3344 if (PyErr_Occurred()) SWIG_fail
;
3346 Py_INCREF(Py_None
); resultobj
= Py_None
;
3353 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3354 PyObject
*resultobj
;
3355 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3358 PyObject
* obj0
= 0 ;
3359 PyObject
* obj1
= 0 ;
3360 PyObject
* obj2
= 0 ;
3362 (char *) "self",(char *) "w",(char *) "h", NULL
3365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeEvtHandler_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3368 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
3369 if (PyErr_Occurred()) SWIG_fail
;
3372 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
3373 if (PyErr_Occurred()) SWIG_fail
;
3376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3377 (arg1
)->base_OnEndSize(arg2
,arg3
);
3379 wxPyEndAllowThreads(__tstate
);
3380 if (PyErr_Occurred()) SWIG_fail
;
3382 Py_INCREF(Py_None
); resultobj
= Py_None
;
3389 static PyObject
* PyShapeEvtHandler_swigregister(PyObject
*self
, PyObject
*args
) {
3391 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3392 SWIG_TypeClientData(SWIGTYPE_p_wxPyShapeEvtHandler
, obj
);
3394 return Py_BuildValue((char *)"");
3396 static PyObject
*_wrap_new_PyShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3397 PyObject
*resultobj
;
3398 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) NULL
;
3400 PyObject
* obj0
= 0 ;
3402 (char *) "can", NULL
3405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyShape",kwnames
,&obj0
)) goto fail
;
3407 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3411 result
= (wxPyShape
*)new wxPyShape(arg1
);
3413 wxPyEndAllowThreads(__tstate
);
3414 if (PyErr_Occurred()) SWIG_fail
;
3417 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
3425 static PyObject
*_wrap_PyShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3426 PyObject
*resultobj
;
3427 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3428 PyObject
*arg2
= (PyObject
*) 0 ;
3429 PyObject
*arg3
= (PyObject
*) 0 ;
3430 PyObject
* obj0
= 0 ;
3431 PyObject
* obj1
= 0 ;
3432 PyObject
* obj2
= 0 ;
3434 (char *) "self",(char *) "self",(char *) "_class", NULL
3437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3438 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3443 (arg1
)->_setCallbackInfo(arg2
,arg3
);
3445 wxPyEndAllowThreads(__tstate
);
3446 if (PyErr_Occurred()) SWIG_fail
;
3448 Py_INCREF(Py_None
); resultobj
= Py_None
;
3455 static PyObject
*_wrap_PyShape_GetBoundingBoxMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3456 PyObject
*resultobj
;
3457 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3458 double *arg2
= (double *) 0 ;
3459 double *arg3
= (double *) 0 ;
3462 PyObject
* obj0
= 0 ;
3464 (char *) "self", NULL
3469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBoundingBoxMax",kwnames
,&obj0
)) goto fail
;
3470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3473 (arg1
)->GetBoundingBoxMax(arg2
,arg3
);
3475 wxPyEndAllowThreads(__tstate
);
3476 if (PyErr_Occurred()) SWIG_fail
;
3478 Py_INCREF(Py_None
); resultobj
= Py_None
;
3480 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
3481 resultobj
= t_output_helper(resultobj
,o
);
3484 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
3485 resultobj
= t_output_helper(resultobj
,o
);
3493 static PyObject
*_wrap_PyShape_GetBoundingBoxMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3494 PyObject
*resultobj
;
3495 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3496 double *arg2
= (double *) 0 ;
3497 double *arg3
= (double *) 0 ;
3500 PyObject
* obj0
= 0 ;
3502 (char *) "self", NULL
3507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBoundingBoxMin",kwnames
,&obj0
)) goto fail
;
3508 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3511 (arg1
)->GetBoundingBoxMin(arg2
,arg3
);
3513 wxPyEndAllowThreads(__tstate
);
3514 if (PyErr_Occurred()) SWIG_fail
;
3516 Py_INCREF(Py_None
); resultobj
= Py_None
;
3518 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
3519 resultobj
= t_output_helper(resultobj
,o
);
3522 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
3523 resultobj
= t_output_helper(resultobj
,o
);
3531 static PyObject
*_wrap_PyShape_GetPerimeterPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3532 PyObject
*resultobj
;
3533 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3538 double *arg6
= (double *) 0 ;
3539 double *arg7
= (double *) 0 ;
3543 PyObject
* obj0
= 0 ;
3544 PyObject
* obj1
= 0 ;
3545 PyObject
* obj2
= 0 ;
3546 PyObject
* obj3
= 0 ;
3547 PyObject
* obj4
= 0 ;
3549 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
3554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyShape_GetPerimeterPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3555 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3557 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
3558 if (PyErr_Occurred()) SWIG_fail
;
3561 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
3562 if (PyErr_Occurred()) SWIG_fail
;
3565 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
3566 if (PyErr_Occurred()) SWIG_fail
;
3569 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
3570 if (PyErr_Occurred()) SWIG_fail
;
3573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3574 result
= (bool)(arg1
)->GetPerimeterPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
3576 wxPyEndAllowThreads(__tstate
);
3577 if (PyErr_Occurred()) SWIG_fail
;
3579 resultobj
= SWIG_PyObj_FromBool((bool)result
);
3581 PyObject
*o
= PyFloat_FromDouble((double) (*arg6
));
3582 resultobj
= t_output_helper(resultobj
,o
);
3585 PyObject
*o
= PyFloat_FromDouble((double) (*arg7
));
3586 resultobj
= t_output_helper(resultobj
,o
);
3594 static PyObject
*_wrap_PyShape_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3595 PyObject
*resultobj
;
3596 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3597 wxPyShapeCanvas
*result
;
3598 PyObject
* obj0
= 0 ;
3600 (char *) "self", NULL
3603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetCanvas",kwnames
,&obj0
)) goto fail
;
3604 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3607 result
= (wxPyShapeCanvas
*)(arg1
)->GetCanvas();
3609 wxPyEndAllowThreads(__tstate
);
3610 if (PyErr_Occurred()) SWIG_fail
;
3613 resultobj
= wxPyMake_wxObject(result
);
3621 static PyObject
*_wrap_PyShape_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3622 PyObject
*resultobj
;
3623 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3624 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
3625 PyObject
* obj0
= 0 ;
3626 PyObject
* obj1
= 0 ;
3628 (char *) "self",(char *) "the_canvas", NULL
3631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
3632 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3633 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3636 (arg1
)->SetCanvas(arg2
);
3638 wxPyEndAllowThreads(__tstate
);
3639 if (PyErr_Occurred()) SWIG_fail
;
3641 Py_INCREF(Py_None
); resultobj
= Py_None
;
3648 static PyObject
*_wrap_PyShape_AddToCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3649 PyObject
*resultobj
;
3650 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3651 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
3652 wxPyShape
*arg3
= (wxPyShape
*) NULL
;
3653 PyObject
* obj0
= 0 ;
3654 PyObject
* obj1
= 0 ;
3655 PyObject
* obj2
= 0 ;
3657 (char *) "self",(char *) "the_canvas",(char *) "addAfter", NULL
3660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_AddToCanvas",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3661 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3662 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3664 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3668 (arg1
)->AddToCanvas(arg2
,arg3
);
3670 wxPyEndAllowThreads(__tstate
);
3671 if (PyErr_Occurred()) SWIG_fail
;
3673 Py_INCREF(Py_None
); resultobj
= Py_None
;
3680 static PyObject
*_wrap_PyShape_InsertInCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3681 PyObject
*resultobj
;
3682 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3683 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
3684 PyObject
* obj0
= 0 ;
3685 PyObject
* obj1
= 0 ;
3687 (char *) "self",(char *) "the_canvas", NULL
3690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_InsertInCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
3691 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3692 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3695 (arg1
)->InsertInCanvas(arg2
);
3697 wxPyEndAllowThreads(__tstate
);
3698 if (PyErr_Occurred()) SWIG_fail
;
3700 Py_INCREF(Py_None
); resultobj
= Py_None
;
3707 static PyObject
*_wrap_PyShape_RemoveFromCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3708 PyObject
*resultobj
;
3709 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3710 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
3711 PyObject
* obj0
= 0 ;
3712 PyObject
* obj1
= 0 ;
3714 (char *) "self",(char *) "the_canvas", NULL
3717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_RemoveFromCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
3718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3719 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3722 (arg1
)->RemoveFromCanvas(arg2
);
3724 wxPyEndAllowThreads(__tstate
);
3725 if (PyErr_Occurred()) SWIG_fail
;
3727 Py_INCREF(Py_None
); resultobj
= Py_None
;
3734 static PyObject
*_wrap_PyShape_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3735 PyObject
*resultobj
;
3736 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3738 PyObject
* obj0
= 0 ;
3740 (char *) "self", NULL
3743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetX",kwnames
,&obj0
)) goto fail
;
3744 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3747 result
= (double)(arg1
)->GetX();
3749 wxPyEndAllowThreads(__tstate
);
3750 if (PyErr_Occurred()) SWIG_fail
;
3752 resultobj
= SWIG_PyObj_FromDouble((double)result
);
3759 static PyObject
*_wrap_PyShape_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3760 PyObject
*resultobj
;
3761 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3763 PyObject
* obj0
= 0 ;
3765 (char *) "self", NULL
3768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetY",kwnames
,&obj0
)) goto fail
;
3769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3772 result
= (double)(arg1
)->GetY();
3774 wxPyEndAllowThreads(__tstate
);
3775 if (PyErr_Occurred()) SWIG_fail
;
3777 resultobj
= SWIG_PyObj_FromDouble((double)result
);
3784 static PyObject
*_wrap_PyShape_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3785 PyObject
*resultobj
;
3786 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3788 PyObject
* obj0
= 0 ;
3789 PyObject
* obj1
= 0 ;
3791 (char *) "self",(char *) "x", NULL
3794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
3795 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3797 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
3798 if (PyErr_Occurred()) SWIG_fail
;
3801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3804 wxPyEndAllowThreads(__tstate
);
3805 if (PyErr_Occurred()) SWIG_fail
;
3807 Py_INCREF(Py_None
); resultobj
= Py_None
;
3814 static PyObject
*_wrap_PyShape_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3815 PyObject
*resultobj
;
3816 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3818 PyObject
* obj0
= 0 ;
3819 PyObject
* obj1
= 0 ;
3821 (char *) "self",(char *) "y", NULL
3824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
3825 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3827 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
3828 if (PyErr_Occurred()) SWIG_fail
;
3831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3834 wxPyEndAllowThreads(__tstate
);
3835 if (PyErr_Occurred()) SWIG_fail
;
3837 Py_INCREF(Py_None
); resultobj
= Py_None
;
3844 static PyObject
*_wrap_PyShape_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3845 PyObject
*resultobj
;
3846 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3848 PyObject
* obj0
= 0 ;
3850 (char *) "self", NULL
3853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetParent",kwnames
,&obj0
)) goto fail
;
3854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3857 result
= (wxPyShape
*)(arg1
)->GetParent();
3859 wxPyEndAllowThreads(__tstate
);
3860 if (PyErr_Occurred()) SWIG_fail
;
3863 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
3871 static PyObject
*_wrap_PyShape_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3872 PyObject
*resultobj
;
3873 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3874 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
3875 PyObject
* obj0
= 0 ;
3876 PyObject
* obj1
= 0 ;
3878 (char *) "self",(char *) "p", NULL
3881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
3882 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3883 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3886 (arg1
)->SetParent(arg2
);
3888 wxPyEndAllowThreads(__tstate
);
3889 if (PyErr_Occurred()) SWIG_fail
;
3891 Py_INCREF(Py_None
); resultobj
= Py_None
;
3898 static PyObject
*_wrap_PyShape_GetTopAncestor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3899 PyObject
*resultobj
;
3900 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3902 PyObject
* obj0
= 0 ;
3904 (char *) "self", NULL
3907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetTopAncestor",kwnames
,&obj0
)) goto fail
;
3908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3911 result
= (wxPyShape
*)(arg1
)->GetTopAncestor();
3913 wxPyEndAllowThreads(__tstate
);
3914 if (PyErr_Occurred()) SWIG_fail
;
3917 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
3925 static PyObject
*_wrap_PyShape_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3926 PyObject
*resultobj
;
3927 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3929 PyObject
* obj0
= 0 ;
3931 (char *) "self", NULL
3934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetChildren",kwnames
,&obj0
)) goto fail
;
3935 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3938 result
= (PyObject
*)wxPyShape_GetChildren(arg1
);
3940 wxPyEndAllowThreads(__tstate
);
3941 if (PyErr_Occurred()) SWIG_fail
;
3950 static PyObject
*_wrap_PyShape_Unlink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3951 PyObject
*resultobj
;
3952 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3953 PyObject
* obj0
= 0 ;
3955 (char *) "self", NULL
3958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Unlink",kwnames
,&obj0
)) goto fail
;
3959 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3964 wxPyEndAllowThreads(__tstate
);
3965 if (PyErr_Occurred()) SWIG_fail
;
3967 Py_INCREF(Py_None
); resultobj
= Py_None
;
3974 static PyObject
*_wrap_PyShape_SetDrawHandles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3975 PyObject
*resultobj
;
3976 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3978 PyObject
* obj0
= 0 ;
3979 PyObject
* obj1
= 0 ;
3981 (char *) "self",(char *) "drawH", NULL
3984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetDrawHandles",kwnames
,&obj0
,&obj1
)) goto fail
;
3985 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3987 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
3988 if (PyErr_Occurred()) SWIG_fail
;
3991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3992 (arg1
)->SetDrawHandles(arg2
);
3994 wxPyEndAllowThreads(__tstate
);
3995 if (PyErr_Occurred()) SWIG_fail
;
3997 Py_INCREF(Py_None
); resultobj
= Py_None
;
4004 static PyObject
*_wrap_PyShape_GetDrawHandles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4005 PyObject
*resultobj
;
4006 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4008 PyObject
* obj0
= 0 ;
4010 (char *) "self", NULL
4013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetDrawHandles",kwnames
,&obj0
)) goto fail
;
4014 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4017 result
= (bool)(arg1
)->GetDrawHandles();
4019 wxPyEndAllowThreads(__tstate
);
4020 if (PyErr_Occurred()) SWIG_fail
;
4022 resultobj
= SWIG_PyObj_FromBool((bool)result
);
4029 static PyObject
*_wrap_PyShape_MakeControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4030 PyObject
*resultobj
;
4031 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4032 PyObject
* obj0
= 0 ;
4034 (char *) "self", NULL
4037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_MakeControlPoints",kwnames
,&obj0
)) goto fail
;
4038 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4041 (arg1
)->MakeControlPoints();
4043 wxPyEndAllowThreads(__tstate
);
4044 if (PyErr_Occurred()) SWIG_fail
;
4046 Py_INCREF(Py_None
); resultobj
= Py_None
;
4053 static PyObject
*_wrap_PyShape_DeleteControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4054 PyObject
*resultobj
;
4055 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4056 wxDC
*arg2
= (wxDC
*) NULL
;
4057 PyObject
* obj0
= 0 ;
4058 PyObject
* obj1
= 0 ;
4060 (char *) "self",(char *) "dc", NULL
4063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyShape_DeleteControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
4064 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4066 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4070 (arg1
)->DeleteControlPoints(arg2
);
4072 wxPyEndAllowThreads(__tstate
);
4073 if (PyErr_Occurred()) SWIG_fail
;
4075 Py_INCREF(Py_None
); resultobj
= Py_None
;
4082 static PyObject
*_wrap_PyShape_ResetControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4083 PyObject
*resultobj
;
4084 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4085 PyObject
* obj0
= 0 ;
4087 (char *) "self", NULL
4090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_ResetControlPoints",kwnames
,&obj0
)) goto fail
;
4091 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4094 (arg1
)->ResetControlPoints();
4096 wxPyEndAllowThreads(__tstate
);
4097 if (PyErr_Occurred()) SWIG_fail
;
4099 Py_INCREF(Py_None
); resultobj
= Py_None
;
4106 static PyObject
*_wrap_PyShape_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4107 PyObject
*resultobj
;
4108 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4109 wxPyShapeEvtHandler
*result
;
4110 PyObject
* obj0
= 0 ;
4112 (char *) "self", NULL
4115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetEventHandler",kwnames
,&obj0
)) goto fail
;
4116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4119 result
= (wxPyShapeEvtHandler
*)(arg1
)->GetEventHandler();
4121 wxPyEndAllowThreads(__tstate
);
4122 if (PyErr_Occurred()) SWIG_fail
;
4125 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
4133 static PyObject
*_wrap_PyShape_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4134 PyObject
*resultobj
;
4135 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4136 wxPyShapeEvtHandler
*arg2
= (wxPyShapeEvtHandler
*) 0 ;
4137 PyObject
* obj0
= 0 ;
4138 PyObject
* obj1
= 0 ;
4140 (char *) "self",(char *) "handler", NULL
4143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
4144 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4145 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4148 (arg1
)->SetEventHandler(arg2
);
4150 wxPyEndAllowThreads(__tstate
);
4151 if (PyErr_Occurred()) SWIG_fail
;
4153 Py_INCREF(Py_None
); resultobj
= Py_None
;
4160 static PyObject
*_wrap_PyShape_MakeMandatoryControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4161 PyObject
*resultobj
;
4162 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4163 PyObject
* obj0
= 0 ;
4165 (char *) "self", NULL
4168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_MakeMandatoryControlPoints",kwnames
,&obj0
)) goto fail
;
4169 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4172 (arg1
)->MakeMandatoryControlPoints();
4174 wxPyEndAllowThreads(__tstate
);
4175 if (PyErr_Occurred()) SWIG_fail
;
4177 Py_INCREF(Py_None
); resultobj
= Py_None
;
4184 static PyObject
*_wrap_PyShape_ResetMandatoryControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4185 PyObject
*resultobj
;
4186 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4187 PyObject
* obj0
= 0 ;
4189 (char *) "self", NULL
4192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_ResetMandatoryControlPoints",kwnames
,&obj0
)) goto fail
;
4193 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4196 (arg1
)->ResetMandatoryControlPoints();
4198 wxPyEndAllowThreads(__tstate
);
4199 if (PyErr_Occurred()) SWIG_fail
;
4201 Py_INCREF(Py_None
); resultobj
= Py_None
;
4208 static PyObject
*_wrap_PyShape_Recompute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4209 PyObject
*resultobj
;
4210 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4212 PyObject
* obj0
= 0 ;
4214 (char *) "self", NULL
4217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Recompute",kwnames
,&obj0
)) goto fail
;
4218 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4221 result
= (bool)(arg1
)->Recompute();
4223 wxPyEndAllowThreads(__tstate
);
4224 if (PyErr_Occurred()) SWIG_fail
;
4226 resultobj
= SWIG_PyObj_FromBool((bool)result
);
4233 static PyObject
*_wrap_PyShape_CalculateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4234 PyObject
*resultobj
;
4235 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4236 PyObject
* obj0
= 0 ;
4238 (char *) "self", NULL
4241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_CalculateSize",kwnames
,&obj0
)) goto fail
;
4242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4245 (arg1
)->CalculateSize();
4247 wxPyEndAllowThreads(__tstate
);
4248 if (PyErr_Occurred()) SWIG_fail
;
4250 Py_INCREF(Py_None
); resultobj
= Py_None
;
4257 static PyObject
*_wrap_PyShape_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4258 PyObject
*resultobj
;
4259 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4260 bool arg2
= (bool) True
;
4261 wxDC
*arg3
= (wxDC
*) NULL
;
4262 PyObject
* obj0
= 0 ;
4263 PyObject
* obj1
= 0 ;
4264 PyObject
* obj2
= 0 ;
4266 (char *) "self",(char *) "select",(char *) "dc", NULL
4269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyShape_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4270 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4273 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
4274 if (PyErr_Occurred()) SWIG_fail
;
4278 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4282 (arg1
)->Select(arg2
,arg3
);
4284 wxPyEndAllowThreads(__tstate
);
4285 if (PyErr_Occurred()) SWIG_fail
;
4287 Py_INCREF(Py_None
); resultobj
= Py_None
;
4294 static PyObject
*_wrap_PyShape_SetHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4295 PyObject
*resultobj
;
4296 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4297 bool arg2
= (bool) True
;
4298 bool arg3
= (bool) False
;
4299 PyObject
* obj0
= 0 ;
4300 PyObject
* obj1
= 0 ;
4301 PyObject
* obj2
= 0 ;
4303 (char *) "self",(char *) "hi",(char *) "recurse", NULL
4306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyShape_SetHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4307 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4310 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
4311 if (PyErr_Occurred()) SWIG_fail
;
4316 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
4317 if (PyErr_Occurred()) SWIG_fail
;
4321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4322 (arg1
)->SetHighlight(arg2
,arg3
);
4324 wxPyEndAllowThreads(__tstate
);
4325 if (PyErr_Occurred()) SWIG_fail
;
4327 Py_INCREF(Py_None
); resultobj
= Py_None
;
4334 static PyObject
*_wrap_PyShape_IsHighlighted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4335 PyObject
*resultobj
;
4336 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4338 PyObject
* obj0
= 0 ;
4340 (char *) "self", NULL
4343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_IsHighlighted",kwnames
,&obj0
)) goto fail
;
4344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4347 result
= (bool)(arg1
)->IsHighlighted();
4349 wxPyEndAllowThreads(__tstate
);
4350 if (PyErr_Occurred()) SWIG_fail
;
4352 resultobj
= SWIG_PyObj_FromBool((bool)result
);
4359 static PyObject
*_wrap_PyShape_Selected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4360 PyObject
*resultobj
;
4361 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4363 PyObject
* obj0
= 0 ;
4365 (char *) "self", NULL
4368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Selected",kwnames
,&obj0
)) goto fail
;
4369 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4372 result
= (bool)(arg1
)->Selected();
4374 wxPyEndAllowThreads(__tstate
);
4375 if (PyErr_Occurred()) SWIG_fail
;
4377 resultobj
= SWIG_PyObj_FromBool((bool)result
);
4384 static PyObject
*_wrap_PyShape_AncestorSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4385 PyObject
*resultobj
;
4386 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4388 PyObject
* obj0
= 0 ;
4390 (char *) "self", NULL
4393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_AncestorSelected",kwnames
,&obj0
)) goto fail
;
4394 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4397 result
= (bool)(arg1
)->AncestorSelected();
4399 wxPyEndAllowThreads(__tstate
);
4400 if (PyErr_Occurred()) SWIG_fail
;
4402 resultobj
= SWIG_PyObj_FromBool((bool)result
);
4409 static PyObject
*_wrap_PyShape_SetSensitivityFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4410 PyObject
*resultobj
;
4411 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4412 int arg2
= (int) OP_ALL
;
4413 bool arg3
= (bool) False
;
4414 PyObject
* obj0
= 0 ;
4415 PyObject
* obj1
= 0 ;
4416 PyObject
* obj2
= 0 ;
4418 (char *) "self",(char *) "sens",(char *) "recursive", NULL
4421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyShape_SetSensitivityFilter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4422 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4425 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4426 if (PyErr_Occurred()) SWIG_fail
;
4431 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
4432 if (PyErr_Occurred()) SWIG_fail
;
4436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4437 (arg1
)->SetSensitivityFilter(arg2
,arg3
);
4439 wxPyEndAllowThreads(__tstate
);
4440 if (PyErr_Occurred()) SWIG_fail
;
4442 Py_INCREF(Py_None
); resultobj
= Py_None
;
4449 static PyObject
*_wrap_PyShape_GetSensitivityFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4450 PyObject
*resultobj
;
4451 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4453 PyObject
* obj0
= 0 ;
4455 (char *) "self", NULL
4458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetSensitivityFilter",kwnames
,&obj0
)) goto fail
;
4459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4462 result
= (int)(arg1
)->GetSensitivityFilter();
4464 wxPyEndAllowThreads(__tstate
);
4465 if (PyErr_Occurred()) SWIG_fail
;
4467 resultobj
= SWIG_PyObj_FromInt((int)result
);
4474 static PyObject
*_wrap_PyShape_SetDraggable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4475 PyObject
*resultobj
;
4476 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4478 bool arg3
= (bool) False
;
4479 PyObject
* obj0
= 0 ;
4480 PyObject
* obj1
= 0 ;
4481 PyObject
* obj2
= 0 ;
4483 (char *) "self",(char *) "drag",(char *) "recursive", NULL
4486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_SetDraggable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4489 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
4490 if (PyErr_Occurred()) SWIG_fail
;
4494 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
4495 if (PyErr_Occurred()) SWIG_fail
;
4499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4500 (arg1
)->SetDraggable(arg2
,arg3
);
4502 wxPyEndAllowThreads(__tstate
);
4503 if (PyErr_Occurred()) SWIG_fail
;
4505 Py_INCREF(Py_None
); resultobj
= Py_None
;
4512 static PyObject
*_wrap_PyShape_SetFixedSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4513 PyObject
*resultobj
;
4514 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4517 PyObject
* obj0
= 0 ;
4518 PyObject
* obj1
= 0 ;
4519 PyObject
* obj2
= 0 ;
4521 (char *) "self",(char *) "x",(char *) "y", NULL
4524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape_SetFixedSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4525 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4527 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
4528 if (PyErr_Occurred()) SWIG_fail
;
4531 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
4532 if (PyErr_Occurred()) SWIG_fail
;
4535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4536 (arg1
)->SetFixedSize(arg2
,arg3
);
4538 wxPyEndAllowThreads(__tstate
);
4539 if (PyErr_Occurred()) SWIG_fail
;
4541 Py_INCREF(Py_None
); resultobj
= Py_None
;
4548 static PyObject
*_wrap_PyShape_GetFixedSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4549 PyObject
*resultobj
;
4550 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4551 bool *arg2
= (bool *) 0 ;
4552 bool *arg3
= (bool *) 0 ;
4555 PyObject
* obj0
= 0 ;
4557 (char *) "self", NULL
4562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetFixedSize",kwnames
,&obj0
)) goto fail
;
4563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4566 (arg1
)->GetFixedSize(arg2
,arg3
);
4568 wxPyEndAllowThreads(__tstate
);
4569 if (PyErr_Occurred()) SWIG_fail
;
4571 Py_INCREF(Py_None
); resultobj
= Py_None
;
4573 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4574 resultobj
= t_output_helper(resultobj
,o
);
4577 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4578 resultobj
= t_output_helper(resultobj
,o
);
4586 static PyObject
*_wrap_PyShape_GetFixedWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4587 PyObject
*resultobj
;
4588 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4590 PyObject
* obj0
= 0 ;
4592 (char *) "self", NULL
4595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetFixedWidth",kwnames
,&obj0
)) goto fail
;
4596 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4599 result
= (bool)(arg1
)->GetFixedWidth();
4601 wxPyEndAllowThreads(__tstate
);
4602 if (PyErr_Occurred()) SWIG_fail
;
4604 resultobj
= SWIG_PyObj_FromBool((bool)result
);
4611 static PyObject
*_wrap_PyShape_GetFixedHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4612 PyObject
*resultobj
;
4613 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4615 PyObject
* obj0
= 0 ;
4617 (char *) "self", NULL
4620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetFixedHeight",kwnames
,&obj0
)) goto fail
;
4621 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4624 result
= (bool)(arg1
)->GetFixedHeight();
4626 wxPyEndAllowThreads(__tstate
);
4627 if (PyErr_Occurred()) SWIG_fail
;
4629 resultobj
= SWIG_PyObj_FromBool((bool)result
);
4636 static PyObject
*_wrap_PyShape_SetSpaceAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4637 PyObject
*resultobj
;
4638 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4640 PyObject
* obj0
= 0 ;
4641 PyObject
* obj1
= 0 ;
4643 (char *) "self",(char *) "sp", NULL
4646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetSpaceAttachments",kwnames
,&obj0
,&obj1
)) goto fail
;
4647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4649 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
4650 if (PyErr_Occurred()) SWIG_fail
;
4653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4654 (arg1
)->SetSpaceAttachments(arg2
);
4656 wxPyEndAllowThreads(__tstate
);
4657 if (PyErr_Occurred()) SWIG_fail
;
4659 Py_INCREF(Py_None
); resultobj
= Py_None
;
4666 static PyObject
*_wrap_PyShape_GetSpaceAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4667 PyObject
*resultobj
;
4668 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4670 PyObject
* obj0
= 0 ;
4672 (char *) "self", NULL
4675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetSpaceAttachments",kwnames
,&obj0
)) goto fail
;
4676 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4679 result
= (bool)(arg1
)->GetSpaceAttachments();
4681 wxPyEndAllowThreads(__tstate
);
4682 if (PyErr_Occurred()) SWIG_fail
;
4684 resultobj
= SWIG_PyObj_FromBool((bool)result
);
4691 static PyObject
*_wrap_PyShape_SetShadowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4692 PyObject
*resultobj
;
4693 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4695 bool arg3
= (bool) False
;
4696 PyObject
* obj0
= 0 ;
4697 PyObject
* obj1
= 0 ;
4698 PyObject
* obj2
= 0 ;
4700 (char *) "self",(char *) "mode",(char *) "redraw", NULL
4703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_SetShadowMode",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4704 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4706 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4707 if (PyErr_Occurred()) SWIG_fail
;
4711 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
4712 if (PyErr_Occurred()) SWIG_fail
;
4716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4717 (arg1
)->SetShadowMode(arg2
,arg3
);
4719 wxPyEndAllowThreads(__tstate
);
4720 if (PyErr_Occurred()) SWIG_fail
;
4722 Py_INCREF(Py_None
); resultobj
= Py_None
;
4729 static PyObject
*_wrap_PyShape_GetShadowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4730 PyObject
*resultobj
;
4731 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4733 PyObject
* obj0
= 0 ;
4735 (char *) "self", NULL
4738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetShadowMode",kwnames
,&obj0
)) goto fail
;
4739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4742 result
= (int)(arg1
)->GetShadowMode();
4744 wxPyEndAllowThreads(__tstate
);
4745 if (PyErr_Occurred()) SWIG_fail
;
4747 resultobj
= SWIG_PyObj_FromInt((int)result
);
4754 static PyObject
*_wrap_PyShape_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4755 PyObject
*resultobj
;
4756 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4759 int *arg4
= (int *) 0 ;
4760 double *arg5
= (double *) 0 ;
4764 PyObject
* obj0
= 0 ;
4765 PyObject
* obj1
= 0 ;
4766 PyObject
* obj2
= 0 ;
4768 (char *) "self",(char *) "x",(char *) "y", NULL
4773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape_HitTest",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4776 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
4777 if (PyErr_Occurred()) SWIG_fail
;
4780 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
4781 if (PyErr_Occurred()) SWIG_fail
;
4784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4785 result
= (bool)(arg1
)->HitTest(arg2
,arg3
,arg4
,arg5
);
4787 wxPyEndAllowThreads(__tstate
);
4788 if (PyErr_Occurred()) SWIG_fail
;
4790 resultobj
= SWIG_PyObj_FromBool((bool)result
);
4792 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
4793 resultobj
= t_output_helper(resultobj
,o
);
4796 PyObject
*o
= PyFloat_FromDouble((double) (*arg5
));
4797 resultobj
= t_output_helper(resultobj
,o
);
4805 static PyObject
*_wrap_PyShape_SetCentreResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4806 PyObject
*resultobj
;
4807 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4809 PyObject
* obj0
= 0 ;
4810 PyObject
* obj1
= 0 ;
4812 (char *) "self",(char *) "cr", NULL
4815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetCentreResize",kwnames
,&obj0
,&obj1
)) goto fail
;
4816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4818 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
4819 if (PyErr_Occurred()) SWIG_fail
;
4822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4823 (arg1
)->SetCentreResize(arg2
);
4825 wxPyEndAllowThreads(__tstate
);
4826 if (PyErr_Occurred()) SWIG_fail
;
4828 Py_INCREF(Py_None
); resultobj
= Py_None
;
4835 static PyObject
*_wrap_PyShape_GetCentreResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4836 PyObject
*resultobj
;
4837 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4839 PyObject
* obj0
= 0 ;
4841 (char *) "self", NULL
4844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetCentreResize",kwnames
,&obj0
)) goto fail
;
4845 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4848 result
= (bool)(arg1
)->GetCentreResize();
4850 wxPyEndAllowThreads(__tstate
);
4851 if (PyErr_Occurred()) SWIG_fail
;
4853 resultobj
= SWIG_PyObj_FromBool((bool)result
);
4860 static PyObject
*_wrap_PyShape_SetMaintainAspectRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4861 PyObject
*resultobj
;
4862 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4864 PyObject
* obj0
= 0 ;
4865 PyObject
* obj1
= 0 ;
4867 (char *) "self",(char *) "ar", NULL
4870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetMaintainAspectRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
4871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4873 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
4874 if (PyErr_Occurred()) SWIG_fail
;
4877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4878 (arg1
)->SetMaintainAspectRatio(arg2
);
4880 wxPyEndAllowThreads(__tstate
);
4881 if (PyErr_Occurred()) SWIG_fail
;
4883 Py_INCREF(Py_None
); resultobj
= Py_None
;
4890 static PyObject
*_wrap_PyShape_GetMaintainAspectRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4891 PyObject
*resultobj
;
4892 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4894 PyObject
* obj0
= 0 ;
4896 (char *) "self", NULL
4899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetMaintainAspectRatio",kwnames
,&obj0
)) goto fail
;
4900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4903 result
= (bool)(arg1
)->GetMaintainAspectRatio();
4905 wxPyEndAllowThreads(__tstate
);
4906 if (PyErr_Occurred()) SWIG_fail
;
4908 resultobj
= SWIG_PyObj_FromBool((bool)result
);
4915 static PyObject
*_wrap_PyShape_GetLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4916 PyObject
*resultobj
;
4917 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4919 PyObject
* obj0
= 0 ;
4921 (char *) "self", NULL
4924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetLines",kwnames
,&obj0
)) goto fail
;
4925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4928 result
= (PyObject
*)wxPyShape_GetLines(arg1
);
4930 wxPyEndAllowThreads(__tstate
);
4931 if (PyErr_Occurred()) SWIG_fail
;
4940 static PyObject
*_wrap_PyShape_SetDisableLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4941 PyObject
*resultobj
;
4942 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4944 PyObject
* obj0
= 0 ;
4945 PyObject
* obj1
= 0 ;
4947 (char *) "self",(char *) "flag", NULL
4950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetDisableLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
4951 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4953 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
4954 if (PyErr_Occurred()) SWIG_fail
;
4957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4958 (arg1
)->SetDisableLabel(arg2
);
4960 wxPyEndAllowThreads(__tstate
);
4961 if (PyErr_Occurred()) SWIG_fail
;
4963 Py_INCREF(Py_None
); resultobj
= Py_None
;
4970 static PyObject
*_wrap_PyShape_GetDisableLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4971 PyObject
*resultobj
;
4972 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4974 PyObject
* obj0
= 0 ;
4976 (char *) "self", NULL
4979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetDisableLabel",kwnames
,&obj0
)) goto fail
;
4980 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4983 result
= (bool)(arg1
)->GetDisableLabel();
4985 wxPyEndAllowThreads(__tstate
);
4986 if (PyErr_Occurred()) SWIG_fail
;
4988 resultobj
= SWIG_PyObj_FromBool((bool)result
);
4995 static PyObject
*_wrap_PyShape_SetAttachmentMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4996 PyObject
*resultobj
;
4997 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4999 PyObject
* obj0
= 0 ;
5000 PyObject
* obj1
= 0 ;
5002 (char *) "self",(char *) "mode", NULL
5005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetAttachmentMode",kwnames
,&obj0
,&obj1
)) goto fail
;
5006 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5008 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5009 if (PyErr_Occurred()) SWIG_fail
;
5012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5013 (arg1
)->SetAttachmentMode(arg2
);
5015 wxPyEndAllowThreads(__tstate
);
5016 if (PyErr_Occurred()) SWIG_fail
;
5018 Py_INCREF(Py_None
); resultobj
= Py_None
;
5025 static PyObject
*_wrap_PyShape_GetAttachmentMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5026 PyObject
*resultobj
;
5027 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5029 PyObject
* obj0
= 0 ;
5031 (char *) "self", NULL
5034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetAttachmentMode",kwnames
,&obj0
)) goto fail
;
5035 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5038 result
= (int)(arg1
)->GetAttachmentMode();
5040 wxPyEndAllowThreads(__tstate
);
5041 if (PyErr_Occurred()) SWIG_fail
;
5043 resultobj
= SWIG_PyObj_FromInt((int)result
);
5050 static PyObject
*_wrap_PyShape_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5051 PyObject
*resultobj
;
5052 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5054 PyObject
* obj0
= 0 ;
5055 PyObject
* obj1
= 0 ;
5057 (char *) "self",(char *) "i", NULL
5060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
5061 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5063 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
5064 if (PyErr_Occurred()) SWIG_fail
;
5067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5068 (arg1
)->SetId(arg2
);
5070 wxPyEndAllowThreads(__tstate
);
5071 if (PyErr_Occurred()) SWIG_fail
;
5073 Py_INCREF(Py_None
); resultobj
= Py_None
;
5080 static PyObject
*_wrap_PyShape_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5081 PyObject
*resultobj
;
5082 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5084 PyObject
* obj0
= 0 ;
5086 (char *) "self", NULL
5089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetId",kwnames
,&obj0
)) goto fail
;
5090 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5093 result
= (long)(arg1
)->GetId();
5095 wxPyEndAllowThreads(__tstate
);
5096 if (PyErr_Occurred()) SWIG_fail
;
5098 resultobj
= SWIG_PyObj_FromLong((long)result
);
5105 static PyObject
*_wrap_PyShape_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5106 PyObject
*resultobj
;
5107 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5108 wxPen
*arg2
= (wxPen
*) 0 ;
5109 PyObject
* obj0
= 0 ;
5110 PyObject
* obj1
= 0 ;
5112 (char *) "self",(char *) "pen", NULL
5115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
5116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5120 if (obj1
== Py_None
) {
5123 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
5124 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
5129 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
5136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5137 (arg1
)->SetPen(arg2
);
5139 wxPyEndAllowThreads(__tstate
);
5140 if (PyErr_Occurred()) SWIG_fail
;
5142 Py_INCREF(Py_None
); resultobj
= Py_None
;
5149 static PyObject
*_wrap_PyShape_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5150 PyObject
*resultobj
;
5151 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5152 wxBrush
*arg2
= (wxBrush
*) 0 ;
5153 PyObject
* obj0
= 0 ;
5154 PyObject
* obj1
= 0 ;
5156 (char *) "self",(char *) "brush", NULL
5159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
5160 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5164 if (obj1
== Py_None
) {
5167 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxBrush"))) {
5168 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxBrush.");
5173 arg2
= wxTheBrushList
->FindOrCreateBrush(temp
->GetColour(), temp
->GetStyle());
5178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5179 (arg1
)->SetBrush(arg2
);
5181 wxPyEndAllowThreads(__tstate
);
5182 if (PyErr_Occurred()) SWIG_fail
;
5184 Py_INCREF(Py_None
); resultobj
= Py_None
;
5191 static PyObject
*_wrap_PyShape_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5192 PyObject
*resultobj
;
5193 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5195 PyObject
* obj0
= 0 ;
5196 PyObject
* obj1
= 0 ;
5198 (char *) "self",(char *) "show", NULL
5201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
5202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5204 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
5205 if (PyErr_Occurred()) SWIG_fail
;
5208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5211 wxPyEndAllowThreads(__tstate
);
5212 if (PyErr_Occurred()) SWIG_fail
;
5214 Py_INCREF(Py_None
); resultobj
= Py_None
;
5221 static PyObject
*_wrap_PyShape_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5222 PyObject
*resultobj
;
5223 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5225 PyObject
* obj0
= 0 ;
5227 (char *) "self", NULL
5230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_IsShown",kwnames
,&obj0
)) goto fail
;
5231 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5234 result
= (bool)(arg1
)->IsShown();
5236 wxPyEndAllowThreads(__tstate
);
5237 if (PyErr_Occurred()) SWIG_fail
;
5239 resultobj
= SWIG_PyObj_FromBool((bool)result
);
5246 static PyObject
*_wrap_PyShape_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5247 PyObject
*resultobj
;
5248 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5252 bool arg5
= (bool) True
;
5253 PyObject
* obj0
= 0 ;
5254 PyObject
* obj1
= 0 ;
5255 PyObject
* obj2
= 0 ;
5256 PyObject
* obj3
= 0 ;
5257 PyObject
* obj4
= 0 ;
5259 (char *) "self",(char *) "dc",(char *) "x1",(char *) "y1",(char *) "display", NULL
5262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyShape_Move",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5263 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5264 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5266 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5269 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
5270 if (PyErr_Occurred()) SWIG_fail
;
5273 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
5274 if (PyErr_Occurred()) SWIG_fail
;
5278 arg5
= (bool) SWIG_PyObj_AsBool(obj4
);
5279 if (PyErr_Occurred()) SWIG_fail
;
5283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5284 (arg1
)->Move(*arg2
,arg3
,arg4
,arg5
);
5286 wxPyEndAllowThreads(__tstate
);
5287 if (PyErr_Occurred()) SWIG_fail
;
5289 Py_INCREF(Py_None
); resultobj
= Py_None
;
5296 static PyObject
*_wrap_PyShape_Erase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5297 PyObject
*resultobj
;
5298 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5300 PyObject
* obj0
= 0 ;
5301 PyObject
* obj1
= 0 ;
5303 (char *) "self",(char *) "dc", NULL
5306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Erase",kwnames
,&obj0
,&obj1
)) goto fail
;
5307 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5308 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5310 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5314 (arg1
)->Erase(*arg2
);
5316 wxPyEndAllowThreads(__tstate
);
5317 if (PyErr_Occurred()) SWIG_fail
;
5319 Py_INCREF(Py_None
); resultobj
= Py_None
;
5326 static PyObject
*_wrap_PyShape_EraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5327 PyObject
*resultobj
;
5328 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5330 PyObject
* obj0
= 0 ;
5331 PyObject
* obj1
= 0 ;
5333 (char *) "self",(char *) "dc", NULL
5336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_EraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
5337 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5338 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5340 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5344 (arg1
)->EraseContents(*arg2
);
5346 wxPyEndAllowThreads(__tstate
);
5347 if (PyErr_Occurred()) SWIG_fail
;
5349 Py_INCREF(Py_None
); resultobj
= Py_None
;
5356 static PyObject
*_wrap_PyShape_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5357 PyObject
*resultobj
;
5358 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5360 PyObject
* obj0
= 0 ;
5361 PyObject
* obj1
= 0 ;
5363 (char *) "self",(char *) "dc", NULL
5366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Draw",kwnames
,&obj0
,&obj1
)) goto fail
;
5367 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5368 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5370 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5374 (arg1
)->Draw(*arg2
);
5376 wxPyEndAllowThreads(__tstate
);
5377 if (PyErr_Occurred()) SWIG_fail
;
5379 Py_INCREF(Py_None
); resultobj
= Py_None
;
5386 static PyObject
*_wrap_PyShape_Flash(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5387 PyObject
*resultobj
;
5388 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5389 PyObject
* obj0
= 0 ;
5391 (char *) "self", NULL
5394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Flash",kwnames
,&obj0
)) goto fail
;
5395 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5400 wxPyEndAllowThreads(__tstate
);
5401 if (PyErr_Occurred()) SWIG_fail
;
5403 Py_INCREF(Py_None
); resultobj
= Py_None
;
5410 static PyObject
*_wrap_PyShape_MoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5411 PyObject
*resultobj
;
5412 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5414 PyObject
* obj0
= 0 ;
5415 PyObject
* obj1
= 0 ;
5417 (char *) "self",(char *) "dc", NULL
5420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_MoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
5421 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5422 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5424 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5428 (arg1
)->MoveLinks(*arg2
);
5430 wxPyEndAllowThreads(__tstate
);
5431 if (PyErr_Occurred()) SWIG_fail
;
5433 Py_INCREF(Py_None
); resultobj
= Py_None
;
5440 static PyObject
*_wrap_PyShape_DrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5441 PyObject
*resultobj
;
5442 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5444 PyObject
* obj0
= 0 ;
5445 PyObject
* obj1
= 0 ;
5447 (char *) "self",(char *) "dc", NULL
5450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_DrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
5451 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5452 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5454 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5458 (arg1
)->DrawContents(*arg2
);
5460 wxPyEndAllowThreads(__tstate
);
5461 if (PyErr_Occurred()) SWIG_fail
;
5463 Py_INCREF(Py_None
); resultobj
= Py_None
;
5470 static PyObject
*_wrap_PyShape_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5471 PyObject
*resultobj
;
5472 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5475 bool arg4
= (bool) True
;
5476 PyObject
* obj0
= 0 ;
5477 PyObject
* obj1
= 0 ;
5478 PyObject
* obj2
= 0 ;
5479 PyObject
* obj3
= 0 ;
5481 (char *) "self",(char *) "x",(char *) "y",(char *) "recursive", NULL
5484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShape_SetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5485 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5487 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
5488 if (PyErr_Occurred()) SWIG_fail
;
5491 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
5492 if (PyErr_Occurred()) SWIG_fail
;
5496 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
5497 if (PyErr_Occurred()) SWIG_fail
;
5501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5502 (arg1
)->SetSize(arg2
,arg3
,arg4
);
5504 wxPyEndAllowThreads(__tstate
);
5505 if (PyErr_Occurred()) SWIG_fail
;
5507 Py_INCREF(Py_None
); resultobj
= Py_None
;
5514 static PyObject
*_wrap_PyShape_SetAttachmentSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5515 PyObject
*resultobj
;
5516 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5519 PyObject
* obj0
= 0 ;
5520 PyObject
* obj1
= 0 ;
5521 PyObject
* obj2
= 0 ;
5523 (char *) "self",(char *) "x",(char *) "y", NULL
5526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape_SetAttachmentSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5527 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5529 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
5530 if (PyErr_Occurred()) SWIG_fail
;
5533 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
5534 if (PyErr_Occurred()) SWIG_fail
;
5537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5538 (arg1
)->SetAttachmentSize(arg2
,arg3
);
5540 wxPyEndAllowThreads(__tstate
);
5541 if (PyErr_Occurred()) SWIG_fail
;
5543 Py_INCREF(Py_None
); resultobj
= Py_None
;
5550 static PyObject
*_wrap_PyShape_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5551 PyObject
*resultobj
;
5552 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5553 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
5554 PyObject
* obj0
= 0 ;
5555 PyObject
* obj1
= 0 ;
5557 (char *) "self",(char *) "can", NULL
5560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
5561 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5562 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5565 (arg1
)->Attach(arg2
);
5567 wxPyEndAllowThreads(__tstate
);
5568 if (PyErr_Occurred()) SWIG_fail
;
5570 Py_INCREF(Py_None
); resultobj
= Py_None
;
5577 static PyObject
*_wrap_PyShape_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5578 PyObject
*resultobj
;
5579 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5580 PyObject
* obj0
= 0 ;
5582 (char *) "self", NULL
5585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Detach",kwnames
,&obj0
)) goto fail
;
5586 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5591 wxPyEndAllowThreads(__tstate
);
5592 if (PyErr_Occurred()) SWIG_fail
;
5594 Py_INCREF(Py_None
); resultobj
= Py_None
;
5601 static PyObject
*_wrap_PyShape_Constrain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5602 PyObject
*resultobj
;
5603 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5605 PyObject
* obj0
= 0 ;
5607 (char *) "self", NULL
5610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Constrain",kwnames
,&obj0
)) goto fail
;
5611 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5614 result
= (bool)(arg1
)->Constrain();
5616 wxPyEndAllowThreads(__tstate
);
5617 if (PyErr_Occurred()) SWIG_fail
;
5619 resultobj
= SWIG_PyObj_FromBool((bool)result
);
5626 static PyObject
*_wrap_PyShape_AddLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5627 PyObject
*resultobj
;
5628 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5629 wxPyLineShape
*arg2
= (wxPyLineShape
*) 0 ;
5630 wxPyShape
*arg3
= (wxPyShape
*) 0 ;
5631 int arg4
= (int) 0 ;
5632 int arg5
= (int) 0 ;
5633 int arg6
= (int) -1 ;
5634 int arg7
= (int) -1 ;
5635 PyObject
* obj0
= 0 ;
5636 PyObject
* obj1
= 0 ;
5637 PyObject
* obj2
= 0 ;
5638 PyObject
* obj3
= 0 ;
5639 PyObject
* obj4
= 0 ;
5640 PyObject
* obj5
= 0 ;
5641 PyObject
* obj6
= 0 ;
5643 (char *) "self",(char *) "line",(char *) "other",(char *) "attachFrom",(char *) "attachTo",(char *) "positionFrom",(char *) "positionTo", NULL
5646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:PyShape_AddLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5648 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5649 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5652 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
5653 if (PyErr_Occurred()) SWIG_fail
;
5658 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
5659 if (PyErr_Occurred()) SWIG_fail
;
5664 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
5665 if (PyErr_Occurred()) SWIG_fail
;
5670 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
5671 if (PyErr_Occurred()) SWIG_fail
;
5675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5676 (arg1
)->AddLine(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
5678 wxPyEndAllowThreads(__tstate
);
5679 if (PyErr_Occurred()) SWIG_fail
;
5681 Py_INCREF(Py_None
); resultobj
= Py_None
;
5688 static PyObject
*_wrap_PyShape_GetLinePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5689 PyObject
*resultobj
;
5690 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5691 wxPyLineShape
*arg2
= (wxPyLineShape
*) 0 ;
5693 PyObject
* obj0
= 0 ;
5694 PyObject
* obj1
= 0 ;
5696 (char *) "self",(char *) "line", NULL
5699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_GetLinePosition",kwnames
,&obj0
,&obj1
)) goto fail
;
5700 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5701 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5704 result
= (int)(arg1
)->GetLinePosition(arg2
);
5706 wxPyEndAllowThreads(__tstate
);
5707 if (PyErr_Occurred()) SWIG_fail
;
5709 resultobj
= SWIG_PyObj_FromInt((int)result
);
5716 static PyObject
*_wrap_PyShape_AddText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5717 PyObject
*resultobj
;
5718 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5719 wxString
*arg2
= 0 ;
5720 bool temp2
= False
;
5721 PyObject
* obj0
= 0 ;
5722 PyObject
* obj1
= 0 ;
5724 (char *) "self",(char *) "string", NULL
5727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_AddText",kwnames
,&obj0
,&obj1
)) goto fail
;
5728 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5730 arg2
= wxString_in_helper(obj1
);
5731 if (arg2
== NULL
) SWIG_fail
;
5735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5736 (arg1
)->AddText((wxString
const &)*arg2
);
5738 wxPyEndAllowThreads(__tstate
);
5739 if (PyErr_Occurred()) SWIG_fail
;
5741 Py_INCREF(Py_None
); resultobj
= Py_None
;
5756 static PyObject
*_wrap_PyShape_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5757 PyObject
*resultobj
;
5758 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5760 PyObject
* obj0
= 0 ;
5762 (char *) "self", NULL
5765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetPen",kwnames
,&obj0
)) goto fail
;
5766 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5769 result
= (wxPen
*)(arg1
)->GetPen();
5771 wxPyEndAllowThreads(__tstate
);
5772 if (PyErr_Occurred()) SWIG_fail
;
5774 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPen
, 0);
5781 static PyObject
*_wrap_PyShape_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5782 PyObject
*resultobj
;
5783 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5785 PyObject
* obj0
= 0 ;
5787 (char *) "self", NULL
5790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBrush",kwnames
,&obj0
)) goto fail
;
5791 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5794 result
= (wxBrush
*)(arg1
)->GetBrush();
5796 wxPyEndAllowThreads(__tstate
);
5797 if (PyErr_Occurred()) SWIG_fail
;
5799 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBrush
, 0);
5806 static PyObject
*_wrap_PyShape_SetDefaultRegionSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5807 PyObject
*resultobj
;
5808 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5809 PyObject
* obj0
= 0 ;
5811 (char *) "self", NULL
5814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_SetDefaultRegionSize",kwnames
,&obj0
)) goto fail
;
5815 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5818 (arg1
)->SetDefaultRegionSize();
5820 wxPyEndAllowThreads(__tstate
);
5821 if (PyErr_Occurred()) SWIG_fail
;
5823 Py_INCREF(Py_None
); resultobj
= Py_None
;
5830 static PyObject
*_wrap_PyShape_FormatText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5831 PyObject
*resultobj
;
5832 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5834 wxString
*arg3
= 0 ;
5835 int arg4
= (int) 0 ;
5836 bool temp3
= False
;
5837 PyObject
* obj0
= 0 ;
5838 PyObject
* obj1
= 0 ;
5839 PyObject
* obj2
= 0 ;
5840 PyObject
* obj3
= 0 ;
5842 (char *) "self",(char *) "dc",(char *) "s",(char *) "regionId", NULL
5845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShape_FormatText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5847 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5849 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5852 arg3
= wxString_in_helper(obj2
);
5853 if (arg3
== NULL
) SWIG_fail
;
5858 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
5859 if (PyErr_Occurred()) SWIG_fail
;
5863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5864 (arg1
)->FormatText(*arg2
,(wxString
const &)*arg3
,arg4
);
5866 wxPyEndAllowThreads(__tstate
);
5867 if (PyErr_Occurred()) SWIG_fail
;
5869 Py_INCREF(Py_None
); resultobj
= Py_None
;
5884 static PyObject
*_wrap_PyShape_SetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5885 PyObject
*resultobj
;
5886 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5888 int arg3
= (int) 0 ;
5889 PyObject
* obj0
= 0 ;
5890 PyObject
* obj1
= 0 ;
5891 PyObject
* obj2
= 0 ;
5893 (char *) "self",(char *) "mode",(char *) "regionId", NULL
5896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_SetFormatMode",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5899 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5900 if (PyErr_Occurred()) SWIG_fail
;
5904 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5905 if (PyErr_Occurred()) SWIG_fail
;
5909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5910 (arg1
)->SetFormatMode(arg2
,arg3
);
5912 wxPyEndAllowThreads(__tstate
);
5913 if (PyErr_Occurred()) SWIG_fail
;
5915 Py_INCREF(Py_None
); resultobj
= Py_None
;
5922 static PyObject
*_wrap_PyShape_GetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5923 PyObject
*resultobj
;
5924 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5925 int arg2
= (int) 0 ;
5927 PyObject
* obj0
= 0 ;
5928 PyObject
* obj1
= 0 ;
5930 (char *) "self",(char *) "regionId", NULL
5933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyShape_GetFormatMode",kwnames
,&obj0
,&obj1
)) goto fail
;
5934 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5937 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5938 if (PyErr_Occurred()) SWIG_fail
;
5942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5943 result
= (int)(arg1
)->GetFormatMode(arg2
);
5945 wxPyEndAllowThreads(__tstate
);
5946 if (PyErr_Occurred()) SWIG_fail
;
5948 resultobj
= SWIG_PyObj_FromInt((int)result
);
5955 static PyObject
*_wrap_PyShape_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5956 PyObject
*resultobj
;
5957 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5958 wxFont
*arg2
= (wxFont
*) 0 ;
5959 int arg3
= (int) 0 ;
5960 PyObject
* obj0
= 0 ;
5961 PyObject
* obj1
= 0 ;
5962 PyObject
* obj2
= 0 ;
5964 (char *) "self",(char *) "font",(char *) "regionId", NULL
5967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5972 if (obj1
== Py_None
) {
5975 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxFont"))) {
5976 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxFont.");
5981 arg2
= wxTheFontList
->FindOrCreateFont(temp
->GetPointSize(),
5985 temp
->GetUnderlined(),
5986 temp
->GetFaceName(),
5987 temp
->GetEncoding());
5993 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5994 if (PyErr_Occurred()) SWIG_fail
;
5998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5999 (arg1
)->SetFont(arg2
,arg3
);
6001 wxPyEndAllowThreads(__tstate
);
6002 if (PyErr_Occurred()) SWIG_fail
;
6004 Py_INCREF(Py_None
); resultobj
= Py_None
;
6011 static PyObject
*_wrap_PyShape_GetFont(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_GetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
6023 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6026 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6027 if (PyErr_Occurred()) SWIG_fail
;
6031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6032 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
6034 wxPyEndAllowThreads(__tstate
);
6035 if (PyErr_Occurred()) SWIG_fail
;
6037 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
6044 static PyObject
*_wrap_PyShape_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6045 PyObject
*resultobj
;
6046 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6047 wxString
*arg2
= 0 ;
6048 int arg3
= (int) 0 ;
6049 bool temp2
= False
;
6050 PyObject
* obj0
= 0 ;
6051 PyObject
* obj1
= 0 ;
6052 PyObject
* obj2
= 0 ;
6054 (char *) "self",(char *) "colour",(char *) "regionId", NULL
6057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_SetTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6060 arg2
= wxString_in_helper(obj1
);
6061 if (arg2
== NULL
) SWIG_fail
;
6066 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6067 if (PyErr_Occurred()) SWIG_fail
;
6071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6072 (arg1
)->SetTextColour((wxString
const &)*arg2
,arg3
);
6074 wxPyEndAllowThreads(__tstate
);
6075 if (PyErr_Occurred()) SWIG_fail
;
6077 Py_INCREF(Py_None
); resultobj
= Py_None
;
6092 static PyObject
*_wrap_PyShape_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6093 PyObject
*resultobj
;
6094 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6095 int arg2
= (int) 0 ;
6097 PyObject
* obj0
= 0 ;
6098 PyObject
* obj1
= 0 ;
6100 (char *) "self",(char *) "regionId", NULL
6103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyShape_GetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6107 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6108 if (PyErr_Occurred()) SWIG_fail
;
6112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6113 result
= (arg1
)->GetTextColour(arg2
);
6115 wxPyEndAllowThreads(__tstate
);
6116 if (PyErr_Occurred()) SWIG_fail
;
6120 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6122 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6131 static PyObject
*_wrap_PyShape_GetNumberOfTextRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6132 PyObject
*resultobj
;
6133 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6135 PyObject
* obj0
= 0 ;
6137 (char *) "self", NULL
6140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetNumberOfTextRegions",kwnames
,&obj0
)) goto fail
;
6141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6144 result
= (int)(arg1
)->GetNumberOfTextRegions();
6146 wxPyEndAllowThreads(__tstate
);
6147 if (PyErr_Occurred()) SWIG_fail
;
6149 resultobj
= SWIG_PyObj_FromInt((int)result
);
6156 static PyObject
*_wrap_PyShape_SetRegionName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6157 PyObject
*resultobj
;
6158 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6159 wxString
*arg2
= 0 ;
6160 int arg3
= (int) 0 ;
6161 bool temp2
= False
;
6162 PyObject
* obj0
= 0 ;
6163 PyObject
* obj1
= 0 ;
6164 PyObject
* obj2
= 0 ;
6166 (char *) "self",(char *) "name",(char *) "regionId", NULL
6169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_SetRegionName",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6172 arg2
= wxString_in_helper(obj1
);
6173 if (arg2
== NULL
) SWIG_fail
;
6178 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6179 if (PyErr_Occurred()) SWIG_fail
;
6183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6184 (arg1
)->SetRegionName((wxString
const &)*arg2
,arg3
);
6186 wxPyEndAllowThreads(__tstate
);
6187 if (PyErr_Occurred()) SWIG_fail
;
6189 Py_INCREF(Py_None
); resultobj
= Py_None
;
6204 static PyObject
*_wrap_PyShape_GetRegionName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6205 PyObject
*resultobj
;
6206 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6209 PyObject
* obj0
= 0 ;
6210 PyObject
* obj1
= 0 ;
6212 (char *) "self",(char *) "regionId", NULL
6215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_GetRegionName",kwnames
,&obj0
,&obj1
)) goto fail
;
6216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6218 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6219 if (PyErr_Occurred()) SWIG_fail
;
6222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6223 result
= (arg1
)->GetRegionName(arg2
);
6225 wxPyEndAllowThreads(__tstate
);
6226 if (PyErr_Occurred()) SWIG_fail
;
6230 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6232 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6241 static PyObject
*_wrap_PyShape_GetRegionId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6242 PyObject
*resultobj
;
6243 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6244 wxString
*arg2
= 0 ;
6246 bool temp2
= False
;
6247 PyObject
* obj0
= 0 ;
6248 PyObject
* obj1
= 0 ;
6250 (char *) "self",(char *) "name", NULL
6253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_GetRegionId",kwnames
,&obj0
,&obj1
)) goto fail
;
6254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6256 arg2
= wxString_in_helper(obj1
);
6257 if (arg2
== NULL
) SWIG_fail
;
6261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6262 result
= (int)(arg1
)->GetRegionId((wxString
const &)*arg2
);
6264 wxPyEndAllowThreads(__tstate
);
6265 if (PyErr_Occurred()) SWIG_fail
;
6267 resultobj
= SWIG_PyObj_FromInt((int)result
);
6282 static PyObject
*_wrap_PyShape_NameRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6283 PyObject
*resultobj
;
6284 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6285 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6286 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6287 bool temp2
= False
;
6288 PyObject
* obj0
= 0 ;
6289 PyObject
* obj1
= 0 ;
6291 (char *) "self",(char *) "parentName", NULL
6294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyShape_NameRegions",kwnames
,&obj0
,&obj1
)) goto fail
;
6295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6298 arg2
= wxString_in_helper(obj1
);
6299 if (arg2
== NULL
) SWIG_fail
;
6304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6305 (arg1
)->NameRegions((wxString
const &)*arg2
);
6307 wxPyEndAllowThreads(__tstate
);
6308 if (PyErr_Occurred()) SWIG_fail
;
6310 Py_INCREF(Py_None
); resultobj
= Py_None
;
6325 static PyObject
*_wrap_PyShape_GetRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6326 PyObject
*resultobj
;
6327 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6329 PyObject
* obj0
= 0 ;
6331 (char *) "self", NULL
6334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetRegions",kwnames
,&obj0
)) goto fail
;
6335 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6338 result
= (PyObject
*)wxPyShape_GetRegions(arg1
);
6340 wxPyEndAllowThreads(__tstate
);
6341 if (PyErr_Occurred()) SWIG_fail
;
6350 static PyObject
*_wrap_PyShape_AddRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6351 PyObject
*resultobj
;
6352 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6353 wxShapeRegion
*arg2
= (wxShapeRegion
*) 0 ;
6354 PyObject
* obj0
= 0 ;
6355 PyObject
* obj1
= 0 ;
6357 (char *) "self",(char *) "region", NULL
6360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_AddRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
6361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6362 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6365 (arg1
)->AddRegion(arg2
);
6367 wxPyEndAllowThreads(__tstate
);
6368 if (PyErr_Occurred()) SWIG_fail
;
6370 Py_INCREF(Py_None
); resultobj
= Py_None
;
6377 static PyObject
*_wrap_PyShape_ClearRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6378 PyObject
*resultobj
;
6379 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6380 PyObject
* obj0
= 0 ;
6382 (char *) "self", NULL
6385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_ClearRegions",kwnames
,&obj0
)) goto fail
;
6386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6389 (arg1
)->ClearRegions();
6391 wxPyEndAllowThreads(__tstate
);
6392 if (PyErr_Occurred()) SWIG_fail
;
6394 Py_INCREF(Py_None
); resultobj
= Py_None
;
6401 static PyObject
*_wrap_PyShape_AssignNewIds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6402 PyObject
*resultobj
;
6403 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6404 PyObject
* obj0
= 0 ;
6406 (char *) "self", NULL
6409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_AssignNewIds",kwnames
,&obj0
)) goto fail
;
6410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6413 (arg1
)->AssignNewIds();
6415 wxPyEndAllowThreads(__tstate
);
6416 if (PyErr_Occurred()) SWIG_fail
;
6418 Py_INCREF(Py_None
); resultobj
= Py_None
;
6425 static PyObject
*_wrap_PyShape_FindRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6426 PyObject
*resultobj
;
6427 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6428 wxString
*arg2
= 0 ;
6429 int *arg3
= (int *) 0 ;
6431 bool temp2
= False
;
6433 PyObject
* obj0
= 0 ;
6434 PyObject
* obj1
= 0 ;
6436 (char *) "self",(char *) "regionName", NULL
6440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_FindRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
6441 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6443 arg2
= wxString_in_helper(obj1
);
6444 if (arg2
== NULL
) SWIG_fail
;
6448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6449 result
= (wxPyShape
*)(arg1
)->FindRegion((wxString
const &)*arg2
,arg3
);
6451 wxPyEndAllowThreads(__tstate
);
6452 if (PyErr_Occurred()) SWIG_fail
;
6455 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
6458 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
6459 resultobj
= t_output_helper(resultobj
,o
);
6475 static PyObject
*_wrap_PyShape_FindRegionNames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6476 PyObject
*resultobj
;
6477 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6478 wxStringList
*arg2
= 0 ;
6479 PyObject
* obj0
= 0 ;
6480 PyObject
* obj1
= 0 ;
6482 (char *) "self",(char *) "list", NULL
6485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_FindRegionNames",kwnames
,&obj0
,&obj1
)) goto fail
;
6486 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6487 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxStringList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6489 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6493 (arg1
)->FindRegionNames(*arg2
);
6495 wxPyEndAllowThreads(__tstate
);
6496 if (PyErr_Occurred()) SWIG_fail
;
6498 Py_INCREF(Py_None
); resultobj
= Py_None
;
6505 static PyObject
*_wrap_PyShape_ClearText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6506 PyObject
*resultobj
;
6507 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6508 int arg2
= (int) 0 ;
6509 PyObject
* obj0
= 0 ;
6510 PyObject
* obj1
= 0 ;
6512 (char *) "self",(char *) "regionId", NULL
6515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyShape_ClearText",kwnames
,&obj0
,&obj1
)) goto fail
;
6516 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6519 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6520 if (PyErr_Occurred()) SWIG_fail
;
6524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6525 (arg1
)->ClearText(arg2
);
6527 wxPyEndAllowThreads(__tstate
);
6528 if (PyErr_Occurred()) SWIG_fail
;
6530 Py_INCREF(Py_None
); resultobj
= Py_None
;
6537 static PyObject
*_wrap_PyShape_RemoveLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6538 PyObject
*resultobj
;
6539 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6540 wxPyLineShape
*arg2
= (wxPyLineShape
*) 0 ;
6541 PyObject
* obj0
= 0 ;
6542 PyObject
* obj1
= 0 ;
6544 (char *) "self",(char *) "line", NULL
6547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_RemoveLine",kwnames
,&obj0
,&obj1
)) goto fail
;
6548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6549 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6552 (arg1
)->RemoveLine(arg2
);
6554 wxPyEndAllowThreads(__tstate
);
6555 if (PyErr_Occurred()) SWIG_fail
;
6557 Py_INCREF(Py_None
); resultobj
= Py_None
;
6564 static PyObject
*_wrap_PyShape_GetAttachmentPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6565 PyObject
*resultobj
;
6566 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6568 double *arg3
= (double *) 0 ;
6569 double *arg4
= (double *) 0 ;
6570 int arg5
= (int) 0 ;
6571 int arg6
= (int) 1 ;
6572 wxPyLineShape
*arg7
= (wxPyLineShape
*) NULL
;
6576 PyObject
* obj0
= 0 ;
6577 PyObject
* obj1
= 0 ;
6578 PyObject
* obj2
= 0 ;
6579 PyObject
* obj3
= 0 ;
6580 PyObject
* obj4
= 0 ;
6582 (char *) "self",(char *) "attachment",(char *) "nth",(char *) "no_arcs",(char *) "line", NULL
6587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PyShape_GetAttachmentPosition",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6590 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6591 if (PyErr_Occurred()) SWIG_fail
;
6595 arg5
= (int) SWIG_PyObj_AsInt(obj2
);
6596 if (PyErr_Occurred()) SWIG_fail
;
6601 arg6
= (int) SWIG_PyObj_AsInt(obj3
);
6602 if (PyErr_Occurred()) SWIG_fail
;
6606 if ((SWIG_ConvertPtr(obj4
,(void **) &arg7
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6610 result
= (bool)(arg1
)->GetAttachmentPosition(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
6612 wxPyEndAllowThreads(__tstate
);
6613 if (PyErr_Occurred()) SWIG_fail
;
6615 resultobj
= SWIG_PyObj_FromBool((bool)result
);
6617 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
6618 resultobj
= t_output_helper(resultobj
,o
);
6621 PyObject
*o
= PyFloat_FromDouble((double) (*arg4
));
6622 resultobj
= t_output_helper(resultobj
,o
);
6630 static PyObject
*_wrap_PyShape_GetNumberOfAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6631 PyObject
*resultobj
;
6632 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6634 PyObject
* obj0
= 0 ;
6636 (char *) "self", NULL
6639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetNumberOfAttachments",kwnames
,&obj0
)) goto fail
;
6640 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6643 result
= (int)(arg1
)->GetNumberOfAttachments();
6645 wxPyEndAllowThreads(__tstate
);
6646 if (PyErr_Occurred()) SWIG_fail
;
6648 resultobj
= SWIG_PyObj_FromInt((int)result
);
6655 static PyObject
*_wrap_PyShape_AttachmentIsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6656 PyObject
*resultobj
;
6657 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6660 PyObject
* obj0
= 0 ;
6661 PyObject
* obj1
= 0 ;
6663 (char *) "self",(char *) "attachment", NULL
6666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_AttachmentIsValid",kwnames
,&obj0
,&obj1
)) goto fail
;
6667 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6669 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6670 if (PyErr_Occurred()) SWIG_fail
;
6673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6674 result
= (bool)(arg1
)->AttachmentIsValid(arg2
);
6676 wxPyEndAllowThreads(__tstate
);
6677 if (PyErr_Occurred()) SWIG_fail
;
6679 resultobj
= SWIG_PyObj_FromBool((bool)result
);
6686 static PyObject
*_wrap_PyShape_GetAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6687 PyObject
*resultobj
;
6688 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6690 PyObject
* obj0
= 0 ;
6692 (char *) "self", NULL
6695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetAttachments",kwnames
,&obj0
)) goto fail
;
6696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6699 result
= (PyObject
*)wxPyShape_GetAttachments(arg1
);
6701 wxPyEndAllowThreads(__tstate
);
6702 if (PyErr_Occurred()) SWIG_fail
;
6711 static PyObject
*_wrap_PyShape_GetAttachmentPositionEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6712 PyObject
*resultobj
;
6713 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6715 double *arg3
= (double *) 0 ;
6716 double *arg4
= (double *) 0 ;
6717 int arg5
= (int) 0 ;
6718 int arg6
= (int) 1 ;
6719 wxPyLineShape
*arg7
= (wxPyLineShape
*) NULL
;
6723 PyObject
* obj0
= 0 ;
6724 PyObject
* obj1
= 0 ;
6725 PyObject
* obj2
= 0 ;
6726 PyObject
* obj3
= 0 ;
6727 PyObject
* obj4
= 0 ;
6729 (char *) "self",(char *) "attachment",(char *) "nth",(char *) "no_arcs",(char *) "line", NULL
6734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PyShape_GetAttachmentPositionEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6737 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6738 if (PyErr_Occurred()) SWIG_fail
;
6742 arg5
= (int) SWIG_PyObj_AsInt(obj2
);
6743 if (PyErr_Occurred()) SWIG_fail
;
6748 arg6
= (int) SWIG_PyObj_AsInt(obj3
);
6749 if (PyErr_Occurred()) SWIG_fail
;
6753 if ((SWIG_ConvertPtr(obj4
,(void **) &arg7
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6757 result
= (bool)(arg1
)->GetAttachmentPositionEdge(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
6759 wxPyEndAllowThreads(__tstate
);
6760 if (PyErr_Occurred()) SWIG_fail
;
6762 resultobj
= SWIG_PyObj_FromBool((bool)result
);
6764 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
6765 resultobj
= t_output_helper(resultobj
,o
);
6768 PyObject
*o
= PyFloat_FromDouble((double) (*arg4
));
6769 resultobj
= t_output_helper(resultobj
,o
);
6777 static PyObject
*_wrap_PyShape_CalcSimpleAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6778 PyObject
*resultobj
;
6779 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6780 wxRealPoint
*arg2
= 0 ;
6781 wxRealPoint
*arg3
= 0 ;
6784 wxPyLineShape
*arg6
= (wxPyLineShape
*) 0 ;
6788 PyObject
* obj0
= 0 ;
6789 PyObject
* obj1
= 0 ;
6790 PyObject
* obj2
= 0 ;
6791 PyObject
* obj3
= 0 ;
6792 PyObject
* obj4
= 0 ;
6793 PyObject
* obj5
= 0 ;
6795 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "nth",(char *) "noArcs",(char *) "line", NULL
6798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyShape_CalcSimpleAttachment",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6799 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6802 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6806 if ( ! wxRealPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6809 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
6810 if (PyErr_Occurred()) SWIG_fail
;
6813 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
6814 if (PyErr_Occurred()) SWIG_fail
;
6816 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6819 result
= (arg1
)->CalcSimpleAttachment((wxRealPoint
const &)*arg2
,(wxRealPoint
const &)*arg3
,arg4
,arg5
,arg6
);
6821 wxPyEndAllowThreads(__tstate
);
6822 if (PyErr_Occurred()) SWIG_fail
;
6825 wxRealPoint
* resultptr
;
6826 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
6827 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRealPoint
, 1);
6835 static PyObject
*_wrap_PyShape_AttachmentSortTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6836 PyObject
*resultobj
;
6837 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6839 wxRealPoint
*arg3
= 0 ;
6840 wxRealPoint
*arg4
= 0 ;
6844 PyObject
* obj0
= 0 ;
6845 PyObject
* obj1
= 0 ;
6846 PyObject
* obj2
= 0 ;
6847 PyObject
* obj3
= 0 ;
6849 (char *) "self",(char *) "attachmentPoint",(char *) "pt1",(char *) "pt2", NULL
6852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyShape_AttachmentSortTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6853 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6855 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6856 if (PyErr_Occurred()) SWIG_fail
;
6860 if ( ! wxRealPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6864 if ( ! wxRealPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6868 result
= (bool)(arg1
)->AttachmentSortTest(arg2
,(wxRealPoint
const &)*arg3
,(wxRealPoint
const &)*arg4
);
6870 wxPyEndAllowThreads(__tstate
);
6871 if (PyErr_Occurred()) SWIG_fail
;
6873 resultobj
= SWIG_PyObj_FromBool((bool)result
);
6880 static PyObject
*_wrap_PyShape_EraseLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6881 PyObject
*resultobj
;
6882 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6884 int arg3
= (int) -1 ;
6885 bool arg4
= (bool) False
;
6886 PyObject
* obj0
= 0 ;
6887 PyObject
* obj1
= 0 ;
6888 PyObject
* obj2
= 0 ;
6889 PyObject
* obj3
= 0 ;
6891 (char *) "self",(char *) "dc",(char *) "attachment",(char *) "recurse", NULL
6894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PyShape_EraseLinks",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6896 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6898 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6902 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6903 if (PyErr_Occurred()) SWIG_fail
;
6908 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
6909 if (PyErr_Occurred()) SWIG_fail
;
6913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6914 (arg1
)->EraseLinks(*arg2
,arg3
,arg4
);
6916 wxPyEndAllowThreads(__tstate
);
6917 if (PyErr_Occurred()) SWIG_fail
;
6919 Py_INCREF(Py_None
); resultobj
= Py_None
;
6926 static PyObject
*_wrap_PyShape_DrawLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6927 PyObject
*resultobj
;
6928 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6930 int arg3
= (int) -1 ;
6931 bool arg4
= (bool) False
;
6932 PyObject
* obj0
= 0 ;
6933 PyObject
* obj1
= 0 ;
6934 PyObject
* obj2
= 0 ;
6935 PyObject
* obj3
= 0 ;
6937 (char *) "self",(char *) "dc",(char *) "attachment",(char *) "recurse", NULL
6940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PyShape_DrawLinks",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6941 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6942 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6944 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6948 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6949 if (PyErr_Occurred()) SWIG_fail
;
6954 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
6955 if (PyErr_Occurred()) SWIG_fail
;
6959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6960 (arg1
)->DrawLinks(*arg2
,arg3
,arg4
);
6962 wxPyEndAllowThreads(__tstate
);
6963 if (PyErr_Occurred()) SWIG_fail
;
6965 Py_INCREF(Py_None
); resultobj
= Py_None
;
6972 static PyObject
*_wrap_PyShape_MoveLineToNewAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6973 PyObject
*resultobj
;
6974 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6976 wxPyLineShape
*arg3
= (wxPyLineShape
*) 0 ;
6980 PyObject
* obj0
= 0 ;
6981 PyObject
* obj1
= 0 ;
6982 PyObject
* obj2
= 0 ;
6983 PyObject
* obj3
= 0 ;
6984 PyObject
* obj4
= 0 ;
6986 (char *) "self",(char *) "dc",(char *) "to_move",(char *) "x",(char *) "y", NULL
6989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyShape_MoveLineToNewAttachment",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6991 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6993 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6995 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6997 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
6998 if (PyErr_Occurred()) SWIG_fail
;
7001 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
7002 if (PyErr_Occurred()) SWIG_fail
;
7005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7006 result
= (bool)(arg1
)->MoveLineToNewAttachment(*arg2
,arg3
,arg4
,arg5
);
7008 wxPyEndAllowThreads(__tstate
);
7009 if (PyErr_Occurred()) SWIG_fail
;
7011 resultobj
= SWIG_PyObj_FromBool((bool)result
);
7018 static PyObject
*_wrap_PyShape_ApplyAttachmentOrdering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7019 PyObject
*resultobj
;
7020 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7021 PyObject
*arg2
= (PyObject
*) 0 ;
7022 PyObject
* obj0
= 0 ;
7023 PyObject
* obj1
= 0 ;
7025 (char *) "self",(char *) "linesToSort", NULL
7028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_ApplyAttachmentOrdering",kwnames
,&obj0
,&obj1
)) goto fail
;
7029 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7033 wxPyShape_ApplyAttachmentOrdering(arg1
,arg2
);
7035 wxPyEndAllowThreads(__tstate
);
7036 if (PyErr_Occurred()) SWIG_fail
;
7038 Py_INCREF(Py_None
); resultobj
= Py_None
;
7045 static PyObject
*_wrap_PyShape_GetBranchingAttachmentRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7046 PyObject
*resultobj
;
7047 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7050 PyObject
* obj0
= 0 ;
7051 PyObject
* obj1
= 0 ;
7053 (char *) "self",(char *) "attachment", NULL
7056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_GetBranchingAttachmentRoot",kwnames
,&obj0
,&obj1
)) goto fail
;
7057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7059 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7060 if (PyErr_Occurred()) SWIG_fail
;
7063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7064 result
= (arg1
)->GetBranchingAttachmentRoot(arg2
);
7066 wxPyEndAllowThreads(__tstate
);
7067 if (PyErr_Occurred()) SWIG_fail
;
7070 wxRealPoint
* resultptr
;
7071 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
7072 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRealPoint
, 1);
7080 static PyObject
*_wrap_PyShape_GetBranchingAttachmentInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7081 PyObject
*resultobj
;
7082 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7084 wxRealPoint
*arg3
= 0 ;
7085 wxRealPoint
*arg4
= 0 ;
7086 wxRealPoint
*arg5
= 0 ;
7087 wxRealPoint
*arg6
= 0 ;
7093 PyObject
* obj0
= 0 ;
7094 PyObject
* obj1
= 0 ;
7095 PyObject
* obj2
= 0 ;
7096 PyObject
* obj3
= 0 ;
7097 PyObject
* obj4
= 0 ;
7098 PyObject
* obj5
= 0 ;
7100 (char *) "self",(char *) "attachment",(char *) "root",(char *) "neck",(char *) "shoulder1",(char *) "shoulder2", NULL
7103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyShape_GetBranchingAttachmentInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7106 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7107 if (PyErr_Occurred()) SWIG_fail
;
7111 if ( ! wxRealPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7115 if ( ! wxRealPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7119 if ( ! wxRealPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7123 if ( ! wxRealPoint_helper(obj5
, &arg6
)) SWIG_fail
;
7126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7127 result
= (bool)(arg1
)->GetBranchingAttachmentInfo(arg2
,*arg3
,*arg4
,*arg5
,*arg6
);
7129 wxPyEndAllowThreads(__tstate
);
7130 if (PyErr_Occurred()) SWIG_fail
;
7132 resultobj
= SWIG_PyObj_FromBool((bool)result
);
7139 static PyObject
*_wrap_PyShape_GetBranchingAttachmentPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7140 PyObject
*resultobj
;
7141 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7144 wxRealPoint
*arg4
= 0 ;
7145 wxRealPoint
*arg5
= 0 ;
7149 PyObject
* obj0
= 0 ;
7150 PyObject
* obj1
= 0 ;
7151 PyObject
* obj2
= 0 ;
7152 PyObject
* obj3
= 0 ;
7153 PyObject
* obj4
= 0 ;
7155 (char *) "self",(char *) "attachment",(char *) "n",(char *) "attachmentPoint",(char *) "stemPoint", NULL
7158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyShape_GetBranchingAttachmentPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7159 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7161 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7162 if (PyErr_Occurred()) SWIG_fail
;
7165 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7166 if (PyErr_Occurred()) SWIG_fail
;
7170 if ( ! wxRealPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7174 if ( ! wxRealPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7178 result
= (bool)(arg1
)->GetBranchingAttachmentPoint(arg2
,arg3
,*arg4
,*arg5
);
7180 wxPyEndAllowThreads(__tstate
);
7181 if (PyErr_Occurred()) SWIG_fail
;
7183 resultobj
= SWIG_PyObj_FromBool((bool)result
);
7190 static PyObject
*_wrap_PyShape_GetAttachmentLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7191 PyObject
*resultobj
;
7192 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7195 PyObject
* obj0
= 0 ;
7196 PyObject
* obj1
= 0 ;
7198 (char *) "self",(char *) "attachment", NULL
7201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_GetAttachmentLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
7202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7204 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7205 if (PyErr_Occurred()) SWIG_fail
;
7208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7209 result
= (int)(arg1
)->GetAttachmentLineCount(arg2
);
7211 wxPyEndAllowThreads(__tstate
);
7212 if (PyErr_Occurred()) SWIG_fail
;
7214 resultobj
= SWIG_PyObj_FromInt((int)result
);
7221 static PyObject
*_wrap_PyShape_SetBranchNeckLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7222 PyObject
*resultobj
;
7223 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7225 PyObject
* obj0
= 0 ;
7226 PyObject
* obj1
= 0 ;
7228 (char *) "self",(char *) "len", NULL
7231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetBranchNeckLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7232 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7234 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7235 if (PyErr_Occurred()) SWIG_fail
;
7238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7239 (arg1
)->SetBranchNeckLength(arg2
);
7241 wxPyEndAllowThreads(__tstate
);
7242 if (PyErr_Occurred()) SWIG_fail
;
7244 Py_INCREF(Py_None
); resultobj
= Py_None
;
7251 static PyObject
*_wrap_PyShape_GetBranchNeckLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7252 PyObject
*resultobj
;
7253 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7255 PyObject
* obj0
= 0 ;
7257 (char *) "self", NULL
7260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBranchNeckLength",kwnames
,&obj0
)) goto fail
;
7261 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7264 result
= (int)(arg1
)->GetBranchNeckLength();
7266 wxPyEndAllowThreads(__tstate
);
7267 if (PyErr_Occurred()) SWIG_fail
;
7269 resultobj
= SWIG_PyObj_FromInt((int)result
);
7276 static PyObject
*_wrap_PyShape_SetBranchStemLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7277 PyObject
*resultobj
;
7278 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7280 PyObject
* obj0
= 0 ;
7281 PyObject
* obj1
= 0 ;
7283 (char *) "self",(char *) "len", NULL
7286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetBranchStemLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7289 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7290 if (PyErr_Occurred()) SWIG_fail
;
7293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7294 (arg1
)->SetBranchStemLength(arg2
);
7296 wxPyEndAllowThreads(__tstate
);
7297 if (PyErr_Occurred()) SWIG_fail
;
7299 Py_INCREF(Py_None
); resultobj
= Py_None
;
7306 static PyObject
*_wrap_PyShape_GetBranchStemLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7307 PyObject
*resultobj
;
7308 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7310 PyObject
* obj0
= 0 ;
7312 (char *) "self", NULL
7315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBranchStemLength",kwnames
,&obj0
)) goto fail
;
7316 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7319 result
= (int)(arg1
)->GetBranchStemLength();
7321 wxPyEndAllowThreads(__tstate
);
7322 if (PyErr_Occurred()) SWIG_fail
;
7324 resultobj
= SWIG_PyObj_FromInt((int)result
);
7331 static PyObject
*_wrap_PyShape_SetBranchSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7332 PyObject
*resultobj
;
7333 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7335 PyObject
* obj0
= 0 ;
7336 PyObject
* obj1
= 0 ;
7338 (char *) "self",(char *) "len", NULL
7341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetBranchSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
7342 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7344 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7345 if (PyErr_Occurred()) SWIG_fail
;
7348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7349 (arg1
)->SetBranchSpacing(arg2
);
7351 wxPyEndAllowThreads(__tstate
);
7352 if (PyErr_Occurred()) SWIG_fail
;
7354 Py_INCREF(Py_None
); resultobj
= Py_None
;
7361 static PyObject
*_wrap_PyShape_GetBranchSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7362 PyObject
*resultobj
;
7363 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7365 PyObject
* obj0
= 0 ;
7367 (char *) "self", NULL
7370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBranchSpacing",kwnames
,&obj0
)) goto fail
;
7371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7374 result
= (int)(arg1
)->GetBranchSpacing();
7376 wxPyEndAllowThreads(__tstate
);
7377 if (PyErr_Occurred()) SWIG_fail
;
7379 resultobj
= SWIG_PyObj_FromInt((int)result
);
7386 static PyObject
*_wrap_PyShape_SetBranchStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7387 PyObject
*resultobj
;
7388 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7390 PyObject
* obj0
= 0 ;
7391 PyObject
* obj1
= 0 ;
7393 (char *) "self",(char *) "style", NULL
7396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetBranchStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
7397 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7399 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
7400 if (PyErr_Occurred()) SWIG_fail
;
7403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7404 (arg1
)->SetBranchStyle(arg2
);
7406 wxPyEndAllowThreads(__tstate
);
7407 if (PyErr_Occurred()) SWIG_fail
;
7409 Py_INCREF(Py_None
); resultobj
= Py_None
;
7416 static PyObject
*_wrap_PyShape_GetBranchStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7417 PyObject
*resultobj
;
7418 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7420 PyObject
* obj0
= 0 ;
7422 (char *) "self", NULL
7425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBranchStyle",kwnames
,&obj0
)) goto fail
;
7426 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7429 result
= (long)(arg1
)->GetBranchStyle();
7431 wxPyEndAllowThreads(__tstate
);
7432 if (PyErr_Occurred()) SWIG_fail
;
7434 resultobj
= SWIG_PyObj_FromLong((long)result
);
7441 static PyObject
*_wrap_PyShape_PhysicalToLogicalAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7442 PyObject
*resultobj
;
7443 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7446 PyObject
* obj0
= 0 ;
7447 PyObject
* obj1
= 0 ;
7449 (char *) "self",(char *) "physicalAttachment", NULL
7452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_PhysicalToLogicalAttachment",kwnames
,&obj0
,&obj1
)) goto fail
;
7453 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7455 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7456 if (PyErr_Occurred()) SWIG_fail
;
7459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7460 result
= (int)(arg1
)->PhysicalToLogicalAttachment(arg2
);
7462 wxPyEndAllowThreads(__tstate
);
7463 if (PyErr_Occurred()) SWIG_fail
;
7465 resultobj
= SWIG_PyObj_FromInt((int)result
);
7472 static PyObject
*_wrap_PyShape_LogicalToPhysicalAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7473 PyObject
*resultobj
;
7474 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7477 PyObject
* obj0
= 0 ;
7478 PyObject
* obj1
= 0 ;
7480 (char *) "self",(char *) "logicalAttachment", NULL
7483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_LogicalToPhysicalAttachment",kwnames
,&obj0
,&obj1
)) goto fail
;
7484 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7486 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7487 if (PyErr_Occurred()) SWIG_fail
;
7490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7491 result
= (int)(arg1
)->LogicalToPhysicalAttachment(arg2
);
7493 wxPyEndAllowThreads(__tstate
);
7494 if (PyErr_Occurred()) SWIG_fail
;
7496 resultobj
= SWIG_PyObj_FromInt((int)result
);
7503 static PyObject
*_wrap_PyShape_Draggable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7504 PyObject
*resultobj
;
7505 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7507 PyObject
* obj0
= 0 ;
7509 (char *) "self", NULL
7512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Draggable",kwnames
,&obj0
)) goto fail
;
7513 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7516 result
= (bool)(arg1
)->Draggable();
7518 wxPyEndAllowThreads(__tstate
);
7519 if (PyErr_Occurred()) SWIG_fail
;
7521 resultobj
= SWIG_PyObj_FromBool((bool)result
);
7528 static PyObject
*_wrap_PyShape_HasDescendant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7529 PyObject
*resultobj
;
7530 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7531 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
7533 PyObject
* obj0
= 0 ;
7534 PyObject
* obj1
= 0 ;
7536 (char *) "self",(char *) "image", NULL
7539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_HasDescendant",kwnames
,&obj0
,&obj1
)) goto fail
;
7540 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7541 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7544 result
= (bool)(arg1
)->HasDescendant(arg2
);
7546 wxPyEndAllowThreads(__tstate
);
7547 if (PyErr_Occurred()) SWIG_fail
;
7549 resultobj
= SWIG_PyObj_FromBool((bool)result
);
7556 static PyObject
*_wrap_PyShape_CreateNewCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7557 PyObject
*resultobj
;
7558 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7559 bool arg2
= (bool) True
;
7560 bool arg3
= (bool) True
;
7562 PyObject
* obj0
= 0 ;
7563 PyObject
* obj1
= 0 ;
7564 PyObject
* obj2
= 0 ;
7566 (char *) "self",(char *) "resetMapping",(char *) "recompute", NULL
7569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyShape_CreateNewCopy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7570 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7573 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
7574 if (PyErr_Occurred()) SWIG_fail
;
7579 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
7580 if (PyErr_Occurred()) SWIG_fail
;
7584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7585 result
= (wxPyShape
*)(arg1
)->CreateNewCopy(arg2
,arg3
);
7587 wxPyEndAllowThreads(__tstate
);
7588 if (PyErr_Occurred()) SWIG_fail
;
7591 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
7599 static PyObject
*_wrap_PyShape_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7600 PyObject
*resultobj
;
7601 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7602 wxPyShape
*arg2
= 0 ;
7603 PyObject
* obj0
= 0 ;
7604 PyObject
* obj1
= 0 ;
7606 (char *) "self",(char *) "copy", NULL
7609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Copy",kwnames
,&obj0
,&obj1
)) goto fail
;
7610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7611 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7613 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7617 (arg1
)->Copy(*arg2
);
7619 wxPyEndAllowThreads(__tstate
);
7620 if (PyErr_Occurred()) SWIG_fail
;
7622 Py_INCREF(Py_None
); resultobj
= Py_None
;
7629 static PyObject
*_wrap_PyShape_CopyWithHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7630 PyObject
*resultobj
;
7631 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7632 wxPyShape
*arg2
= 0 ;
7633 PyObject
* obj0
= 0 ;
7634 PyObject
* obj1
= 0 ;
7636 (char *) "self",(char *) "copy", NULL
7639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_CopyWithHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
7640 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7641 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7643 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7647 (arg1
)->CopyWithHandler(*arg2
);
7649 wxPyEndAllowThreads(__tstate
);
7650 if (PyErr_Occurred()) SWIG_fail
;
7652 Py_INCREF(Py_None
); resultobj
= Py_None
;
7659 static PyObject
*_wrap_PyShape_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7660 PyObject
*resultobj
;
7661 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7665 PyObject
* obj0
= 0 ;
7666 PyObject
* obj1
= 0 ;
7667 PyObject
* obj2
= 0 ;
7668 PyObject
* obj3
= 0 ;
7670 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
7673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyShape_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7676 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
7677 if (PyErr_Occurred()) SWIG_fail
;
7680 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
7681 if (PyErr_Occurred()) SWIG_fail
;
7684 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
7685 if (PyErr_Occurred()) SWIG_fail
;
7688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7689 (arg1
)->Rotate(arg2
,arg3
,arg4
);
7691 wxPyEndAllowThreads(__tstate
);
7692 if (PyErr_Occurred()) SWIG_fail
;
7694 Py_INCREF(Py_None
); resultobj
= Py_None
;
7701 static PyObject
*_wrap_PyShape_GetRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7702 PyObject
*resultobj
;
7703 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7705 PyObject
* obj0
= 0 ;
7707 (char *) "self", NULL
7710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetRotation",kwnames
,&obj0
)) goto fail
;
7711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7714 result
= (double)(arg1
)->GetRotation();
7716 wxPyEndAllowThreads(__tstate
);
7717 if (PyErr_Occurred()) SWIG_fail
;
7719 resultobj
= SWIG_PyObj_FromDouble((double)result
);
7726 static PyObject
*_wrap_PyShape_SetRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7727 PyObject
*resultobj
;
7728 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7730 PyObject
* obj0
= 0 ;
7731 PyObject
* obj1
= 0 ;
7733 (char *) "self",(char *) "rotation", NULL
7736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetRotation",kwnames
,&obj0
,&obj1
)) goto fail
;
7737 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7739 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
7740 if (PyErr_Occurred()) SWIG_fail
;
7743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7744 (arg1
)->SetRotation(arg2
);
7746 wxPyEndAllowThreads(__tstate
);
7747 if (PyErr_Occurred()) SWIG_fail
;
7749 Py_INCREF(Py_None
); resultobj
= Py_None
;
7756 static PyObject
*_wrap_PyShape_ClearAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7757 PyObject
*resultobj
;
7758 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7759 PyObject
* obj0
= 0 ;
7761 (char *) "self", NULL
7764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_ClearAttachments",kwnames
,&obj0
)) goto fail
;
7765 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7768 (arg1
)->ClearAttachments();
7770 wxPyEndAllowThreads(__tstate
);
7771 if (PyErr_Occurred()) SWIG_fail
;
7773 Py_INCREF(Py_None
); resultobj
= Py_None
;
7780 static PyObject
*_wrap_PyShape_Recentre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7781 PyObject
*resultobj
;
7782 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7784 PyObject
* obj0
= 0 ;
7785 PyObject
* obj1
= 0 ;
7787 (char *) "self",(char *) "dc", NULL
7790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Recentre",kwnames
,&obj0
,&obj1
)) goto fail
;
7791 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7792 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7794 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7798 (arg1
)->Recentre(*arg2
);
7800 wxPyEndAllowThreads(__tstate
);
7801 if (PyErr_Occurred()) SWIG_fail
;
7803 Py_INCREF(Py_None
); resultobj
= Py_None
;
7810 static PyObject
*_wrap_PyShape_ClearPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7811 PyObject
*resultobj
;
7812 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7814 PyObject
* obj0
= 0 ;
7815 PyObject
* obj1
= 0 ;
7817 (char *) "self",(char *) "list", NULL
7820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_ClearPointList",kwnames
,&obj0
,&obj1
)) goto fail
;
7821 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7822 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7824 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7828 (arg1
)->ClearPointList(*arg2
);
7830 wxPyEndAllowThreads(__tstate
);
7831 if (PyErr_Occurred()) SWIG_fail
;
7833 Py_INCREF(Py_None
); resultobj
= Py_None
;
7840 static PyObject
*_wrap_PyShape_GetBackgroundPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7841 PyObject
*resultobj
;
7842 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7844 PyObject
* obj0
= 0 ;
7846 (char *) "self", NULL
7849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBackgroundPen",kwnames
,&obj0
)) goto fail
;
7850 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7853 result
= (arg1
)->GetBackgroundPen();
7855 wxPyEndAllowThreads(__tstate
);
7856 if (PyErr_Occurred()) SWIG_fail
;
7860 resultptr
= new wxPen((wxPen
&) result
);
7861 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPen
, 1);
7869 static PyObject
*_wrap_PyShape_GetBackgroundBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7870 PyObject
*resultobj
;
7871 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7873 PyObject
* obj0
= 0 ;
7875 (char *) "self", NULL
7878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBackgroundBrush",kwnames
,&obj0
)) goto fail
;
7879 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7882 result
= (arg1
)->GetBackgroundBrush();
7884 wxPyEndAllowThreads(__tstate
);
7885 if (PyErr_Occurred()) SWIG_fail
;
7888 wxBrush
* resultptr
;
7889 resultptr
= new wxBrush((wxBrush
&) result
);
7890 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBrush
, 1);
7898 static PyObject
*_wrap_PyShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7899 PyObject
*resultobj
;
7900 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7901 PyObject
* obj0
= 0 ;
7903 (char *) "self", NULL
7906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
7907 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7910 (arg1
)->base_OnDelete();
7912 wxPyEndAllowThreads(__tstate
);
7913 if (PyErr_Occurred()) SWIG_fail
;
7915 Py_INCREF(Py_None
); resultobj
= Py_None
;
7922 static PyObject
*_wrap_PyShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7923 PyObject
*resultobj
;
7924 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7926 PyObject
* obj0
= 0 ;
7927 PyObject
* obj1
= 0 ;
7929 (char *) "self",(char *) "dc", NULL
7932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
7933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7934 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7936 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7940 (arg1
)->base_OnDraw(*arg2
);
7942 wxPyEndAllowThreads(__tstate
);
7943 if (PyErr_Occurred()) SWIG_fail
;
7945 Py_INCREF(Py_None
); resultobj
= Py_None
;
7952 static PyObject
*_wrap_PyShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7953 PyObject
*resultobj
;
7954 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7956 PyObject
* obj0
= 0 ;
7957 PyObject
* obj1
= 0 ;
7959 (char *) "self",(char *) "dc", NULL
7962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
7963 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7964 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7966 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7970 (arg1
)->base_OnDrawContents(*arg2
);
7972 wxPyEndAllowThreads(__tstate
);
7973 if (PyErr_Occurred()) SWIG_fail
;
7975 Py_INCREF(Py_None
); resultobj
= Py_None
;
7982 static PyObject
*_wrap_PyShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7983 PyObject
*resultobj
;
7984 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7986 bool arg3
= (bool) False
;
7987 PyObject
* obj0
= 0 ;
7988 PyObject
* obj1
= 0 ;
7989 PyObject
* obj2
= 0 ;
7991 (char *) "self",(char *) "dc",(char *) "erase", NULL
7994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7995 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7996 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7998 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8002 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
8003 if (PyErr_Occurred()) SWIG_fail
;
8007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8008 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
8010 wxPyEndAllowThreads(__tstate
);
8011 if (PyErr_Occurred()) SWIG_fail
;
8013 Py_INCREF(Py_None
); resultobj
= Py_None
;
8020 static PyObject
*_wrap_PyShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8021 PyObject
*resultobj
;
8022 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8024 PyObject
* obj0
= 0 ;
8025 PyObject
* obj1
= 0 ;
8027 (char *) "self",(char *) "dc", NULL
8030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
8031 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8032 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8034 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8038 (arg1
)->base_OnMoveLinks(*arg2
);
8040 wxPyEndAllowThreads(__tstate
);
8041 if (PyErr_Occurred()) SWIG_fail
;
8043 Py_INCREF(Py_None
); resultobj
= Py_None
;
8050 static PyObject
*_wrap_PyShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8051 PyObject
*resultobj
;
8052 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8054 PyObject
* obj0
= 0 ;
8055 PyObject
* obj1
= 0 ;
8057 (char *) "self",(char *) "dc", NULL
8060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
8061 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8062 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8064 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8068 (arg1
)->base_OnErase(*arg2
);
8070 wxPyEndAllowThreads(__tstate
);
8071 if (PyErr_Occurred()) SWIG_fail
;
8073 Py_INCREF(Py_None
); resultobj
= Py_None
;
8080 static PyObject
*_wrap_PyShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8081 PyObject
*resultobj
;
8082 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8084 PyObject
* obj0
= 0 ;
8085 PyObject
* obj1
= 0 ;
8087 (char *) "self",(char *) "dc", NULL
8090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
8091 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8092 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8094 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8098 (arg1
)->base_OnEraseContents(*arg2
);
8100 wxPyEndAllowThreads(__tstate
);
8101 if (PyErr_Occurred()) SWIG_fail
;
8103 Py_INCREF(Py_None
); resultobj
= Py_None
;
8110 static PyObject
*_wrap_PyShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8111 PyObject
*resultobj
;
8112 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8114 PyObject
* obj0
= 0 ;
8115 PyObject
* obj1
= 0 ;
8117 (char *) "self",(char *) "dc", NULL
8120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
8121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8122 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8124 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8128 (arg1
)->base_OnHighlight(*arg2
);
8130 wxPyEndAllowThreads(__tstate
);
8131 if (PyErr_Occurred()) SWIG_fail
;
8133 Py_INCREF(Py_None
); resultobj
= Py_None
;
8140 static PyObject
*_wrap_PyShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8141 PyObject
*resultobj
;
8142 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8145 int arg4
= (int) 0 ;
8146 int arg5
= (int) 0 ;
8147 PyObject
* obj0
= 0 ;
8148 PyObject
* obj1
= 0 ;
8149 PyObject
* obj2
= 0 ;
8150 PyObject
* obj3
= 0 ;
8151 PyObject
* obj4
= 0 ;
8153 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8157 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8159 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
8160 if (PyErr_Occurred()) SWIG_fail
;
8163 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
8164 if (PyErr_Occurred()) SWIG_fail
;
8168 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
8169 if (PyErr_Occurred()) SWIG_fail
;
8174 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
8175 if (PyErr_Occurred()) SWIG_fail
;
8179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8180 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
8182 wxPyEndAllowThreads(__tstate
);
8183 if (PyErr_Occurred()) SWIG_fail
;
8185 Py_INCREF(Py_None
); resultobj
= Py_None
;
8192 static PyObject
*_wrap_PyShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8193 PyObject
*resultobj
;
8194 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8197 int arg4
= (int) 0 ;
8198 int arg5
= (int) 0 ;
8199 PyObject
* obj0
= 0 ;
8200 PyObject
* obj1
= 0 ;
8201 PyObject
* obj2
= 0 ;
8202 PyObject
* obj3
= 0 ;
8203 PyObject
* obj4
= 0 ;
8205 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8209 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8211 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
8212 if (PyErr_Occurred()) SWIG_fail
;
8215 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
8216 if (PyErr_Occurred()) SWIG_fail
;
8220 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
8221 if (PyErr_Occurred()) SWIG_fail
;
8226 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
8227 if (PyErr_Occurred()) SWIG_fail
;
8231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8232 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
8234 wxPyEndAllowThreads(__tstate
);
8235 if (PyErr_Occurred()) SWIG_fail
;
8237 Py_INCREF(Py_None
); resultobj
= Py_None
;
8244 static PyObject
*_wrap_PyShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8245 PyObject
*resultobj
;
8246 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8249 int arg4
= (int) 0 ;
8250 int arg5
= (int) 0 ;
8251 PyObject
* obj0
= 0 ;
8252 PyObject
* obj1
= 0 ;
8253 PyObject
* obj2
= 0 ;
8254 PyObject
* obj3
= 0 ;
8255 PyObject
* obj4
= 0 ;
8257 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8261 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8263 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
8264 if (PyErr_Occurred()) SWIG_fail
;
8267 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
8268 if (PyErr_Occurred()) SWIG_fail
;
8272 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
8273 if (PyErr_Occurred()) SWIG_fail
;
8278 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
8279 if (PyErr_Occurred()) SWIG_fail
;
8283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8284 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
8286 wxPyEndAllowThreads(__tstate
);
8287 if (PyErr_Occurred()) SWIG_fail
;
8289 Py_INCREF(Py_None
); resultobj
= Py_None
;
8296 static PyObject
*_wrap_PyShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8297 PyObject
*resultobj
;
8298 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8301 PyObject
* obj0
= 0 ;
8302 PyObject
* obj1
= 0 ;
8303 PyObject
* obj2
= 0 ;
8305 (char *) "self",(char *) "x",(char *) "y", NULL
8308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8309 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8311 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
8312 if (PyErr_Occurred()) SWIG_fail
;
8315 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
8316 if (PyErr_Occurred()) SWIG_fail
;
8319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8320 (arg1
)->base_OnSize(arg2
,arg3
);
8322 wxPyEndAllowThreads(__tstate
);
8323 if (PyErr_Occurred()) SWIG_fail
;
8325 Py_INCREF(Py_None
); resultobj
= Py_None
;
8332 static PyObject
*_wrap_PyShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8333 PyObject
*resultobj
;
8334 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8340 bool arg7
= (bool) True
;
8342 PyObject
* obj0
= 0 ;
8343 PyObject
* obj1
= 0 ;
8344 PyObject
* obj2
= 0 ;
8345 PyObject
* obj3
= 0 ;
8346 PyObject
* obj4
= 0 ;
8347 PyObject
* obj5
= 0 ;
8348 PyObject
* obj6
= 0 ;
8350 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
8353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8354 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8355 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8357 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8360 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
8361 if (PyErr_Occurred()) SWIG_fail
;
8364 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
8365 if (PyErr_Occurred()) SWIG_fail
;
8368 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
8369 if (PyErr_Occurred()) SWIG_fail
;
8372 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
8373 if (PyErr_Occurred()) SWIG_fail
;
8377 arg7
= (bool) SWIG_PyObj_AsBool(obj6
);
8378 if (PyErr_Occurred()) SWIG_fail
;
8382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8383 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8385 wxPyEndAllowThreads(__tstate
);
8386 if (PyErr_Occurred()) SWIG_fail
;
8388 resultobj
= SWIG_PyObj_FromBool((bool)result
);
8395 static PyObject
*_wrap_PyShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8396 PyObject
*resultobj
;
8397 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8403 bool arg7
= (bool) True
;
8404 PyObject
* obj0
= 0 ;
8405 PyObject
* obj1
= 0 ;
8406 PyObject
* obj2
= 0 ;
8407 PyObject
* obj3
= 0 ;
8408 PyObject
* obj4
= 0 ;
8409 PyObject
* obj5
= 0 ;
8410 PyObject
* obj6
= 0 ;
8412 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
8415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8416 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8417 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8419 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8422 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
8423 if (PyErr_Occurred()) SWIG_fail
;
8426 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
8427 if (PyErr_Occurred()) SWIG_fail
;
8430 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
8431 if (PyErr_Occurred()) SWIG_fail
;
8434 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
8435 if (PyErr_Occurred()) SWIG_fail
;
8439 arg7
= (bool) SWIG_PyObj_AsBool(obj6
);
8440 if (PyErr_Occurred()) SWIG_fail
;
8444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8445 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8447 wxPyEndAllowThreads(__tstate
);
8448 if (PyErr_Occurred()) SWIG_fail
;
8450 Py_INCREF(Py_None
); resultobj
= Py_None
;
8457 static PyObject
*_wrap_PyShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8458 PyObject
*resultobj
;
8459 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8463 int arg5
= (int) 0 ;
8464 int arg6
= (int) 0 ;
8465 PyObject
* obj0
= 0 ;
8466 PyObject
* obj1
= 0 ;
8467 PyObject
* obj2
= 0 ;
8468 PyObject
* obj3
= 0 ;
8469 PyObject
* obj4
= 0 ;
8470 PyObject
* obj5
= 0 ;
8472 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8476 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8478 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
8479 if (PyErr_Occurred()) SWIG_fail
;
8482 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
8483 if (PyErr_Occurred()) SWIG_fail
;
8486 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
8487 if (PyErr_Occurred()) SWIG_fail
;
8491 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
8492 if (PyErr_Occurred()) SWIG_fail
;
8497 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
8498 if (PyErr_Occurred()) SWIG_fail
;
8502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8503 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
8505 wxPyEndAllowThreads(__tstate
);
8506 if (PyErr_Occurred()) SWIG_fail
;
8508 Py_INCREF(Py_None
); resultobj
= Py_None
;
8515 static PyObject
*_wrap_PyShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8516 PyObject
*resultobj
;
8517 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8520 int arg4
= (int) 0 ;
8521 int arg5
= (int) 0 ;
8522 PyObject
* obj0
= 0 ;
8523 PyObject
* obj1
= 0 ;
8524 PyObject
* obj2
= 0 ;
8525 PyObject
* obj3
= 0 ;
8526 PyObject
* obj4
= 0 ;
8528 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8532 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8534 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
8535 if (PyErr_Occurred()) SWIG_fail
;
8538 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
8539 if (PyErr_Occurred()) SWIG_fail
;
8543 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
8544 if (PyErr_Occurred()) SWIG_fail
;
8549 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
8550 if (PyErr_Occurred()) SWIG_fail
;
8554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8555 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
8557 wxPyEndAllowThreads(__tstate
);
8558 if (PyErr_Occurred()) SWIG_fail
;
8560 Py_INCREF(Py_None
); resultobj
= Py_None
;
8567 static PyObject
*_wrap_PyShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8568 PyObject
*resultobj
;
8569 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8572 int arg4
= (int) 0 ;
8573 int arg5
= (int) 0 ;
8574 PyObject
* obj0
= 0 ;
8575 PyObject
* obj1
= 0 ;
8576 PyObject
* obj2
= 0 ;
8577 PyObject
* obj3
= 0 ;
8578 PyObject
* obj4
= 0 ;
8580 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8584 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8586 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
8587 if (PyErr_Occurred()) SWIG_fail
;
8590 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
8591 if (PyErr_Occurred()) SWIG_fail
;
8595 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
8596 if (PyErr_Occurred()) SWIG_fail
;
8601 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
8602 if (PyErr_Occurred()) SWIG_fail
;
8606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8607 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
8609 wxPyEndAllowThreads(__tstate
);
8610 if (PyErr_Occurred()) SWIG_fail
;
8612 Py_INCREF(Py_None
); resultobj
= Py_None
;
8619 static PyObject
*_wrap_PyShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8620 PyObject
*resultobj
;
8621 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8625 int arg5
= (int) 0 ;
8626 int arg6
= (int) 0 ;
8627 PyObject
* obj0
= 0 ;
8628 PyObject
* obj1
= 0 ;
8629 PyObject
* obj2
= 0 ;
8630 PyObject
* obj3
= 0 ;
8631 PyObject
* obj4
= 0 ;
8632 PyObject
* obj5
= 0 ;
8634 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8638 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8640 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
8641 if (PyErr_Occurred()) SWIG_fail
;
8644 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
8645 if (PyErr_Occurred()) SWIG_fail
;
8648 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
8649 if (PyErr_Occurred()) SWIG_fail
;
8653 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
8654 if (PyErr_Occurred()) SWIG_fail
;
8659 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
8660 if (PyErr_Occurred()) SWIG_fail
;
8664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8665 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
8667 wxPyEndAllowThreads(__tstate
);
8668 if (PyErr_Occurred()) SWIG_fail
;
8670 Py_INCREF(Py_None
); resultobj
= Py_None
;
8677 static PyObject
*_wrap_PyShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8678 PyObject
*resultobj
;
8679 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8682 int arg4
= (int) 0 ;
8683 int arg5
= (int) 0 ;
8684 PyObject
* obj0
= 0 ;
8685 PyObject
* obj1
= 0 ;
8686 PyObject
* obj2
= 0 ;
8687 PyObject
* obj3
= 0 ;
8688 PyObject
* obj4
= 0 ;
8690 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8694 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8696 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
8697 if (PyErr_Occurred()) SWIG_fail
;
8700 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
8701 if (PyErr_Occurred()) SWIG_fail
;
8705 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
8706 if (PyErr_Occurred()) SWIG_fail
;
8711 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
8712 if (PyErr_Occurred()) SWIG_fail
;
8716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8717 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
8719 wxPyEndAllowThreads(__tstate
);
8720 if (PyErr_Occurred()) SWIG_fail
;
8722 Py_INCREF(Py_None
); resultobj
= Py_None
;
8729 static PyObject
*_wrap_PyShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8730 PyObject
*resultobj
;
8731 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8734 int arg4
= (int) 0 ;
8735 int arg5
= (int) 0 ;
8736 PyObject
* obj0
= 0 ;
8737 PyObject
* obj1
= 0 ;
8738 PyObject
* obj2
= 0 ;
8739 PyObject
* obj3
= 0 ;
8740 PyObject
* obj4
= 0 ;
8742 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8746 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8748 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
8749 if (PyErr_Occurred()) SWIG_fail
;
8752 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
8753 if (PyErr_Occurred()) SWIG_fail
;
8757 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
8758 if (PyErr_Occurred()) SWIG_fail
;
8763 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
8764 if (PyErr_Occurred()) SWIG_fail
;
8768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8769 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
8771 wxPyEndAllowThreads(__tstate
);
8772 if (PyErr_Occurred()) SWIG_fail
;
8774 Py_INCREF(Py_None
); resultobj
= Py_None
;
8781 static PyObject
*_wrap_PyShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8782 PyObject
*resultobj
;
8783 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8789 PyObject
* obj0
= 0 ;
8790 PyObject
* obj1
= 0 ;
8791 PyObject
* obj2
= 0 ;
8792 PyObject
* obj3
= 0 ;
8793 PyObject
* obj4
= 0 ;
8794 PyObject
* obj5
= 0 ;
8796 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
8799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8800 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8801 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8803 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8806 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
8807 if (PyErr_Occurred()) SWIG_fail
;
8810 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
8811 if (PyErr_Occurred()) SWIG_fail
;
8814 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
8815 if (PyErr_Occurred()) SWIG_fail
;
8818 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
8819 if (PyErr_Occurred()) SWIG_fail
;
8822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8823 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
8825 wxPyEndAllowThreads(__tstate
);
8826 if (PyErr_Occurred()) SWIG_fail
;
8828 Py_INCREF(Py_None
); resultobj
= Py_None
;
8835 static PyObject
*_wrap_PyShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8836 PyObject
*resultobj
;
8837 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8839 PyObject
* obj0
= 0 ;
8840 PyObject
* obj1
= 0 ;
8842 (char *) "self",(char *) "dc", NULL
8845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
8846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8847 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8849 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8853 (arg1
)->base_OnDrawControlPoints(*arg2
);
8855 wxPyEndAllowThreads(__tstate
);
8856 if (PyErr_Occurred()) SWIG_fail
;
8858 Py_INCREF(Py_None
); resultobj
= Py_None
;
8865 static PyObject
*_wrap_PyShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8866 PyObject
*resultobj
;
8867 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8869 PyObject
* obj0
= 0 ;
8870 PyObject
* obj1
= 0 ;
8872 (char *) "self",(char *) "dc", NULL
8875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
8876 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8877 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8879 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8883 (arg1
)->base_OnEraseControlPoints(*arg2
);
8885 wxPyEndAllowThreads(__tstate
);
8886 if (PyErr_Occurred()) SWIG_fail
;
8888 Py_INCREF(Py_None
); resultobj
= Py_None
;
8895 static PyObject
*_wrap_PyShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8896 PyObject
*resultobj
;
8897 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8899 bool arg3
= (bool) True
;
8900 PyObject
* obj0
= 0 ;
8901 PyObject
* obj1
= 0 ;
8902 PyObject
* obj2
= 0 ;
8904 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
8907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8909 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8911 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8915 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
8916 if (PyErr_Occurred()) SWIG_fail
;
8920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8921 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
8923 wxPyEndAllowThreads(__tstate
);
8924 if (PyErr_Occurred()) SWIG_fail
;
8926 Py_INCREF(Py_None
); resultobj
= Py_None
;
8933 static PyObject
*_wrap_PyShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8934 PyObject
*resultobj
;
8935 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8936 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
8940 int arg6
= (int) 0 ;
8941 int arg7
= (int) 0 ;
8942 PyObject
* obj0
= 0 ;
8943 PyObject
* obj1
= 0 ;
8944 PyObject
* obj2
= 0 ;
8945 PyObject
* obj3
= 0 ;
8946 PyObject
* obj4
= 0 ;
8947 PyObject
* obj5
= 0 ;
8948 PyObject
* obj6
= 0 ;
8950 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8954 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8955 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8957 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
8958 if (PyErr_Occurred()) SWIG_fail
;
8961 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
8962 if (PyErr_Occurred()) SWIG_fail
;
8965 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
8966 if (PyErr_Occurred()) SWIG_fail
;
8970 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
8971 if (PyErr_Occurred()) SWIG_fail
;
8976 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
8977 if (PyErr_Occurred()) SWIG_fail
;
8981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8982 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8984 wxPyEndAllowThreads(__tstate
);
8985 if (PyErr_Occurred()) SWIG_fail
;
8987 Py_INCREF(Py_None
); resultobj
= Py_None
;
8994 static PyObject
*_wrap_PyShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8995 PyObject
*resultobj
;
8996 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8997 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
9000 int arg5
= (int) 0 ;
9001 int arg6
= (int) 0 ;
9002 PyObject
* obj0
= 0 ;
9003 PyObject
* obj1
= 0 ;
9004 PyObject
* obj2
= 0 ;
9005 PyObject
* obj3
= 0 ;
9006 PyObject
* obj4
= 0 ;
9007 PyObject
* obj5
= 0 ;
9009 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9014 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9016 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
9017 if (PyErr_Occurred()) SWIG_fail
;
9020 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
9021 if (PyErr_Occurred()) SWIG_fail
;
9025 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
9026 if (PyErr_Occurred()) SWIG_fail
;
9031 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
9032 if (PyErr_Occurred()) SWIG_fail
;
9036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9037 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
9039 wxPyEndAllowThreads(__tstate
);
9040 if (PyErr_Occurred()) SWIG_fail
;
9042 Py_INCREF(Py_None
); resultobj
= Py_None
;
9049 static PyObject
*_wrap_PyShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9050 PyObject
*resultobj
;
9051 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
9052 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
9055 int arg5
= (int) 0 ;
9056 int arg6
= (int) 0 ;
9057 PyObject
* obj0
= 0 ;
9058 PyObject
* obj1
= 0 ;
9059 PyObject
* obj2
= 0 ;
9060 PyObject
* obj3
= 0 ;
9061 PyObject
* obj4
= 0 ;
9062 PyObject
* obj5
= 0 ;
9064 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9069 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9071 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
9072 if (PyErr_Occurred()) SWIG_fail
;
9075 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
9076 if (PyErr_Occurred()) SWIG_fail
;
9080 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
9081 if (PyErr_Occurred()) SWIG_fail
;
9086 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
9087 if (PyErr_Occurred()) SWIG_fail
;
9091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9092 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
9094 wxPyEndAllowThreads(__tstate
);
9095 if (PyErr_Occurred()) SWIG_fail
;
9097 Py_INCREF(Py_None
); resultobj
= Py_None
;
9104 static PyObject
*_wrap_PyShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9105 PyObject
*resultobj
;
9106 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
9109 PyObject
* obj0
= 0 ;
9110 PyObject
* obj1
= 0 ;
9111 PyObject
* obj2
= 0 ;
9113 (char *) "self",(char *) "w",(char *) "h", NULL
9116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9119 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
9120 if (PyErr_Occurred()) SWIG_fail
;
9123 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
9124 if (PyErr_Occurred()) SWIG_fail
;
9127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9128 (arg1
)->base_OnBeginSize(arg2
,arg3
);
9130 wxPyEndAllowThreads(__tstate
);
9131 if (PyErr_Occurred()) SWIG_fail
;
9133 Py_INCREF(Py_None
); resultobj
= Py_None
;
9140 static PyObject
*_wrap_PyShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9141 PyObject
*resultobj
;
9142 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
9145 PyObject
* obj0
= 0 ;
9146 PyObject
* obj1
= 0 ;
9147 PyObject
* obj2
= 0 ;
9149 (char *) "self",(char *) "w",(char *) "h", NULL
9152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9153 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9155 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
9156 if (PyErr_Occurred()) SWIG_fail
;
9159 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
9160 if (PyErr_Occurred()) SWIG_fail
;
9163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9164 (arg1
)->base_OnEndSize(arg2
,arg3
);
9166 wxPyEndAllowThreads(__tstate
);
9167 if (PyErr_Occurred()) SWIG_fail
;
9169 Py_INCREF(Py_None
); resultobj
= Py_None
;
9176 static PyObject
* PyShape_swigregister(PyObject
*self
, PyObject
*args
) {
9178 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9179 SWIG_TypeClientData(SWIGTYPE_p_wxPyShape
, obj
);
9181 return Py_BuildValue((char *)"");
9183 static PyObject
*_wrap_new_PseudoMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9184 PyObject
*resultobj
;
9185 wxPseudoMetaFile
*result
;
9190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PseudoMetaFile",kwnames
)) goto fail
;
9192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9193 result
= (wxPseudoMetaFile
*)new wxPseudoMetaFile();
9195 wxPyEndAllowThreads(__tstate
);
9196 if (PyErr_Occurred()) SWIG_fail
;
9199 resultobj
= wxPyMake_wxObject(result
);
9207 static PyObject
*_wrap_delete_PseudoMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9208 PyObject
*resultobj
;
9209 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9210 PyObject
* obj0
= 0 ;
9212 (char *) "self", NULL
9215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PseudoMetaFile",kwnames
,&obj0
)) goto fail
;
9216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9221 wxPyEndAllowThreads(__tstate
);
9222 if (PyErr_Occurred()) SWIG_fail
;
9224 Py_INCREF(Py_None
); resultobj
= Py_None
;
9231 static PyObject
*_wrap_PseudoMetaFile_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9232 PyObject
*resultobj
;
9233 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9237 PyObject
* obj0
= 0 ;
9238 PyObject
* obj1
= 0 ;
9239 PyObject
* obj2
= 0 ;
9240 PyObject
* obj3
= 0 ;
9242 (char *) "self",(char *) "dc",(char *) "xoffset",(char *) "yoffset", NULL
9245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoMetaFile_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9247 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9249 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9252 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
9253 if (PyErr_Occurred()) SWIG_fail
;
9256 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
9257 if (PyErr_Occurred()) SWIG_fail
;
9260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9261 (arg1
)->Draw(*arg2
,arg3
,arg4
);
9263 wxPyEndAllowThreads(__tstate
);
9264 if (PyErr_Occurred()) SWIG_fail
;
9266 Py_INCREF(Py_None
); resultobj
= Py_None
;
9273 static PyObject
*_wrap_PseudoMetaFile_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9274 PyObject
*resultobj
;
9275 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9276 PyObject
* obj0
= 0 ;
9278 (char *) "self", NULL
9281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_Clear",kwnames
,&obj0
)) goto fail
;
9282 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9287 wxPyEndAllowThreads(__tstate
);
9288 if (PyErr_Occurred()) SWIG_fail
;
9290 Py_INCREF(Py_None
); resultobj
= Py_None
;
9297 static PyObject
*_wrap_PseudoMetaFile_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9298 PyObject
*resultobj
;
9299 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9300 wxPseudoMetaFile
*arg2
= 0 ;
9301 PyObject
* obj0
= 0 ;
9302 PyObject
* obj1
= 0 ;
9304 (char *) "self",(char *) "copy", NULL
9307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_Copy",kwnames
,&obj0
,&obj1
)) goto fail
;
9308 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9309 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9311 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9315 (arg1
)->Copy(*arg2
);
9317 wxPyEndAllowThreads(__tstate
);
9318 if (PyErr_Occurred()) SWIG_fail
;
9320 Py_INCREF(Py_None
); resultobj
= Py_None
;
9327 static PyObject
*_wrap_PseudoMetaFile_Scale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9328 PyObject
*resultobj
;
9329 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9332 PyObject
* obj0
= 0 ;
9333 PyObject
* obj1
= 0 ;
9334 PyObject
* obj2
= 0 ;
9336 (char *) "self",(char *) "sx",(char *) "sy", NULL
9339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9340 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9342 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
9343 if (PyErr_Occurred()) SWIG_fail
;
9346 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
9347 if (PyErr_Occurred()) SWIG_fail
;
9350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9351 (arg1
)->Scale(arg2
,arg3
);
9353 wxPyEndAllowThreads(__tstate
);
9354 if (PyErr_Occurred()) SWIG_fail
;
9356 Py_INCREF(Py_None
); resultobj
= Py_None
;
9363 static PyObject
*_wrap_PseudoMetaFile_ScaleTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9364 PyObject
*resultobj
;
9365 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9368 PyObject
* obj0
= 0 ;
9369 PyObject
* obj1
= 0 ;
9370 PyObject
* obj2
= 0 ;
9372 (char *) "self",(char *) "w",(char *) "h", NULL
9375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_ScaleTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9376 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9378 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
9379 if (PyErr_Occurred()) SWIG_fail
;
9382 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
9383 if (PyErr_Occurred()) SWIG_fail
;
9386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9387 (arg1
)->ScaleTo(arg2
,arg3
);
9389 wxPyEndAllowThreads(__tstate
);
9390 if (PyErr_Occurred()) SWIG_fail
;
9392 Py_INCREF(Py_None
); resultobj
= Py_None
;
9399 static PyObject
*_wrap_PseudoMetaFile_Translate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9400 PyObject
*resultobj
;
9401 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9404 PyObject
* obj0
= 0 ;
9405 PyObject
* obj1
= 0 ;
9406 PyObject
* obj2
= 0 ;
9408 (char *) "self",(char *) "x",(char *) "y", NULL
9411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9412 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9414 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
9415 if (PyErr_Occurred()) SWIG_fail
;
9418 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
9419 if (PyErr_Occurred()) SWIG_fail
;
9422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9423 (arg1
)->Translate(arg2
,arg3
);
9425 wxPyEndAllowThreads(__tstate
);
9426 if (PyErr_Occurred()) SWIG_fail
;
9428 Py_INCREF(Py_None
); resultobj
= Py_None
;
9435 static PyObject
*_wrap_PseudoMetaFile_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9436 PyObject
*resultobj
;
9437 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9441 PyObject
* obj0
= 0 ;
9442 PyObject
* obj1
= 0 ;
9443 PyObject
* obj2
= 0 ;
9444 PyObject
* obj3
= 0 ;
9446 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
9449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoMetaFile_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9450 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9452 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
9453 if (PyErr_Occurred()) SWIG_fail
;
9456 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
9457 if (PyErr_Occurred()) SWIG_fail
;
9460 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
9461 if (PyErr_Occurred()) SWIG_fail
;
9464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9465 (arg1
)->Rotate(arg2
,arg3
,arg4
);
9467 wxPyEndAllowThreads(__tstate
);
9468 if (PyErr_Occurred()) SWIG_fail
;
9470 Py_INCREF(Py_None
); resultobj
= Py_None
;
9477 static PyObject
*_wrap_PseudoMetaFile_LoadFromMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9478 PyObject
*resultobj
;
9479 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9480 wxString
*arg2
= 0 ;
9481 double *arg3
= (double *) 0 ;
9482 double *arg4
= (double *) 0 ;
9484 bool temp2
= False
;
9485 PyObject
* obj0
= 0 ;
9486 PyObject
* obj1
= 0 ;
9487 PyObject
* obj2
= 0 ;
9488 PyObject
* obj3
= 0 ;
9490 (char *) "self",(char *) "filename",(char *) "width",(char *) "height", NULL
9493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoMetaFile_LoadFromMetaFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9494 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9496 arg2
= wxString_in_helper(obj1
);
9497 if (arg2
== NULL
) SWIG_fail
;
9500 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_double
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9501 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_double
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9504 result
= (bool)(arg1
)->LoadFromMetaFile((wxString
const &)*arg2
,arg3
,arg4
);
9506 wxPyEndAllowThreads(__tstate
);
9507 if (PyErr_Occurred()) SWIG_fail
;
9509 resultobj
= SWIG_PyObj_FromBool((bool)result
);
9524 static PyObject
*_wrap_PseudoMetaFile_GetBounds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9525 PyObject
*resultobj
;
9526 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9527 double *arg2
= (double *) 0 ;
9528 double *arg3
= (double *) 0 ;
9529 double *arg4
= (double *) 0 ;
9530 double *arg5
= (double *) 0 ;
9531 PyObject
* obj0
= 0 ;
9532 PyObject
* obj1
= 0 ;
9533 PyObject
* obj2
= 0 ;
9534 PyObject
* obj3
= 0 ;
9535 PyObject
* obj4
= 0 ;
9537 (char *) "self",(char *) "minX",(char *) "minY",(char *) "maxX",(char *) "maxY", NULL
9540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoMetaFile_GetBounds",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9541 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9542 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_double
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9543 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_double
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9544 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_double
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9545 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_double
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9548 (arg1
)->GetBounds(arg2
,arg3
,arg4
,arg5
);
9550 wxPyEndAllowThreads(__tstate
);
9551 if (PyErr_Occurred()) SWIG_fail
;
9553 Py_INCREF(Py_None
); resultobj
= Py_None
;
9560 static PyObject
*_wrap_PseudoMetaFile_CalculateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9561 PyObject
*resultobj
;
9562 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9563 wxPyDrawnShape
*arg2
= (wxPyDrawnShape
*) 0 ;
9564 PyObject
* obj0
= 0 ;
9565 PyObject
* obj1
= 0 ;
9567 (char *) "self",(char *) "shape", NULL
9570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_CalculateSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9571 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9572 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9575 (arg1
)->CalculateSize(arg2
);
9577 wxPyEndAllowThreads(__tstate
);
9578 if (PyErr_Occurred()) SWIG_fail
;
9580 Py_INCREF(Py_None
); resultobj
= Py_None
;
9587 static PyObject
*_wrap_PseudoMetaFile_SetRotateable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9588 PyObject
*resultobj
;
9589 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9591 PyObject
* obj0
= 0 ;
9592 PyObject
* obj1
= 0 ;
9594 (char *) "self",(char *) "rot", NULL
9597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetRotateable",kwnames
,&obj0
,&obj1
)) goto fail
;
9598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9600 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
9601 if (PyErr_Occurred()) SWIG_fail
;
9604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9605 (arg1
)->SetRotateable(arg2
);
9607 wxPyEndAllowThreads(__tstate
);
9608 if (PyErr_Occurred()) SWIG_fail
;
9610 Py_INCREF(Py_None
); resultobj
= Py_None
;
9617 static PyObject
*_wrap_PseudoMetaFile_GetRotateable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9618 PyObject
*resultobj
;
9619 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9621 PyObject
* obj0
= 0 ;
9623 (char *) "self", NULL
9626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_GetRotateable",kwnames
,&obj0
)) goto fail
;
9627 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9630 result
= (bool)(arg1
)->GetRotateable();
9632 wxPyEndAllowThreads(__tstate
);
9633 if (PyErr_Occurred()) SWIG_fail
;
9635 resultobj
= SWIG_PyObj_FromBool((bool)result
);
9642 static PyObject
*_wrap_PseudoMetaFile_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9643 PyObject
*resultobj
;
9644 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9647 PyObject
* obj0
= 0 ;
9648 PyObject
* obj1
= 0 ;
9649 PyObject
* obj2
= 0 ;
9651 (char *) "self",(char *) "w",(char *) "h", NULL
9654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_SetSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9655 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9657 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
9658 if (PyErr_Occurred()) SWIG_fail
;
9661 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
9662 if (PyErr_Occurred()) SWIG_fail
;
9665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9666 (arg1
)->SetSize(arg2
,arg3
);
9668 wxPyEndAllowThreads(__tstate
);
9669 if (PyErr_Occurred()) SWIG_fail
;
9671 Py_INCREF(Py_None
); resultobj
= Py_None
;
9678 static PyObject
*_wrap_PseudoMetaFile_SetFillBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9679 PyObject
*resultobj
;
9680 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9681 wxBrush
*arg2
= (wxBrush
*) 0 ;
9682 PyObject
* obj0
= 0 ;
9683 PyObject
* obj1
= 0 ;
9685 (char *) "self",(char *) "brush", NULL
9688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetFillBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
9689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9693 if (obj1
== Py_None
) {
9696 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxBrush"))) {
9697 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxBrush.");
9702 arg2
= wxTheBrushList
->FindOrCreateBrush(temp
->GetColour(), temp
->GetStyle());
9707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9708 (arg1
)->SetFillBrush(arg2
);
9710 wxPyEndAllowThreads(__tstate
);
9711 if (PyErr_Occurred()) SWIG_fail
;
9713 Py_INCREF(Py_None
); resultobj
= Py_None
;
9720 static PyObject
*_wrap_PseudoMetaFile_GetFillBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9721 PyObject
*resultobj
;
9722 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9724 PyObject
* obj0
= 0 ;
9726 (char *) "self", NULL
9729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_GetFillBrush",kwnames
,&obj0
)) goto fail
;
9730 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9733 result
= (wxBrush
*)(arg1
)->GetFillBrush();
9735 wxPyEndAllowThreads(__tstate
);
9736 if (PyErr_Occurred()) SWIG_fail
;
9738 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBrush
, 0);
9745 static PyObject
*_wrap_PseudoMetaFile_SetOutlinePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9746 PyObject
*resultobj
;
9747 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9748 wxPen
*arg2
= (wxPen
*) 0 ;
9749 PyObject
* obj0
= 0 ;
9750 PyObject
* obj1
= 0 ;
9752 (char *) "self",(char *) "pen", NULL
9755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetOutlinePen",kwnames
,&obj0
,&obj1
)) goto fail
;
9756 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9760 if (obj1
== Py_None
) {
9763 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
9764 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
9769 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
9776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9777 (arg1
)->SetOutlinePen(arg2
);
9779 wxPyEndAllowThreads(__tstate
);
9780 if (PyErr_Occurred()) SWIG_fail
;
9782 Py_INCREF(Py_None
); resultobj
= Py_None
;
9789 static PyObject
*_wrap_PseudoMetaFile_GetOutlinePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9790 PyObject
*resultobj
;
9791 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9793 PyObject
* obj0
= 0 ;
9795 (char *) "self", NULL
9798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_GetOutlinePen",kwnames
,&obj0
)) goto fail
;
9799 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9802 result
= (wxPen
*)(arg1
)->GetOutlinePen();
9804 wxPyEndAllowThreads(__tstate
);
9805 if (PyErr_Occurred()) SWIG_fail
;
9807 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPen
, 0);
9814 static PyObject
*_wrap_PseudoMetaFile_SetOutlineOp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9815 PyObject
*resultobj
;
9816 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9818 PyObject
* obj0
= 0 ;
9819 PyObject
* obj1
= 0 ;
9821 (char *) "self",(char *) "op", NULL
9824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetOutlineOp",kwnames
,&obj0
,&obj1
)) goto fail
;
9825 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9827 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9828 if (PyErr_Occurred()) SWIG_fail
;
9831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9832 (arg1
)->SetOutlineOp(arg2
);
9834 wxPyEndAllowThreads(__tstate
);
9835 if (PyErr_Occurred()) SWIG_fail
;
9837 Py_INCREF(Py_None
); resultobj
= Py_None
;
9844 static PyObject
*_wrap_PseudoMetaFile_GetOutlineOp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9845 PyObject
*resultobj
;
9846 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9848 PyObject
* obj0
= 0 ;
9850 (char *) "self", NULL
9853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_GetOutlineOp",kwnames
,&obj0
)) goto fail
;
9854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9857 result
= (int)(arg1
)->GetOutlineOp();
9859 wxPyEndAllowThreads(__tstate
);
9860 if (PyErr_Occurred()) SWIG_fail
;
9862 resultobj
= SWIG_PyObj_FromInt((int)result
);
9869 static PyObject
*_wrap_PseudoMetaFile_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9870 PyObject
*resultobj
;
9871 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9873 PyObject
* obj0
= 0 ;
9875 (char *) "self", NULL
9878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_IsValid",kwnames
,&obj0
)) goto fail
;
9879 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9882 result
= (bool)(arg1
)->IsValid();
9884 wxPyEndAllowThreads(__tstate
);
9885 if (PyErr_Occurred()) SWIG_fail
;
9887 resultobj
= SWIG_PyObj_FromBool((bool)result
);
9894 static PyObject
*_wrap_PseudoMetaFile_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9895 PyObject
*resultobj
;
9896 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9901 PyObject
* obj0
= 0 ;
9902 PyObject
* obj1
= 0 ;
9903 PyObject
* obj2
= 0 ;
9905 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
9908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9909 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9912 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9916 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9920 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
9922 wxPyEndAllowThreads(__tstate
);
9923 if (PyErr_Occurred()) SWIG_fail
;
9925 Py_INCREF(Py_None
); resultobj
= Py_None
;
9932 static PyObject
*_wrap_PseudoMetaFile_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9933 PyObject
*resultobj
;
9934 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9937 PyObject
* obj0
= 0 ;
9938 PyObject
* obj1
= 0 ;
9940 (char *) "self",(char *) "rect", NULL
9943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_DrawRectangle",kwnames
,&obj0
,&obj1
)) goto fail
;
9944 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9947 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9951 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
9953 wxPyEndAllowThreads(__tstate
);
9954 if (PyErr_Occurred()) SWIG_fail
;
9956 Py_INCREF(Py_None
); resultobj
= Py_None
;
9963 static PyObject
*_wrap_PseudoMetaFile_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9964 PyObject
*resultobj
;
9965 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9969 PyObject
* obj0
= 0 ;
9970 PyObject
* obj1
= 0 ;
9971 PyObject
* obj2
= 0 ;
9973 (char *) "self",(char *) "rect",(char *) "radius", NULL
9976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9977 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9980 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9983 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
9984 if (PyErr_Occurred()) SWIG_fail
;
9987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9988 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
9990 wxPyEndAllowThreads(__tstate
);
9991 if (PyErr_Occurred()) SWIG_fail
;
9993 Py_INCREF(Py_None
); resultobj
= Py_None
;
10000 static PyObject
*_wrap_PseudoMetaFile_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10001 PyObject
*resultobj
;
10002 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10003 wxPoint
*arg2
= 0 ;
10004 wxPoint
*arg3
= 0 ;
10005 wxPoint
*arg4
= 0 ;
10009 PyObject
* obj0
= 0 ;
10010 PyObject
* obj1
= 0 ;
10011 PyObject
* obj2
= 0 ;
10012 PyObject
* obj3
= 0 ;
10013 char *kwnames
[] = {
10014 (char *) "self",(char *) "centrePt",(char *) "startPt",(char *) "endPt", NULL
10017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoMetaFile_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10018 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10021 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10025 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10029 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10033 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
10035 wxPyEndAllowThreads(__tstate
);
10036 if (PyErr_Occurred()) SWIG_fail
;
10038 Py_INCREF(Py_None
); resultobj
= Py_None
;
10045 static PyObject
*_wrap_PseudoMetaFile_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10046 PyObject
*resultobj
;
10047 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10052 PyObject
* obj0
= 0 ;
10053 PyObject
* obj1
= 0 ;
10054 PyObject
* obj2
= 0 ;
10055 PyObject
* obj3
= 0 ;
10056 char *kwnames
[] = {
10057 (char *) "self",(char *) "rect",(char *) "startAngle",(char *) "endAngle", NULL
10060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoMetaFile_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10061 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10064 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10067 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
10068 if (PyErr_Occurred()) SWIG_fail
;
10071 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
10072 if (PyErr_Occurred()) SWIG_fail
;
10075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10076 (arg1
)->DrawEllipticArc((wxRect
const &)*arg2
,arg3
,arg4
);
10078 wxPyEndAllowThreads(__tstate
);
10079 if (PyErr_Occurred()) SWIG_fail
;
10081 Py_INCREF(Py_None
); resultobj
= Py_None
;
10088 static PyObject
*_wrap_PseudoMetaFile_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10089 PyObject
*resultobj
;
10090 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10093 PyObject
* obj0
= 0 ;
10094 PyObject
* obj1
= 0 ;
10095 char *kwnames
[] = {
10096 (char *) "self",(char *) "rect", NULL
10099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_DrawEllipse",kwnames
,&obj0
,&obj1
)) goto fail
;
10100 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10103 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10107 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
10109 wxPyEndAllowThreads(__tstate
);
10110 if (PyErr_Occurred()) SWIG_fail
;
10112 Py_INCREF(Py_None
); resultobj
= Py_None
;
10119 static PyObject
*_wrap_PseudoMetaFile_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10120 PyObject
*resultobj
;
10121 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10122 wxPoint
*arg2
= 0 ;
10124 PyObject
* obj0
= 0 ;
10125 PyObject
* obj1
= 0 ;
10126 char *kwnames
[] = {
10127 (char *) "self",(char *) "pt", NULL
10130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_DrawPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
10131 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10134 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10138 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
10140 wxPyEndAllowThreads(__tstate
);
10141 if (PyErr_Occurred()) SWIG_fail
;
10143 Py_INCREF(Py_None
); resultobj
= Py_None
;
10150 static PyObject
*_wrap_PseudoMetaFile_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10151 PyObject
*resultobj
;
10152 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10153 wxString
*arg2
= 0 ;
10154 wxPoint
*arg3
= 0 ;
10155 bool temp2
= False
;
10157 PyObject
* obj0
= 0 ;
10158 PyObject
* obj1
= 0 ;
10159 PyObject
* obj2
= 0 ;
10160 char *kwnames
[] = {
10161 (char *) "self",(char *) "text",(char *) "pt", NULL
10164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_DrawText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10165 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10167 arg2
= wxString_in_helper(obj1
);
10168 if (arg2
== NULL
) SWIG_fail
;
10173 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10177 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
10179 wxPyEndAllowThreads(__tstate
);
10180 if (PyErr_Occurred()) SWIG_fail
;
10182 Py_INCREF(Py_None
); resultobj
= Py_None
;
10197 static PyObject
*_wrap_PseudoMetaFile_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10198 PyObject
*resultobj
;
10199 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10201 wxPoint
*arg3
= (wxPoint
*) 0 ;
10202 PyObject
* obj0
= 0 ;
10203 PyObject
* obj1
= 0 ;
10204 PyObject
* obj2
= 0 ;
10205 char *kwnames
[] = {
10206 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
10209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10210 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10212 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10213 if (PyErr_Occurred()) SWIG_fail
;
10215 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10218 (arg1
)->DrawLines(arg2
,arg3
);
10220 wxPyEndAllowThreads(__tstate
);
10221 if (PyErr_Occurred()) SWIG_fail
;
10223 Py_INCREF(Py_None
); resultobj
= Py_None
;
10230 static PyObject
*_wrap_PseudoMetaFile_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10231 PyObject
*resultobj
;
10232 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10234 wxPoint
*arg3
= (wxPoint
*) 0 ;
10235 int arg4
= (int) 0 ;
10236 PyObject
* obj0
= 0 ;
10237 PyObject
* obj1
= 0 ;
10238 PyObject
* obj2
= 0 ;
10239 PyObject
* obj3
= 0 ;
10240 char *kwnames
[] = {
10241 (char *) "self",(char *) "PCOUNT",(char *) "points",(char *) "flags", NULL
10244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoMetaFile_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10247 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10248 if (PyErr_Occurred()) SWIG_fail
;
10250 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10253 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
10254 if (PyErr_Occurred()) SWIG_fail
;
10258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10259 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
);
10261 wxPyEndAllowThreads(__tstate
);
10262 if (PyErr_Occurred()) SWIG_fail
;
10264 Py_INCREF(Py_None
); resultobj
= Py_None
;
10271 static PyObject
*_wrap_PseudoMetaFile_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10272 PyObject
*resultobj
;
10273 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10275 wxPoint
*arg3
= (wxPoint
*) 0 ;
10276 PyObject
* obj0
= 0 ;
10277 PyObject
* obj1
= 0 ;
10278 PyObject
* obj2
= 0 ;
10279 char *kwnames
[] = {
10280 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
10283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_DrawSpline",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10284 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10286 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10287 if (PyErr_Occurred()) SWIG_fail
;
10289 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10292 (arg1
)->DrawSpline(arg2
,arg3
);
10294 wxPyEndAllowThreads(__tstate
);
10295 if (PyErr_Occurred()) SWIG_fail
;
10297 Py_INCREF(Py_None
); resultobj
= Py_None
;
10304 static PyObject
*_wrap_PseudoMetaFile_SetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10305 PyObject
*resultobj
;
10306 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10309 PyObject
* obj0
= 0 ;
10310 PyObject
* obj1
= 0 ;
10311 char *kwnames
[] = {
10312 (char *) "self",(char *) "rect", NULL
10315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10316 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10319 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10323 (arg1
)->SetClippingRect((wxRect
const &)*arg2
);
10325 wxPyEndAllowThreads(__tstate
);
10326 if (PyErr_Occurred()) SWIG_fail
;
10328 Py_INCREF(Py_None
); resultobj
= Py_None
;
10335 static PyObject
*_wrap_PseudoMetaFile_DestroyClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10336 PyObject
*resultobj
;
10337 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10338 PyObject
* obj0
= 0 ;
10339 char *kwnames
[] = {
10340 (char *) "self", NULL
10343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_DestroyClippingRect",kwnames
,&obj0
)) goto fail
;
10344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10347 (arg1
)->DestroyClippingRect();
10349 wxPyEndAllowThreads(__tstate
);
10350 if (PyErr_Occurred()) SWIG_fail
;
10352 Py_INCREF(Py_None
); resultobj
= Py_None
;
10359 static PyObject
*_wrap_PseudoMetaFile_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10360 PyObject
*resultobj
;
10361 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10362 wxPen
*arg2
= (wxPen
*) 0 ;
10363 bool arg3
= (bool) FALSE
;
10364 PyObject
* obj0
= 0 ;
10365 PyObject
* obj1
= 0 ;
10366 PyObject
* obj2
= 0 ;
10367 char *kwnames
[] = {
10368 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
10371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoMetaFile_SetPen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10372 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10376 if (obj1
== Py_None
) {
10379 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
10380 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
10385 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
10393 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
10394 if (PyErr_Occurred()) SWIG_fail
;
10398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10399 (arg1
)->SetPen(arg2
,arg3
);
10401 wxPyEndAllowThreads(__tstate
);
10402 if (PyErr_Occurred()) SWIG_fail
;
10404 Py_INCREF(Py_None
); resultobj
= Py_None
;
10411 static PyObject
*_wrap_PseudoMetaFile_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10412 PyObject
*resultobj
;
10413 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10414 wxBrush
*arg2
= (wxBrush
*) 0 ;
10415 bool arg3
= (bool) FALSE
;
10416 PyObject
* obj0
= 0 ;
10417 PyObject
* obj1
= 0 ;
10418 PyObject
* obj2
= 0 ;
10419 char *kwnames
[] = {
10420 (char *) "self",(char *) "brush",(char *) "isFill", NULL
10423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoMetaFile_SetBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10424 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10428 if (obj1
== Py_None
) {
10431 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxBrush"))) {
10432 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxBrush.");
10437 arg2
= wxTheBrushList
->FindOrCreateBrush(temp
->GetColour(), temp
->GetStyle());
10443 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
10444 if (PyErr_Occurred()) SWIG_fail
;
10448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10449 (arg1
)->SetBrush(arg2
,arg3
);
10451 wxPyEndAllowThreads(__tstate
);
10452 if (PyErr_Occurred()) SWIG_fail
;
10454 Py_INCREF(Py_None
); resultobj
= Py_None
;
10461 static PyObject
*_wrap_PseudoMetaFile_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10462 PyObject
*resultobj
;
10463 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10464 wxFont
*arg2
= (wxFont
*) 0 ;
10465 PyObject
* obj0
= 0 ;
10466 PyObject
* obj1
= 0 ;
10467 char *kwnames
[] = {
10468 (char *) "self",(char *) "font", NULL
10471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
10472 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10476 if (obj1
== Py_None
) {
10479 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxFont"))) {
10480 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxFont.");
10485 arg2
= wxTheFontList
->FindOrCreateFont(temp
->GetPointSize(),
10489 temp
->GetUnderlined(),
10490 temp
->GetFaceName(),
10491 temp
->GetEncoding());
10496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10497 (arg1
)->SetFont(arg2
);
10499 wxPyEndAllowThreads(__tstate
);
10500 if (PyErr_Occurred()) SWIG_fail
;
10502 Py_INCREF(Py_None
); resultobj
= Py_None
;
10509 static PyObject
*_wrap_PseudoMetaFile_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10510 PyObject
*resultobj
;
10511 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10512 wxColour
*arg2
= 0 ;
10514 PyObject
* obj0
= 0 ;
10515 PyObject
* obj1
= 0 ;
10516 char *kwnames
[] = {
10517 (char *) "self",(char *) "colour", NULL
10520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10524 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10528 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
10530 wxPyEndAllowThreads(__tstate
);
10531 if (PyErr_Occurred()) SWIG_fail
;
10533 Py_INCREF(Py_None
); resultobj
= Py_None
;
10540 static PyObject
*_wrap_PseudoMetaFile_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10541 PyObject
*resultobj
;
10542 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10543 wxColour
*arg2
= 0 ;
10545 PyObject
* obj0
= 0 ;
10546 PyObject
* obj1
= 0 ;
10547 char *kwnames
[] = {
10548 (char *) "self",(char *) "colour", NULL
10551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10552 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10555 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10559 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
10561 wxPyEndAllowThreads(__tstate
);
10562 if (PyErr_Occurred()) SWIG_fail
;
10564 Py_INCREF(Py_None
); resultobj
= Py_None
;
10571 static PyObject
*_wrap_PseudoMetaFile_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10572 PyObject
*resultobj
;
10573 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10575 PyObject
* obj0
= 0 ;
10576 PyObject
* obj1
= 0 ;
10577 char *kwnames
[] = {
10578 (char *) "self",(char *) "mode", NULL
10581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
10582 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10584 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10585 if (PyErr_Occurred()) SWIG_fail
;
10588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10589 (arg1
)->SetBackgroundMode(arg2
);
10591 wxPyEndAllowThreads(__tstate
);
10592 if (PyErr_Occurred()) SWIG_fail
;
10594 Py_INCREF(Py_None
); resultobj
= Py_None
;
10601 static PyObject
* PseudoMetaFile_swigregister(PyObject
*self
, PyObject
*args
) {
10603 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10604 SWIG_TypeClientData(SWIGTYPE_p_wxPseudoMetaFile
, obj
);
10606 return Py_BuildValue((char *)"");
10608 static PyObject
*_wrap_new_PyRectangleShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10609 PyObject
*resultobj
;
10610 double arg1
= (double) 0.0 ;
10611 double arg2
= (double) 0.0 ;
10612 wxPyRectangleShape
*result
;
10613 PyObject
* obj0
= 0 ;
10614 PyObject
* obj1
= 0 ;
10615 char *kwnames
[] = {
10616 (char *) "width",(char *) "height", NULL
10619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyRectangleShape",kwnames
,&obj0
,&obj1
)) goto fail
;
10622 arg1
= (double) SWIG_PyObj_AsDouble(obj0
);
10623 if (PyErr_Occurred()) SWIG_fail
;
10628 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
10629 if (PyErr_Occurred()) SWIG_fail
;
10633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10634 result
= (wxPyRectangleShape
*)new wxPyRectangleShape(arg1
,arg2
);
10636 wxPyEndAllowThreads(__tstate
);
10637 if (PyErr_Occurred()) SWIG_fail
;
10639 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyRectangleShape
, 1);
10646 static PyObject
*_wrap_PyRectangleShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10647 PyObject
*resultobj
;
10648 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10649 PyObject
*arg2
= (PyObject
*) 0 ;
10650 PyObject
*arg3
= (PyObject
*) 0 ;
10651 PyObject
* obj0
= 0 ;
10652 PyObject
* obj1
= 0 ;
10653 PyObject
* obj2
= 0 ;
10654 char *kwnames
[] = {
10655 (char *) "self",(char *) "self",(char *) "_class", NULL
10658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyRectangleShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10659 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10664 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10666 wxPyEndAllowThreads(__tstate
);
10667 if (PyErr_Occurred()) SWIG_fail
;
10669 Py_INCREF(Py_None
); resultobj
= Py_None
;
10676 static PyObject
*_wrap_PyRectangleShape_SetCornerRadius(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10677 PyObject
*resultobj
;
10678 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10680 PyObject
* obj0
= 0 ;
10681 PyObject
* obj1
= 0 ;
10682 char *kwnames
[] = {
10683 (char *) "self",(char *) "radius", NULL
10686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_SetCornerRadius",kwnames
,&obj0
,&obj1
)) goto fail
;
10687 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10689 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
10690 if (PyErr_Occurred()) SWIG_fail
;
10693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10694 (arg1
)->SetCornerRadius(arg2
);
10696 wxPyEndAllowThreads(__tstate
);
10697 if (PyErr_Occurred()) SWIG_fail
;
10699 Py_INCREF(Py_None
); resultobj
= Py_None
;
10706 static PyObject
*_wrap_PyRectangleShape_GetCornerRadius(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10707 PyObject
*resultobj
;
10708 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10710 PyObject
* obj0
= 0 ;
10711 char *kwnames
[] = {
10712 (char *) "self", NULL
10715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyRectangleShape_GetCornerRadius",kwnames
,&obj0
)) goto fail
;
10716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10719 result
= (double)(arg1
)->GetCornerRadius();
10721 wxPyEndAllowThreads(__tstate
);
10722 if (PyErr_Occurred()) SWIG_fail
;
10724 resultobj
= SWIG_PyObj_FromDouble((double)result
);
10731 static PyObject
*_wrap_PyRectangleShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10732 PyObject
*resultobj
;
10733 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10734 PyObject
* obj0
= 0 ;
10735 char *kwnames
[] = {
10736 (char *) "self", NULL
10739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyRectangleShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
10740 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10743 (arg1
)->base_OnDelete();
10745 wxPyEndAllowThreads(__tstate
);
10746 if (PyErr_Occurred()) SWIG_fail
;
10748 Py_INCREF(Py_None
); resultobj
= Py_None
;
10755 static PyObject
*_wrap_PyRectangleShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10756 PyObject
*resultobj
;
10757 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10759 PyObject
* obj0
= 0 ;
10760 PyObject
* obj1
= 0 ;
10761 char *kwnames
[] = {
10762 (char *) "self",(char *) "dc", NULL
10765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
10766 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10767 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10768 if (arg2
== NULL
) {
10769 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10773 (arg1
)->base_OnDraw(*arg2
);
10775 wxPyEndAllowThreads(__tstate
);
10776 if (PyErr_Occurred()) SWIG_fail
;
10778 Py_INCREF(Py_None
); resultobj
= Py_None
;
10785 static PyObject
*_wrap_PyRectangleShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10786 PyObject
*resultobj
;
10787 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10789 PyObject
* obj0
= 0 ;
10790 PyObject
* obj1
= 0 ;
10791 char *kwnames
[] = {
10792 (char *) "self",(char *) "dc", NULL
10795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
10796 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10797 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10798 if (arg2
== NULL
) {
10799 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10803 (arg1
)->base_OnDrawContents(*arg2
);
10805 wxPyEndAllowThreads(__tstate
);
10806 if (PyErr_Occurred()) SWIG_fail
;
10808 Py_INCREF(Py_None
); resultobj
= Py_None
;
10815 static PyObject
*_wrap_PyRectangleShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10816 PyObject
*resultobj
;
10817 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10819 bool arg3
= (bool) FALSE
;
10820 PyObject
* obj0
= 0 ;
10821 PyObject
* obj1
= 0 ;
10822 PyObject
* obj2
= 0 ;
10823 char *kwnames
[] = {
10824 (char *) "self",(char *) "dc",(char *) "erase", NULL
10827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyRectangleShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10828 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10829 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10830 if (arg2
== NULL
) {
10831 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10835 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
10836 if (PyErr_Occurred()) SWIG_fail
;
10840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10841 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
10843 wxPyEndAllowThreads(__tstate
);
10844 if (PyErr_Occurred()) SWIG_fail
;
10846 Py_INCREF(Py_None
); resultobj
= Py_None
;
10853 static PyObject
*_wrap_PyRectangleShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10854 PyObject
*resultobj
;
10855 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10857 PyObject
* obj0
= 0 ;
10858 PyObject
* obj1
= 0 ;
10859 char *kwnames
[] = {
10860 (char *) "self",(char *) "dc", NULL
10863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
10864 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10865 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10866 if (arg2
== NULL
) {
10867 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10871 (arg1
)->base_OnMoveLinks(*arg2
);
10873 wxPyEndAllowThreads(__tstate
);
10874 if (PyErr_Occurred()) SWIG_fail
;
10876 Py_INCREF(Py_None
); resultobj
= Py_None
;
10883 static PyObject
*_wrap_PyRectangleShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10884 PyObject
*resultobj
;
10885 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10887 PyObject
* obj0
= 0 ;
10888 PyObject
* obj1
= 0 ;
10889 char *kwnames
[] = {
10890 (char *) "self",(char *) "dc", NULL
10893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
10894 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10895 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10896 if (arg2
== NULL
) {
10897 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10901 (arg1
)->base_OnErase(*arg2
);
10903 wxPyEndAllowThreads(__tstate
);
10904 if (PyErr_Occurred()) SWIG_fail
;
10906 Py_INCREF(Py_None
); resultobj
= Py_None
;
10913 static PyObject
*_wrap_PyRectangleShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10914 PyObject
*resultobj
;
10915 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10917 PyObject
* obj0
= 0 ;
10918 PyObject
* obj1
= 0 ;
10919 char *kwnames
[] = {
10920 (char *) "self",(char *) "dc", NULL
10923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
10924 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10925 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10926 if (arg2
== NULL
) {
10927 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10931 (arg1
)->base_OnEraseContents(*arg2
);
10933 wxPyEndAllowThreads(__tstate
);
10934 if (PyErr_Occurred()) SWIG_fail
;
10936 Py_INCREF(Py_None
); resultobj
= Py_None
;
10943 static PyObject
*_wrap_PyRectangleShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10944 PyObject
*resultobj
;
10945 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10947 PyObject
* obj0
= 0 ;
10948 PyObject
* obj1
= 0 ;
10949 char *kwnames
[] = {
10950 (char *) "self",(char *) "dc", NULL
10953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
10954 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10955 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10956 if (arg2
== NULL
) {
10957 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10961 (arg1
)->base_OnHighlight(*arg2
);
10963 wxPyEndAllowThreads(__tstate
);
10964 if (PyErr_Occurred()) SWIG_fail
;
10966 Py_INCREF(Py_None
); resultobj
= Py_None
;
10973 static PyObject
*_wrap_PyRectangleShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10974 PyObject
*resultobj
;
10975 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10978 int arg4
= (int) 0 ;
10979 int arg5
= (int) 0 ;
10980 PyObject
* obj0
= 0 ;
10981 PyObject
* obj1
= 0 ;
10982 PyObject
* obj2
= 0 ;
10983 PyObject
* obj3
= 0 ;
10984 PyObject
* obj4
= 0 ;
10985 char *kwnames
[] = {
10986 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10992 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
10993 if (PyErr_Occurred()) SWIG_fail
;
10996 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
10997 if (PyErr_Occurred()) SWIG_fail
;
11001 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11002 if (PyErr_Occurred()) SWIG_fail
;
11007 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
11008 if (PyErr_Occurred()) SWIG_fail
;
11012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11013 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
11015 wxPyEndAllowThreads(__tstate
);
11016 if (PyErr_Occurred()) SWIG_fail
;
11018 Py_INCREF(Py_None
); resultobj
= Py_None
;
11025 static PyObject
*_wrap_PyRectangleShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11026 PyObject
*resultobj
;
11027 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11030 int arg4
= (int) 0 ;
11031 int arg5
= (int) 0 ;
11032 PyObject
* obj0
= 0 ;
11033 PyObject
* obj1
= 0 ;
11034 PyObject
* obj2
= 0 ;
11035 PyObject
* obj3
= 0 ;
11036 PyObject
* obj4
= 0 ;
11037 char *kwnames
[] = {
11038 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11044 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
11045 if (PyErr_Occurred()) SWIG_fail
;
11048 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
11049 if (PyErr_Occurred()) SWIG_fail
;
11053 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11054 if (PyErr_Occurred()) SWIG_fail
;
11059 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
11060 if (PyErr_Occurred()) SWIG_fail
;
11064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11065 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
11067 wxPyEndAllowThreads(__tstate
);
11068 if (PyErr_Occurred()) SWIG_fail
;
11070 Py_INCREF(Py_None
); resultobj
= Py_None
;
11077 static PyObject
*_wrap_PyRectangleShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11078 PyObject
*resultobj
;
11079 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11082 int arg4
= (int) 0 ;
11083 int arg5
= (int) 0 ;
11084 PyObject
* obj0
= 0 ;
11085 PyObject
* obj1
= 0 ;
11086 PyObject
* obj2
= 0 ;
11087 PyObject
* obj3
= 0 ;
11088 PyObject
* obj4
= 0 ;
11089 char *kwnames
[] = {
11090 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11096 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
11097 if (PyErr_Occurred()) SWIG_fail
;
11100 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
11101 if (PyErr_Occurred()) SWIG_fail
;
11105 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11106 if (PyErr_Occurred()) SWIG_fail
;
11111 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
11112 if (PyErr_Occurred()) SWIG_fail
;
11116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11117 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
11119 wxPyEndAllowThreads(__tstate
);
11120 if (PyErr_Occurred()) SWIG_fail
;
11122 Py_INCREF(Py_None
); resultobj
= Py_None
;
11129 static PyObject
*_wrap_PyRectangleShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11130 PyObject
*resultobj
;
11131 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11134 PyObject
* obj0
= 0 ;
11135 PyObject
* obj1
= 0 ;
11136 PyObject
* obj2
= 0 ;
11137 char *kwnames
[] = {
11138 (char *) "self",(char *) "x",(char *) "y", NULL
11141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyRectangleShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11142 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11144 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
11145 if (PyErr_Occurred()) SWIG_fail
;
11148 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
11149 if (PyErr_Occurred()) SWIG_fail
;
11152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11153 (arg1
)->base_OnSize(arg2
,arg3
);
11155 wxPyEndAllowThreads(__tstate
);
11156 if (PyErr_Occurred()) SWIG_fail
;
11158 Py_INCREF(Py_None
); resultobj
= Py_None
;
11165 static PyObject
*_wrap_PyRectangleShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11166 PyObject
*resultobj
;
11167 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11173 bool arg7
= (bool) True
;
11175 PyObject
* obj0
= 0 ;
11176 PyObject
* obj1
= 0 ;
11177 PyObject
* obj2
= 0 ;
11178 PyObject
* obj3
= 0 ;
11179 PyObject
* obj4
= 0 ;
11180 PyObject
* obj5
= 0 ;
11181 PyObject
* obj6
= 0 ;
11182 char *kwnames
[] = {
11183 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
11186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyRectangleShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11187 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11188 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11189 if (arg2
== NULL
) {
11190 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11193 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
11194 if (PyErr_Occurred()) SWIG_fail
;
11197 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
11198 if (PyErr_Occurred()) SWIG_fail
;
11201 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
11202 if (PyErr_Occurred()) SWIG_fail
;
11205 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
11206 if (PyErr_Occurred()) SWIG_fail
;
11210 arg7
= (bool) SWIG_PyObj_AsBool(obj6
);
11211 if (PyErr_Occurred()) SWIG_fail
;
11215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11216 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11218 wxPyEndAllowThreads(__tstate
);
11219 if (PyErr_Occurred()) SWIG_fail
;
11221 resultobj
= SWIG_PyObj_FromBool((bool)result
);
11228 static PyObject
*_wrap_PyRectangleShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11229 PyObject
*resultobj
;
11230 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11236 bool arg7
= (bool) True
;
11237 PyObject
* obj0
= 0 ;
11238 PyObject
* obj1
= 0 ;
11239 PyObject
* obj2
= 0 ;
11240 PyObject
* obj3
= 0 ;
11241 PyObject
* obj4
= 0 ;
11242 PyObject
* obj5
= 0 ;
11243 PyObject
* obj6
= 0 ;
11244 char *kwnames
[] = {
11245 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
11248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyRectangleShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11249 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11250 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11251 if (arg2
== NULL
) {
11252 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11255 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
11256 if (PyErr_Occurred()) SWIG_fail
;
11259 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
11260 if (PyErr_Occurred()) SWIG_fail
;
11263 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
11264 if (PyErr_Occurred()) SWIG_fail
;
11267 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
11268 if (PyErr_Occurred()) SWIG_fail
;
11272 arg7
= (bool) SWIG_PyObj_AsBool(obj6
);
11273 if (PyErr_Occurred()) SWIG_fail
;
11277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11278 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11280 wxPyEndAllowThreads(__tstate
);
11281 if (PyErr_Occurred()) SWIG_fail
;
11283 Py_INCREF(Py_None
); resultobj
= Py_None
;
11290 static PyObject
*_wrap_PyRectangleShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11291 PyObject
*resultobj
;
11292 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11296 int arg5
= (int) 0 ;
11297 int arg6
= (int) 0 ;
11298 PyObject
* obj0
= 0 ;
11299 PyObject
* obj1
= 0 ;
11300 PyObject
* obj2
= 0 ;
11301 PyObject
* obj3
= 0 ;
11302 PyObject
* obj4
= 0 ;
11303 PyObject
* obj5
= 0 ;
11304 char *kwnames
[] = {
11305 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyRectangleShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11309 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11311 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
11312 if (PyErr_Occurred()) SWIG_fail
;
11315 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
11316 if (PyErr_Occurred()) SWIG_fail
;
11319 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
11320 if (PyErr_Occurred()) SWIG_fail
;
11324 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
11325 if (PyErr_Occurred()) SWIG_fail
;
11330 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
11331 if (PyErr_Occurred()) SWIG_fail
;
11335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11336 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
11338 wxPyEndAllowThreads(__tstate
);
11339 if (PyErr_Occurred()) SWIG_fail
;
11341 Py_INCREF(Py_None
); resultobj
= Py_None
;
11348 static PyObject
*_wrap_PyRectangleShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11349 PyObject
*resultobj
;
11350 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11353 int arg4
= (int) 0 ;
11354 int arg5
= (int) 0 ;
11355 PyObject
* obj0
= 0 ;
11356 PyObject
* obj1
= 0 ;
11357 PyObject
* obj2
= 0 ;
11358 PyObject
* obj3
= 0 ;
11359 PyObject
* obj4
= 0 ;
11360 char *kwnames
[] = {
11361 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11365 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11367 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
11368 if (PyErr_Occurred()) SWIG_fail
;
11371 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
11372 if (PyErr_Occurred()) SWIG_fail
;
11376 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11377 if (PyErr_Occurred()) SWIG_fail
;
11382 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
11383 if (PyErr_Occurred()) SWIG_fail
;
11387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11388 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
11390 wxPyEndAllowThreads(__tstate
);
11391 if (PyErr_Occurred()) SWIG_fail
;
11393 Py_INCREF(Py_None
); resultobj
= Py_None
;
11400 static PyObject
*_wrap_PyRectangleShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11401 PyObject
*resultobj
;
11402 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11405 int arg4
= (int) 0 ;
11406 int arg5
= (int) 0 ;
11407 PyObject
* obj0
= 0 ;
11408 PyObject
* obj1
= 0 ;
11409 PyObject
* obj2
= 0 ;
11410 PyObject
* obj3
= 0 ;
11411 PyObject
* obj4
= 0 ;
11412 char *kwnames
[] = {
11413 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11417 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11419 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
11420 if (PyErr_Occurred()) SWIG_fail
;
11423 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
11424 if (PyErr_Occurred()) SWIG_fail
;
11428 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11429 if (PyErr_Occurred()) SWIG_fail
;
11434 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
11435 if (PyErr_Occurred()) SWIG_fail
;
11439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11440 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
11442 wxPyEndAllowThreads(__tstate
);
11443 if (PyErr_Occurred()) SWIG_fail
;
11445 Py_INCREF(Py_None
); resultobj
= Py_None
;
11452 static PyObject
*_wrap_PyRectangleShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11453 PyObject
*resultobj
;
11454 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11458 int arg5
= (int) 0 ;
11459 int arg6
= (int) 0 ;
11460 PyObject
* obj0
= 0 ;
11461 PyObject
* obj1
= 0 ;
11462 PyObject
* obj2
= 0 ;
11463 PyObject
* obj3
= 0 ;
11464 PyObject
* obj4
= 0 ;
11465 PyObject
* obj5
= 0 ;
11466 char *kwnames
[] = {
11467 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyRectangleShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11471 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11473 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
11474 if (PyErr_Occurred()) SWIG_fail
;
11477 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
11478 if (PyErr_Occurred()) SWIG_fail
;
11481 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
11482 if (PyErr_Occurred()) SWIG_fail
;
11486 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
11487 if (PyErr_Occurred()) SWIG_fail
;
11492 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
11493 if (PyErr_Occurred()) SWIG_fail
;
11497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11498 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
11500 wxPyEndAllowThreads(__tstate
);
11501 if (PyErr_Occurred()) SWIG_fail
;
11503 Py_INCREF(Py_None
); resultobj
= Py_None
;
11510 static PyObject
*_wrap_PyRectangleShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11511 PyObject
*resultobj
;
11512 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11515 int arg4
= (int) 0 ;
11516 int arg5
= (int) 0 ;
11517 PyObject
* obj0
= 0 ;
11518 PyObject
* obj1
= 0 ;
11519 PyObject
* obj2
= 0 ;
11520 PyObject
* obj3
= 0 ;
11521 PyObject
* obj4
= 0 ;
11522 char *kwnames
[] = {
11523 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11527 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11529 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
11530 if (PyErr_Occurred()) SWIG_fail
;
11533 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
11534 if (PyErr_Occurred()) SWIG_fail
;
11538 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11539 if (PyErr_Occurred()) SWIG_fail
;
11544 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
11545 if (PyErr_Occurred()) SWIG_fail
;
11549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11550 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
11552 wxPyEndAllowThreads(__tstate
);
11553 if (PyErr_Occurred()) SWIG_fail
;
11555 Py_INCREF(Py_None
); resultobj
= Py_None
;
11562 static PyObject
*_wrap_PyRectangleShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11563 PyObject
*resultobj
;
11564 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11567 int arg4
= (int) 0 ;
11568 int arg5
= (int) 0 ;
11569 PyObject
* obj0
= 0 ;
11570 PyObject
* obj1
= 0 ;
11571 PyObject
* obj2
= 0 ;
11572 PyObject
* obj3
= 0 ;
11573 PyObject
* obj4
= 0 ;
11574 char *kwnames
[] = {
11575 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11581 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
11582 if (PyErr_Occurred()) SWIG_fail
;
11585 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
11586 if (PyErr_Occurred()) SWIG_fail
;
11590 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11591 if (PyErr_Occurred()) SWIG_fail
;
11596 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
11597 if (PyErr_Occurred()) SWIG_fail
;
11601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11602 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
11604 wxPyEndAllowThreads(__tstate
);
11605 if (PyErr_Occurred()) SWIG_fail
;
11607 Py_INCREF(Py_None
); resultobj
= Py_None
;
11614 static PyObject
*_wrap_PyRectangleShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11615 PyObject
*resultobj
;
11616 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11622 PyObject
* obj0
= 0 ;
11623 PyObject
* obj1
= 0 ;
11624 PyObject
* obj2
= 0 ;
11625 PyObject
* obj3
= 0 ;
11626 PyObject
* obj4
= 0 ;
11627 PyObject
* obj5
= 0 ;
11628 char *kwnames
[] = {
11629 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
11632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyRectangleShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11633 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11634 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11635 if (arg2
== NULL
) {
11636 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11639 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
11640 if (PyErr_Occurred()) SWIG_fail
;
11643 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
11644 if (PyErr_Occurred()) SWIG_fail
;
11647 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
11648 if (PyErr_Occurred()) SWIG_fail
;
11651 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
11652 if (PyErr_Occurred()) SWIG_fail
;
11655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11656 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
11658 wxPyEndAllowThreads(__tstate
);
11659 if (PyErr_Occurred()) SWIG_fail
;
11661 Py_INCREF(Py_None
); resultobj
= Py_None
;
11668 static PyObject
*_wrap_PyRectangleShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11669 PyObject
*resultobj
;
11670 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11672 PyObject
* obj0
= 0 ;
11673 PyObject
* obj1
= 0 ;
11674 char *kwnames
[] = {
11675 (char *) "self",(char *) "dc", NULL
11678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
11679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11680 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11681 if (arg2
== NULL
) {
11682 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11686 (arg1
)->base_OnDrawControlPoints(*arg2
);
11688 wxPyEndAllowThreads(__tstate
);
11689 if (PyErr_Occurred()) SWIG_fail
;
11691 Py_INCREF(Py_None
); resultobj
= Py_None
;
11698 static PyObject
*_wrap_PyRectangleShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11699 PyObject
*resultobj
;
11700 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11702 PyObject
* obj0
= 0 ;
11703 PyObject
* obj1
= 0 ;
11704 char *kwnames
[] = {
11705 (char *) "self",(char *) "dc", NULL
11708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
11709 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11710 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11711 if (arg2
== NULL
) {
11712 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11716 (arg1
)->base_OnEraseControlPoints(*arg2
);
11718 wxPyEndAllowThreads(__tstate
);
11719 if (PyErr_Occurred()) SWIG_fail
;
11721 Py_INCREF(Py_None
); resultobj
= Py_None
;
11728 static PyObject
*_wrap_PyRectangleShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11729 PyObject
*resultobj
;
11730 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11732 bool arg3
= (bool) True
;
11733 PyObject
* obj0
= 0 ;
11734 PyObject
* obj1
= 0 ;
11735 PyObject
* obj2
= 0 ;
11736 char *kwnames
[] = {
11737 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
11740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyRectangleShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11741 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11742 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11743 if (arg2
== NULL
) {
11744 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11748 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
11749 if (PyErr_Occurred()) SWIG_fail
;
11753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11754 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
11756 wxPyEndAllowThreads(__tstate
);
11757 if (PyErr_Occurred()) SWIG_fail
;
11759 Py_INCREF(Py_None
); resultobj
= Py_None
;
11766 static PyObject
*_wrap_PyRectangleShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11767 PyObject
*resultobj
;
11768 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11769 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
11773 int arg6
= (int) 0 ;
11774 int arg7
= (int) 0 ;
11775 PyObject
* obj0
= 0 ;
11776 PyObject
* obj1
= 0 ;
11777 PyObject
* obj2
= 0 ;
11778 PyObject
* obj3
= 0 ;
11779 PyObject
* obj4
= 0 ;
11780 PyObject
* obj5
= 0 ;
11781 PyObject
* obj6
= 0 ;
11782 char *kwnames
[] = {
11783 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyRectangleShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11787 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11788 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11790 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
11791 if (PyErr_Occurred()) SWIG_fail
;
11794 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
11795 if (PyErr_Occurred()) SWIG_fail
;
11798 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
11799 if (PyErr_Occurred()) SWIG_fail
;
11803 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
11804 if (PyErr_Occurred()) SWIG_fail
;
11809 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
11810 if (PyErr_Occurred()) SWIG_fail
;
11814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11815 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11817 wxPyEndAllowThreads(__tstate
);
11818 if (PyErr_Occurred()) SWIG_fail
;
11820 Py_INCREF(Py_None
); resultobj
= Py_None
;
11827 static PyObject
*_wrap_PyRectangleShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11828 PyObject
*resultobj
;
11829 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11830 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
11833 int arg5
= (int) 0 ;
11834 int arg6
= (int) 0 ;
11835 PyObject
* obj0
= 0 ;
11836 PyObject
* obj1
= 0 ;
11837 PyObject
* obj2
= 0 ;
11838 PyObject
* obj3
= 0 ;
11839 PyObject
* obj4
= 0 ;
11840 PyObject
* obj5
= 0 ;
11841 char *kwnames
[] = {
11842 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyRectangleShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11847 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11849 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
11850 if (PyErr_Occurred()) SWIG_fail
;
11853 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
11854 if (PyErr_Occurred()) SWIG_fail
;
11858 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
11859 if (PyErr_Occurred()) SWIG_fail
;
11864 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
11865 if (PyErr_Occurred()) SWIG_fail
;
11869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11870 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
11872 wxPyEndAllowThreads(__tstate
);
11873 if (PyErr_Occurred()) SWIG_fail
;
11875 Py_INCREF(Py_None
); resultobj
= Py_None
;
11882 static PyObject
*_wrap_PyRectangleShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11883 PyObject
*resultobj
;
11884 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11885 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
11888 int arg5
= (int) 0 ;
11889 int arg6
= (int) 0 ;
11890 PyObject
* obj0
= 0 ;
11891 PyObject
* obj1
= 0 ;
11892 PyObject
* obj2
= 0 ;
11893 PyObject
* obj3
= 0 ;
11894 PyObject
* obj4
= 0 ;
11895 PyObject
* obj5
= 0 ;
11896 char *kwnames
[] = {
11897 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyRectangleShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11902 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11904 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
11905 if (PyErr_Occurred()) SWIG_fail
;
11908 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
11909 if (PyErr_Occurred()) SWIG_fail
;
11913 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
11914 if (PyErr_Occurred()) SWIG_fail
;
11919 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
11920 if (PyErr_Occurred()) SWIG_fail
;
11924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11925 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
11927 wxPyEndAllowThreads(__tstate
);
11928 if (PyErr_Occurred()) SWIG_fail
;
11930 Py_INCREF(Py_None
); resultobj
= Py_None
;
11937 static PyObject
*_wrap_PyRectangleShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11938 PyObject
*resultobj
;
11939 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11942 PyObject
* obj0
= 0 ;
11943 PyObject
* obj1
= 0 ;
11944 PyObject
* obj2
= 0 ;
11945 char *kwnames
[] = {
11946 (char *) "self",(char *) "w",(char *) "h", NULL
11949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyRectangleShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11950 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11952 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
11953 if (PyErr_Occurred()) SWIG_fail
;
11956 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
11957 if (PyErr_Occurred()) SWIG_fail
;
11960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11961 (arg1
)->base_OnBeginSize(arg2
,arg3
);
11963 wxPyEndAllowThreads(__tstate
);
11964 if (PyErr_Occurred()) SWIG_fail
;
11966 Py_INCREF(Py_None
); resultobj
= Py_None
;
11973 static PyObject
*_wrap_PyRectangleShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11974 PyObject
*resultobj
;
11975 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11978 PyObject
* obj0
= 0 ;
11979 PyObject
* obj1
= 0 ;
11980 PyObject
* obj2
= 0 ;
11981 char *kwnames
[] = {
11982 (char *) "self",(char *) "w",(char *) "h", NULL
11985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyRectangleShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11986 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11988 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
11989 if (PyErr_Occurred()) SWIG_fail
;
11992 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
11993 if (PyErr_Occurred()) SWIG_fail
;
11996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11997 (arg1
)->base_OnEndSize(arg2
,arg3
);
11999 wxPyEndAllowThreads(__tstate
);
12000 if (PyErr_Occurred()) SWIG_fail
;
12002 Py_INCREF(Py_None
); resultobj
= Py_None
;
12009 static PyObject
* PyRectangleShape_swigregister(PyObject
*self
, PyObject
*args
) {
12011 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12012 SWIG_TypeClientData(SWIGTYPE_p_wxPyRectangleShape
, obj
);
12014 return Py_BuildValue((char *)"");
12016 static PyObject
*_wrap_new_PyControlPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12017 PyObject
*resultobj
;
12018 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) NULL
;
12019 wxPyShape
*arg2
= (wxPyShape
*) NULL
;
12020 double arg3
= (double) 0.0 ;
12021 double arg4
= (double) 0.0 ;
12022 double arg5
= (double) 0.0 ;
12023 int arg6
= (int) 0 ;
12024 wxPyControlPoint
*result
;
12025 PyObject
* obj0
= 0 ;
12026 PyObject
* obj1
= 0 ;
12027 PyObject
* obj2
= 0 ;
12028 PyObject
* obj3
= 0 ;
12029 PyObject
* obj4
= 0 ;
12030 PyObject
* obj5
= 0 ;
12031 char *kwnames
[] = {
12032 (char *) "the_canvas",(char *) "object",(char *) "size",(char *) "the_xoffset",(char *) "the_yoffset",(char *) "the_type", NULL
12035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_PyControlPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12037 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12040 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12044 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
12045 if (PyErr_Occurred()) SWIG_fail
;
12050 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
12051 if (PyErr_Occurred()) SWIG_fail
;
12056 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
12057 if (PyErr_Occurred()) SWIG_fail
;
12062 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
12063 if (PyErr_Occurred()) SWIG_fail
;
12067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12068 result
= (wxPyControlPoint
*)new wxPyControlPoint(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
12070 wxPyEndAllowThreads(__tstate
);
12071 if (PyErr_Occurred()) SWIG_fail
;
12073 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyControlPoint
, 1);
12080 static PyObject
*_wrap_PyControlPoint__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12081 PyObject
*resultobj
;
12082 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12083 PyObject
*arg2
= (PyObject
*) 0 ;
12084 PyObject
*arg3
= (PyObject
*) 0 ;
12085 PyObject
* obj0
= 0 ;
12086 PyObject
* obj1
= 0 ;
12087 PyObject
* obj2
= 0 ;
12088 char *kwnames
[] = {
12089 (char *) "self",(char *) "self",(char *) "_class", NULL
12092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControlPoint__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12093 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12098 (arg1
)->_setCallbackInfo(arg2
,arg3
);
12100 wxPyEndAllowThreads(__tstate
);
12101 if (PyErr_Occurred()) SWIG_fail
;
12103 Py_INCREF(Py_None
); resultobj
= Py_None
;
12110 static PyObject
*_wrap_PyControlPoint_SetCornerRadius(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12111 PyObject
*resultobj
;
12112 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12114 PyObject
* obj0
= 0 ;
12115 PyObject
* obj1
= 0 ;
12116 char *kwnames
[] = {
12117 (char *) "self",(char *) "radius", NULL
12120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_SetCornerRadius",kwnames
,&obj0
,&obj1
)) goto fail
;
12121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12123 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
12124 if (PyErr_Occurred()) SWIG_fail
;
12127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12128 (arg1
)->SetCornerRadius(arg2
);
12130 wxPyEndAllowThreads(__tstate
);
12131 if (PyErr_Occurred()) SWIG_fail
;
12133 Py_INCREF(Py_None
); resultobj
= Py_None
;
12140 static PyObject
*_wrap_PyControlPoint_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12141 PyObject
*resultobj
;
12142 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12143 PyObject
* obj0
= 0 ;
12144 char *kwnames
[] = {
12145 (char *) "self", NULL
12148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControlPoint_base_OnDelete",kwnames
,&obj0
)) goto fail
;
12149 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12152 (arg1
)->base_OnDelete();
12154 wxPyEndAllowThreads(__tstate
);
12155 if (PyErr_Occurred()) SWIG_fail
;
12157 Py_INCREF(Py_None
); resultobj
= Py_None
;
12164 static PyObject
*_wrap_PyControlPoint_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12165 PyObject
*resultobj
;
12166 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12168 PyObject
* obj0
= 0 ;
12169 PyObject
* obj1
= 0 ;
12170 char *kwnames
[] = {
12171 (char *) "self",(char *) "dc", NULL
12174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
12175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12176 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12177 if (arg2
== NULL
) {
12178 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12182 (arg1
)->base_OnDraw(*arg2
);
12184 wxPyEndAllowThreads(__tstate
);
12185 if (PyErr_Occurred()) SWIG_fail
;
12187 Py_INCREF(Py_None
); resultobj
= Py_None
;
12194 static PyObject
*_wrap_PyControlPoint_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12195 PyObject
*resultobj
;
12196 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12198 PyObject
* obj0
= 0 ;
12199 PyObject
* obj1
= 0 ;
12200 char *kwnames
[] = {
12201 (char *) "self",(char *) "dc", NULL
12204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
12205 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12206 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12207 if (arg2
== NULL
) {
12208 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12212 (arg1
)->base_OnDrawContents(*arg2
);
12214 wxPyEndAllowThreads(__tstate
);
12215 if (PyErr_Occurred()) SWIG_fail
;
12217 Py_INCREF(Py_None
); resultobj
= Py_None
;
12224 static PyObject
*_wrap_PyControlPoint_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12225 PyObject
*resultobj
;
12226 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12228 bool arg3
= (bool) FALSE
;
12229 PyObject
* obj0
= 0 ;
12230 PyObject
* obj1
= 0 ;
12231 PyObject
* obj2
= 0 ;
12232 char *kwnames
[] = {
12233 (char *) "self",(char *) "dc",(char *) "erase", NULL
12236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyControlPoint_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12237 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12238 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12239 if (arg2
== NULL
) {
12240 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12244 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
12245 if (PyErr_Occurred()) SWIG_fail
;
12249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12250 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
12252 wxPyEndAllowThreads(__tstate
);
12253 if (PyErr_Occurred()) SWIG_fail
;
12255 Py_INCREF(Py_None
); resultobj
= Py_None
;
12262 static PyObject
*_wrap_PyControlPoint_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12263 PyObject
*resultobj
;
12264 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12266 PyObject
* obj0
= 0 ;
12267 PyObject
* obj1
= 0 ;
12268 char *kwnames
[] = {
12269 (char *) "self",(char *) "dc", NULL
12272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
12273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12274 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12275 if (arg2
== NULL
) {
12276 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12280 (arg1
)->base_OnMoveLinks(*arg2
);
12282 wxPyEndAllowThreads(__tstate
);
12283 if (PyErr_Occurred()) SWIG_fail
;
12285 Py_INCREF(Py_None
); resultobj
= Py_None
;
12292 static PyObject
*_wrap_PyControlPoint_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12293 PyObject
*resultobj
;
12294 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12296 PyObject
* obj0
= 0 ;
12297 PyObject
* obj1
= 0 ;
12298 char *kwnames
[] = {
12299 (char *) "self",(char *) "dc", NULL
12302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
12303 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12304 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12305 if (arg2
== NULL
) {
12306 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12310 (arg1
)->base_OnErase(*arg2
);
12312 wxPyEndAllowThreads(__tstate
);
12313 if (PyErr_Occurred()) SWIG_fail
;
12315 Py_INCREF(Py_None
); resultobj
= Py_None
;
12322 static PyObject
*_wrap_PyControlPoint_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12323 PyObject
*resultobj
;
12324 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12326 PyObject
* obj0
= 0 ;
12327 PyObject
* obj1
= 0 ;
12328 char *kwnames
[] = {
12329 (char *) "self",(char *) "dc", NULL
12332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
12333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12334 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12335 if (arg2
== NULL
) {
12336 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12340 (arg1
)->base_OnEraseContents(*arg2
);
12342 wxPyEndAllowThreads(__tstate
);
12343 if (PyErr_Occurred()) SWIG_fail
;
12345 Py_INCREF(Py_None
); resultobj
= Py_None
;
12352 static PyObject
*_wrap_PyControlPoint_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12353 PyObject
*resultobj
;
12354 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12356 PyObject
* obj0
= 0 ;
12357 PyObject
* obj1
= 0 ;
12358 char *kwnames
[] = {
12359 (char *) "self",(char *) "dc", NULL
12362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
12363 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12364 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12365 if (arg2
== NULL
) {
12366 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12370 (arg1
)->base_OnHighlight(*arg2
);
12372 wxPyEndAllowThreads(__tstate
);
12373 if (PyErr_Occurred()) SWIG_fail
;
12375 Py_INCREF(Py_None
); resultobj
= Py_None
;
12382 static PyObject
*_wrap_PyControlPoint_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12383 PyObject
*resultobj
;
12384 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12387 int arg4
= (int) 0 ;
12388 int arg5
= (int) 0 ;
12389 PyObject
* obj0
= 0 ;
12390 PyObject
* obj1
= 0 ;
12391 PyObject
* obj2
= 0 ;
12392 PyObject
* obj3
= 0 ;
12393 PyObject
* obj4
= 0 ;
12394 char *kwnames
[] = {
12395 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12399 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12401 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
12402 if (PyErr_Occurred()) SWIG_fail
;
12405 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
12406 if (PyErr_Occurred()) SWIG_fail
;
12410 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
12411 if (PyErr_Occurred()) SWIG_fail
;
12416 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
12417 if (PyErr_Occurred()) SWIG_fail
;
12421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12422 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
12424 wxPyEndAllowThreads(__tstate
);
12425 if (PyErr_Occurred()) SWIG_fail
;
12427 Py_INCREF(Py_None
); resultobj
= Py_None
;
12434 static PyObject
*_wrap_PyControlPoint_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12435 PyObject
*resultobj
;
12436 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12439 int arg4
= (int) 0 ;
12440 int arg5
= (int) 0 ;
12441 PyObject
* obj0
= 0 ;
12442 PyObject
* obj1
= 0 ;
12443 PyObject
* obj2
= 0 ;
12444 PyObject
* obj3
= 0 ;
12445 PyObject
* obj4
= 0 ;
12446 char *kwnames
[] = {
12447 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12451 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12453 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
12454 if (PyErr_Occurred()) SWIG_fail
;
12457 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
12458 if (PyErr_Occurred()) SWIG_fail
;
12462 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
12463 if (PyErr_Occurred()) SWIG_fail
;
12468 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
12469 if (PyErr_Occurred()) SWIG_fail
;
12473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12474 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
12476 wxPyEndAllowThreads(__tstate
);
12477 if (PyErr_Occurred()) SWIG_fail
;
12479 Py_INCREF(Py_None
); resultobj
= Py_None
;
12486 static PyObject
*_wrap_PyControlPoint_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12487 PyObject
*resultobj
;
12488 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12491 int arg4
= (int) 0 ;
12492 int arg5
= (int) 0 ;
12493 PyObject
* obj0
= 0 ;
12494 PyObject
* obj1
= 0 ;
12495 PyObject
* obj2
= 0 ;
12496 PyObject
* obj3
= 0 ;
12497 PyObject
* obj4
= 0 ;
12498 char *kwnames
[] = {
12499 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12503 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12505 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
12506 if (PyErr_Occurred()) SWIG_fail
;
12509 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
12510 if (PyErr_Occurred()) SWIG_fail
;
12514 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
12515 if (PyErr_Occurred()) SWIG_fail
;
12520 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
12521 if (PyErr_Occurred()) SWIG_fail
;
12525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12526 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
12528 wxPyEndAllowThreads(__tstate
);
12529 if (PyErr_Occurred()) SWIG_fail
;
12531 Py_INCREF(Py_None
); resultobj
= Py_None
;
12538 static PyObject
*_wrap_PyControlPoint_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12539 PyObject
*resultobj
;
12540 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12543 PyObject
* obj0
= 0 ;
12544 PyObject
* obj1
= 0 ;
12545 PyObject
* obj2
= 0 ;
12546 char *kwnames
[] = {
12547 (char *) "self",(char *) "x",(char *) "y", NULL
12550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControlPoint_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12551 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12553 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
12554 if (PyErr_Occurred()) SWIG_fail
;
12557 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
12558 if (PyErr_Occurred()) SWIG_fail
;
12561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12562 (arg1
)->base_OnSize(arg2
,arg3
);
12564 wxPyEndAllowThreads(__tstate
);
12565 if (PyErr_Occurred()) SWIG_fail
;
12567 Py_INCREF(Py_None
); resultobj
= Py_None
;
12574 static PyObject
*_wrap_PyControlPoint_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12575 PyObject
*resultobj
;
12576 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12582 bool arg7
= (bool) True
;
12584 PyObject
* obj0
= 0 ;
12585 PyObject
* obj1
= 0 ;
12586 PyObject
* obj2
= 0 ;
12587 PyObject
* obj3
= 0 ;
12588 PyObject
* obj4
= 0 ;
12589 PyObject
* obj5
= 0 ;
12590 PyObject
* obj6
= 0 ;
12591 char *kwnames
[] = {
12592 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
12595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyControlPoint_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12596 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12597 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12598 if (arg2
== NULL
) {
12599 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12602 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
12603 if (PyErr_Occurred()) SWIG_fail
;
12606 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
12607 if (PyErr_Occurred()) SWIG_fail
;
12610 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
12611 if (PyErr_Occurred()) SWIG_fail
;
12614 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
12615 if (PyErr_Occurred()) SWIG_fail
;
12619 arg7
= (bool) SWIG_PyObj_AsBool(obj6
);
12620 if (PyErr_Occurred()) SWIG_fail
;
12624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12625 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12627 wxPyEndAllowThreads(__tstate
);
12628 if (PyErr_Occurred()) SWIG_fail
;
12630 resultobj
= SWIG_PyObj_FromBool((bool)result
);
12637 static PyObject
*_wrap_PyControlPoint_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12638 PyObject
*resultobj
;
12639 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12645 bool arg7
= (bool) True
;
12646 PyObject
* obj0
= 0 ;
12647 PyObject
* obj1
= 0 ;
12648 PyObject
* obj2
= 0 ;
12649 PyObject
* obj3
= 0 ;
12650 PyObject
* obj4
= 0 ;
12651 PyObject
* obj5
= 0 ;
12652 PyObject
* obj6
= 0 ;
12653 char *kwnames
[] = {
12654 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
12657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyControlPoint_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12658 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12659 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12660 if (arg2
== NULL
) {
12661 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12664 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
12665 if (PyErr_Occurred()) SWIG_fail
;
12668 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
12669 if (PyErr_Occurred()) SWIG_fail
;
12672 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
12673 if (PyErr_Occurred()) SWIG_fail
;
12676 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
12677 if (PyErr_Occurred()) SWIG_fail
;
12681 arg7
= (bool) SWIG_PyObj_AsBool(obj6
);
12682 if (PyErr_Occurred()) SWIG_fail
;
12686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12687 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12689 wxPyEndAllowThreads(__tstate
);
12690 if (PyErr_Occurred()) SWIG_fail
;
12692 Py_INCREF(Py_None
); resultobj
= Py_None
;
12699 static PyObject
*_wrap_PyControlPoint_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12700 PyObject
*resultobj
;
12701 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12705 int arg5
= (int) 0 ;
12706 int arg6
= (int) 0 ;
12707 PyObject
* obj0
= 0 ;
12708 PyObject
* obj1
= 0 ;
12709 PyObject
* obj2
= 0 ;
12710 PyObject
* obj3
= 0 ;
12711 PyObject
* obj4
= 0 ;
12712 PyObject
* obj5
= 0 ;
12713 char *kwnames
[] = {
12714 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyControlPoint_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12720 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
12721 if (PyErr_Occurred()) SWIG_fail
;
12724 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
12725 if (PyErr_Occurred()) SWIG_fail
;
12728 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
12729 if (PyErr_Occurred()) SWIG_fail
;
12733 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
12734 if (PyErr_Occurred()) SWIG_fail
;
12739 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
12740 if (PyErr_Occurred()) SWIG_fail
;
12744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12745 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
12747 wxPyEndAllowThreads(__tstate
);
12748 if (PyErr_Occurred()) SWIG_fail
;
12750 Py_INCREF(Py_None
); resultobj
= Py_None
;
12757 static PyObject
*_wrap_PyControlPoint_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12758 PyObject
*resultobj
;
12759 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12762 int arg4
= (int) 0 ;
12763 int arg5
= (int) 0 ;
12764 PyObject
* obj0
= 0 ;
12765 PyObject
* obj1
= 0 ;
12766 PyObject
* obj2
= 0 ;
12767 PyObject
* obj3
= 0 ;
12768 PyObject
* obj4
= 0 ;
12769 char *kwnames
[] = {
12770 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12776 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
12777 if (PyErr_Occurred()) SWIG_fail
;
12780 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
12781 if (PyErr_Occurred()) SWIG_fail
;
12785 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
12786 if (PyErr_Occurred()) SWIG_fail
;
12791 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
12792 if (PyErr_Occurred()) SWIG_fail
;
12796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12797 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
12799 wxPyEndAllowThreads(__tstate
);
12800 if (PyErr_Occurred()) SWIG_fail
;
12802 Py_INCREF(Py_None
); resultobj
= Py_None
;
12809 static PyObject
*_wrap_PyControlPoint_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12810 PyObject
*resultobj
;
12811 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12814 int arg4
= (int) 0 ;
12815 int arg5
= (int) 0 ;
12816 PyObject
* obj0
= 0 ;
12817 PyObject
* obj1
= 0 ;
12818 PyObject
* obj2
= 0 ;
12819 PyObject
* obj3
= 0 ;
12820 PyObject
* obj4
= 0 ;
12821 char *kwnames
[] = {
12822 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12826 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12828 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
12829 if (PyErr_Occurred()) SWIG_fail
;
12832 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
12833 if (PyErr_Occurred()) SWIG_fail
;
12837 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
12838 if (PyErr_Occurred()) SWIG_fail
;
12843 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
12844 if (PyErr_Occurred()) SWIG_fail
;
12848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12849 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
12851 wxPyEndAllowThreads(__tstate
);
12852 if (PyErr_Occurred()) SWIG_fail
;
12854 Py_INCREF(Py_None
); resultobj
= Py_None
;
12861 static PyObject
*_wrap_PyControlPoint_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12862 PyObject
*resultobj
;
12863 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12867 int arg5
= (int) 0 ;
12868 int arg6
= (int) 0 ;
12869 PyObject
* obj0
= 0 ;
12870 PyObject
* obj1
= 0 ;
12871 PyObject
* obj2
= 0 ;
12872 PyObject
* obj3
= 0 ;
12873 PyObject
* obj4
= 0 ;
12874 PyObject
* obj5
= 0 ;
12875 char *kwnames
[] = {
12876 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyControlPoint_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12880 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12882 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
12883 if (PyErr_Occurred()) SWIG_fail
;
12886 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
12887 if (PyErr_Occurred()) SWIG_fail
;
12890 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
12891 if (PyErr_Occurred()) SWIG_fail
;
12895 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
12896 if (PyErr_Occurred()) SWIG_fail
;
12901 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
12902 if (PyErr_Occurred()) SWIG_fail
;
12906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12907 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
12909 wxPyEndAllowThreads(__tstate
);
12910 if (PyErr_Occurred()) SWIG_fail
;
12912 Py_INCREF(Py_None
); resultobj
= Py_None
;
12919 static PyObject
*_wrap_PyControlPoint_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12920 PyObject
*resultobj
;
12921 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12924 int arg4
= (int) 0 ;
12925 int arg5
= (int) 0 ;
12926 PyObject
* obj0
= 0 ;
12927 PyObject
* obj1
= 0 ;
12928 PyObject
* obj2
= 0 ;
12929 PyObject
* obj3
= 0 ;
12930 PyObject
* obj4
= 0 ;
12931 char *kwnames
[] = {
12932 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12938 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
12939 if (PyErr_Occurred()) SWIG_fail
;
12942 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
12943 if (PyErr_Occurred()) SWIG_fail
;
12947 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
12948 if (PyErr_Occurred()) SWIG_fail
;
12953 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
12954 if (PyErr_Occurred()) SWIG_fail
;
12958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12959 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
12961 wxPyEndAllowThreads(__tstate
);
12962 if (PyErr_Occurred()) SWIG_fail
;
12964 Py_INCREF(Py_None
); resultobj
= Py_None
;
12971 static PyObject
*_wrap_PyControlPoint_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12972 PyObject
*resultobj
;
12973 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12976 int arg4
= (int) 0 ;
12977 int arg5
= (int) 0 ;
12978 PyObject
* obj0
= 0 ;
12979 PyObject
* obj1
= 0 ;
12980 PyObject
* obj2
= 0 ;
12981 PyObject
* obj3
= 0 ;
12982 PyObject
* obj4
= 0 ;
12983 char *kwnames
[] = {
12984 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12988 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12990 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
12991 if (PyErr_Occurred()) SWIG_fail
;
12994 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
12995 if (PyErr_Occurred()) SWIG_fail
;
12999 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
13000 if (PyErr_Occurred()) SWIG_fail
;
13005 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
13006 if (PyErr_Occurred()) SWIG_fail
;
13010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13011 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
13013 wxPyEndAllowThreads(__tstate
);
13014 if (PyErr_Occurred()) SWIG_fail
;
13016 Py_INCREF(Py_None
); resultobj
= Py_None
;
13023 static PyObject
*_wrap_PyControlPoint_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13024 PyObject
*resultobj
;
13025 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13031 PyObject
* obj0
= 0 ;
13032 PyObject
* obj1
= 0 ;
13033 PyObject
* obj2
= 0 ;
13034 PyObject
* obj3
= 0 ;
13035 PyObject
* obj4
= 0 ;
13036 PyObject
* obj5
= 0 ;
13037 char *kwnames
[] = {
13038 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
13041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyControlPoint_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13043 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13044 if (arg2
== NULL
) {
13045 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13048 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
13049 if (PyErr_Occurred()) SWIG_fail
;
13052 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
13053 if (PyErr_Occurred()) SWIG_fail
;
13056 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
13057 if (PyErr_Occurred()) SWIG_fail
;
13060 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
13061 if (PyErr_Occurred()) SWIG_fail
;
13064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13065 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
13067 wxPyEndAllowThreads(__tstate
);
13068 if (PyErr_Occurred()) SWIG_fail
;
13070 Py_INCREF(Py_None
); resultobj
= Py_None
;
13077 static PyObject
*_wrap_PyControlPoint_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13078 PyObject
*resultobj
;
13079 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13081 PyObject
* obj0
= 0 ;
13082 PyObject
* obj1
= 0 ;
13083 char *kwnames
[] = {
13084 (char *) "self",(char *) "dc", NULL
13087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
13088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13089 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13090 if (arg2
== NULL
) {
13091 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13095 (arg1
)->base_OnDrawControlPoints(*arg2
);
13097 wxPyEndAllowThreads(__tstate
);
13098 if (PyErr_Occurred()) SWIG_fail
;
13100 Py_INCREF(Py_None
); resultobj
= Py_None
;
13107 static PyObject
*_wrap_PyControlPoint_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13108 PyObject
*resultobj
;
13109 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13111 PyObject
* obj0
= 0 ;
13112 PyObject
* obj1
= 0 ;
13113 char *kwnames
[] = {
13114 (char *) "self",(char *) "dc", NULL
13117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
13118 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13119 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13120 if (arg2
== NULL
) {
13121 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13125 (arg1
)->base_OnEraseControlPoints(*arg2
);
13127 wxPyEndAllowThreads(__tstate
);
13128 if (PyErr_Occurred()) SWIG_fail
;
13130 Py_INCREF(Py_None
); resultobj
= Py_None
;
13137 static PyObject
*_wrap_PyControlPoint_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13138 PyObject
*resultobj
;
13139 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13141 bool arg3
= (bool) True
;
13142 PyObject
* obj0
= 0 ;
13143 PyObject
* obj1
= 0 ;
13144 PyObject
* obj2
= 0 ;
13145 char *kwnames
[] = {
13146 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
13149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyControlPoint_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13150 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13151 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13152 if (arg2
== NULL
) {
13153 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13157 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
13158 if (PyErr_Occurred()) SWIG_fail
;
13162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13163 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
13165 wxPyEndAllowThreads(__tstate
);
13166 if (PyErr_Occurred()) SWIG_fail
;
13168 Py_INCREF(Py_None
); resultobj
= Py_None
;
13175 static PyObject
*_wrap_PyControlPoint_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13176 PyObject
*resultobj
;
13177 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13178 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
13182 int arg6
= (int) 0 ;
13183 int arg7
= (int) 0 ;
13184 PyObject
* obj0
= 0 ;
13185 PyObject
* obj1
= 0 ;
13186 PyObject
* obj2
= 0 ;
13187 PyObject
* obj3
= 0 ;
13188 PyObject
* obj4
= 0 ;
13189 PyObject
* obj5
= 0 ;
13190 PyObject
* obj6
= 0 ;
13191 char *kwnames
[] = {
13192 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyControlPoint_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13196 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13197 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13199 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
13200 if (PyErr_Occurred()) SWIG_fail
;
13203 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
13204 if (PyErr_Occurred()) SWIG_fail
;
13207 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
13208 if (PyErr_Occurred()) SWIG_fail
;
13212 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
13213 if (PyErr_Occurred()) SWIG_fail
;
13218 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
13219 if (PyErr_Occurred()) SWIG_fail
;
13223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13224 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13226 wxPyEndAllowThreads(__tstate
);
13227 if (PyErr_Occurred()) SWIG_fail
;
13229 Py_INCREF(Py_None
); resultobj
= Py_None
;
13236 static PyObject
*_wrap_PyControlPoint_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13237 PyObject
*resultobj
;
13238 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13239 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
13242 int arg5
= (int) 0 ;
13243 int arg6
= (int) 0 ;
13244 PyObject
* obj0
= 0 ;
13245 PyObject
* obj1
= 0 ;
13246 PyObject
* obj2
= 0 ;
13247 PyObject
* obj3
= 0 ;
13248 PyObject
* obj4
= 0 ;
13249 PyObject
* obj5
= 0 ;
13250 char *kwnames
[] = {
13251 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyControlPoint_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13255 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13256 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13258 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
13259 if (PyErr_Occurred()) SWIG_fail
;
13262 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
13263 if (PyErr_Occurred()) SWIG_fail
;
13267 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
13268 if (PyErr_Occurred()) SWIG_fail
;
13273 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
13274 if (PyErr_Occurred()) SWIG_fail
;
13278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13279 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
13281 wxPyEndAllowThreads(__tstate
);
13282 if (PyErr_Occurred()) SWIG_fail
;
13284 Py_INCREF(Py_None
); resultobj
= Py_None
;
13291 static PyObject
*_wrap_PyControlPoint_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13292 PyObject
*resultobj
;
13293 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13294 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
13297 int arg5
= (int) 0 ;
13298 int arg6
= (int) 0 ;
13299 PyObject
* obj0
= 0 ;
13300 PyObject
* obj1
= 0 ;
13301 PyObject
* obj2
= 0 ;
13302 PyObject
* obj3
= 0 ;
13303 PyObject
* obj4
= 0 ;
13304 PyObject
* obj5
= 0 ;
13305 char *kwnames
[] = {
13306 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyControlPoint_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13310 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13311 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13313 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
13314 if (PyErr_Occurred()) SWIG_fail
;
13317 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
13318 if (PyErr_Occurred()) SWIG_fail
;
13322 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
13323 if (PyErr_Occurred()) SWIG_fail
;
13328 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
13329 if (PyErr_Occurred()) SWIG_fail
;
13333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13334 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
13336 wxPyEndAllowThreads(__tstate
);
13337 if (PyErr_Occurred()) SWIG_fail
;
13339 Py_INCREF(Py_None
); resultobj
= Py_None
;
13346 static PyObject
*_wrap_PyControlPoint_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13347 PyObject
*resultobj
;
13348 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13351 PyObject
* obj0
= 0 ;
13352 PyObject
* obj1
= 0 ;
13353 PyObject
* obj2
= 0 ;
13354 char *kwnames
[] = {
13355 (char *) "self",(char *) "w",(char *) "h", NULL
13358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControlPoint_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13359 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13361 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
13362 if (PyErr_Occurred()) SWIG_fail
;
13365 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
13366 if (PyErr_Occurred()) SWIG_fail
;
13369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13370 (arg1
)->base_OnBeginSize(arg2
,arg3
);
13372 wxPyEndAllowThreads(__tstate
);
13373 if (PyErr_Occurred()) SWIG_fail
;
13375 Py_INCREF(Py_None
); resultobj
= Py_None
;
13382 static PyObject
*_wrap_PyControlPoint_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13383 PyObject
*resultobj
;
13384 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13387 PyObject
* obj0
= 0 ;
13388 PyObject
* obj1
= 0 ;
13389 PyObject
* obj2
= 0 ;
13390 char *kwnames
[] = {
13391 (char *) "self",(char *) "w",(char *) "h", NULL
13394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControlPoint_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13395 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13397 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
13398 if (PyErr_Occurred()) SWIG_fail
;
13401 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
13402 if (PyErr_Occurred()) SWIG_fail
;
13405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13406 (arg1
)->base_OnEndSize(arg2
,arg3
);
13408 wxPyEndAllowThreads(__tstate
);
13409 if (PyErr_Occurred()) SWIG_fail
;
13411 Py_INCREF(Py_None
); resultobj
= Py_None
;
13418 static PyObject
* PyControlPoint_swigregister(PyObject
*self
, PyObject
*args
) {
13420 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13421 SWIG_TypeClientData(SWIGTYPE_p_wxPyControlPoint
, obj
);
13423 return Py_BuildValue((char *)"");
13425 static PyObject
*_wrap_new_PyBitmapShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13426 PyObject
*resultobj
;
13427 wxPyBitmapShape
*result
;
13428 char *kwnames
[] = {
13432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyBitmapShape",kwnames
)) goto fail
;
13434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13435 result
= (wxPyBitmapShape
*)new wxPyBitmapShape();
13437 wxPyEndAllowThreads(__tstate
);
13438 if (PyErr_Occurred()) SWIG_fail
;
13440 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyBitmapShape
, 1);
13447 static PyObject
*_wrap_PyBitmapShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13448 PyObject
*resultobj
;
13449 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13450 PyObject
*arg2
= (PyObject
*) 0 ;
13451 PyObject
*arg3
= (PyObject
*) 0 ;
13452 PyObject
* obj0
= 0 ;
13453 PyObject
* obj1
= 0 ;
13454 PyObject
* obj2
= 0 ;
13455 char *kwnames
[] = {
13456 (char *) "self",(char *) "self",(char *) "_class", NULL
13459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13465 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13467 wxPyEndAllowThreads(__tstate
);
13468 if (PyErr_Occurred()) SWIG_fail
;
13470 Py_INCREF(Py_None
); resultobj
= Py_None
;
13477 static PyObject
*_wrap_PyBitmapShape_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13478 PyObject
*resultobj
;
13479 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13481 PyObject
* obj0
= 0 ;
13482 char *kwnames
[] = {
13483 (char *) "self", NULL
13486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyBitmapShape_GetBitmap",kwnames
,&obj0
)) goto fail
;
13487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13491 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
13492 result
= (wxBitmap
*) &_result_ref
;
13495 wxPyEndAllowThreads(__tstate
);
13496 if (PyErr_Occurred()) SWIG_fail
;
13498 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
13505 static PyObject
*_wrap_PyBitmapShape_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13506 PyObject
*resultobj
;
13507 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13509 PyObject
* obj0
= 0 ;
13510 char *kwnames
[] = {
13511 (char *) "self", NULL
13514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyBitmapShape_GetFilename",kwnames
,&obj0
)) goto fail
;
13515 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13518 result
= (arg1
)->GetFilename();
13520 wxPyEndAllowThreads(__tstate
);
13521 if (PyErr_Occurred()) SWIG_fail
;
13525 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13527 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13536 static PyObject
*_wrap_PyBitmapShape_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13537 PyObject
*resultobj
;
13538 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13539 wxBitmap
*arg2
= 0 ;
13540 PyObject
* obj0
= 0 ;
13541 PyObject
* obj1
= 0 ;
13542 char *kwnames
[] = {
13543 (char *) "self",(char *) "bitmap", NULL
13546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
13547 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13548 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13549 if (arg2
== NULL
) {
13550 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13554 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
13556 wxPyEndAllowThreads(__tstate
);
13557 if (PyErr_Occurred()) SWIG_fail
;
13559 Py_INCREF(Py_None
); resultobj
= Py_None
;
13566 static PyObject
*_wrap_PyBitmapShape_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13567 PyObject
*resultobj
;
13568 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13569 wxString
*arg2
= 0 ;
13570 bool temp2
= False
;
13571 PyObject
* obj0
= 0 ;
13572 PyObject
* obj1
= 0 ;
13573 char *kwnames
[] = {
13574 (char *) "self",(char *) "filename", NULL
13577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
13578 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13580 arg2
= wxString_in_helper(obj1
);
13581 if (arg2
== NULL
) SWIG_fail
;
13585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13586 (arg1
)->SetFilename((wxString
const &)*arg2
);
13588 wxPyEndAllowThreads(__tstate
);
13589 if (PyErr_Occurred()) SWIG_fail
;
13591 Py_INCREF(Py_None
); resultobj
= Py_None
;
13606 static PyObject
*_wrap_PyBitmapShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13607 PyObject
*resultobj
;
13608 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13609 PyObject
* obj0
= 0 ;
13610 char *kwnames
[] = {
13611 (char *) "self", NULL
13614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyBitmapShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
13615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13618 (arg1
)->base_OnDelete();
13620 wxPyEndAllowThreads(__tstate
);
13621 if (PyErr_Occurred()) SWIG_fail
;
13623 Py_INCREF(Py_None
); resultobj
= Py_None
;
13630 static PyObject
*_wrap_PyBitmapShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13631 PyObject
*resultobj
;
13632 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13634 PyObject
* obj0
= 0 ;
13635 PyObject
* obj1
= 0 ;
13636 char *kwnames
[] = {
13637 (char *) "self",(char *) "dc", NULL
13640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
13641 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13642 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13643 if (arg2
== NULL
) {
13644 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13648 (arg1
)->base_OnDraw(*arg2
);
13650 wxPyEndAllowThreads(__tstate
);
13651 if (PyErr_Occurred()) SWIG_fail
;
13653 Py_INCREF(Py_None
); resultobj
= Py_None
;
13660 static PyObject
*_wrap_PyBitmapShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13661 PyObject
*resultobj
;
13662 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13664 PyObject
* obj0
= 0 ;
13665 PyObject
* obj1
= 0 ;
13666 char *kwnames
[] = {
13667 (char *) "self",(char *) "dc", NULL
13670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
13671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13672 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13673 if (arg2
== NULL
) {
13674 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13678 (arg1
)->base_OnDrawContents(*arg2
);
13680 wxPyEndAllowThreads(__tstate
);
13681 if (PyErr_Occurred()) SWIG_fail
;
13683 Py_INCREF(Py_None
); resultobj
= Py_None
;
13690 static PyObject
*_wrap_PyBitmapShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13691 PyObject
*resultobj
;
13692 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13694 bool arg3
= (bool) FALSE
;
13695 PyObject
* obj0
= 0 ;
13696 PyObject
* obj1
= 0 ;
13697 PyObject
* obj2
= 0 ;
13698 char *kwnames
[] = {
13699 (char *) "self",(char *) "dc",(char *) "erase", NULL
13702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyBitmapShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13703 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13704 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13705 if (arg2
== NULL
) {
13706 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13710 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
13711 if (PyErr_Occurred()) SWIG_fail
;
13715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13716 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
13718 wxPyEndAllowThreads(__tstate
);
13719 if (PyErr_Occurred()) SWIG_fail
;
13721 Py_INCREF(Py_None
); resultobj
= Py_None
;
13728 static PyObject
*_wrap_PyBitmapShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13729 PyObject
*resultobj
;
13730 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13732 PyObject
* obj0
= 0 ;
13733 PyObject
* obj1
= 0 ;
13734 char *kwnames
[] = {
13735 (char *) "self",(char *) "dc", NULL
13738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
13739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13740 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13741 if (arg2
== NULL
) {
13742 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13746 (arg1
)->base_OnMoveLinks(*arg2
);
13748 wxPyEndAllowThreads(__tstate
);
13749 if (PyErr_Occurred()) SWIG_fail
;
13751 Py_INCREF(Py_None
); resultobj
= Py_None
;
13758 static PyObject
*_wrap_PyBitmapShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13759 PyObject
*resultobj
;
13760 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13762 PyObject
* obj0
= 0 ;
13763 PyObject
* obj1
= 0 ;
13764 char *kwnames
[] = {
13765 (char *) "self",(char *) "dc", NULL
13768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
13769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13770 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13771 if (arg2
== NULL
) {
13772 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13776 (arg1
)->base_OnErase(*arg2
);
13778 wxPyEndAllowThreads(__tstate
);
13779 if (PyErr_Occurred()) SWIG_fail
;
13781 Py_INCREF(Py_None
); resultobj
= Py_None
;
13788 static PyObject
*_wrap_PyBitmapShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13789 PyObject
*resultobj
;
13790 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13792 PyObject
* obj0
= 0 ;
13793 PyObject
* obj1
= 0 ;
13794 char *kwnames
[] = {
13795 (char *) "self",(char *) "dc", NULL
13798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
13799 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13800 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13801 if (arg2
== NULL
) {
13802 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13806 (arg1
)->base_OnEraseContents(*arg2
);
13808 wxPyEndAllowThreads(__tstate
);
13809 if (PyErr_Occurred()) SWIG_fail
;
13811 Py_INCREF(Py_None
); resultobj
= Py_None
;
13818 static PyObject
*_wrap_PyBitmapShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13819 PyObject
*resultobj
;
13820 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13822 PyObject
* obj0
= 0 ;
13823 PyObject
* obj1
= 0 ;
13824 char *kwnames
[] = {
13825 (char *) "self",(char *) "dc", NULL
13828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
13829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13830 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13831 if (arg2
== NULL
) {
13832 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13836 (arg1
)->base_OnHighlight(*arg2
);
13838 wxPyEndAllowThreads(__tstate
);
13839 if (PyErr_Occurred()) SWIG_fail
;
13841 Py_INCREF(Py_None
); resultobj
= Py_None
;
13848 static PyObject
*_wrap_PyBitmapShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13849 PyObject
*resultobj
;
13850 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13853 int arg4
= (int) 0 ;
13854 int arg5
= (int) 0 ;
13855 PyObject
* obj0
= 0 ;
13856 PyObject
* obj1
= 0 ;
13857 PyObject
* obj2
= 0 ;
13858 PyObject
* obj3
= 0 ;
13859 PyObject
* obj4
= 0 ;
13860 char *kwnames
[] = {
13861 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13865 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13867 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
13868 if (PyErr_Occurred()) SWIG_fail
;
13871 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
13872 if (PyErr_Occurred()) SWIG_fail
;
13876 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
13877 if (PyErr_Occurred()) SWIG_fail
;
13882 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
13883 if (PyErr_Occurred()) SWIG_fail
;
13887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13888 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
13890 wxPyEndAllowThreads(__tstate
);
13891 if (PyErr_Occurred()) SWIG_fail
;
13893 Py_INCREF(Py_None
); resultobj
= Py_None
;
13900 static PyObject
*_wrap_PyBitmapShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13901 PyObject
*resultobj
;
13902 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13905 int arg4
= (int) 0 ;
13906 int arg5
= (int) 0 ;
13907 PyObject
* obj0
= 0 ;
13908 PyObject
* obj1
= 0 ;
13909 PyObject
* obj2
= 0 ;
13910 PyObject
* obj3
= 0 ;
13911 PyObject
* obj4
= 0 ;
13912 char *kwnames
[] = {
13913 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13917 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13919 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
13920 if (PyErr_Occurred()) SWIG_fail
;
13923 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
13924 if (PyErr_Occurred()) SWIG_fail
;
13928 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
13929 if (PyErr_Occurred()) SWIG_fail
;
13934 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
13935 if (PyErr_Occurred()) SWIG_fail
;
13939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13940 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
13942 wxPyEndAllowThreads(__tstate
);
13943 if (PyErr_Occurred()) SWIG_fail
;
13945 Py_INCREF(Py_None
); resultobj
= Py_None
;
13952 static PyObject
*_wrap_PyBitmapShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13953 PyObject
*resultobj
;
13954 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13957 int arg4
= (int) 0 ;
13958 int arg5
= (int) 0 ;
13959 PyObject
* obj0
= 0 ;
13960 PyObject
* obj1
= 0 ;
13961 PyObject
* obj2
= 0 ;
13962 PyObject
* obj3
= 0 ;
13963 PyObject
* obj4
= 0 ;
13964 char *kwnames
[] = {
13965 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13969 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13971 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
13972 if (PyErr_Occurred()) SWIG_fail
;
13975 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
13976 if (PyErr_Occurred()) SWIG_fail
;
13980 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
13981 if (PyErr_Occurred()) SWIG_fail
;
13986 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
13987 if (PyErr_Occurred()) SWIG_fail
;
13991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13992 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
13994 wxPyEndAllowThreads(__tstate
);
13995 if (PyErr_Occurred()) SWIG_fail
;
13997 Py_INCREF(Py_None
); resultobj
= Py_None
;
14004 static PyObject
*_wrap_PyBitmapShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14005 PyObject
*resultobj
;
14006 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14009 PyObject
* obj0
= 0 ;
14010 PyObject
* obj1
= 0 ;
14011 PyObject
* obj2
= 0 ;
14012 char *kwnames
[] = {
14013 (char *) "self",(char *) "x",(char *) "y", NULL
14016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14017 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14019 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
14020 if (PyErr_Occurred()) SWIG_fail
;
14023 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
14024 if (PyErr_Occurred()) SWIG_fail
;
14027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14028 (arg1
)->base_OnSize(arg2
,arg3
);
14030 wxPyEndAllowThreads(__tstate
);
14031 if (PyErr_Occurred()) SWIG_fail
;
14033 Py_INCREF(Py_None
); resultobj
= Py_None
;
14040 static PyObject
*_wrap_PyBitmapShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14041 PyObject
*resultobj
;
14042 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14048 bool arg7
= (bool) True
;
14050 PyObject
* obj0
= 0 ;
14051 PyObject
* obj1
= 0 ;
14052 PyObject
* obj2
= 0 ;
14053 PyObject
* obj3
= 0 ;
14054 PyObject
* obj4
= 0 ;
14055 PyObject
* obj5
= 0 ;
14056 PyObject
* obj6
= 0 ;
14057 char *kwnames
[] = {
14058 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
14061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyBitmapShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14063 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14064 if (arg2
== NULL
) {
14065 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14068 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
14069 if (PyErr_Occurred()) SWIG_fail
;
14072 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
14073 if (PyErr_Occurred()) SWIG_fail
;
14076 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
14077 if (PyErr_Occurred()) SWIG_fail
;
14080 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
14081 if (PyErr_Occurred()) SWIG_fail
;
14085 arg7
= (bool) SWIG_PyObj_AsBool(obj6
);
14086 if (PyErr_Occurred()) SWIG_fail
;
14090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14091 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
14093 wxPyEndAllowThreads(__tstate
);
14094 if (PyErr_Occurred()) SWIG_fail
;
14096 resultobj
= SWIG_PyObj_FromBool((bool)result
);
14103 static PyObject
*_wrap_PyBitmapShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14104 PyObject
*resultobj
;
14105 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14111 bool arg7
= (bool) True
;
14112 PyObject
* obj0
= 0 ;
14113 PyObject
* obj1
= 0 ;
14114 PyObject
* obj2
= 0 ;
14115 PyObject
* obj3
= 0 ;
14116 PyObject
* obj4
= 0 ;
14117 PyObject
* obj5
= 0 ;
14118 PyObject
* obj6
= 0 ;
14119 char *kwnames
[] = {
14120 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
14123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyBitmapShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14124 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14125 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14126 if (arg2
== NULL
) {
14127 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14130 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
14131 if (PyErr_Occurred()) SWIG_fail
;
14134 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
14135 if (PyErr_Occurred()) SWIG_fail
;
14138 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
14139 if (PyErr_Occurred()) SWIG_fail
;
14142 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
14143 if (PyErr_Occurred()) SWIG_fail
;
14147 arg7
= (bool) SWIG_PyObj_AsBool(obj6
);
14148 if (PyErr_Occurred()) SWIG_fail
;
14152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14153 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
14155 wxPyEndAllowThreads(__tstate
);
14156 if (PyErr_Occurred()) SWIG_fail
;
14158 Py_INCREF(Py_None
); resultobj
= Py_None
;
14165 static PyObject
*_wrap_PyBitmapShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14166 PyObject
*resultobj
;
14167 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14171 int arg5
= (int) 0 ;
14172 int arg6
= (int) 0 ;
14173 PyObject
* obj0
= 0 ;
14174 PyObject
* obj1
= 0 ;
14175 PyObject
* obj2
= 0 ;
14176 PyObject
* obj3
= 0 ;
14177 PyObject
* obj4
= 0 ;
14178 PyObject
* obj5
= 0 ;
14179 char *kwnames
[] = {
14180 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyBitmapShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14184 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14186 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14187 if (PyErr_Occurred()) SWIG_fail
;
14190 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
14191 if (PyErr_Occurred()) SWIG_fail
;
14194 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
14195 if (PyErr_Occurred()) SWIG_fail
;
14199 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
14200 if (PyErr_Occurred()) SWIG_fail
;
14205 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
14206 if (PyErr_Occurred()) SWIG_fail
;
14210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14211 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
14213 wxPyEndAllowThreads(__tstate
);
14214 if (PyErr_Occurred()) SWIG_fail
;
14216 Py_INCREF(Py_None
); resultobj
= Py_None
;
14223 static PyObject
*_wrap_PyBitmapShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14224 PyObject
*resultobj
;
14225 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14228 int arg4
= (int) 0 ;
14229 int arg5
= (int) 0 ;
14230 PyObject
* obj0
= 0 ;
14231 PyObject
* obj1
= 0 ;
14232 PyObject
* obj2
= 0 ;
14233 PyObject
* obj3
= 0 ;
14234 PyObject
* obj4
= 0 ;
14235 char *kwnames
[] = {
14236 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14240 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14242 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
14243 if (PyErr_Occurred()) SWIG_fail
;
14246 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
14247 if (PyErr_Occurred()) SWIG_fail
;
14251 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
14252 if (PyErr_Occurred()) SWIG_fail
;
14257 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
14258 if (PyErr_Occurred()) SWIG_fail
;
14262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14263 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
14265 wxPyEndAllowThreads(__tstate
);
14266 if (PyErr_Occurred()) SWIG_fail
;
14268 Py_INCREF(Py_None
); resultobj
= Py_None
;
14275 static PyObject
*_wrap_PyBitmapShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14276 PyObject
*resultobj
;
14277 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14280 int arg4
= (int) 0 ;
14281 int arg5
= (int) 0 ;
14282 PyObject
* obj0
= 0 ;
14283 PyObject
* obj1
= 0 ;
14284 PyObject
* obj2
= 0 ;
14285 PyObject
* obj3
= 0 ;
14286 PyObject
* obj4
= 0 ;
14287 char *kwnames
[] = {
14288 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14292 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14294 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
14295 if (PyErr_Occurred()) SWIG_fail
;
14298 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
14299 if (PyErr_Occurred()) SWIG_fail
;
14303 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
14304 if (PyErr_Occurred()) SWIG_fail
;
14309 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
14310 if (PyErr_Occurred()) SWIG_fail
;
14314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14315 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
14317 wxPyEndAllowThreads(__tstate
);
14318 if (PyErr_Occurred()) SWIG_fail
;
14320 Py_INCREF(Py_None
); resultobj
= Py_None
;
14327 static PyObject
*_wrap_PyBitmapShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14328 PyObject
*resultobj
;
14329 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14333 int arg5
= (int) 0 ;
14334 int arg6
= (int) 0 ;
14335 PyObject
* obj0
= 0 ;
14336 PyObject
* obj1
= 0 ;
14337 PyObject
* obj2
= 0 ;
14338 PyObject
* obj3
= 0 ;
14339 PyObject
* obj4
= 0 ;
14340 PyObject
* obj5
= 0 ;
14341 char *kwnames
[] = {
14342 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyBitmapShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14346 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14348 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14349 if (PyErr_Occurred()) SWIG_fail
;
14352 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
14353 if (PyErr_Occurred()) SWIG_fail
;
14356 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
14357 if (PyErr_Occurred()) SWIG_fail
;
14361 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
14362 if (PyErr_Occurred()) SWIG_fail
;
14367 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
14368 if (PyErr_Occurred()) SWIG_fail
;
14372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14373 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
14375 wxPyEndAllowThreads(__tstate
);
14376 if (PyErr_Occurred()) SWIG_fail
;
14378 Py_INCREF(Py_None
); resultobj
= Py_None
;
14385 static PyObject
*_wrap_PyBitmapShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14386 PyObject
*resultobj
;
14387 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14390 int arg4
= (int) 0 ;
14391 int arg5
= (int) 0 ;
14392 PyObject
* obj0
= 0 ;
14393 PyObject
* obj1
= 0 ;
14394 PyObject
* obj2
= 0 ;
14395 PyObject
* obj3
= 0 ;
14396 PyObject
* obj4
= 0 ;
14397 char *kwnames
[] = {
14398 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14402 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14404 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
14405 if (PyErr_Occurred()) SWIG_fail
;
14408 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
14409 if (PyErr_Occurred()) SWIG_fail
;
14413 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
14414 if (PyErr_Occurred()) SWIG_fail
;
14419 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
14420 if (PyErr_Occurred()) SWIG_fail
;
14424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14425 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
14427 wxPyEndAllowThreads(__tstate
);
14428 if (PyErr_Occurred()) SWIG_fail
;
14430 Py_INCREF(Py_None
); resultobj
= Py_None
;
14437 static PyObject
*_wrap_PyBitmapShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14438 PyObject
*resultobj
;
14439 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14442 int arg4
= (int) 0 ;
14443 int arg5
= (int) 0 ;
14444 PyObject
* obj0
= 0 ;
14445 PyObject
* obj1
= 0 ;
14446 PyObject
* obj2
= 0 ;
14447 PyObject
* obj3
= 0 ;
14448 PyObject
* obj4
= 0 ;
14449 char *kwnames
[] = {
14450 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14456 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
14457 if (PyErr_Occurred()) SWIG_fail
;
14460 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
14461 if (PyErr_Occurred()) SWIG_fail
;
14465 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
14466 if (PyErr_Occurred()) SWIG_fail
;
14471 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
14472 if (PyErr_Occurred()) SWIG_fail
;
14476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14477 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
14479 wxPyEndAllowThreads(__tstate
);
14480 if (PyErr_Occurred()) SWIG_fail
;
14482 Py_INCREF(Py_None
); resultobj
= Py_None
;
14489 static PyObject
*_wrap_PyBitmapShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14490 PyObject
*resultobj
;
14491 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14497 PyObject
* obj0
= 0 ;
14498 PyObject
* obj1
= 0 ;
14499 PyObject
* obj2
= 0 ;
14500 PyObject
* obj3
= 0 ;
14501 PyObject
* obj4
= 0 ;
14502 PyObject
* obj5
= 0 ;
14503 char *kwnames
[] = {
14504 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
14507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyBitmapShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14508 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14509 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14510 if (arg2
== NULL
) {
14511 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14514 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
14515 if (PyErr_Occurred()) SWIG_fail
;
14518 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
14519 if (PyErr_Occurred()) SWIG_fail
;
14522 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
14523 if (PyErr_Occurred()) SWIG_fail
;
14526 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
14527 if (PyErr_Occurred()) SWIG_fail
;
14530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14531 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
14533 wxPyEndAllowThreads(__tstate
);
14534 if (PyErr_Occurred()) SWIG_fail
;
14536 Py_INCREF(Py_None
); resultobj
= Py_None
;
14543 static PyObject
*_wrap_PyBitmapShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14544 PyObject
*resultobj
;
14545 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14547 PyObject
* obj0
= 0 ;
14548 PyObject
* obj1
= 0 ;
14549 char *kwnames
[] = {
14550 (char *) "self",(char *) "dc", NULL
14553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
14554 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14555 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14556 if (arg2
== NULL
) {
14557 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14561 (arg1
)->base_OnDrawControlPoints(*arg2
);
14563 wxPyEndAllowThreads(__tstate
);
14564 if (PyErr_Occurred()) SWIG_fail
;
14566 Py_INCREF(Py_None
); resultobj
= Py_None
;
14573 static PyObject
*_wrap_PyBitmapShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14574 PyObject
*resultobj
;
14575 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14577 PyObject
* obj0
= 0 ;
14578 PyObject
* obj1
= 0 ;
14579 char *kwnames
[] = {
14580 (char *) "self",(char *) "dc", NULL
14583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
14584 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14585 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14586 if (arg2
== NULL
) {
14587 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14591 (arg1
)->base_OnEraseControlPoints(*arg2
);
14593 wxPyEndAllowThreads(__tstate
);
14594 if (PyErr_Occurred()) SWIG_fail
;
14596 Py_INCREF(Py_None
); resultobj
= Py_None
;
14603 static PyObject
*_wrap_PyBitmapShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14604 PyObject
*resultobj
;
14605 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14607 bool arg3
= (bool) True
;
14608 PyObject
* obj0
= 0 ;
14609 PyObject
* obj1
= 0 ;
14610 PyObject
* obj2
= 0 ;
14611 char *kwnames
[] = {
14612 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
14615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyBitmapShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14616 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14617 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14618 if (arg2
== NULL
) {
14619 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14623 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
14624 if (PyErr_Occurred()) SWIG_fail
;
14628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14629 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
14631 wxPyEndAllowThreads(__tstate
);
14632 if (PyErr_Occurred()) SWIG_fail
;
14634 Py_INCREF(Py_None
); resultobj
= Py_None
;
14641 static PyObject
*_wrap_PyBitmapShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14642 PyObject
*resultobj
;
14643 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14644 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
14648 int arg6
= (int) 0 ;
14649 int arg7
= (int) 0 ;
14650 PyObject
* obj0
= 0 ;
14651 PyObject
* obj1
= 0 ;
14652 PyObject
* obj2
= 0 ;
14653 PyObject
* obj3
= 0 ;
14654 PyObject
* obj4
= 0 ;
14655 PyObject
* obj5
= 0 ;
14656 PyObject
* obj6
= 0 ;
14657 char *kwnames
[] = {
14658 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyBitmapShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14663 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14665 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
14666 if (PyErr_Occurred()) SWIG_fail
;
14669 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
14670 if (PyErr_Occurred()) SWIG_fail
;
14673 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
14674 if (PyErr_Occurred()) SWIG_fail
;
14678 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
14679 if (PyErr_Occurred()) SWIG_fail
;
14684 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
14685 if (PyErr_Occurred()) SWIG_fail
;
14689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14690 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
14692 wxPyEndAllowThreads(__tstate
);
14693 if (PyErr_Occurred()) SWIG_fail
;
14695 Py_INCREF(Py_None
); resultobj
= Py_None
;
14702 static PyObject
*_wrap_PyBitmapShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14703 PyObject
*resultobj
;
14704 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14705 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
14708 int arg5
= (int) 0 ;
14709 int arg6
= (int) 0 ;
14710 PyObject
* obj0
= 0 ;
14711 PyObject
* obj1
= 0 ;
14712 PyObject
* obj2
= 0 ;
14713 PyObject
* obj3
= 0 ;
14714 PyObject
* obj4
= 0 ;
14715 PyObject
* obj5
= 0 ;
14716 char *kwnames
[] = {
14717 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyBitmapShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14721 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14722 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14724 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
14725 if (PyErr_Occurred()) SWIG_fail
;
14728 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
14729 if (PyErr_Occurred()) SWIG_fail
;
14733 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
14734 if (PyErr_Occurred()) SWIG_fail
;
14739 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
14740 if (PyErr_Occurred()) SWIG_fail
;
14744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14745 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
14747 wxPyEndAllowThreads(__tstate
);
14748 if (PyErr_Occurred()) SWIG_fail
;
14750 Py_INCREF(Py_None
); resultobj
= Py_None
;
14757 static PyObject
*_wrap_PyBitmapShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14758 PyObject
*resultobj
;
14759 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14760 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
14763 int arg5
= (int) 0 ;
14764 int arg6
= (int) 0 ;
14765 PyObject
* obj0
= 0 ;
14766 PyObject
* obj1
= 0 ;
14767 PyObject
* obj2
= 0 ;
14768 PyObject
* obj3
= 0 ;
14769 PyObject
* obj4
= 0 ;
14770 PyObject
* obj5
= 0 ;
14771 char *kwnames
[] = {
14772 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyBitmapShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14776 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14777 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14779 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
14780 if (PyErr_Occurred()) SWIG_fail
;
14783 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
14784 if (PyErr_Occurred()) SWIG_fail
;
14788 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
14789 if (PyErr_Occurred()) SWIG_fail
;
14794 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
14795 if (PyErr_Occurred()) SWIG_fail
;
14799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14800 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
14802 wxPyEndAllowThreads(__tstate
);
14803 if (PyErr_Occurred()) SWIG_fail
;
14805 Py_INCREF(Py_None
); resultobj
= Py_None
;
14812 static PyObject
*_wrap_PyBitmapShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14813 PyObject
*resultobj
;
14814 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14817 PyObject
* obj0
= 0 ;
14818 PyObject
* obj1
= 0 ;
14819 PyObject
* obj2
= 0 ;
14820 char *kwnames
[] = {
14821 (char *) "self",(char *) "w",(char *) "h", NULL
14824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14825 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14827 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
14828 if (PyErr_Occurred()) SWIG_fail
;
14831 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
14832 if (PyErr_Occurred()) SWIG_fail
;
14835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14836 (arg1
)->base_OnBeginSize(arg2
,arg3
);
14838 wxPyEndAllowThreads(__tstate
);
14839 if (PyErr_Occurred()) SWIG_fail
;
14841 Py_INCREF(Py_None
); resultobj
= Py_None
;
14848 static PyObject
*_wrap_PyBitmapShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14849 PyObject
*resultobj
;
14850 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14853 PyObject
* obj0
= 0 ;
14854 PyObject
* obj1
= 0 ;
14855 PyObject
* obj2
= 0 ;
14856 char *kwnames
[] = {
14857 (char *) "self",(char *) "w",(char *) "h", NULL
14860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14861 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14863 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
14864 if (PyErr_Occurred()) SWIG_fail
;
14867 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
14868 if (PyErr_Occurred()) SWIG_fail
;
14871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14872 (arg1
)->base_OnEndSize(arg2
,arg3
);
14874 wxPyEndAllowThreads(__tstate
);
14875 if (PyErr_Occurred()) SWIG_fail
;
14877 Py_INCREF(Py_None
); resultobj
= Py_None
;
14884 static PyObject
* PyBitmapShape_swigregister(PyObject
*self
, PyObject
*args
) {
14886 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14887 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapShape
, obj
);
14889 return Py_BuildValue((char *)"");
14891 static PyObject
*_wrap_new_PyDrawnShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14892 PyObject
*resultobj
;
14893 wxPyDrawnShape
*result
;
14894 char *kwnames
[] = {
14898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyDrawnShape",kwnames
)) goto fail
;
14900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14901 result
= (wxPyDrawnShape
*)new wxPyDrawnShape();
14903 wxPyEndAllowThreads(__tstate
);
14904 if (PyErr_Occurred()) SWIG_fail
;
14906 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyDrawnShape
, 1);
14913 static PyObject
*_wrap_PyDrawnShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14914 PyObject
*resultobj
;
14915 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14916 PyObject
*arg2
= (PyObject
*) 0 ;
14917 PyObject
*arg3
= (PyObject
*) 0 ;
14918 PyObject
* obj0
= 0 ;
14919 PyObject
* obj1
= 0 ;
14920 PyObject
* obj2
= 0 ;
14921 char *kwnames
[] = {
14922 (char *) "self",(char *) "self",(char *) "_class", NULL
14925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14926 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14931 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14933 wxPyEndAllowThreads(__tstate
);
14934 if (PyErr_Occurred()) SWIG_fail
;
14936 Py_INCREF(Py_None
); resultobj
= Py_None
;
14943 static PyObject
*_wrap_PyDrawnShape_CalculateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14944 PyObject
*resultobj
;
14945 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14946 PyObject
* obj0
= 0 ;
14947 char *kwnames
[] = {
14948 (char *) "self", NULL
14951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_CalculateSize",kwnames
,&obj0
)) goto fail
;
14952 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14955 (arg1
)->CalculateSize();
14957 wxPyEndAllowThreads(__tstate
);
14958 if (PyErr_Occurred()) SWIG_fail
;
14960 Py_INCREF(Py_None
); resultobj
= Py_None
;
14967 static PyObject
*_wrap_PyDrawnShape_DestroyClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14968 PyObject
*resultobj
;
14969 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14970 PyObject
* obj0
= 0 ;
14971 char *kwnames
[] = {
14972 (char *) "self", NULL
14975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_DestroyClippingRect",kwnames
,&obj0
)) goto fail
;
14976 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14979 (arg1
)->DestroyClippingRect();
14981 wxPyEndAllowThreads(__tstate
);
14982 if (PyErr_Occurred()) SWIG_fail
;
14984 Py_INCREF(Py_None
); resultobj
= Py_None
;
14991 static PyObject
*_wrap_PyDrawnShape_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14992 PyObject
*resultobj
;
14993 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14994 wxPoint
*arg2
= 0 ;
14995 wxPoint
*arg3
= 0 ;
14996 wxPoint
*arg4
= 0 ;
15000 PyObject
* obj0
= 0 ;
15001 PyObject
* obj1
= 0 ;
15002 PyObject
* obj2
= 0 ;
15003 PyObject
* obj3
= 0 ;
15004 char *kwnames
[] = {
15005 (char *) "self",(char *) "centrePoint",(char *) "startPoint",(char *) "endPoint", NULL
15008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyDrawnShape_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15012 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15016 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15020 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15024 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
15026 wxPyEndAllowThreads(__tstate
);
15027 if (PyErr_Occurred()) SWIG_fail
;
15029 Py_INCREF(Py_None
); resultobj
= Py_None
;
15036 static PyObject
*_wrap_PyDrawnShape_DrawAtAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15037 PyObject
*resultobj
;
15038 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15040 PyObject
* obj0
= 0 ;
15041 PyObject
* obj1
= 0 ;
15042 char *kwnames
[] = {
15043 (char *) "self",(char *) "angle", NULL
15046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_DrawAtAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
15047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15049 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15050 if (PyErr_Occurred()) SWIG_fail
;
15053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15054 (arg1
)->DrawAtAngle(arg2
);
15056 wxPyEndAllowThreads(__tstate
);
15057 if (PyErr_Occurred()) SWIG_fail
;
15059 Py_INCREF(Py_None
); resultobj
= Py_None
;
15066 static PyObject
*_wrap_PyDrawnShape_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15067 PyObject
*resultobj
;
15068 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15073 PyObject
* obj0
= 0 ;
15074 PyObject
* obj1
= 0 ;
15075 PyObject
* obj2
= 0 ;
15076 PyObject
* obj3
= 0 ;
15077 char *kwnames
[] = {
15078 (char *) "self",(char *) "rect",(char *) "startAngle",(char *) "endAngle", NULL
15081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyDrawnShape_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15082 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15085 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15088 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
15089 if (PyErr_Occurred()) SWIG_fail
;
15092 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
15093 if (PyErr_Occurred()) SWIG_fail
;
15096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15097 (arg1
)->DrawEllipticArc((wxRect
const &)*arg2
,arg3
,arg4
);
15099 wxPyEndAllowThreads(__tstate
);
15100 if (PyErr_Occurred()) SWIG_fail
;
15102 Py_INCREF(Py_None
); resultobj
= Py_None
;
15109 static PyObject
*_wrap_PyDrawnShape_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15110 PyObject
*resultobj
;
15111 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15112 wxPoint
*arg2
= 0 ;
15113 wxPoint
*arg3
= 0 ;
15116 PyObject
* obj0
= 0 ;
15117 PyObject
* obj1
= 0 ;
15118 PyObject
* obj2
= 0 ;
15119 char *kwnames
[] = {
15120 (char *) "self",(char *) "point1",(char *) "point2", NULL
15123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15124 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15127 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15131 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15135 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
15137 wxPyEndAllowThreads(__tstate
);
15138 if (PyErr_Occurred()) SWIG_fail
;
15140 Py_INCREF(Py_None
); resultobj
= Py_None
;
15147 static PyObject
*_wrap_PyDrawnShape_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15148 PyObject
*resultobj
;
15149 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15151 wxPoint
*arg3
= (wxPoint
*) 0 ;
15152 PyObject
* obj0
= 0 ;
15153 PyObject
* obj1
= 0 ;
15154 PyObject
* obj2
= 0 ;
15155 char *kwnames
[] = {
15156 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
15159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15160 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15162 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15163 if (PyErr_Occurred()) SWIG_fail
;
15165 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15168 (arg1
)->DrawLines(arg2
,arg3
);
15170 wxPyEndAllowThreads(__tstate
);
15171 if (PyErr_Occurred()) SWIG_fail
;
15173 Py_INCREF(Py_None
); resultobj
= Py_None
;
15180 static PyObject
*_wrap_PyDrawnShape_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15181 PyObject
*resultobj
;
15182 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15183 wxPoint
*arg2
= 0 ;
15185 PyObject
* obj0
= 0 ;
15186 PyObject
* obj1
= 0 ;
15187 char *kwnames
[] = {
15188 (char *) "self",(char *) "point", NULL
15191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_DrawPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
15192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15195 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15199 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
15201 wxPyEndAllowThreads(__tstate
);
15202 if (PyErr_Occurred()) SWIG_fail
;
15204 Py_INCREF(Py_None
); resultobj
= Py_None
;
15211 static PyObject
*_wrap_PyDrawnShape_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15212 PyObject
*resultobj
;
15213 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15215 wxPoint
*arg3
= (wxPoint
*) 0 ;
15216 int arg4
= (int) 0 ;
15217 PyObject
* obj0
= 0 ;
15218 PyObject
* obj1
= 0 ;
15219 PyObject
* obj2
= 0 ;
15220 PyObject
* obj3
= 0 ;
15221 char *kwnames
[] = {
15222 (char *) "self",(char *) "PCOUNT",(char *) "points",(char *) "flags", NULL
15225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyDrawnShape_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15226 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15228 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15229 if (PyErr_Occurred()) SWIG_fail
;
15231 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15234 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
15235 if (PyErr_Occurred()) SWIG_fail
;
15239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15240 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
);
15242 wxPyEndAllowThreads(__tstate
);
15243 if (PyErr_Occurred()) SWIG_fail
;
15245 Py_INCREF(Py_None
); resultobj
= Py_None
;
15252 static PyObject
*_wrap_PyDrawnShape_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15253 PyObject
*resultobj
;
15254 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15257 PyObject
* obj0
= 0 ;
15258 PyObject
* obj1
= 0 ;
15259 char *kwnames
[] = {
15260 (char *) "self",(char *) "rect", NULL
15263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_DrawRectangle",kwnames
,&obj0
,&obj1
)) goto fail
;
15264 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15267 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15271 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
15273 wxPyEndAllowThreads(__tstate
);
15274 if (PyErr_Occurred()) SWIG_fail
;
15276 Py_INCREF(Py_None
); resultobj
= Py_None
;
15283 static PyObject
*_wrap_PyDrawnShape_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15284 PyObject
*resultobj
;
15285 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15289 PyObject
* obj0
= 0 ;
15290 PyObject
* obj1
= 0 ;
15291 PyObject
* obj2
= 0 ;
15292 char *kwnames
[] = {
15293 (char *) "self",(char *) "rect",(char *) "radius", NULL
15296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15297 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15300 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15303 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
15304 if (PyErr_Occurred()) SWIG_fail
;
15307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15308 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
15310 wxPyEndAllowThreads(__tstate
);
15311 if (PyErr_Occurred()) SWIG_fail
;
15313 Py_INCREF(Py_None
); resultobj
= Py_None
;
15320 static PyObject
*_wrap_PyDrawnShape_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15321 PyObject
*resultobj
;
15322 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15324 wxPoint
*arg3
= (wxPoint
*) 0 ;
15325 PyObject
* obj0
= 0 ;
15326 PyObject
* obj1
= 0 ;
15327 PyObject
* obj2
= 0 ;
15328 char *kwnames
[] = {
15329 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
15332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_DrawSpline",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15335 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15336 if (PyErr_Occurred()) SWIG_fail
;
15338 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15341 (arg1
)->DrawSpline(arg2
,arg3
);
15343 wxPyEndAllowThreads(__tstate
);
15344 if (PyErr_Occurred()) SWIG_fail
;
15346 Py_INCREF(Py_None
); resultobj
= Py_None
;
15353 static PyObject
*_wrap_PyDrawnShape_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15354 PyObject
*resultobj
;
15355 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15356 wxString
*arg2
= 0 ;
15357 wxPoint
*arg3
= 0 ;
15358 bool temp2
= False
;
15360 PyObject
* obj0
= 0 ;
15361 PyObject
* obj1
= 0 ;
15362 PyObject
* obj2
= 0 ;
15363 char *kwnames
[] = {
15364 (char *) "self",(char *) "text",(char *) "point", NULL
15367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_DrawText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15368 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15370 arg2
= wxString_in_helper(obj1
);
15371 if (arg2
== NULL
) SWIG_fail
;
15376 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15380 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
15382 wxPyEndAllowThreads(__tstate
);
15383 if (PyErr_Occurred()) SWIG_fail
;
15385 Py_INCREF(Py_None
); resultobj
= Py_None
;
15400 static PyObject
*_wrap_PyDrawnShape_GetAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15401 PyObject
*resultobj
;
15402 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15404 PyObject
* obj0
= 0 ;
15405 char *kwnames
[] = {
15406 (char *) "self", NULL
15409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_GetAngle",kwnames
,&obj0
)) goto fail
;
15410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15413 result
= (int)(arg1
)->GetAngle();
15415 wxPyEndAllowThreads(__tstate
);
15416 if (PyErr_Occurred()) SWIG_fail
;
15418 resultobj
= SWIG_PyObj_FromInt((int)result
);
15425 static PyObject
*_wrap_PyDrawnShape_GetMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15426 PyObject
*resultobj
;
15427 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15428 wxPseudoMetaFile
*result
;
15429 PyObject
* obj0
= 0 ;
15430 char *kwnames
[] = {
15431 (char *) "self", NULL
15434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_GetMetaFile",kwnames
,&obj0
)) goto fail
;
15435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15439 wxPseudoMetaFile
&_result_ref
= (arg1
)->GetMetaFile();
15440 result
= (wxPseudoMetaFile
*) &_result_ref
;
15443 wxPyEndAllowThreads(__tstate
);
15444 if (PyErr_Occurred()) SWIG_fail
;
15446 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPseudoMetaFile
, 0);
15453 static PyObject
*_wrap_PyDrawnShape_GetRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15454 PyObject
*resultobj
;
15455 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15457 PyObject
* obj0
= 0 ;
15458 char *kwnames
[] = {
15459 (char *) "self", NULL
15462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_GetRotation",kwnames
,&obj0
)) goto fail
;
15463 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15466 result
= (double)(arg1
)->GetRotation();
15468 wxPyEndAllowThreads(__tstate
);
15469 if (PyErr_Occurred()) SWIG_fail
;
15471 resultobj
= SWIG_PyObj_FromDouble((double)result
);
15478 static PyObject
*_wrap_PyDrawnShape_LoadFromMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15479 PyObject
*resultobj
;
15480 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15481 wxString
*arg2
= 0 ;
15483 bool temp2
= False
;
15484 PyObject
* obj0
= 0 ;
15485 PyObject
* obj1
= 0 ;
15486 char *kwnames
[] = {
15487 (char *) "self",(char *) "filename", NULL
15490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_LoadFromMetaFile",kwnames
,&obj0
,&obj1
)) goto fail
;
15491 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15493 arg2
= wxString_in_helper(obj1
);
15494 if (arg2
== NULL
) SWIG_fail
;
15498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15499 result
= (bool)(arg1
)->LoadFromMetaFile((wxString
const &)*arg2
);
15501 wxPyEndAllowThreads(__tstate
);
15502 if (PyErr_Occurred()) SWIG_fail
;
15504 resultobj
= SWIG_PyObj_FromBool((bool)result
);
15519 static PyObject
*_wrap_PyDrawnShape_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15520 PyObject
*resultobj
;
15521 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15525 PyObject
* obj0
= 0 ;
15526 PyObject
* obj1
= 0 ;
15527 PyObject
* obj2
= 0 ;
15528 PyObject
* obj3
= 0 ;
15529 char *kwnames
[] = {
15530 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
15533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyDrawnShape_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15534 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15536 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
15537 if (PyErr_Occurred()) SWIG_fail
;
15540 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
15541 if (PyErr_Occurred()) SWIG_fail
;
15544 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
15545 if (PyErr_Occurred()) SWIG_fail
;
15548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15549 (arg1
)->Rotate(arg2
,arg3
,arg4
);
15551 wxPyEndAllowThreads(__tstate
);
15552 if (PyErr_Occurred()) SWIG_fail
;
15554 Py_INCREF(Py_None
); resultobj
= Py_None
;
15561 static PyObject
*_wrap_PyDrawnShape_SetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15562 PyObject
*resultobj
;
15563 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15566 PyObject
* obj0
= 0 ;
15567 PyObject
* obj1
= 0 ;
15568 char *kwnames
[] = {
15569 (char *) "self",(char *) "rect", NULL
15572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
15573 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15576 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15580 (arg1
)->SetClippingRect((wxRect
const &)*arg2
);
15582 wxPyEndAllowThreads(__tstate
);
15583 if (PyErr_Occurred()) SWIG_fail
;
15585 Py_INCREF(Py_None
); resultobj
= Py_None
;
15592 static PyObject
*_wrap_PyDrawnShape_SetDrawnBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15593 PyObject
*resultobj
;
15594 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15595 wxColour
*arg2
= 0 ;
15597 PyObject
* obj0
= 0 ;
15598 PyObject
* obj1
= 0 ;
15599 char *kwnames
[] = {
15600 (char *) "self",(char *) "colour", NULL
15603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetDrawnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15604 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15607 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15611 (arg1
)->SetDrawnBackgroundColour((wxColour
const &)*arg2
);
15613 wxPyEndAllowThreads(__tstate
);
15614 if (PyErr_Occurred()) SWIG_fail
;
15616 Py_INCREF(Py_None
); resultobj
= Py_None
;
15623 static PyObject
*_wrap_PyDrawnShape_SetDrawnBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15624 PyObject
*resultobj
;
15625 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15627 PyObject
* obj0
= 0 ;
15628 PyObject
* obj1
= 0 ;
15629 char *kwnames
[] = {
15630 (char *) "self",(char *) "mode", NULL
15633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetDrawnBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
15634 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15636 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15637 if (PyErr_Occurred()) SWIG_fail
;
15640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15641 (arg1
)->SetDrawnBackgroundMode(arg2
);
15643 wxPyEndAllowThreads(__tstate
);
15644 if (PyErr_Occurred()) SWIG_fail
;
15646 Py_INCREF(Py_None
); resultobj
= Py_None
;
15653 static PyObject
*_wrap_PyDrawnShape_SetDrawnBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15654 PyObject
*resultobj
;
15655 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15656 wxBrush
*arg2
= (wxBrush
*) 0 ;
15657 bool arg3
= (bool) FALSE
;
15658 PyObject
* obj0
= 0 ;
15659 PyObject
* obj1
= 0 ;
15660 PyObject
* obj2
= 0 ;
15661 char *kwnames
[] = {
15662 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
15665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDrawnShape_SetDrawnBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15666 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15670 if (obj1
== Py_None
) {
15673 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxBrush"))) {
15674 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxBrush.");
15679 arg2
= wxTheBrushList
->FindOrCreateBrush(temp
->GetColour(), temp
->GetStyle());
15685 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
15686 if (PyErr_Occurred()) SWIG_fail
;
15690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15691 (arg1
)->SetDrawnBrush(arg2
,arg3
);
15693 wxPyEndAllowThreads(__tstate
);
15694 if (PyErr_Occurred()) SWIG_fail
;
15696 Py_INCREF(Py_None
); resultobj
= Py_None
;
15703 static PyObject
*_wrap_PyDrawnShape_SetDrawnFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15704 PyObject
*resultobj
;
15705 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15706 wxFont
*arg2
= (wxFont
*) 0 ;
15707 PyObject
* obj0
= 0 ;
15708 PyObject
* obj1
= 0 ;
15709 char *kwnames
[] = {
15710 (char *) "self",(char *) "font", NULL
15713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetDrawnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15714 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15718 if (obj1
== Py_None
) {
15721 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxFont"))) {
15722 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxFont.");
15727 arg2
= wxTheFontList
->FindOrCreateFont(temp
->GetPointSize(),
15731 temp
->GetUnderlined(),
15732 temp
->GetFaceName(),
15733 temp
->GetEncoding());
15738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15739 (arg1
)->SetDrawnFont(arg2
);
15741 wxPyEndAllowThreads(__tstate
);
15742 if (PyErr_Occurred()) SWIG_fail
;
15744 Py_INCREF(Py_None
); resultobj
= Py_None
;
15751 static PyObject
*_wrap_PyDrawnShape_SetDrawnPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15752 PyObject
*resultobj
;
15753 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15754 wxPen
*arg2
= (wxPen
*) 0 ;
15755 bool arg3
= (bool) FALSE
;
15756 PyObject
* obj0
= 0 ;
15757 PyObject
* obj1
= 0 ;
15758 PyObject
* obj2
= 0 ;
15759 char *kwnames
[] = {
15760 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
15763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDrawnShape_SetDrawnPen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15764 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15768 if (obj1
== Py_None
) {
15771 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
15772 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
15777 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
15785 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
15786 if (PyErr_Occurred()) SWIG_fail
;
15790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15791 (arg1
)->SetDrawnPen(arg2
,arg3
);
15793 wxPyEndAllowThreads(__tstate
);
15794 if (PyErr_Occurred()) SWIG_fail
;
15796 Py_INCREF(Py_None
); resultobj
= Py_None
;
15803 static PyObject
*_wrap_PyDrawnShape_SetDrawnTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15804 PyObject
*resultobj
;
15805 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15806 wxColour
*arg2
= 0 ;
15808 PyObject
* obj0
= 0 ;
15809 PyObject
* obj1
= 0 ;
15810 char *kwnames
[] = {
15811 (char *) "self",(char *) "colour", NULL
15814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetDrawnTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15815 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15818 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15822 (arg1
)->SetDrawnTextColour((wxColour
const &)*arg2
);
15824 wxPyEndAllowThreads(__tstate
);
15825 if (PyErr_Occurred()) SWIG_fail
;
15827 Py_INCREF(Py_None
); resultobj
= Py_None
;
15834 static PyObject
*_wrap_PyDrawnShape_Scale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15835 PyObject
*resultobj
;
15836 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15839 PyObject
* obj0
= 0 ;
15840 PyObject
* obj1
= 0 ;
15841 PyObject
* obj2
= 0 ;
15842 char *kwnames
[] = {
15843 (char *) "self",(char *) "sx",(char *) "sy", NULL
15846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15849 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
15850 if (PyErr_Occurred()) SWIG_fail
;
15853 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
15854 if (PyErr_Occurred()) SWIG_fail
;
15857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15858 (arg1
)->Scale(arg2
,arg3
);
15860 wxPyEndAllowThreads(__tstate
);
15861 if (PyErr_Occurred()) SWIG_fail
;
15863 Py_INCREF(Py_None
); resultobj
= Py_None
;
15870 static PyObject
*_wrap_PyDrawnShape_SetSaveToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15871 PyObject
*resultobj
;
15872 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15874 PyObject
* obj0
= 0 ;
15875 PyObject
* obj1
= 0 ;
15876 char *kwnames
[] = {
15877 (char *) "self",(char *) "save", NULL
15880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetSaveToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
15881 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15883 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
15884 if (PyErr_Occurred()) SWIG_fail
;
15887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15888 (arg1
)->SetSaveToFile(arg2
);
15890 wxPyEndAllowThreads(__tstate
);
15891 if (PyErr_Occurred()) SWIG_fail
;
15893 Py_INCREF(Py_None
); resultobj
= Py_None
;
15900 static PyObject
*_wrap_PyDrawnShape_Translate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15901 PyObject
*resultobj
;
15902 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15905 PyObject
* obj0
= 0 ;
15906 PyObject
* obj1
= 0 ;
15907 PyObject
* obj2
= 0 ;
15908 char *kwnames
[] = {
15909 (char *) "self",(char *) "x",(char *) "y", NULL
15912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15915 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
15916 if (PyErr_Occurred()) SWIG_fail
;
15919 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
15920 if (PyErr_Occurred()) SWIG_fail
;
15923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15924 (arg1
)->Translate(arg2
,arg3
);
15926 wxPyEndAllowThreads(__tstate
);
15927 if (PyErr_Occurred()) SWIG_fail
;
15929 Py_INCREF(Py_None
); resultobj
= Py_None
;
15936 static PyObject
*_wrap_PyDrawnShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15937 PyObject
*resultobj
;
15938 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15939 PyObject
* obj0
= 0 ;
15940 char *kwnames
[] = {
15941 (char *) "self", NULL
15944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
15945 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15948 (arg1
)->base_OnDelete();
15950 wxPyEndAllowThreads(__tstate
);
15951 if (PyErr_Occurred()) SWIG_fail
;
15953 Py_INCREF(Py_None
); resultobj
= Py_None
;
15960 static PyObject
*_wrap_PyDrawnShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15961 PyObject
*resultobj
;
15962 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15964 PyObject
* obj0
= 0 ;
15965 PyObject
* obj1
= 0 ;
15966 char *kwnames
[] = {
15967 (char *) "self",(char *) "dc", NULL
15970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
15971 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15972 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15973 if (arg2
== NULL
) {
15974 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15978 (arg1
)->base_OnDraw(*arg2
);
15980 wxPyEndAllowThreads(__tstate
);
15981 if (PyErr_Occurred()) SWIG_fail
;
15983 Py_INCREF(Py_None
); resultobj
= Py_None
;
15990 static PyObject
*_wrap_PyDrawnShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15991 PyObject
*resultobj
;
15992 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15994 PyObject
* obj0
= 0 ;
15995 PyObject
* obj1
= 0 ;
15996 char *kwnames
[] = {
15997 (char *) "self",(char *) "dc", NULL
16000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
16001 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16002 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16003 if (arg2
== NULL
) {
16004 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16008 (arg1
)->base_OnDrawContents(*arg2
);
16010 wxPyEndAllowThreads(__tstate
);
16011 if (PyErr_Occurred()) SWIG_fail
;
16013 Py_INCREF(Py_None
); resultobj
= Py_None
;
16020 static PyObject
*_wrap_PyDrawnShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16021 PyObject
*resultobj
;
16022 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16024 bool arg3
= (bool) FALSE
;
16025 PyObject
* obj0
= 0 ;
16026 PyObject
* obj1
= 0 ;
16027 PyObject
* obj2
= 0 ;
16028 char *kwnames
[] = {
16029 (char *) "self",(char *) "dc",(char *) "erase", NULL
16032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDrawnShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16033 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16034 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16035 if (arg2
== NULL
) {
16036 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16040 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
16041 if (PyErr_Occurred()) SWIG_fail
;
16045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16046 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
16048 wxPyEndAllowThreads(__tstate
);
16049 if (PyErr_Occurred()) SWIG_fail
;
16051 Py_INCREF(Py_None
); resultobj
= Py_None
;
16058 static PyObject
*_wrap_PyDrawnShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16059 PyObject
*resultobj
;
16060 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16062 PyObject
* obj0
= 0 ;
16063 PyObject
* obj1
= 0 ;
16064 char *kwnames
[] = {
16065 (char *) "self",(char *) "dc", NULL
16068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
16069 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16070 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16071 if (arg2
== NULL
) {
16072 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16076 (arg1
)->base_OnMoveLinks(*arg2
);
16078 wxPyEndAllowThreads(__tstate
);
16079 if (PyErr_Occurred()) SWIG_fail
;
16081 Py_INCREF(Py_None
); resultobj
= Py_None
;
16088 static PyObject
*_wrap_PyDrawnShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16089 PyObject
*resultobj
;
16090 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16092 PyObject
* obj0
= 0 ;
16093 PyObject
* obj1
= 0 ;
16094 char *kwnames
[] = {
16095 (char *) "self",(char *) "dc", NULL
16098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
16099 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16100 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16101 if (arg2
== NULL
) {
16102 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16106 (arg1
)->base_OnErase(*arg2
);
16108 wxPyEndAllowThreads(__tstate
);
16109 if (PyErr_Occurred()) SWIG_fail
;
16111 Py_INCREF(Py_None
); resultobj
= Py_None
;
16118 static PyObject
*_wrap_PyDrawnShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16119 PyObject
*resultobj
;
16120 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16122 PyObject
* obj0
= 0 ;
16123 PyObject
* obj1
= 0 ;
16124 char *kwnames
[] = {
16125 (char *) "self",(char *) "dc", NULL
16128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
16129 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16130 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16131 if (arg2
== NULL
) {
16132 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16136 (arg1
)->base_OnEraseContents(*arg2
);
16138 wxPyEndAllowThreads(__tstate
);
16139 if (PyErr_Occurred()) SWIG_fail
;
16141 Py_INCREF(Py_None
); resultobj
= Py_None
;
16148 static PyObject
*_wrap_PyDrawnShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16149 PyObject
*resultobj
;
16150 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16152 PyObject
* obj0
= 0 ;
16153 PyObject
* obj1
= 0 ;
16154 char *kwnames
[] = {
16155 (char *) "self",(char *) "dc", NULL
16158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
16159 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16160 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16161 if (arg2
== NULL
) {
16162 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16166 (arg1
)->base_OnHighlight(*arg2
);
16168 wxPyEndAllowThreads(__tstate
);
16169 if (PyErr_Occurred()) SWIG_fail
;
16171 Py_INCREF(Py_None
); resultobj
= Py_None
;
16178 static PyObject
*_wrap_PyDrawnShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16179 PyObject
*resultobj
;
16180 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16183 int arg4
= (int) 0 ;
16184 int arg5
= (int) 0 ;
16185 PyObject
* obj0
= 0 ;
16186 PyObject
* obj1
= 0 ;
16187 PyObject
* obj2
= 0 ;
16188 PyObject
* obj3
= 0 ;
16189 PyObject
* obj4
= 0 ;
16190 char *kwnames
[] = {
16191 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16195 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16197 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
16198 if (PyErr_Occurred()) SWIG_fail
;
16201 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
16202 if (PyErr_Occurred()) SWIG_fail
;
16206 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
16207 if (PyErr_Occurred()) SWIG_fail
;
16212 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
16213 if (PyErr_Occurred()) SWIG_fail
;
16217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16218 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
16220 wxPyEndAllowThreads(__tstate
);
16221 if (PyErr_Occurred()) SWIG_fail
;
16223 Py_INCREF(Py_None
); resultobj
= Py_None
;
16230 static PyObject
*_wrap_PyDrawnShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16231 PyObject
*resultobj
;
16232 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16235 int arg4
= (int) 0 ;
16236 int arg5
= (int) 0 ;
16237 PyObject
* obj0
= 0 ;
16238 PyObject
* obj1
= 0 ;
16239 PyObject
* obj2
= 0 ;
16240 PyObject
* obj3
= 0 ;
16241 PyObject
* obj4
= 0 ;
16242 char *kwnames
[] = {
16243 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16247 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16249 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
16250 if (PyErr_Occurred()) SWIG_fail
;
16253 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
16254 if (PyErr_Occurred()) SWIG_fail
;
16258 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
16259 if (PyErr_Occurred()) SWIG_fail
;
16264 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
16265 if (PyErr_Occurred()) SWIG_fail
;
16269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16270 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
16272 wxPyEndAllowThreads(__tstate
);
16273 if (PyErr_Occurred()) SWIG_fail
;
16275 Py_INCREF(Py_None
); resultobj
= Py_None
;
16282 static PyObject
*_wrap_PyDrawnShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16283 PyObject
*resultobj
;
16284 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16287 int arg4
= (int) 0 ;
16288 int arg5
= (int) 0 ;
16289 PyObject
* obj0
= 0 ;
16290 PyObject
* obj1
= 0 ;
16291 PyObject
* obj2
= 0 ;
16292 PyObject
* obj3
= 0 ;
16293 PyObject
* obj4
= 0 ;
16294 char *kwnames
[] = {
16295 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16301 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
16302 if (PyErr_Occurred()) SWIG_fail
;
16305 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
16306 if (PyErr_Occurred()) SWIG_fail
;
16310 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
16311 if (PyErr_Occurred()) SWIG_fail
;
16316 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
16317 if (PyErr_Occurred()) SWIG_fail
;
16321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16322 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
16324 wxPyEndAllowThreads(__tstate
);
16325 if (PyErr_Occurred()) SWIG_fail
;
16327 Py_INCREF(Py_None
); resultobj
= Py_None
;
16334 static PyObject
*_wrap_PyDrawnShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16335 PyObject
*resultobj
;
16336 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16339 PyObject
* obj0
= 0 ;
16340 PyObject
* obj1
= 0 ;
16341 PyObject
* obj2
= 0 ;
16342 char *kwnames
[] = {
16343 (char *) "self",(char *) "x",(char *) "y", NULL
16346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16347 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16349 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
16350 if (PyErr_Occurred()) SWIG_fail
;
16353 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
16354 if (PyErr_Occurred()) SWIG_fail
;
16357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16358 (arg1
)->base_OnSize(arg2
,arg3
);
16360 wxPyEndAllowThreads(__tstate
);
16361 if (PyErr_Occurred()) SWIG_fail
;
16363 Py_INCREF(Py_None
); resultobj
= Py_None
;
16370 static PyObject
*_wrap_PyDrawnShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16371 PyObject
*resultobj
;
16372 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16378 bool arg7
= (bool) True
;
16380 PyObject
* obj0
= 0 ;
16381 PyObject
* obj1
= 0 ;
16382 PyObject
* obj2
= 0 ;
16383 PyObject
* obj3
= 0 ;
16384 PyObject
* obj4
= 0 ;
16385 PyObject
* obj5
= 0 ;
16386 PyObject
* obj6
= 0 ;
16387 char *kwnames
[] = {
16388 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
16391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyDrawnShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16392 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16393 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16394 if (arg2
== NULL
) {
16395 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16398 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
16399 if (PyErr_Occurred()) SWIG_fail
;
16402 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
16403 if (PyErr_Occurred()) SWIG_fail
;
16406 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
16407 if (PyErr_Occurred()) SWIG_fail
;
16410 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
16411 if (PyErr_Occurred()) SWIG_fail
;
16415 arg7
= (bool) SWIG_PyObj_AsBool(obj6
);
16416 if (PyErr_Occurred()) SWIG_fail
;
16420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16421 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
16423 wxPyEndAllowThreads(__tstate
);
16424 if (PyErr_Occurred()) SWIG_fail
;
16426 resultobj
= SWIG_PyObj_FromBool((bool)result
);
16433 static PyObject
*_wrap_PyDrawnShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16434 PyObject
*resultobj
;
16435 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16441 bool arg7
= (bool) True
;
16442 PyObject
* obj0
= 0 ;
16443 PyObject
* obj1
= 0 ;
16444 PyObject
* obj2
= 0 ;
16445 PyObject
* obj3
= 0 ;
16446 PyObject
* obj4
= 0 ;
16447 PyObject
* obj5
= 0 ;
16448 PyObject
* obj6
= 0 ;
16449 char *kwnames
[] = {
16450 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
16453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyDrawnShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16455 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16456 if (arg2
== NULL
) {
16457 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16460 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
16461 if (PyErr_Occurred()) SWIG_fail
;
16464 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
16465 if (PyErr_Occurred()) SWIG_fail
;
16468 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
16469 if (PyErr_Occurred()) SWIG_fail
;
16472 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
16473 if (PyErr_Occurred()) SWIG_fail
;
16477 arg7
= (bool) SWIG_PyObj_AsBool(obj6
);
16478 if (PyErr_Occurred()) SWIG_fail
;
16482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16483 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
16485 wxPyEndAllowThreads(__tstate
);
16486 if (PyErr_Occurred()) SWIG_fail
;
16488 Py_INCREF(Py_None
); resultobj
= Py_None
;
16495 static PyObject
*_wrap_PyDrawnShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16496 PyObject
*resultobj
;
16497 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16501 int arg5
= (int) 0 ;
16502 int arg6
= (int) 0 ;
16503 PyObject
* obj0
= 0 ;
16504 PyObject
* obj1
= 0 ;
16505 PyObject
* obj2
= 0 ;
16506 PyObject
* obj3
= 0 ;
16507 PyObject
* obj4
= 0 ;
16508 PyObject
* obj5
= 0 ;
16509 char *kwnames
[] = {
16510 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDrawnShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16514 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16516 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
16517 if (PyErr_Occurred()) SWIG_fail
;
16520 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
16521 if (PyErr_Occurred()) SWIG_fail
;
16524 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
16525 if (PyErr_Occurred()) SWIG_fail
;
16529 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
16530 if (PyErr_Occurred()) SWIG_fail
;
16535 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
16536 if (PyErr_Occurred()) SWIG_fail
;
16540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16541 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
16543 wxPyEndAllowThreads(__tstate
);
16544 if (PyErr_Occurred()) SWIG_fail
;
16546 Py_INCREF(Py_None
); resultobj
= Py_None
;
16553 static PyObject
*_wrap_PyDrawnShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16554 PyObject
*resultobj
;
16555 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16558 int arg4
= (int) 0 ;
16559 int arg5
= (int) 0 ;
16560 PyObject
* obj0
= 0 ;
16561 PyObject
* obj1
= 0 ;
16562 PyObject
* obj2
= 0 ;
16563 PyObject
* obj3
= 0 ;
16564 PyObject
* obj4
= 0 ;
16565 char *kwnames
[] = {
16566 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16570 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16572 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
16573 if (PyErr_Occurred()) SWIG_fail
;
16576 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
16577 if (PyErr_Occurred()) SWIG_fail
;
16581 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
16582 if (PyErr_Occurred()) SWIG_fail
;
16587 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
16588 if (PyErr_Occurred()) SWIG_fail
;
16592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16593 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
16595 wxPyEndAllowThreads(__tstate
);
16596 if (PyErr_Occurred()) SWIG_fail
;
16598 Py_INCREF(Py_None
); resultobj
= Py_None
;
16605 static PyObject
*_wrap_PyDrawnShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16606 PyObject
*resultobj
;
16607 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16610 int arg4
= (int) 0 ;
16611 int arg5
= (int) 0 ;
16612 PyObject
* obj0
= 0 ;
16613 PyObject
* obj1
= 0 ;
16614 PyObject
* obj2
= 0 ;
16615 PyObject
* obj3
= 0 ;
16616 PyObject
* obj4
= 0 ;
16617 char *kwnames
[] = {
16618 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16622 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16624 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
16625 if (PyErr_Occurred()) SWIG_fail
;
16628 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
16629 if (PyErr_Occurred()) SWIG_fail
;
16633 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
16634 if (PyErr_Occurred()) SWIG_fail
;
16639 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
16640 if (PyErr_Occurred()) SWIG_fail
;
16644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16645 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
16647 wxPyEndAllowThreads(__tstate
);
16648 if (PyErr_Occurred()) SWIG_fail
;
16650 Py_INCREF(Py_None
); resultobj
= Py_None
;
16657 static PyObject
*_wrap_PyDrawnShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16658 PyObject
*resultobj
;
16659 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16663 int arg5
= (int) 0 ;
16664 int arg6
= (int) 0 ;
16665 PyObject
* obj0
= 0 ;
16666 PyObject
* obj1
= 0 ;
16667 PyObject
* obj2
= 0 ;
16668 PyObject
* obj3
= 0 ;
16669 PyObject
* obj4
= 0 ;
16670 PyObject
* obj5
= 0 ;
16671 char *kwnames
[] = {
16672 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDrawnShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16676 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16678 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
16679 if (PyErr_Occurred()) SWIG_fail
;
16682 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
16683 if (PyErr_Occurred()) SWIG_fail
;
16686 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
16687 if (PyErr_Occurred()) SWIG_fail
;
16691 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
16692 if (PyErr_Occurred()) SWIG_fail
;
16697 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
16698 if (PyErr_Occurred()) SWIG_fail
;
16702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16703 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
16705 wxPyEndAllowThreads(__tstate
);
16706 if (PyErr_Occurred()) SWIG_fail
;
16708 Py_INCREF(Py_None
); resultobj
= Py_None
;
16715 static PyObject
*_wrap_PyDrawnShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16716 PyObject
*resultobj
;
16717 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16720 int arg4
= (int) 0 ;
16721 int arg5
= (int) 0 ;
16722 PyObject
* obj0
= 0 ;
16723 PyObject
* obj1
= 0 ;
16724 PyObject
* obj2
= 0 ;
16725 PyObject
* obj3
= 0 ;
16726 PyObject
* obj4
= 0 ;
16727 char *kwnames
[] = {
16728 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16732 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16734 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
16735 if (PyErr_Occurred()) SWIG_fail
;
16738 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
16739 if (PyErr_Occurred()) SWIG_fail
;
16743 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
16744 if (PyErr_Occurred()) SWIG_fail
;
16749 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
16750 if (PyErr_Occurred()) SWIG_fail
;
16754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16755 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
16757 wxPyEndAllowThreads(__tstate
);
16758 if (PyErr_Occurred()) SWIG_fail
;
16760 Py_INCREF(Py_None
); resultobj
= Py_None
;
16767 static PyObject
*_wrap_PyDrawnShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16768 PyObject
*resultobj
;
16769 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16772 int arg4
= (int) 0 ;
16773 int arg5
= (int) 0 ;
16774 PyObject
* obj0
= 0 ;
16775 PyObject
* obj1
= 0 ;
16776 PyObject
* obj2
= 0 ;
16777 PyObject
* obj3
= 0 ;
16778 PyObject
* obj4
= 0 ;
16779 char *kwnames
[] = {
16780 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16784 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16786 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
16787 if (PyErr_Occurred()) SWIG_fail
;
16790 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
16791 if (PyErr_Occurred()) SWIG_fail
;
16795 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
16796 if (PyErr_Occurred()) SWIG_fail
;
16801 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
16802 if (PyErr_Occurred()) SWIG_fail
;
16806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16807 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
16809 wxPyEndAllowThreads(__tstate
);
16810 if (PyErr_Occurred()) SWIG_fail
;
16812 Py_INCREF(Py_None
); resultobj
= Py_None
;
16819 static PyObject
*_wrap_PyDrawnShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16820 PyObject
*resultobj
;
16821 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16827 PyObject
* obj0
= 0 ;
16828 PyObject
* obj1
= 0 ;
16829 PyObject
* obj2
= 0 ;
16830 PyObject
* obj3
= 0 ;
16831 PyObject
* obj4
= 0 ;
16832 PyObject
* obj5
= 0 ;
16833 char *kwnames
[] = {
16834 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
16837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyDrawnShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16839 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16840 if (arg2
== NULL
) {
16841 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16844 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
16845 if (PyErr_Occurred()) SWIG_fail
;
16848 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
16849 if (PyErr_Occurred()) SWIG_fail
;
16852 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
16853 if (PyErr_Occurred()) SWIG_fail
;
16856 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
16857 if (PyErr_Occurred()) SWIG_fail
;
16860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16861 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
16863 wxPyEndAllowThreads(__tstate
);
16864 if (PyErr_Occurred()) SWIG_fail
;
16866 Py_INCREF(Py_None
); resultobj
= Py_None
;
16873 static PyObject
*_wrap_PyDrawnShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16874 PyObject
*resultobj
;
16875 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16877 PyObject
* obj0
= 0 ;
16878 PyObject
* obj1
= 0 ;
16879 char *kwnames
[] = {
16880 (char *) "self",(char *) "dc", NULL
16883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
16884 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16885 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16886 if (arg2
== NULL
) {
16887 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16891 (arg1
)->base_OnDrawControlPoints(*arg2
);
16893 wxPyEndAllowThreads(__tstate
);
16894 if (PyErr_Occurred()) SWIG_fail
;
16896 Py_INCREF(Py_None
); resultobj
= Py_None
;
16903 static PyObject
*_wrap_PyDrawnShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16904 PyObject
*resultobj
;
16905 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16907 PyObject
* obj0
= 0 ;
16908 PyObject
* obj1
= 0 ;
16909 char *kwnames
[] = {
16910 (char *) "self",(char *) "dc", NULL
16913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
16914 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16915 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16916 if (arg2
== NULL
) {
16917 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16921 (arg1
)->base_OnEraseControlPoints(*arg2
);
16923 wxPyEndAllowThreads(__tstate
);
16924 if (PyErr_Occurred()) SWIG_fail
;
16926 Py_INCREF(Py_None
); resultobj
= Py_None
;
16933 static PyObject
*_wrap_PyDrawnShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16934 PyObject
*resultobj
;
16935 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16937 bool arg3
= (bool) True
;
16938 PyObject
* obj0
= 0 ;
16939 PyObject
* obj1
= 0 ;
16940 PyObject
* obj2
= 0 ;
16941 char *kwnames
[] = {
16942 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
16945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDrawnShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16946 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16947 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16948 if (arg2
== NULL
) {
16949 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16953 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
16954 if (PyErr_Occurred()) SWIG_fail
;
16958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16959 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
16961 wxPyEndAllowThreads(__tstate
);
16962 if (PyErr_Occurred()) SWIG_fail
;
16964 Py_INCREF(Py_None
); resultobj
= Py_None
;
16971 static PyObject
*_wrap_PyDrawnShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16972 PyObject
*resultobj
;
16973 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16974 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
16978 int arg6
= (int) 0 ;
16979 int arg7
= (int) 0 ;
16980 PyObject
* obj0
= 0 ;
16981 PyObject
* obj1
= 0 ;
16982 PyObject
* obj2
= 0 ;
16983 PyObject
* obj3
= 0 ;
16984 PyObject
* obj4
= 0 ;
16985 PyObject
* obj5
= 0 ;
16986 PyObject
* obj6
= 0 ;
16987 char *kwnames
[] = {
16988 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyDrawnShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16992 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16993 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16995 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
16996 if (PyErr_Occurred()) SWIG_fail
;
16999 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
17000 if (PyErr_Occurred()) SWIG_fail
;
17003 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
17004 if (PyErr_Occurred()) SWIG_fail
;
17008 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
17009 if (PyErr_Occurred()) SWIG_fail
;
17014 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
17015 if (PyErr_Occurred()) SWIG_fail
;
17019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17020 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17022 wxPyEndAllowThreads(__tstate
);
17023 if (PyErr_Occurred()) SWIG_fail
;
17025 Py_INCREF(Py_None
); resultobj
= Py_None
;
17032 static PyObject
*_wrap_PyDrawnShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17033 PyObject
*resultobj
;
17034 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
17035 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
17038 int arg5
= (int) 0 ;
17039 int arg6
= (int) 0 ;
17040 PyObject
* obj0
= 0 ;
17041 PyObject
* obj1
= 0 ;
17042 PyObject
* obj2
= 0 ;
17043 PyObject
* obj3
= 0 ;
17044 PyObject
* obj4
= 0 ;
17045 PyObject
* obj5
= 0 ;
17046 char *kwnames
[] = {
17047 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDrawnShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17052 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17054 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
17055 if (PyErr_Occurred()) SWIG_fail
;
17058 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
17059 if (PyErr_Occurred()) SWIG_fail
;
17063 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
17064 if (PyErr_Occurred()) SWIG_fail
;
17069 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
17070 if (PyErr_Occurred()) SWIG_fail
;
17074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17075 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
17077 wxPyEndAllowThreads(__tstate
);
17078 if (PyErr_Occurred()) SWIG_fail
;
17080 Py_INCREF(Py_None
); resultobj
= Py_None
;
17087 static PyObject
*_wrap_PyDrawnShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17088 PyObject
*resultobj
;
17089 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
17090 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
17093 int arg5
= (int) 0 ;
17094 int arg6
= (int) 0 ;
17095 PyObject
* obj0
= 0 ;
17096 PyObject
* obj1
= 0 ;
17097 PyObject
* obj2
= 0 ;
17098 PyObject
* obj3
= 0 ;
17099 PyObject
* obj4
= 0 ;
17100 PyObject
* obj5
= 0 ;
17101 char *kwnames
[] = {
17102 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDrawnShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17106 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17107 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17109 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
17110 if (PyErr_Occurred()) SWIG_fail
;
17113 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
17114 if (PyErr_Occurred()) SWIG_fail
;
17118 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
17119 if (PyErr_Occurred()) SWIG_fail
;
17124 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
17125 if (PyErr_Occurred()) SWIG_fail
;
17129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17130 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
17132 wxPyEndAllowThreads(__tstate
);
17133 if (PyErr_Occurred()) SWIG_fail
;
17135 Py_INCREF(Py_None
); resultobj
= Py_None
;
17142 static PyObject
*_wrap_PyDrawnShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17143 PyObject
*resultobj
;
17144 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
17147 PyObject
* obj0
= 0 ;
17148 PyObject
* obj1
= 0 ;
17149 PyObject
* obj2
= 0 ;
17150 char *kwnames
[] = {
17151 (char *) "self",(char *) "w",(char *) "h", NULL
17154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17155 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17157 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
17158 if (PyErr_Occurred()) SWIG_fail
;
17161 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
17162 if (PyErr_Occurred()) SWIG_fail
;
17165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17166 (arg1
)->base_OnBeginSize(arg2
,arg3
);
17168 wxPyEndAllowThreads(__tstate
);
17169 if (PyErr_Occurred()) SWIG_fail
;
17171 Py_INCREF(Py_None
); resultobj
= Py_None
;
17178 static PyObject
*_wrap_PyDrawnShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17179 PyObject
*resultobj
;
17180 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
17183 PyObject
* obj0
= 0 ;
17184 PyObject
* obj1
= 0 ;
17185 PyObject
* obj2
= 0 ;
17186 char *kwnames
[] = {
17187 (char *) "self",(char *) "w",(char *) "h", NULL
17190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17191 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17193 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
17194 if (PyErr_Occurred()) SWIG_fail
;
17197 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
17198 if (PyErr_Occurred()) SWIG_fail
;
17201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17202 (arg1
)->base_OnEndSize(arg2
,arg3
);
17204 wxPyEndAllowThreads(__tstate
);
17205 if (PyErr_Occurred()) SWIG_fail
;
17207 Py_INCREF(Py_None
); resultobj
= Py_None
;
17214 static PyObject
* PyDrawnShape_swigregister(PyObject
*self
, PyObject
*args
) {
17216 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17217 SWIG_TypeClientData(SWIGTYPE_p_wxPyDrawnShape
, obj
);
17219 return Py_BuildValue((char *)"");
17221 static PyObject
*_wrap_new_OGLConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17222 PyObject
*resultobj
;
17224 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
17225 PyObject
*arg3
= (PyObject
*) 0 ;
17226 wxOGLConstraint
*result
;
17227 PyObject
* obj0
= 0 ;
17228 PyObject
* obj1
= 0 ;
17229 PyObject
* obj2
= 0 ;
17230 char *kwnames
[] = {
17231 (char *) "type",(char *) "constraining",(char *) "constrained", NULL
17234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_OGLConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17236 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
17237 if (PyErr_Occurred()) SWIG_fail
;
17239 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17243 result
= (wxOGLConstraint
*)new_wxOGLConstraint(arg1
,arg2
,arg3
);
17245 wxPyEndAllowThreads(__tstate
);
17246 if (PyErr_Occurred()) SWIG_fail
;
17249 resultobj
= wxPyMake_wxObject(result
);
17257 static PyObject
*_wrap_OGLConstraint_Evaluate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17258 PyObject
*resultobj
;
17259 wxOGLConstraint
*arg1
= (wxOGLConstraint
*) 0 ;
17261 PyObject
* obj0
= 0 ;
17262 char *kwnames
[] = {
17263 (char *) "self", NULL
17266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:OGLConstraint_Evaluate",kwnames
,&obj0
)) goto fail
;
17267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxOGLConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17270 result
= (bool)(arg1
)->Evaluate();
17272 wxPyEndAllowThreads(__tstate
);
17273 if (PyErr_Occurred()) SWIG_fail
;
17275 resultobj
= SWIG_PyObj_FromBool((bool)result
);
17282 static PyObject
*_wrap_OGLConstraint_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17283 PyObject
*resultobj
;
17284 wxOGLConstraint
*arg1
= (wxOGLConstraint
*) 0 ;
17287 PyObject
* obj0
= 0 ;
17288 PyObject
* obj1
= 0 ;
17289 PyObject
* obj2
= 0 ;
17290 char *kwnames
[] = {
17291 (char *) "self",(char *) "x",(char *) "y", NULL
17294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:OGLConstraint_SetSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxOGLConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17297 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
17298 if (PyErr_Occurred()) SWIG_fail
;
17301 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
17302 if (PyErr_Occurred()) SWIG_fail
;
17305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17306 (arg1
)->SetSpacing(arg2
,arg3
);
17308 wxPyEndAllowThreads(__tstate
);
17309 if (PyErr_Occurred()) SWIG_fail
;
17311 Py_INCREF(Py_None
); resultobj
= Py_None
;
17318 static PyObject
*_wrap_OGLConstraint_Equals(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17319 PyObject
*resultobj
;
17320 wxOGLConstraint
*arg1
= (wxOGLConstraint
*) 0 ;
17324 PyObject
* obj0
= 0 ;
17325 PyObject
* obj1
= 0 ;
17326 PyObject
* obj2
= 0 ;
17327 char *kwnames
[] = {
17328 (char *) "self",(char *) "a",(char *) "b", NULL
17331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:OGLConstraint_Equals",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17332 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxOGLConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17334 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
17335 if (PyErr_Occurred()) SWIG_fail
;
17338 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
17339 if (PyErr_Occurred()) SWIG_fail
;
17342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17343 result
= (bool)(arg1
)->Equals(arg2
,arg3
);
17345 wxPyEndAllowThreads(__tstate
);
17346 if (PyErr_Occurred()) SWIG_fail
;
17348 resultobj
= SWIG_PyObj_FromBool((bool)result
);
17355 static PyObject
* OGLConstraint_swigregister(PyObject
*self
, PyObject
*args
) {
17357 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17358 SWIG_TypeClientData(SWIGTYPE_p_wxOGLConstraint
, obj
);
17360 return Py_BuildValue((char *)"");
17362 static PyObject
*_wrap_new_PyCompositeShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17363 PyObject
*resultobj
;
17364 wxPyCompositeShape
*result
;
17365 char *kwnames
[] = {
17369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyCompositeShape",kwnames
)) goto fail
;
17371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17372 result
= (wxPyCompositeShape
*)new wxPyCompositeShape();
17374 wxPyEndAllowThreads(__tstate
);
17375 if (PyErr_Occurred()) SWIG_fail
;
17377 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyCompositeShape
, 1);
17384 static PyObject
*_wrap_PyCompositeShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17385 PyObject
*resultobj
;
17386 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17387 PyObject
*arg2
= (PyObject
*) 0 ;
17388 PyObject
*arg3
= (PyObject
*) 0 ;
17389 PyObject
* obj0
= 0 ;
17390 PyObject
* obj1
= 0 ;
17391 PyObject
* obj2
= 0 ;
17392 char *kwnames
[] = {
17393 (char *) "self",(char *) "self",(char *) "_class", NULL
17396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCompositeShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17397 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17402 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17404 wxPyEndAllowThreads(__tstate
);
17405 if (PyErr_Occurred()) SWIG_fail
;
17407 Py_INCREF(Py_None
); resultobj
= Py_None
;
17414 static PyObject
*_wrap_PyCompositeShape_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17415 PyObject
*resultobj
;
17416 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17417 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
17418 wxPyShape
*arg3
= (wxPyShape
*) NULL
;
17419 PyObject
* obj0
= 0 ;
17420 PyObject
* obj1
= 0 ;
17421 PyObject
* obj2
= 0 ;
17422 char *kwnames
[] = {
17423 (char *) "self",(char *) "child",(char *) "addAfter", NULL
17426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCompositeShape_AddChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17427 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17428 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17430 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17434 (arg1
)->AddChild(arg2
,arg3
);
17436 wxPyEndAllowThreads(__tstate
);
17437 if (PyErr_Occurred()) SWIG_fail
;
17439 Py_INCREF(Py_None
); resultobj
= Py_None
;
17446 static PyObject
*_wrap_PyCompositeShape_AddConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17447 PyObject
*resultobj
;
17448 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17449 wxOGLConstraint
*arg2
= (wxOGLConstraint
*) 0 ;
17450 wxOGLConstraint
*result
;
17451 PyObject
* obj0
= 0 ;
17452 PyObject
* obj1
= 0 ;
17453 char *kwnames
[] = {
17454 (char *) "self",(char *) "constraint", NULL
17457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_AddConstraint",kwnames
,&obj0
,&obj1
)) goto fail
;
17458 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17459 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxOGLConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17462 result
= (wxOGLConstraint
*)(arg1
)->AddConstraint(arg2
);
17464 wxPyEndAllowThreads(__tstate
);
17465 if (PyErr_Occurred()) SWIG_fail
;
17468 resultobj
= wxPyMake_wxObject(result
);
17476 static PyObject
*_wrap_PyCompositeShape_AddConstrainedShapes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17477 PyObject
*resultobj
;
17478 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17480 wxPyShape
*arg3
= (wxPyShape
*) 0 ;
17481 PyObject
*arg4
= (PyObject
*) 0 ;
17482 wxOGLConstraint
*result
;
17483 PyObject
* obj0
= 0 ;
17484 PyObject
* obj1
= 0 ;
17485 PyObject
* obj2
= 0 ;
17486 PyObject
* obj3
= 0 ;
17487 char *kwnames
[] = {
17488 (char *) "self",(char *) "type",(char *) "constraining",(char *) "constrained", NULL
17491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyCompositeShape_AddConstrainedShapes",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17494 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17495 if (PyErr_Occurred()) SWIG_fail
;
17497 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17501 result
= (wxOGLConstraint
*)wxPyCompositeShape_AddConstrainedShapes(arg1
,arg2
,arg3
,arg4
);
17503 wxPyEndAllowThreads(__tstate
);
17504 if (PyErr_Occurred()) SWIG_fail
;
17507 resultobj
= wxPyMake_wxObject(result
);
17515 static PyObject
*_wrap_PyCompositeShape_AddSimpleConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17516 PyObject
*resultobj
;
17517 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17519 wxPyShape
*arg3
= (wxPyShape
*) 0 ;
17520 wxPyShape
*arg4
= (wxPyShape
*) 0 ;
17521 wxOGLConstraint
*result
;
17522 PyObject
* obj0
= 0 ;
17523 PyObject
* obj1
= 0 ;
17524 PyObject
* obj2
= 0 ;
17525 PyObject
* obj3
= 0 ;
17526 char *kwnames
[] = {
17527 (char *) "self",(char *) "type",(char *) "constraining",(char *) "constrained", NULL
17530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyCompositeShape_AddSimpleConstraint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17531 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17533 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17534 if (PyErr_Occurred()) SWIG_fail
;
17536 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17537 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17540 result
= (wxOGLConstraint
*)(arg1
)->AddConstraint(arg2
,arg3
,arg4
);
17542 wxPyEndAllowThreads(__tstate
);
17543 if (PyErr_Occurred()) SWIG_fail
;
17546 resultobj
= wxPyMake_wxObject(result
);
17554 static PyObject
*_wrap_PyCompositeShape_CalculateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17555 PyObject
*resultobj
;
17556 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17557 PyObject
* obj0
= 0 ;
17558 char *kwnames
[] = {
17559 (char *) "self", NULL
17562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_CalculateSize",kwnames
,&obj0
)) goto fail
;
17563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17566 (arg1
)->CalculateSize();
17568 wxPyEndAllowThreads(__tstate
);
17569 if (PyErr_Occurred()) SWIG_fail
;
17571 Py_INCREF(Py_None
); resultobj
= Py_None
;
17578 static PyObject
*_wrap_PyCompositeShape_ContainsDivision(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17579 PyObject
*resultobj
;
17580 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17581 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
17583 PyObject
* obj0
= 0 ;
17584 PyObject
* obj1
= 0 ;
17585 char *kwnames
[] = {
17586 (char *) "self",(char *) "division", NULL
17589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_ContainsDivision",kwnames
,&obj0
,&obj1
)) goto fail
;
17590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17591 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17594 result
= (bool)(arg1
)->ContainsDivision(arg2
);
17596 wxPyEndAllowThreads(__tstate
);
17597 if (PyErr_Occurred()) SWIG_fail
;
17599 resultobj
= SWIG_PyObj_FromBool((bool)result
);
17606 static PyObject
*_wrap_PyCompositeShape_DeleteConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17607 PyObject
*resultobj
;
17608 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17609 wxOGLConstraint
*arg2
= (wxOGLConstraint
*) 0 ;
17610 PyObject
* obj0
= 0 ;
17611 PyObject
* obj1
= 0 ;
17612 char *kwnames
[] = {
17613 (char *) "self",(char *) "constraint", NULL
17616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_DeleteConstraint",kwnames
,&obj0
,&obj1
)) goto fail
;
17617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17618 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxOGLConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17621 (arg1
)->DeleteConstraint(arg2
);
17623 wxPyEndAllowThreads(__tstate
);
17624 if (PyErr_Occurred()) SWIG_fail
;
17626 Py_INCREF(Py_None
); resultobj
= Py_None
;
17633 static PyObject
*_wrap_PyCompositeShape_DeleteConstraintsInvolvingChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17634 PyObject
*resultobj
;
17635 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17636 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
17637 PyObject
* obj0
= 0 ;
17638 PyObject
* obj1
= 0 ;
17639 char *kwnames
[] = {
17640 (char *) "self",(char *) "child", NULL
17643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_DeleteConstraintsInvolvingChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17644 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17645 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17648 (arg1
)->DeleteConstraintsInvolvingChild(arg2
);
17650 wxPyEndAllowThreads(__tstate
);
17651 if (PyErr_Occurred()) SWIG_fail
;
17653 Py_INCREF(Py_None
); resultobj
= Py_None
;
17660 static PyObject
*_wrap_PyCompositeShape_FindContainerImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17661 PyObject
*resultobj
;
17662 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17664 PyObject
* obj0
= 0 ;
17665 char *kwnames
[] = {
17666 (char *) "self", NULL
17669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_FindContainerImage",kwnames
,&obj0
)) goto fail
;
17670 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17673 result
= (wxPyShape
*)(arg1
)->FindContainerImage();
17675 wxPyEndAllowThreads(__tstate
);
17676 if (PyErr_Occurred()) SWIG_fail
;
17679 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
17687 static PyObject
*_wrap_PyCompositeShape_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17688 PyObject
*resultobj
;
17689 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17691 PyObject
* obj0
= 0 ;
17692 char *kwnames
[] = {
17693 (char *) "self", NULL
17696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_GetConstraints",kwnames
,&obj0
)) goto fail
;
17697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17700 result
= (PyObject
*)wxPyCompositeShape_GetConstraints(arg1
);
17702 wxPyEndAllowThreads(__tstate
);
17703 if (PyErr_Occurred()) SWIG_fail
;
17705 resultobj
= result
;
17712 static PyObject
*_wrap_PyCompositeShape_GetDivisions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17713 PyObject
*resultobj
;
17714 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17716 PyObject
* obj0
= 0 ;
17717 char *kwnames
[] = {
17718 (char *) "self", NULL
17721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_GetDivisions",kwnames
,&obj0
)) goto fail
;
17722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17725 result
= (PyObject
*)wxPyCompositeShape_GetDivisions(arg1
);
17727 wxPyEndAllowThreads(__tstate
);
17728 if (PyErr_Occurred()) SWIG_fail
;
17730 resultobj
= result
;
17737 static PyObject
*_wrap_PyCompositeShape_MakeContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17738 PyObject
*resultobj
;
17739 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17740 PyObject
* obj0
= 0 ;
17741 char *kwnames
[] = {
17742 (char *) "self", NULL
17745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_MakeContainer",kwnames
,&obj0
)) goto fail
;
17746 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17749 (arg1
)->MakeContainer();
17751 wxPyEndAllowThreads(__tstate
);
17752 if (PyErr_Occurred()) SWIG_fail
;
17754 Py_INCREF(Py_None
); resultobj
= Py_None
;
17761 static PyObject
*_wrap_PyCompositeShape_Recompute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17762 PyObject
*resultobj
;
17763 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17765 PyObject
* obj0
= 0 ;
17766 char *kwnames
[] = {
17767 (char *) "self", NULL
17770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_Recompute",kwnames
,&obj0
)) goto fail
;
17771 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17774 result
= (bool)(arg1
)->Recompute();
17776 wxPyEndAllowThreads(__tstate
);
17777 if (PyErr_Occurred()) SWIG_fail
;
17779 resultobj
= SWIG_PyObj_FromBool((bool)result
);
17786 static PyObject
*_wrap_PyCompositeShape_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17787 PyObject
*resultobj
;
17788 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17789 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
17790 PyObject
* obj0
= 0 ;
17791 PyObject
* obj1
= 0 ;
17792 char *kwnames
[] = {
17793 (char *) "self",(char *) "child", NULL
17796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17798 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17801 (arg1
)->RemoveChild(arg2
);
17803 wxPyEndAllowThreads(__tstate
);
17804 if (PyErr_Occurred()) SWIG_fail
;
17806 Py_INCREF(Py_None
); resultobj
= Py_None
;
17813 static PyObject
*_wrap_PyCompositeShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17814 PyObject
*resultobj
;
17815 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17816 PyObject
* obj0
= 0 ;
17817 char *kwnames
[] = {
17818 (char *) "self", NULL
17821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
17822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17825 (arg1
)->base_OnDelete();
17827 wxPyEndAllowThreads(__tstate
);
17828 if (PyErr_Occurred()) SWIG_fail
;
17830 Py_INCREF(Py_None
); resultobj
= Py_None
;
17837 static PyObject
*_wrap_PyCompositeShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17838 PyObject
*resultobj
;
17839 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17841 PyObject
* obj0
= 0 ;
17842 PyObject
* obj1
= 0 ;
17843 char *kwnames
[] = {
17844 (char *) "self",(char *) "dc", NULL
17847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
17848 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17849 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17850 if (arg2
== NULL
) {
17851 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17855 (arg1
)->base_OnDraw(*arg2
);
17857 wxPyEndAllowThreads(__tstate
);
17858 if (PyErr_Occurred()) SWIG_fail
;
17860 Py_INCREF(Py_None
); resultobj
= Py_None
;
17867 static PyObject
*_wrap_PyCompositeShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17868 PyObject
*resultobj
;
17869 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17871 PyObject
* obj0
= 0 ;
17872 PyObject
* obj1
= 0 ;
17873 char *kwnames
[] = {
17874 (char *) "self",(char *) "dc", NULL
17877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
17878 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17879 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17880 if (arg2
== NULL
) {
17881 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17885 (arg1
)->base_OnDrawContents(*arg2
);
17887 wxPyEndAllowThreads(__tstate
);
17888 if (PyErr_Occurred()) SWIG_fail
;
17890 Py_INCREF(Py_None
); resultobj
= Py_None
;
17897 static PyObject
*_wrap_PyCompositeShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17898 PyObject
*resultobj
;
17899 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17901 bool arg3
= (bool) FALSE
;
17902 PyObject
* obj0
= 0 ;
17903 PyObject
* obj1
= 0 ;
17904 PyObject
* obj2
= 0 ;
17905 char *kwnames
[] = {
17906 (char *) "self",(char *) "dc",(char *) "erase", NULL
17909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCompositeShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17910 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17911 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17912 if (arg2
== NULL
) {
17913 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17917 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
17918 if (PyErr_Occurred()) SWIG_fail
;
17922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17923 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
17925 wxPyEndAllowThreads(__tstate
);
17926 if (PyErr_Occurred()) SWIG_fail
;
17928 Py_INCREF(Py_None
); resultobj
= Py_None
;
17935 static PyObject
*_wrap_PyCompositeShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17936 PyObject
*resultobj
;
17937 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17939 PyObject
* obj0
= 0 ;
17940 PyObject
* obj1
= 0 ;
17941 char *kwnames
[] = {
17942 (char *) "self",(char *) "dc", NULL
17945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
17946 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17947 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17948 if (arg2
== NULL
) {
17949 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17953 (arg1
)->base_OnMoveLinks(*arg2
);
17955 wxPyEndAllowThreads(__tstate
);
17956 if (PyErr_Occurred()) SWIG_fail
;
17958 Py_INCREF(Py_None
); resultobj
= Py_None
;
17965 static PyObject
*_wrap_PyCompositeShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17966 PyObject
*resultobj
;
17967 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17969 PyObject
* obj0
= 0 ;
17970 PyObject
* obj1
= 0 ;
17971 char *kwnames
[] = {
17972 (char *) "self",(char *) "dc", NULL
17975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
17976 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17977 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17978 if (arg2
== NULL
) {
17979 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17983 (arg1
)->base_OnErase(*arg2
);
17985 wxPyEndAllowThreads(__tstate
);
17986 if (PyErr_Occurred()) SWIG_fail
;
17988 Py_INCREF(Py_None
); resultobj
= Py_None
;
17995 static PyObject
*_wrap_PyCompositeShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17996 PyObject
*resultobj
;
17997 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17999 PyObject
* obj0
= 0 ;
18000 PyObject
* obj1
= 0 ;
18001 char *kwnames
[] = {
18002 (char *) "self",(char *) "dc", NULL
18005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
18006 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18007 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18008 if (arg2
== NULL
) {
18009 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18013 (arg1
)->base_OnEraseContents(*arg2
);
18015 wxPyEndAllowThreads(__tstate
);
18016 if (PyErr_Occurred()) SWIG_fail
;
18018 Py_INCREF(Py_None
); resultobj
= Py_None
;
18025 static PyObject
*_wrap_PyCompositeShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18026 PyObject
*resultobj
;
18027 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18029 PyObject
* obj0
= 0 ;
18030 PyObject
* obj1
= 0 ;
18031 char *kwnames
[] = {
18032 (char *) "self",(char *) "dc", NULL
18035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
18036 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18037 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18038 if (arg2
== NULL
) {
18039 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18043 (arg1
)->base_OnHighlight(*arg2
);
18045 wxPyEndAllowThreads(__tstate
);
18046 if (PyErr_Occurred()) SWIG_fail
;
18048 Py_INCREF(Py_None
); resultobj
= Py_None
;
18055 static PyObject
*_wrap_PyCompositeShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18056 PyObject
*resultobj
;
18057 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18060 int arg4
= (int) 0 ;
18061 int arg5
= (int) 0 ;
18062 PyObject
* obj0
= 0 ;
18063 PyObject
* obj1
= 0 ;
18064 PyObject
* obj2
= 0 ;
18065 PyObject
* obj3
= 0 ;
18066 PyObject
* obj4
= 0 ;
18067 char *kwnames
[] = {
18068 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18074 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
18075 if (PyErr_Occurred()) SWIG_fail
;
18078 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
18079 if (PyErr_Occurred()) SWIG_fail
;
18083 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
18084 if (PyErr_Occurred()) SWIG_fail
;
18089 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
18090 if (PyErr_Occurred()) SWIG_fail
;
18094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18095 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
18097 wxPyEndAllowThreads(__tstate
);
18098 if (PyErr_Occurred()) SWIG_fail
;
18100 Py_INCREF(Py_None
); resultobj
= Py_None
;
18107 static PyObject
*_wrap_PyCompositeShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18108 PyObject
*resultobj
;
18109 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18112 int arg4
= (int) 0 ;
18113 int arg5
= (int) 0 ;
18114 PyObject
* obj0
= 0 ;
18115 PyObject
* obj1
= 0 ;
18116 PyObject
* obj2
= 0 ;
18117 PyObject
* obj3
= 0 ;
18118 PyObject
* obj4
= 0 ;
18119 char *kwnames
[] = {
18120 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18124 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18126 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
18127 if (PyErr_Occurred()) SWIG_fail
;
18130 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
18131 if (PyErr_Occurred()) SWIG_fail
;
18135 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
18136 if (PyErr_Occurred()) SWIG_fail
;
18141 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
18142 if (PyErr_Occurred()) SWIG_fail
;
18146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18147 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
18149 wxPyEndAllowThreads(__tstate
);
18150 if (PyErr_Occurred()) SWIG_fail
;
18152 Py_INCREF(Py_None
); resultobj
= Py_None
;
18159 static PyObject
*_wrap_PyCompositeShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18160 PyObject
*resultobj
;
18161 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18164 int arg4
= (int) 0 ;
18165 int arg5
= (int) 0 ;
18166 PyObject
* obj0
= 0 ;
18167 PyObject
* obj1
= 0 ;
18168 PyObject
* obj2
= 0 ;
18169 PyObject
* obj3
= 0 ;
18170 PyObject
* obj4
= 0 ;
18171 char *kwnames
[] = {
18172 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18176 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18178 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
18179 if (PyErr_Occurred()) SWIG_fail
;
18182 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
18183 if (PyErr_Occurred()) SWIG_fail
;
18187 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
18188 if (PyErr_Occurred()) SWIG_fail
;
18193 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
18194 if (PyErr_Occurred()) SWIG_fail
;
18198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18199 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
18201 wxPyEndAllowThreads(__tstate
);
18202 if (PyErr_Occurred()) SWIG_fail
;
18204 Py_INCREF(Py_None
); resultobj
= Py_None
;
18211 static PyObject
*_wrap_PyCompositeShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18212 PyObject
*resultobj
;
18213 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18216 PyObject
* obj0
= 0 ;
18217 PyObject
* obj1
= 0 ;
18218 PyObject
* obj2
= 0 ;
18219 char *kwnames
[] = {
18220 (char *) "self",(char *) "x",(char *) "y", NULL
18223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCompositeShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18224 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18226 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
18227 if (PyErr_Occurred()) SWIG_fail
;
18230 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
18231 if (PyErr_Occurred()) SWIG_fail
;
18234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18235 (arg1
)->base_OnSize(arg2
,arg3
);
18237 wxPyEndAllowThreads(__tstate
);
18238 if (PyErr_Occurred()) SWIG_fail
;
18240 Py_INCREF(Py_None
); resultobj
= Py_None
;
18247 static PyObject
*_wrap_PyCompositeShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18248 PyObject
*resultobj
;
18249 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18255 bool arg7
= (bool) True
;
18257 PyObject
* obj0
= 0 ;
18258 PyObject
* obj1
= 0 ;
18259 PyObject
* obj2
= 0 ;
18260 PyObject
* obj3
= 0 ;
18261 PyObject
* obj4
= 0 ;
18262 PyObject
* obj5
= 0 ;
18263 PyObject
* obj6
= 0 ;
18264 char *kwnames
[] = {
18265 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
18268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyCompositeShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18269 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18270 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18271 if (arg2
== NULL
) {
18272 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18275 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
18276 if (PyErr_Occurred()) SWIG_fail
;
18279 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
18280 if (PyErr_Occurred()) SWIG_fail
;
18283 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
18284 if (PyErr_Occurred()) SWIG_fail
;
18287 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
18288 if (PyErr_Occurred()) SWIG_fail
;
18292 arg7
= (bool) SWIG_PyObj_AsBool(obj6
);
18293 if (PyErr_Occurred()) SWIG_fail
;
18297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18298 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18300 wxPyEndAllowThreads(__tstate
);
18301 if (PyErr_Occurred()) SWIG_fail
;
18303 resultobj
= SWIG_PyObj_FromBool((bool)result
);
18310 static PyObject
*_wrap_PyCompositeShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18311 PyObject
*resultobj
;
18312 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18318 bool arg7
= (bool) True
;
18319 PyObject
* obj0
= 0 ;
18320 PyObject
* obj1
= 0 ;
18321 PyObject
* obj2
= 0 ;
18322 PyObject
* obj3
= 0 ;
18323 PyObject
* obj4
= 0 ;
18324 PyObject
* obj5
= 0 ;
18325 PyObject
* obj6
= 0 ;
18326 char *kwnames
[] = {
18327 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
18330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyCompositeShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18332 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18333 if (arg2
== NULL
) {
18334 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18337 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
18338 if (PyErr_Occurred()) SWIG_fail
;
18341 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
18342 if (PyErr_Occurred()) SWIG_fail
;
18345 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
18346 if (PyErr_Occurred()) SWIG_fail
;
18349 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
18350 if (PyErr_Occurred()) SWIG_fail
;
18354 arg7
= (bool) SWIG_PyObj_AsBool(obj6
);
18355 if (PyErr_Occurred()) SWIG_fail
;
18359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18360 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18362 wxPyEndAllowThreads(__tstate
);
18363 if (PyErr_Occurred()) SWIG_fail
;
18365 Py_INCREF(Py_None
); resultobj
= Py_None
;
18372 static PyObject
*_wrap_PyCompositeShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18373 PyObject
*resultobj
;
18374 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18378 int arg5
= (int) 0 ;
18379 int arg6
= (int) 0 ;
18380 PyObject
* obj0
= 0 ;
18381 PyObject
* obj1
= 0 ;
18382 PyObject
* obj2
= 0 ;
18383 PyObject
* obj3
= 0 ;
18384 PyObject
* obj4
= 0 ;
18385 PyObject
* obj5
= 0 ;
18386 char *kwnames
[] = {
18387 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCompositeShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18393 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
18394 if (PyErr_Occurred()) SWIG_fail
;
18397 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
18398 if (PyErr_Occurred()) SWIG_fail
;
18401 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
18402 if (PyErr_Occurred()) SWIG_fail
;
18406 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
18407 if (PyErr_Occurred()) SWIG_fail
;
18412 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
18413 if (PyErr_Occurred()) SWIG_fail
;
18417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18418 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
18420 wxPyEndAllowThreads(__tstate
);
18421 if (PyErr_Occurred()) SWIG_fail
;
18423 Py_INCREF(Py_None
); resultobj
= Py_None
;
18430 static PyObject
*_wrap_PyCompositeShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18431 PyObject
*resultobj
;
18432 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18435 int arg4
= (int) 0 ;
18436 int arg5
= (int) 0 ;
18437 PyObject
* obj0
= 0 ;
18438 PyObject
* obj1
= 0 ;
18439 PyObject
* obj2
= 0 ;
18440 PyObject
* obj3
= 0 ;
18441 PyObject
* obj4
= 0 ;
18442 char *kwnames
[] = {
18443 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18447 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18449 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
18450 if (PyErr_Occurred()) SWIG_fail
;
18453 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
18454 if (PyErr_Occurred()) SWIG_fail
;
18458 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
18459 if (PyErr_Occurred()) SWIG_fail
;
18464 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
18465 if (PyErr_Occurred()) SWIG_fail
;
18469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18470 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
18472 wxPyEndAllowThreads(__tstate
);
18473 if (PyErr_Occurred()) SWIG_fail
;
18475 Py_INCREF(Py_None
); resultobj
= Py_None
;
18482 static PyObject
*_wrap_PyCompositeShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18483 PyObject
*resultobj
;
18484 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18487 int arg4
= (int) 0 ;
18488 int arg5
= (int) 0 ;
18489 PyObject
* obj0
= 0 ;
18490 PyObject
* obj1
= 0 ;
18491 PyObject
* obj2
= 0 ;
18492 PyObject
* obj3
= 0 ;
18493 PyObject
* obj4
= 0 ;
18494 char *kwnames
[] = {
18495 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18501 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
18502 if (PyErr_Occurred()) SWIG_fail
;
18505 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
18506 if (PyErr_Occurred()) SWIG_fail
;
18510 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
18511 if (PyErr_Occurred()) SWIG_fail
;
18516 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
18517 if (PyErr_Occurred()) SWIG_fail
;
18521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18522 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
18524 wxPyEndAllowThreads(__tstate
);
18525 if (PyErr_Occurred()) SWIG_fail
;
18527 Py_INCREF(Py_None
); resultobj
= Py_None
;
18534 static PyObject
*_wrap_PyCompositeShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18535 PyObject
*resultobj
;
18536 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18540 int arg5
= (int) 0 ;
18541 int arg6
= (int) 0 ;
18542 PyObject
* obj0
= 0 ;
18543 PyObject
* obj1
= 0 ;
18544 PyObject
* obj2
= 0 ;
18545 PyObject
* obj3
= 0 ;
18546 PyObject
* obj4
= 0 ;
18547 PyObject
* obj5
= 0 ;
18548 char *kwnames
[] = {
18549 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCompositeShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18553 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18555 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
18556 if (PyErr_Occurred()) SWIG_fail
;
18559 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
18560 if (PyErr_Occurred()) SWIG_fail
;
18563 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
18564 if (PyErr_Occurred()) SWIG_fail
;
18568 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
18569 if (PyErr_Occurred()) SWIG_fail
;
18574 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
18575 if (PyErr_Occurred()) SWIG_fail
;
18579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18580 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
18582 wxPyEndAllowThreads(__tstate
);
18583 if (PyErr_Occurred()) SWIG_fail
;
18585 Py_INCREF(Py_None
); resultobj
= Py_None
;
18592 static PyObject
*_wrap_PyCompositeShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18593 PyObject
*resultobj
;
18594 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18597 int arg4
= (int) 0 ;
18598 int arg5
= (int) 0 ;
18599 PyObject
* obj0
= 0 ;
18600 PyObject
* obj1
= 0 ;
18601 PyObject
* obj2
= 0 ;
18602 PyObject
* obj3
= 0 ;
18603 PyObject
* obj4
= 0 ;
18604 char *kwnames
[] = {
18605 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18609 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18611 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
18612 if (PyErr_Occurred()) SWIG_fail
;
18615 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
18616 if (PyErr_Occurred()) SWIG_fail
;
18620 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
18621 if (PyErr_Occurred()) SWIG_fail
;
18626 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
18627 if (PyErr_Occurred()) SWIG_fail
;
18631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18632 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
18634 wxPyEndAllowThreads(__tstate
);
18635 if (PyErr_Occurred()) SWIG_fail
;
18637 Py_INCREF(Py_None
); resultobj
= Py_None
;
18644 static PyObject
*_wrap_PyCompositeShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18645 PyObject
*resultobj
;
18646 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18649 int arg4
= (int) 0 ;
18650 int arg5
= (int) 0 ;
18651 PyObject
* obj0
= 0 ;
18652 PyObject
* obj1
= 0 ;
18653 PyObject
* obj2
= 0 ;
18654 PyObject
* obj3
= 0 ;
18655 PyObject
* obj4
= 0 ;
18656 char *kwnames
[] = {
18657 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18661 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18663 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
18664 if (PyErr_Occurred()) SWIG_fail
;
18667 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
18668 if (PyErr_Occurred()) SWIG_fail
;
18672 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
18673 if (PyErr_Occurred()) SWIG_fail
;
18678 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
18679 if (PyErr_Occurred()) SWIG_fail
;
18683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18684 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
18686 wxPyEndAllowThreads(__tstate
);
18687 if (PyErr_Occurred()) SWIG_fail
;
18689 Py_INCREF(Py_None
); resultobj
= Py_None
;
18696 static PyObject
*_wrap_PyCompositeShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18697 PyObject
*resultobj
;
18698 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18704 PyObject
* obj0
= 0 ;
18705 PyObject
* obj1
= 0 ;
18706 PyObject
* obj2
= 0 ;
18707 PyObject
* obj3
= 0 ;
18708 PyObject
* obj4
= 0 ;
18709 PyObject
* obj5
= 0 ;
18710 char *kwnames
[] = {
18711 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
18714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyCompositeShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18715 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18716 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18717 if (arg2
== NULL
) {
18718 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18721 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
18722 if (PyErr_Occurred()) SWIG_fail
;
18725 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
18726 if (PyErr_Occurred()) SWIG_fail
;
18729 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
18730 if (PyErr_Occurred()) SWIG_fail
;
18733 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
18734 if (PyErr_Occurred()) SWIG_fail
;
18737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18738 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
18740 wxPyEndAllowThreads(__tstate
);
18741 if (PyErr_Occurred()) SWIG_fail
;
18743 Py_INCREF(Py_None
); resultobj
= Py_None
;
18750 static PyObject
*_wrap_PyCompositeShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18751 PyObject
*resultobj
;
18752 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18754 PyObject
* obj0
= 0 ;
18755 PyObject
* obj1
= 0 ;
18756 char *kwnames
[] = {
18757 (char *) "self",(char *) "dc", NULL
18760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
18761 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18762 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18763 if (arg2
== NULL
) {
18764 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18768 (arg1
)->base_OnDrawControlPoints(*arg2
);
18770 wxPyEndAllowThreads(__tstate
);
18771 if (PyErr_Occurred()) SWIG_fail
;
18773 Py_INCREF(Py_None
); resultobj
= Py_None
;
18780 static PyObject
*_wrap_PyCompositeShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18781 PyObject
*resultobj
;
18782 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18784 PyObject
* obj0
= 0 ;
18785 PyObject
* obj1
= 0 ;
18786 char *kwnames
[] = {
18787 (char *) "self",(char *) "dc", NULL
18790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
18791 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18792 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18793 if (arg2
== NULL
) {
18794 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18798 (arg1
)->base_OnEraseControlPoints(*arg2
);
18800 wxPyEndAllowThreads(__tstate
);
18801 if (PyErr_Occurred()) SWIG_fail
;
18803 Py_INCREF(Py_None
); resultobj
= Py_None
;
18810 static PyObject
*_wrap_PyCompositeShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18811 PyObject
*resultobj
;
18812 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18814 bool arg3
= (bool) True
;
18815 PyObject
* obj0
= 0 ;
18816 PyObject
* obj1
= 0 ;
18817 PyObject
* obj2
= 0 ;
18818 char *kwnames
[] = {
18819 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
18822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCompositeShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18823 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18824 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18825 if (arg2
== NULL
) {
18826 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18830 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
18831 if (PyErr_Occurred()) SWIG_fail
;
18835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18836 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
18838 wxPyEndAllowThreads(__tstate
);
18839 if (PyErr_Occurred()) SWIG_fail
;
18841 Py_INCREF(Py_None
); resultobj
= Py_None
;
18848 static PyObject
*_wrap_PyCompositeShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18849 PyObject
*resultobj
;
18850 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18851 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
18855 int arg6
= (int) 0 ;
18856 int arg7
= (int) 0 ;
18857 PyObject
* obj0
= 0 ;
18858 PyObject
* obj1
= 0 ;
18859 PyObject
* obj2
= 0 ;
18860 PyObject
* obj3
= 0 ;
18861 PyObject
* obj4
= 0 ;
18862 PyObject
* obj5
= 0 ;
18863 PyObject
* obj6
= 0 ;
18864 char *kwnames
[] = {
18865 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyCompositeShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18869 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18870 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18872 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
18873 if (PyErr_Occurred()) SWIG_fail
;
18876 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
18877 if (PyErr_Occurred()) SWIG_fail
;
18880 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
18881 if (PyErr_Occurred()) SWIG_fail
;
18885 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
18886 if (PyErr_Occurred()) SWIG_fail
;
18891 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
18892 if (PyErr_Occurred()) SWIG_fail
;
18896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18897 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18899 wxPyEndAllowThreads(__tstate
);
18900 if (PyErr_Occurred()) SWIG_fail
;
18902 Py_INCREF(Py_None
); resultobj
= Py_None
;
18909 static PyObject
*_wrap_PyCompositeShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18910 PyObject
*resultobj
;
18911 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18912 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
18915 int arg5
= (int) 0 ;
18916 int arg6
= (int) 0 ;
18917 PyObject
* obj0
= 0 ;
18918 PyObject
* obj1
= 0 ;
18919 PyObject
* obj2
= 0 ;
18920 PyObject
* obj3
= 0 ;
18921 PyObject
* obj4
= 0 ;
18922 PyObject
* obj5
= 0 ;
18923 char *kwnames
[] = {
18924 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCompositeShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18928 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18929 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18931 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
18932 if (PyErr_Occurred()) SWIG_fail
;
18935 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
18936 if (PyErr_Occurred()) SWIG_fail
;
18940 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
18941 if (PyErr_Occurred()) SWIG_fail
;
18946 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
18947 if (PyErr_Occurred()) SWIG_fail
;
18951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18952 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
18954 wxPyEndAllowThreads(__tstate
);
18955 if (PyErr_Occurred()) SWIG_fail
;
18957 Py_INCREF(Py_None
); resultobj
= Py_None
;
18964 static PyObject
*_wrap_PyCompositeShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18965 PyObject
*resultobj
;
18966 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18967 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
18970 int arg5
= (int) 0 ;
18971 int arg6
= (int) 0 ;
18972 PyObject
* obj0
= 0 ;
18973 PyObject
* obj1
= 0 ;
18974 PyObject
* obj2
= 0 ;
18975 PyObject
* obj3
= 0 ;
18976 PyObject
* obj4
= 0 ;
18977 PyObject
* obj5
= 0 ;
18978 char *kwnames
[] = {
18979 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCompositeShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18984 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18986 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
18987 if (PyErr_Occurred()) SWIG_fail
;
18990 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
18991 if (PyErr_Occurred()) SWIG_fail
;
18995 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
18996 if (PyErr_Occurred()) SWIG_fail
;
19001 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
19002 if (PyErr_Occurred()) SWIG_fail
;
19006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19007 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
19009 wxPyEndAllowThreads(__tstate
);
19010 if (PyErr_Occurred()) SWIG_fail
;
19012 Py_INCREF(Py_None
); resultobj
= Py_None
;
19019 static PyObject
*_wrap_PyCompositeShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19020 PyObject
*resultobj
;
19021 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
19024 PyObject
* obj0
= 0 ;
19025 PyObject
* obj1
= 0 ;
19026 PyObject
* obj2
= 0 ;
19027 char *kwnames
[] = {
19028 (char *) "self",(char *) "w",(char *) "h", NULL
19031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCompositeShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19032 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19034 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
19035 if (PyErr_Occurred()) SWIG_fail
;
19038 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
19039 if (PyErr_Occurred()) SWIG_fail
;
19042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19043 (arg1
)->base_OnBeginSize(arg2
,arg3
);
19045 wxPyEndAllowThreads(__tstate
);
19046 if (PyErr_Occurred()) SWIG_fail
;
19048 Py_INCREF(Py_None
); resultobj
= Py_None
;
19055 static PyObject
*_wrap_PyCompositeShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19056 PyObject
*resultobj
;
19057 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
19060 PyObject
* obj0
= 0 ;
19061 PyObject
* obj1
= 0 ;
19062 PyObject
* obj2
= 0 ;
19063 char *kwnames
[] = {
19064 (char *) "self",(char *) "w",(char *) "h", NULL
19067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCompositeShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19070 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
19071 if (PyErr_Occurred()) SWIG_fail
;
19074 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
19075 if (PyErr_Occurred()) SWIG_fail
;
19078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19079 (arg1
)->base_OnEndSize(arg2
,arg3
);
19081 wxPyEndAllowThreads(__tstate
);
19082 if (PyErr_Occurred()) SWIG_fail
;
19084 Py_INCREF(Py_None
); resultobj
= Py_None
;
19091 static PyObject
* PyCompositeShape_swigregister(PyObject
*self
, PyObject
*args
) {
19093 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19094 SWIG_TypeClientData(SWIGTYPE_p_wxPyCompositeShape
, obj
);
19096 return Py_BuildValue((char *)"");
19098 static PyObject
*_wrap_new_PyDividedShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19099 PyObject
*resultobj
;
19100 double arg1
= (double) 0.0 ;
19101 double arg2
= (double) 0.0 ;
19102 wxPyDividedShape
*result
;
19103 PyObject
* obj0
= 0 ;
19104 PyObject
* obj1
= 0 ;
19105 char *kwnames
[] = {
19106 (char *) "width",(char *) "height", NULL
19109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyDividedShape",kwnames
,&obj0
,&obj1
)) goto fail
;
19112 arg1
= (double) SWIG_PyObj_AsDouble(obj0
);
19113 if (PyErr_Occurred()) SWIG_fail
;
19118 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
19119 if (PyErr_Occurred()) SWIG_fail
;
19123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19124 result
= (wxPyDividedShape
*)new wxPyDividedShape(arg1
,arg2
);
19126 wxPyEndAllowThreads(__tstate
);
19127 if (PyErr_Occurred()) SWIG_fail
;
19129 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyDividedShape
, 1);
19136 static PyObject
*_wrap_PyDividedShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19137 PyObject
*resultobj
;
19138 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19139 PyObject
*arg2
= (PyObject
*) 0 ;
19140 PyObject
*arg3
= (PyObject
*) 0 ;
19141 PyObject
* obj0
= 0 ;
19142 PyObject
* obj1
= 0 ;
19143 PyObject
* obj2
= 0 ;
19144 char *kwnames
[] = {
19145 (char *) "self",(char *) "self",(char *) "_class", NULL
19148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDividedShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19149 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19154 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19156 wxPyEndAllowThreads(__tstate
);
19157 if (PyErr_Occurred()) SWIG_fail
;
19159 Py_INCREF(Py_None
); resultobj
= Py_None
;
19166 static PyObject
*_wrap_PyDividedShape_EditRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19167 PyObject
*resultobj
;
19168 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19169 PyObject
* obj0
= 0 ;
19170 char *kwnames
[] = {
19171 (char *) "self", NULL
19174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDividedShape_EditRegions",kwnames
,&obj0
)) goto fail
;
19175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19178 (arg1
)->EditRegions();
19180 wxPyEndAllowThreads(__tstate
);
19181 if (PyErr_Occurred()) SWIG_fail
;
19183 Py_INCREF(Py_None
); resultobj
= Py_None
;
19190 static PyObject
*_wrap_PyDividedShape_SetRegionSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19191 PyObject
*resultobj
;
19192 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19193 PyObject
* obj0
= 0 ;
19194 char *kwnames
[] = {
19195 (char *) "self", NULL
19198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDividedShape_SetRegionSizes",kwnames
,&obj0
)) goto fail
;
19199 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19202 (arg1
)->SetRegionSizes();
19204 wxPyEndAllowThreads(__tstate
);
19205 if (PyErr_Occurred()) SWIG_fail
;
19207 Py_INCREF(Py_None
); resultobj
= Py_None
;
19214 static PyObject
*_wrap_PyDividedShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19215 PyObject
*resultobj
;
19216 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19217 PyObject
* obj0
= 0 ;
19218 char *kwnames
[] = {
19219 (char *) "self", NULL
19222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDividedShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
19223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19226 (arg1
)->base_OnDelete();
19228 wxPyEndAllowThreads(__tstate
);
19229 if (PyErr_Occurred()) SWIG_fail
;
19231 Py_INCREF(Py_None
); resultobj
= Py_None
;
19238 static PyObject
*_wrap_PyDividedShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19239 PyObject
*resultobj
;
19240 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19242 PyObject
* obj0
= 0 ;
19243 PyObject
* obj1
= 0 ;
19244 char *kwnames
[] = {
19245 (char *) "self",(char *) "dc", NULL
19248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
19249 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19250 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19251 if (arg2
== NULL
) {
19252 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19256 (arg1
)->base_OnDraw(*arg2
);
19258 wxPyEndAllowThreads(__tstate
);
19259 if (PyErr_Occurred()) SWIG_fail
;
19261 Py_INCREF(Py_None
); resultobj
= Py_None
;
19268 static PyObject
*_wrap_PyDividedShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19269 PyObject
*resultobj
;
19270 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19272 PyObject
* obj0
= 0 ;
19273 PyObject
* obj1
= 0 ;
19274 char *kwnames
[] = {
19275 (char *) "self",(char *) "dc", NULL
19278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
19279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19280 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19281 if (arg2
== NULL
) {
19282 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19286 (arg1
)->base_OnDrawContents(*arg2
);
19288 wxPyEndAllowThreads(__tstate
);
19289 if (PyErr_Occurred()) SWIG_fail
;
19291 Py_INCREF(Py_None
); resultobj
= Py_None
;
19298 static PyObject
*_wrap_PyDividedShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19299 PyObject
*resultobj
;
19300 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19302 bool arg3
= (bool) FALSE
;
19303 PyObject
* obj0
= 0 ;
19304 PyObject
* obj1
= 0 ;
19305 PyObject
* obj2
= 0 ;
19306 char *kwnames
[] = {
19307 (char *) "self",(char *) "dc",(char *) "erase", NULL
19310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDividedShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19311 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19312 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19313 if (arg2
== NULL
) {
19314 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19318 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
19319 if (PyErr_Occurred()) SWIG_fail
;
19323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19324 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
19326 wxPyEndAllowThreads(__tstate
);
19327 if (PyErr_Occurred()) SWIG_fail
;
19329 Py_INCREF(Py_None
); resultobj
= Py_None
;
19336 static PyObject
*_wrap_PyDividedShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19337 PyObject
*resultobj
;
19338 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19340 PyObject
* obj0
= 0 ;
19341 PyObject
* obj1
= 0 ;
19342 char *kwnames
[] = {
19343 (char *) "self",(char *) "dc", NULL
19346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
19347 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19348 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19349 if (arg2
== NULL
) {
19350 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19354 (arg1
)->base_OnMoveLinks(*arg2
);
19356 wxPyEndAllowThreads(__tstate
);
19357 if (PyErr_Occurred()) SWIG_fail
;
19359 Py_INCREF(Py_None
); resultobj
= Py_None
;
19366 static PyObject
*_wrap_PyDividedShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19367 PyObject
*resultobj
;
19368 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19370 PyObject
* obj0
= 0 ;
19371 PyObject
* obj1
= 0 ;
19372 char *kwnames
[] = {
19373 (char *) "self",(char *) "dc", NULL
19376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
19377 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19378 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19379 if (arg2
== NULL
) {
19380 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19384 (arg1
)->base_OnErase(*arg2
);
19386 wxPyEndAllowThreads(__tstate
);
19387 if (PyErr_Occurred()) SWIG_fail
;
19389 Py_INCREF(Py_None
); resultobj
= Py_None
;
19396 static PyObject
*_wrap_PyDividedShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19397 PyObject
*resultobj
;
19398 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19400 PyObject
* obj0
= 0 ;
19401 PyObject
* obj1
= 0 ;
19402 char *kwnames
[] = {
19403 (char *) "self",(char *) "dc", NULL
19406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
19407 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19408 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19409 if (arg2
== NULL
) {
19410 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19414 (arg1
)->base_OnEraseContents(*arg2
);
19416 wxPyEndAllowThreads(__tstate
);
19417 if (PyErr_Occurred()) SWIG_fail
;
19419 Py_INCREF(Py_None
); resultobj
= Py_None
;
19426 static PyObject
*_wrap_PyDividedShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19427 PyObject
*resultobj
;
19428 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19430 PyObject
* obj0
= 0 ;
19431 PyObject
* obj1
= 0 ;
19432 char *kwnames
[] = {
19433 (char *) "self",(char *) "dc", NULL
19436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
19437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19438 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19439 if (arg2
== NULL
) {
19440 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19444 (arg1
)->base_OnHighlight(*arg2
);
19446 wxPyEndAllowThreads(__tstate
);
19447 if (PyErr_Occurred()) SWIG_fail
;
19449 Py_INCREF(Py_None
); resultobj
= Py_None
;
19456 static PyObject
*_wrap_PyDividedShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19457 PyObject
*resultobj
;
19458 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19461 int arg4
= (int) 0 ;
19462 int arg5
= (int) 0 ;
19463 PyObject
* obj0
= 0 ;
19464 PyObject
* obj1
= 0 ;
19465 PyObject
* obj2
= 0 ;
19466 PyObject
* obj3
= 0 ;
19467 PyObject
* obj4
= 0 ;
19468 char *kwnames
[] = {
19469 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19473 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19475 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
19476 if (PyErr_Occurred()) SWIG_fail
;
19479 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
19480 if (PyErr_Occurred()) SWIG_fail
;
19484 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
19485 if (PyErr_Occurred()) SWIG_fail
;
19490 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
19491 if (PyErr_Occurred()) SWIG_fail
;
19495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19496 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
19498 wxPyEndAllowThreads(__tstate
);
19499 if (PyErr_Occurred()) SWIG_fail
;
19501 Py_INCREF(Py_None
); resultobj
= Py_None
;
19508 static PyObject
*_wrap_PyDividedShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19509 PyObject
*resultobj
;
19510 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19513 int arg4
= (int) 0 ;
19514 int arg5
= (int) 0 ;
19515 PyObject
* obj0
= 0 ;
19516 PyObject
* obj1
= 0 ;
19517 PyObject
* obj2
= 0 ;
19518 PyObject
* obj3
= 0 ;
19519 PyObject
* obj4
= 0 ;
19520 char *kwnames
[] = {
19521 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19525 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19527 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
19528 if (PyErr_Occurred()) SWIG_fail
;
19531 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
19532 if (PyErr_Occurred()) SWIG_fail
;
19536 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
19537 if (PyErr_Occurred()) SWIG_fail
;
19542 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
19543 if (PyErr_Occurred()) SWIG_fail
;
19547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19548 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
19550 wxPyEndAllowThreads(__tstate
);
19551 if (PyErr_Occurred()) SWIG_fail
;
19553 Py_INCREF(Py_None
); resultobj
= Py_None
;
19560 static PyObject
*_wrap_PyDividedShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19561 PyObject
*resultobj
;
19562 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19565 int arg4
= (int) 0 ;
19566 int arg5
= (int) 0 ;
19567 PyObject
* obj0
= 0 ;
19568 PyObject
* obj1
= 0 ;
19569 PyObject
* obj2
= 0 ;
19570 PyObject
* obj3
= 0 ;
19571 PyObject
* obj4
= 0 ;
19572 char *kwnames
[] = {
19573 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19577 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19579 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
19580 if (PyErr_Occurred()) SWIG_fail
;
19583 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
19584 if (PyErr_Occurred()) SWIG_fail
;
19588 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
19589 if (PyErr_Occurred()) SWIG_fail
;
19594 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
19595 if (PyErr_Occurred()) SWIG_fail
;
19599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19600 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
19602 wxPyEndAllowThreads(__tstate
);
19603 if (PyErr_Occurred()) SWIG_fail
;
19605 Py_INCREF(Py_None
); resultobj
= Py_None
;
19612 static PyObject
*_wrap_PyDividedShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19613 PyObject
*resultobj
;
19614 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19617 PyObject
* obj0
= 0 ;
19618 PyObject
* obj1
= 0 ;
19619 PyObject
* obj2
= 0 ;
19620 char *kwnames
[] = {
19621 (char *) "self",(char *) "x",(char *) "y", NULL
19624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDividedShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19625 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19627 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
19628 if (PyErr_Occurred()) SWIG_fail
;
19631 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
19632 if (PyErr_Occurred()) SWIG_fail
;
19635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19636 (arg1
)->base_OnSize(arg2
,arg3
);
19638 wxPyEndAllowThreads(__tstate
);
19639 if (PyErr_Occurred()) SWIG_fail
;
19641 Py_INCREF(Py_None
); resultobj
= Py_None
;
19648 static PyObject
*_wrap_PyDividedShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19649 PyObject
*resultobj
;
19650 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19656 bool arg7
= (bool) True
;
19658 PyObject
* obj0
= 0 ;
19659 PyObject
* obj1
= 0 ;
19660 PyObject
* obj2
= 0 ;
19661 PyObject
* obj3
= 0 ;
19662 PyObject
* obj4
= 0 ;
19663 PyObject
* obj5
= 0 ;
19664 PyObject
* obj6
= 0 ;
19665 char *kwnames
[] = {
19666 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
19669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyDividedShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19670 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19671 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19672 if (arg2
== NULL
) {
19673 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19676 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
19677 if (PyErr_Occurred()) SWIG_fail
;
19680 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
19681 if (PyErr_Occurred()) SWIG_fail
;
19684 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
19685 if (PyErr_Occurred()) SWIG_fail
;
19688 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
19689 if (PyErr_Occurred()) SWIG_fail
;
19693 arg7
= (bool) SWIG_PyObj_AsBool(obj6
);
19694 if (PyErr_Occurred()) SWIG_fail
;
19698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19699 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19701 wxPyEndAllowThreads(__tstate
);
19702 if (PyErr_Occurred()) SWIG_fail
;
19704 resultobj
= SWIG_PyObj_FromBool((bool)result
);
19711 static PyObject
*_wrap_PyDividedShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19712 PyObject
*resultobj
;
19713 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19719 bool arg7
= (bool) True
;
19720 PyObject
* obj0
= 0 ;
19721 PyObject
* obj1
= 0 ;
19722 PyObject
* obj2
= 0 ;
19723 PyObject
* obj3
= 0 ;
19724 PyObject
* obj4
= 0 ;
19725 PyObject
* obj5
= 0 ;
19726 PyObject
* obj6
= 0 ;
19727 char *kwnames
[] = {
19728 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
19731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyDividedShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19732 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19733 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19734 if (arg2
== NULL
) {
19735 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19738 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
19739 if (PyErr_Occurred()) SWIG_fail
;
19742 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
19743 if (PyErr_Occurred()) SWIG_fail
;
19746 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
19747 if (PyErr_Occurred()) SWIG_fail
;
19750 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
19751 if (PyErr_Occurred()) SWIG_fail
;
19755 arg7
= (bool) SWIG_PyObj_AsBool(obj6
);
19756 if (PyErr_Occurred()) SWIG_fail
;
19760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19761 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19763 wxPyEndAllowThreads(__tstate
);
19764 if (PyErr_Occurred()) SWIG_fail
;
19766 Py_INCREF(Py_None
); resultobj
= Py_None
;
19773 static PyObject
*_wrap_PyDividedShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19774 PyObject
*resultobj
;
19775 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19779 int arg5
= (int) 0 ;
19780 int arg6
= (int) 0 ;
19781 PyObject
* obj0
= 0 ;
19782 PyObject
* obj1
= 0 ;
19783 PyObject
* obj2
= 0 ;
19784 PyObject
* obj3
= 0 ;
19785 PyObject
* obj4
= 0 ;
19786 PyObject
* obj5
= 0 ;
19787 char *kwnames
[] = {
19788 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDividedShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19792 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19794 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19795 if (PyErr_Occurred()) SWIG_fail
;
19798 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
19799 if (PyErr_Occurred()) SWIG_fail
;
19802 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
19803 if (PyErr_Occurred()) SWIG_fail
;
19807 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
19808 if (PyErr_Occurred()) SWIG_fail
;
19813 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
19814 if (PyErr_Occurred()) SWIG_fail
;
19818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19819 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
19821 wxPyEndAllowThreads(__tstate
);
19822 if (PyErr_Occurred()) SWIG_fail
;
19824 Py_INCREF(Py_None
); resultobj
= Py_None
;
19831 static PyObject
*_wrap_PyDividedShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19832 PyObject
*resultobj
;
19833 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19836 int arg4
= (int) 0 ;
19837 int arg5
= (int) 0 ;
19838 PyObject
* obj0
= 0 ;
19839 PyObject
* obj1
= 0 ;
19840 PyObject
* obj2
= 0 ;
19841 PyObject
* obj3
= 0 ;
19842 PyObject
* obj4
= 0 ;
19843 char *kwnames
[] = {
19844 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19848 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19850 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
19851 if (PyErr_Occurred()) SWIG_fail
;
19854 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
19855 if (PyErr_Occurred()) SWIG_fail
;
19859 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
19860 if (PyErr_Occurred()) SWIG_fail
;
19865 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
19866 if (PyErr_Occurred()) SWIG_fail
;
19870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19871 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
19873 wxPyEndAllowThreads(__tstate
);
19874 if (PyErr_Occurred()) SWIG_fail
;
19876 Py_INCREF(Py_None
); resultobj
= Py_None
;
19883 static PyObject
*_wrap_PyDividedShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19884 PyObject
*resultobj
;
19885 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19888 int arg4
= (int) 0 ;
19889 int arg5
= (int) 0 ;
19890 PyObject
* obj0
= 0 ;
19891 PyObject
* obj1
= 0 ;
19892 PyObject
* obj2
= 0 ;
19893 PyObject
* obj3
= 0 ;
19894 PyObject
* obj4
= 0 ;
19895 char *kwnames
[] = {
19896 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19902 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
19903 if (PyErr_Occurred()) SWIG_fail
;
19906 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
19907 if (PyErr_Occurred()) SWIG_fail
;
19911 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
19912 if (PyErr_Occurred()) SWIG_fail
;
19917 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
19918 if (PyErr_Occurred()) SWIG_fail
;
19922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19923 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
19925 wxPyEndAllowThreads(__tstate
);
19926 if (PyErr_Occurred()) SWIG_fail
;
19928 Py_INCREF(Py_None
); resultobj
= Py_None
;
19935 static PyObject
*_wrap_PyDividedShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19936 PyObject
*resultobj
;
19937 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19941 int arg5
= (int) 0 ;
19942 int arg6
= (int) 0 ;
19943 PyObject
* obj0
= 0 ;
19944 PyObject
* obj1
= 0 ;
19945 PyObject
* obj2
= 0 ;
19946 PyObject
* obj3
= 0 ;
19947 PyObject
* obj4
= 0 ;
19948 PyObject
* obj5
= 0 ;
19949 char *kwnames
[] = {
19950 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDividedShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19954 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19956 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19957 if (PyErr_Occurred()) SWIG_fail
;
19960 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
19961 if (PyErr_Occurred()) SWIG_fail
;
19964 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
19965 if (PyErr_Occurred()) SWIG_fail
;
19969 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
19970 if (PyErr_Occurred()) SWIG_fail
;
19975 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
19976 if (PyErr_Occurred()) SWIG_fail
;
19980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19981 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
19983 wxPyEndAllowThreads(__tstate
);
19984 if (PyErr_Occurred()) SWIG_fail
;
19986 Py_INCREF(Py_None
); resultobj
= Py_None
;
19993 static PyObject
*_wrap_PyDividedShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19994 PyObject
*resultobj
;
19995 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19998 int arg4
= (int) 0 ;
19999 int arg5
= (int) 0 ;
20000 PyObject
* obj0
= 0 ;
20001 PyObject
* obj1
= 0 ;
20002 PyObject
* obj2
= 0 ;
20003 PyObject
* obj3
= 0 ;
20004 PyObject
* obj4
= 0 ;
20005 char *kwnames
[] = {
20006 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
20009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20010 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20012 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
20013 if (PyErr_Occurred()) SWIG_fail
;
20016 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
20017 if (PyErr_Occurred()) SWIG_fail
;
20021 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
20022 if (PyErr_Occurred()) SWIG_fail
;
20027 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
20028 if (PyErr_Occurred()) SWIG_fail
;
20032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20033 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
20035 wxPyEndAllowThreads(__tstate
);
20036 if (PyErr_Occurred()) SWIG_fail
;
20038 Py_INCREF(Py_None
); resultobj
= Py_None
;
20045 static PyObject
*_wrap_PyDividedShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20046 PyObject
*resultobj
;
20047 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
20050 int arg4
= (int) 0 ;
20051 int arg5
= (int) 0 ;
20052 PyObject
* obj0
= 0 ;
20053 PyObject
* obj1
= 0 ;
20054 PyObject
* obj2
= 0 ;
20055 PyObject
* obj3
= 0 ;
20056 PyObject
* obj4
= 0 ;
20057 char *kwnames
[] = {
20058 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
20061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20064 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
20065 if (PyErr_Occurred()) SWIG_fail
;
20068 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
20069 if (PyErr_Occurred()) SWIG_fail
;
20073 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
20074 if (PyErr_Occurred()) SWIG_fail
;
20079 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
20080 if (PyErr_Occurred()) SWIG_fail
;
20084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20085 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
20087 wxPyEndAllowThreads(__tstate
);
20088 if (PyErr_Occurred()) SWIG_fail
;
20090 Py_INCREF(Py_None
); resultobj
= Py_None
;
20097 static PyObject
*_wrap_PyDividedShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20098 PyObject
*resultobj
;
20099 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
20105 PyObject
* obj0
= 0 ;
20106 PyObject
* obj1
= 0 ;
20107 PyObject
* obj2
= 0 ;
20108 PyObject
* obj3
= 0 ;
20109 PyObject
* obj4
= 0 ;
20110 PyObject
* obj5
= 0 ;
20111 char *kwnames
[] = {
20112 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
20115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyDividedShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
20116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20117 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20118 if (arg2
== NULL
) {
20119 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20122 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
20123 if (PyErr_Occurred()) SWIG_fail
;
20126 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
20127 if (PyErr_Occurred()) SWIG_fail
;
20130 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
20131 if (PyErr_Occurred()) SWIG_fail
;
20134 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
20135 if (PyErr_Occurred()) SWIG_fail
;
20138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20139 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
20141 wxPyEndAllowThreads(__tstate
);
20142 if (PyErr_Occurred()) SWIG_fail
;
20144 Py_INCREF(Py_None
); resultobj
= Py_None
;
20151 static PyObject
*_wrap_PyDividedShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20152 PyObject
*resultobj
;
20153 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
20155 PyObject
* obj0
= 0 ;
20156 PyObject
* obj1
= 0 ;
20157 char *kwnames
[] = {
20158 (char *) "self",(char *) "dc", NULL
20161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
20162 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20163 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20164 if (arg2
== NULL
) {
20165 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20169 (arg1
)->base_OnDrawControlPoints(*arg2
);
20171 wxPyEndAllowThreads(__tstate
);
20172 if (PyErr_Occurred()) SWIG_fail
;
20174 Py_INCREF(Py_None
); resultobj
= Py_None
;
20181 static PyObject
*_wrap_PyDividedShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20182 PyObject
*resultobj
;
20183 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
20185 PyObject
* obj0
= 0 ;
20186 PyObject
* obj1
= 0 ;
20187 char *kwnames
[] = {
20188 (char *) "self",(char *) "dc", NULL
20191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
20192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20193 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20194 if (arg2
== NULL
) {
20195 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20199 (arg1
)->base_OnEraseControlPoints(*arg2
);
20201 wxPyEndAllowThreads(__tstate
);
20202 if (PyErr_Occurred()) SWIG_fail
;
20204 Py_INCREF(Py_None
); resultobj
= Py_None
;
20211 static PyObject
*_wrap_PyDividedShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20212 PyObject
*resultobj
;
20213 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
20215 bool arg3
= (bool) True
;
20216 PyObject
* obj0
= 0 ;
20217 PyObject
* obj1
= 0 ;
20218 PyObject
* obj2
= 0 ;
20219 char *kwnames
[] = {
20220 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
20223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDividedShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20224 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20225 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20226 if (arg2
== NULL
) {
20227 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20231 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
20232 if (PyErr_Occurred()) SWIG_fail
;
20236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20237 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
20239 wxPyEndAllowThreads(__tstate
);
20240 if (PyErr_Occurred()) SWIG_fail
;
20242 Py_INCREF(Py_None
); resultobj
= Py_None
;
20249 static PyObject
*_wrap_PyDividedShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20250 PyObject
*resultobj
;
20251 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
20252 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
20256 int arg6
= (int) 0 ;
20257 int arg7
= (int) 0 ;
20258 PyObject
* obj0
= 0 ;
20259 PyObject
* obj1
= 0 ;
20260 PyObject
* obj2
= 0 ;
20261 PyObject
* obj3
= 0 ;
20262 PyObject
* obj4
= 0 ;
20263 PyObject
* obj5
= 0 ;
20264 PyObject
* obj6
= 0 ;
20265 char *kwnames
[] = {
20266 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
20269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyDividedShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
20270 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20271 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20273 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
20274 if (PyErr_Occurred()) SWIG_fail
;
20277 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
20278 if (PyErr_Occurred()) SWIG_fail
;
20281 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
20282 if (PyErr_Occurred()) SWIG_fail
;
20286 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
20287 if (PyErr_Occurred()) SWIG_fail
;
20292 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
20293 if (PyErr_Occurred()) SWIG_fail
;
20297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20298 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
20300 wxPyEndAllowThreads(__tstate
);
20301 if (PyErr_Occurred()) SWIG_fail
;
20303 Py_INCREF(Py_None
); resultobj
= Py_None
;
20310 static PyObject
*_wrap_PyDividedShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20311 PyObject
*resultobj
;
20312 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
20313 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
20316 int arg5
= (int) 0 ;
20317 int arg6
= (int) 0 ;
20318 PyObject
* obj0
= 0 ;
20319 PyObject
* obj1
= 0 ;
20320 PyObject
* obj2
= 0 ;
20321 PyObject
* obj3
= 0 ;
20322 PyObject
* obj4
= 0 ;
20323 PyObject
* obj5
= 0 ;
20324 char *kwnames
[] = {
20325 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
20328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDividedShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
20329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20330 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20332 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
20333 if (PyErr_Occurred()) SWIG_fail
;
20336 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
20337 if (PyErr_Occurred()) SWIG_fail
;
20341 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
20342 if (PyErr_Occurred()) SWIG_fail
;
20347 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
20348 if (PyErr_Occurred()) SWIG_fail
;
20352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20353 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
20355 wxPyEndAllowThreads(__tstate
);
20356 if (PyErr_Occurred()) SWIG_fail
;
20358 Py_INCREF(Py_None
); resultobj
= Py_None
;
20365 static PyObject
*_wrap_PyDividedShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20366 PyObject
*resultobj
;
20367 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
20368 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
20371 int arg5
= (int) 0 ;
20372 int arg6
= (int) 0 ;
20373 PyObject
* obj0
= 0 ;
20374 PyObject
* obj1
= 0 ;
20375 PyObject
* obj2
= 0 ;
20376 PyObject
* obj3
= 0 ;
20377 PyObject
* obj4
= 0 ;
20378 PyObject
* obj5
= 0 ;
20379 char *kwnames
[] = {
20380 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
20383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDividedShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
20384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20385 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20387 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
20388 if (PyErr_Occurred()) SWIG_fail
;
20391 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
20392 if (PyErr_Occurred()) SWIG_fail
;
20396 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
20397 if (PyErr_Occurred()) SWIG_fail
;
20402 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
20403 if (PyErr_Occurred()) SWIG_fail
;
20407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20408 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
20410 wxPyEndAllowThreads(__tstate
);
20411 if (PyErr_Occurred()) SWIG_fail
;
20413 Py_INCREF(Py_None
); resultobj
= Py_None
;
20420 static PyObject
*_wrap_PyDividedShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20421 PyObject
*resultobj
;
20422 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
20425 PyObject
* obj0
= 0 ;
20426 PyObject
* obj1
= 0 ;
20427 PyObject
* obj2
= 0 ;
20428 char *kwnames
[] = {
20429 (char *) "self",(char *) "w",(char *) "h", NULL
20432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDividedShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20433 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20435 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
20436 if (PyErr_Occurred()) SWIG_fail
;
20439 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
20440 if (PyErr_Occurred()) SWIG_fail
;
20443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20444 (arg1
)->base_OnBeginSize(arg2
,arg3
);
20446 wxPyEndAllowThreads(__tstate
);
20447 if (PyErr_Occurred()) SWIG_fail
;
20449 Py_INCREF(Py_None
); resultobj
= Py_None
;
20456 static PyObject
*_wrap_PyDividedShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20457 PyObject
*resultobj
;
20458 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
20461 PyObject
* obj0
= 0 ;
20462 PyObject
* obj1
= 0 ;
20463 PyObject
* obj2
= 0 ;
20464 char *kwnames
[] = {
20465 (char *) "self",(char *) "w",(char *) "h", NULL
20468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDividedShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20469 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20471 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
20472 if (PyErr_Occurred()) SWIG_fail
;
20475 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
20476 if (PyErr_Occurred()) SWIG_fail
;
20479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20480 (arg1
)->base_OnEndSize(arg2
,arg3
);
20482 wxPyEndAllowThreads(__tstate
);
20483 if (PyErr_Occurred()) SWIG_fail
;
20485 Py_INCREF(Py_None
); resultobj
= Py_None
;
20492 static PyObject
* PyDividedShape_swigregister(PyObject
*self
, PyObject
*args
) {
20494 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20495 SWIG_TypeClientData(SWIGTYPE_p_wxPyDividedShape
, obj
);
20497 return Py_BuildValue((char *)"");
20499 static PyObject
*_wrap_new_PyDivisionShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20500 PyObject
*resultobj
;
20501 wxPyDivisionShape
*result
;
20502 char *kwnames
[] = {
20506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyDivisionShape",kwnames
)) goto fail
;
20508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20509 result
= (wxPyDivisionShape
*)new wxPyDivisionShape();
20511 wxPyEndAllowThreads(__tstate
);
20512 if (PyErr_Occurred()) SWIG_fail
;
20515 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
20523 static PyObject
*_wrap_PyDivisionShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20524 PyObject
*resultobj
;
20525 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20526 PyObject
*arg2
= (PyObject
*) 0 ;
20527 PyObject
*arg3
= (PyObject
*) 0 ;
20528 PyObject
* obj0
= 0 ;
20529 PyObject
* obj1
= 0 ;
20530 PyObject
* obj2
= 0 ;
20531 char *kwnames
[] = {
20532 (char *) "self",(char *) "self",(char *) "_class", NULL
20535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20536 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20541 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20543 wxPyEndAllowThreads(__tstate
);
20544 if (PyErr_Occurred()) SWIG_fail
;
20546 Py_INCREF(Py_None
); resultobj
= Py_None
;
20553 static PyObject
*_wrap_PyDivisionShape_AdjustBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20554 PyObject
*resultobj
;
20555 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20558 PyObject
* obj0
= 0 ;
20559 PyObject
* obj1
= 0 ;
20560 PyObject
* obj2
= 0 ;
20561 char *kwnames
[] = {
20562 (char *) "self",(char *) "bottom",(char *) "test", NULL
20565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_AdjustBottom",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20566 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20568 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
20569 if (PyErr_Occurred()) SWIG_fail
;
20572 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
20573 if (PyErr_Occurred()) SWIG_fail
;
20576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20577 (arg1
)->AdjustBottom(arg2
,arg3
);
20579 wxPyEndAllowThreads(__tstate
);
20580 if (PyErr_Occurred()) SWIG_fail
;
20582 Py_INCREF(Py_None
); resultobj
= Py_None
;
20589 static PyObject
*_wrap_PyDivisionShape_AdjustLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20590 PyObject
*resultobj
;
20591 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20594 PyObject
* obj0
= 0 ;
20595 PyObject
* obj1
= 0 ;
20596 PyObject
* obj2
= 0 ;
20597 char *kwnames
[] = {
20598 (char *) "self",(char *) "left",(char *) "test", NULL
20601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_AdjustLeft",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20602 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20604 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
20605 if (PyErr_Occurred()) SWIG_fail
;
20608 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
20609 if (PyErr_Occurred()) SWIG_fail
;
20612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20613 (arg1
)->AdjustLeft(arg2
,arg3
);
20615 wxPyEndAllowThreads(__tstate
);
20616 if (PyErr_Occurred()) SWIG_fail
;
20618 Py_INCREF(Py_None
); resultobj
= Py_None
;
20625 static PyObject
*_wrap_PyDivisionShape_AdjustRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20626 PyObject
*resultobj
;
20627 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20630 PyObject
* obj0
= 0 ;
20631 PyObject
* obj1
= 0 ;
20632 PyObject
* obj2
= 0 ;
20633 char *kwnames
[] = {
20634 (char *) "self",(char *) "right",(char *) "test", NULL
20637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_AdjustRight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20638 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20640 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
20641 if (PyErr_Occurred()) SWIG_fail
;
20644 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
20645 if (PyErr_Occurred()) SWIG_fail
;
20648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20649 (arg1
)->AdjustRight(arg2
,arg3
);
20651 wxPyEndAllowThreads(__tstate
);
20652 if (PyErr_Occurred()) SWIG_fail
;
20654 Py_INCREF(Py_None
); resultobj
= Py_None
;
20661 static PyObject
*_wrap_PyDivisionShape_AdjustTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20662 PyObject
*resultobj
;
20663 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20666 PyObject
* obj0
= 0 ;
20667 PyObject
* obj1
= 0 ;
20668 PyObject
* obj2
= 0 ;
20669 char *kwnames
[] = {
20670 (char *) "self",(char *) "top",(char *) "test", NULL
20673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_AdjustTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20676 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
20677 if (PyErr_Occurred()) SWIG_fail
;
20680 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
20681 if (PyErr_Occurred()) SWIG_fail
;
20684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20685 (arg1
)->AdjustTop(arg2
,arg3
);
20687 wxPyEndAllowThreads(__tstate
);
20688 if (PyErr_Occurred()) SWIG_fail
;
20690 Py_INCREF(Py_None
); resultobj
= Py_None
;
20697 static PyObject
*_wrap_PyDivisionShape_Divide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20698 PyObject
*resultobj
;
20699 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20701 PyObject
* obj0
= 0 ;
20702 PyObject
* obj1
= 0 ;
20703 char *kwnames
[] = {
20704 (char *) "self",(char *) "direction", NULL
20707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_Divide",kwnames
,&obj0
,&obj1
)) goto fail
;
20708 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20710 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20711 if (PyErr_Occurred()) SWIG_fail
;
20714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20715 (arg1
)->Divide(arg2
);
20717 wxPyEndAllowThreads(__tstate
);
20718 if (PyErr_Occurred()) SWIG_fail
;
20720 Py_INCREF(Py_None
); resultobj
= Py_None
;
20727 static PyObject
*_wrap_PyDivisionShape_EditEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20728 PyObject
*resultobj
;
20729 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20731 PyObject
* obj0
= 0 ;
20732 PyObject
* obj1
= 0 ;
20733 char *kwnames
[] = {
20734 (char *) "self",(char *) "side", NULL
20737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_EditEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
20738 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20740 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20741 if (PyErr_Occurred()) SWIG_fail
;
20744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20745 (arg1
)->EditEdge(arg2
);
20747 wxPyEndAllowThreads(__tstate
);
20748 if (PyErr_Occurred()) SWIG_fail
;
20750 Py_INCREF(Py_None
); resultobj
= Py_None
;
20757 static PyObject
*_wrap_PyDivisionShape_GetBottomSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20758 PyObject
*resultobj
;
20759 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20760 wxPyDivisionShape
*result
;
20761 PyObject
* obj0
= 0 ;
20762 char *kwnames
[] = {
20763 (char *) "self", NULL
20766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetBottomSide",kwnames
,&obj0
)) goto fail
;
20767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20770 result
= (wxPyDivisionShape
*)(arg1
)->GetBottomSide();
20772 wxPyEndAllowThreads(__tstate
);
20773 if (PyErr_Occurred()) SWIG_fail
;
20776 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
20784 static PyObject
*_wrap_PyDivisionShape_GetHandleSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20785 PyObject
*resultobj
;
20786 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20788 PyObject
* obj0
= 0 ;
20789 char *kwnames
[] = {
20790 (char *) "self", NULL
20793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetHandleSide",kwnames
,&obj0
)) goto fail
;
20794 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20797 result
= (int)(arg1
)->GetHandleSide();
20799 wxPyEndAllowThreads(__tstate
);
20800 if (PyErr_Occurred()) SWIG_fail
;
20802 resultobj
= SWIG_PyObj_FromInt((int)result
);
20809 static PyObject
*_wrap_PyDivisionShape_GetLeftSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20810 PyObject
*resultobj
;
20811 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20812 wxPyDivisionShape
*result
;
20813 PyObject
* obj0
= 0 ;
20814 char *kwnames
[] = {
20815 (char *) "self", NULL
20818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetLeftSide",kwnames
,&obj0
)) goto fail
;
20819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20822 result
= (wxPyDivisionShape
*)(arg1
)->GetLeftSide();
20824 wxPyEndAllowThreads(__tstate
);
20825 if (PyErr_Occurred()) SWIG_fail
;
20828 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
20836 static PyObject
*_wrap_PyDivisionShape_GetLeftSideColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20837 PyObject
*resultobj
;
20838 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20840 PyObject
* obj0
= 0 ;
20841 char *kwnames
[] = {
20842 (char *) "self", NULL
20845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetLeftSideColour",kwnames
,&obj0
)) goto fail
;
20846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20849 result
= (arg1
)->GetLeftSideColour();
20851 wxPyEndAllowThreads(__tstate
);
20852 if (PyErr_Occurred()) SWIG_fail
;
20856 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20858 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20867 static PyObject
*_wrap_PyDivisionShape_GetLeftSidePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20868 PyObject
*resultobj
;
20869 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20871 PyObject
* obj0
= 0 ;
20872 char *kwnames
[] = {
20873 (char *) "self", NULL
20876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetLeftSidePen",kwnames
,&obj0
)) goto fail
;
20877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20880 result
= (wxPen
*)(arg1
)->GetLeftSidePen();
20882 wxPyEndAllowThreads(__tstate
);
20883 if (PyErr_Occurred()) SWIG_fail
;
20885 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPen
, 0);
20892 static PyObject
*_wrap_PyDivisionShape_GetRightSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20893 PyObject
*resultobj
;
20894 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20895 wxPyDivisionShape
*result
;
20896 PyObject
* obj0
= 0 ;
20897 char *kwnames
[] = {
20898 (char *) "self", NULL
20901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetRightSide",kwnames
,&obj0
)) goto fail
;
20902 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20905 result
= (wxPyDivisionShape
*)(arg1
)->GetRightSide();
20907 wxPyEndAllowThreads(__tstate
);
20908 if (PyErr_Occurred()) SWIG_fail
;
20911 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
20919 static PyObject
*_wrap_PyDivisionShape_GetTopSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20920 PyObject
*resultobj
;
20921 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20922 wxPyDivisionShape
*result
;
20923 PyObject
* obj0
= 0 ;
20924 char *kwnames
[] = {
20925 (char *) "self", NULL
20928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetTopSide",kwnames
,&obj0
)) goto fail
;
20929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20932 result
= (wxPyDivisionShape
*)(arg1
)->GetTopSide();
20934 wxPyEndAllowThreads(__tstate
);
20935 if (PyErr_Occurred()) SWIG_fail
;
20938 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
20946 static PyObject
*_wrap_PyDivisionShape_GetTopSidePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20947 PyObject
*resultobj
;
20948 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20950 PyObject
* obj0
= 0 ;
20951 char *kwnames
[] = {
20952 (char *) "self", NULL
20955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetTopSidePen",kwnames
,&obj0
)) goto fail
;
20956 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20959 result
= (wxPen
*)(arg1
)->GetTopSidePen();
20961 wxPyEndAllowThreads(__tstate
);
20962 if (PyErr_Occurred()) SWIG_fail
;
20964 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPen
, 0);
20971 static PyObject
*_wrap_PyDivisionShape_ResizeAdjoining(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20972 PyObject
*resultobj
;
20973 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20977 PyObject
* obj0
= 0 ;
20978 PyObject
* obj1
= 0 ;
20979 PyObject
* obj2
= 0 ;
20980 PyObject
* obj3
= 0 ;
20981 char *kwnames
[] = {
20982 (char *) "self",(char *) "side",(char *) "newPos",(char *) "test", NULL
20985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyDivisionShape_ResizeAdjoining",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20986 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20988 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20989 if (PyErr_Occurred()) SWIG_fail
;
20992 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
20993 if (PyErr_Occurred()) SWIG_fail
;
20996 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
20997 if (PyErr_Occurred()) SWIG_fail
;
21000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21001 (arg1
)->ResizeAdjoining(arg2
,arg3
,arg4
);
21003 wxPyEndAllowThreads(__tstate
);
21004 if (PyErr_Occurred()) SWIG_fail
;
21006 Py_INCREF(Py_None
); resultobj
= Py_None
;
21013 static PyObject
*_wrap_PyDivisionShape_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21014 PyObject
*resultobj
;
21015 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21018 PyObject
* obj0
= 0 ;
21019 PyObject
* obj1
= 0 ;
21020 PyObject
* obj2
= 0 ;
21021 char *kwnames
[] = {
21022 (char *) "self",(char *) "x",(char *) "y", NULL
21025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21026 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21028 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
21029 if (PyErr_Occurred()) SWIG_fail
;
21032 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
21033 if (PyErr_Occurred()) SWIG_fail
;
21036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21037 (arg1
)->PopupMenu(arg2
,arg3
);
21039 wxPyEndAllowThreads(__tstate
);
21040 if (PyErr_Occurred()) SWIG_fail
;
21042 Py_INCREF(Py_None
); resultobj
= Py_None
;
21049 static PyObject
*_wrap_PyDivisionShape_SetBottomSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21050 PyObject
*resultobj
;
21051 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21052 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
21053 PyObject
* obj0
= 0 ;
21054 PyObject
* obj1
= 0 ;
21055 char *kwnames
[] = {
21056 (char *) "self",(char *) "shape", NULL
21059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetBottomSide",kwnames
,&obj0
,&obj1
)) goto fail
;
21060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21061 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21064 (arg1
)->SetBottomSide(arg2
);
21066 wxPyEndAllowThreads(__tstate
);
21067 if (PyErr_Occurred()) SWIG_fail
;
21069 Py_INCREF(Py_None
); resultobj
= Py_None
;
21076 static PyObject
*_wrap_PyDivisionShape_SetHandleSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21077 PyObject
*resultobj
;
21078 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21080 PyObject
* obj0
= 0 ;
21081 PyObject
* obj1
= 0 ;
21082 char *kwnames
[] = {
21083 (char *) "self",(char *) "side", NULL
21086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetHandleSide",kwnames
,&obj0
,&obj1
)) goto fail
;
21087 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21089 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21090 if (PyErr_Occurred()) SWIG_fail
;
21093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21094 (arg1
)->SetHandleSide(arg2
);
21096 wxPyEndAllowThreads(__tstate
);
21097 if (PyErr_Occurred()) SWIG_fail
;
21099 Py_INCREF(Py_None
); resultobj
= Py_None
;
21106 static PyObject
*_wrap_PyDivisionShape_SetLeftSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21107 PyObject
*resultobj
;
21108 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21109 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
21110 PyObject
* obj0
= 0 ;
21111 PyObject
* obj1
= 0 ;
21112 char *kwnames
[] = {
21113 (char *) "self",(char *) "shape", NULL
21116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetLeftSide",kwnames
,&obj0
,&obj1
)) goto fail
;
21117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21118 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21121 (arg1
)->SetLeftSide(arg2
);
21123 wxPyEndAllowThreads(__tstate
);
21124 if (PyErr_Occurred()) SWIG_fail
;
21126 Py_INCREF(Py_None
); resultobj
= Py_None
;
21133 static PyObject
*_wrap_PyDivisionShape_SetLeftSideColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21134 PyObject
*resultobj
;
21135 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21136 wxString
*arg2
= 0 ;
21137 bool temp2
= False
;
21138 PyObject
* obj0
= 0 ;
21139 PyObject
* obj1
= 0 ;
21140 char *kwnames
[] = {
21141 (char *) "self",(char *) "colour", NULL
21144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetLeftSideColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21145 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21147 arg2
= wxString_in_helper(obj1
);
21148 if (arg2
== NULL
) SWIG_fail
;
21152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21153 (arg1
)->SetLeftSideColour((wxString
const &)*arg2
);
21155 wxPyEndAllowThreads(__tstate
);
21156 if (PyErr_Occurred()) SWIG_fail
;
21158 Py_INCREF(Py_None
); resultobj
= Py_None
;
21173 static PyObject
*_wrap_PyDivisionShape_SetLeftSidePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21174 PyObject
*resultobj
;
21175 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21176 wxPen
*arg2
= (wxPen
*) 0 ;
21177 PyObject
* obj0
= 0 ;
21178 PyObject
* obj1
= 0 ;
21179 char *kwnames
[] = {
21180 (char *) "self",(char *) "pen", NULL
21183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetLeftSidePen",kwnames
,&obj0
,&obj1
)) goto fail
;
21184 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21188 if (obj1
== Py_None
) {
21191 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
21192 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
21197 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
21204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21205 (arg1
)->SetLeftSidePen(arg2
);
21207 wxPyEndAllowThreads(__tstate
);
21208 if (PyErr_Occurred()) SWIG_fail
;
21210 Py_INCREF(Py_None
); resultobj
= Py_None
;
21217 static PyObject
*_wrap_PyDivisionShape_SetRightSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21218 PyObject
*resultobj
;
21219 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21220 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
21221 PyObject
* obj0
= 0 ;
21222 PyObject
* obj1
= 0 ;
21223 char *kwnames
[] = {
21224 (char *) "self",(char *) "shape", NULL
21227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetRightSide",kwnames
,&obj0
,&obj1
)) goto fail
;
21228 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21229 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21232 (arg1
)->SetRightSide(arg2
);
21234 wxPyEndAllowThreads(__tstate
);
21235 if (PyErr_Occurred()) SWIG_fail
;
21237 Py_INCREF(Py_None
); resultobj
= Py_None
;
21244 static PyObject
*_wrap_PyDivisionShape_SetTopSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21245 PyObject
*resultobj
;
21246 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21247 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
21248 PyObject
* obj0
= 0 ;
21249 PyObject
* obj1
= 0 ;
21250 char *kwnames
[] = {
21251 (char *) "self",(char *) "shape", NULL
21254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetTopSide",kwnames
,&obj0
,&obj1
)) goto fail
;
21255 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21256 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21259 (arg1
)->SetTopSide(arg2
);
21261 wxPyEndAllowThreads(__tstate
);
21262 if (PyErr_Occurred()) SWIG_fail
;
21264 Py_INCREF(Py_None
); resultobj
= Py_None
;
21271 static PyObject
*_wrap_PyDivisionShape_SetTopSideColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21272 PyObject
*resultobj
;
21273 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21274 wxString
*arg2
= 0 ;
21275 bool temp2
= False
;
21276 PyObject
* obj0
= 0 ;
21277 PyObject
* obj1
= 0 ;
21278 char *kwnames
[] = {
21279 (char *) "self",(char *) "colour", NULL
21282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetTopSideColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21283 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21285 arg2
= wxString_in_helper(obj1
);
21286 if (arg2
== NULL
) SWIG_fail
;
21290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21291 (arg1
)->SetTopSideColour((wxString
const &)*arg2
);
21293 wxPyEndAllowThreads(__tstate
);
21294 if (PyErr_Occurred()) SWIG_fail
;
21296 Py_INCREF(Py_None
); resultobj
= Py_None
;
21311 static PyObject
*_wrap_PyDivisionShape_SetTopSidePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21312 PyObject
*resultobj
;
21313 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21314 wxPen
*arg2
= (wxPen
*) 0 ;
21315 PyObject
* obj0
= 0 ;
21316 PyObject
* obj1
= 0 ;
21317 char *kwnames
[] = {
21318 (char *) "self",(char *) "pen", NULL
21321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetTopSidePen",kwnames
,&obj0
,&obj1
)) goto fail
;
21322 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21326 if (obj1
== Py_None
) {
21329 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
21330 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
21335 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
21342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21343 (arg1
)->SetTopSidePen(arg2
);
21345 wxPyEndAllowThreads(__tstate
);
21346 if (PyErr_Occurred()) SWIG_fail
;
21348 Py_INCREF(Py_None
); resultobj
= Py_None
;
21355 static PyObject
*_wrap_PyDivisionShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21356 PyObject
*resultobj
;
21357 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21358 PyObject
* obj0
= 0 ;
21359 char *kwnames
[] = {
21360 (char *) "self", NULL
21363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
21364 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21367 (arg1
)->base_OnDelete();
21369 wxPyEndAllowThreads(__tstate
);
21370 if (PyErr_Occurred()) SWIG_fail
;
21372 Py_INCREF(Py_None
); resultobj
= Py_None
;
21379 static PyObject
*_wrap_PyDivisionShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21380 PyObject
*resultobj
;
21381 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21383 PyObject
* obj0
= 0 ;
21384 PyObject
* obj1
= 0 ;
21385 char *kwnames
[] = {
21386 (char *) "self",(char *) "dc", NULL
21389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
21390 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21391 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21392 if (arg2
== NULL
) {
21393 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21397 (arg1
)->base_OnDraw(*arg2
);
21399 wxPyEndAllowThreads(__tstate
);
21400 if (PyErr_Occurred()) SWIG_fail
;
21402 Py_INCREF(Py_None
); resultobj
= Py_None
;
21409 static PyObject
*_wrap_PyDivisionShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21410 PyObject
*resultobj
;
21411 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21413 PyObject
* obj0
= 0 ;
21414 PyObject
* obj1
= 0 ;
21415 char *kwnames
[] = {
21416 (char *) "self",(char *) "dc", NULL
21419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
21420 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21421 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21422 if (arg2
== NULL
) {
21423 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21427 (arg1
)->base_OnDrawContents(*arg2
);
21429 wxPyEndAllowThreads(__tstate
);
21430 if (PyErr_Occurred()) SWIG_fail
;
21432 Py_INCREF(Py_None
); resultobj
= Py_None
;
21439 static PyObject
*_wrap_PyDivisionShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21440 PyObject
*resultobj
;
21441 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21443 bool arg3
= (bool) FALSE
;
21444 PyObject
* obj0
= 0 ;
21445 PyObject
* obj1
= 0 ;
21446 PyObject
* obj2
= 0 ;
21447 char *kwnames
[] = {
21448 (char *) "self",(char *) "dc",(char *) "erase", NULL
21451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDivisionShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21452 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21453 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21454 if (arg2
== NULL
) {
21455 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21459 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
21460 if (PyErr_Occurred()) SWIG_fail
;
21464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21465 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
21467 wxPyEndAllowThreads(__tstate
);
21468 if (PyErr_Occurred()) SWIG_fail
;
21470 Py_INCREF(Py_None
); resultobj
= Py_None
;
21477 static PyObject
*_wrap_PyDivisionShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21478 PyObject
*resultobj
;
21479 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21481 PyObject
* obj0
= 0 ;
21482 PyObject
* obj1
= 0 ;
21483 char *kwnames
[] = {
21484 (char *) "self",(char *) "dc", NULL
21487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
21488 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21489 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21490 if (arg2
== NULL
) {
21491 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21495 (arg1
)->base_OnMoveLinks(*arg2
);
21497 wxPyEndAllowThreads(__tstate
);
21498 if (PyErr_Occurred()) SWIG_fail
;
21500 Py_INCREF(Py_None
); resultobj
= Py_None
;
21507 static PyObject
*_wrap_PyDivisionShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21508 PyObject
*resultobj
;
21509 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21511 PyObject
* obj0
= 0 ;
21512 PyObject
* obj1
= 0 ;
21513 char *kwnames
[] = {
21514 (char *) "self",(char *) "dc", NULL
21517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
21518 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21519 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21520 if (arg2
== NULL
) {
21521 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21525 (arg1
)->base_OnErase(*arg2
);
21527 wxPyEndAllowThreads(__tstate
);
21528 if (PyErr_Occurred()) SWIG_fail
;
21530 Py_INCREF(Py_None
); resultobj
= Py_None
;
21537 static PyObject
*_wrap_PyDivisionShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21538 PyObject
*resultobj
;
21539 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21541 PyObject
* obj0
= 0 ;
21542 PyObject
* obj1
= 0 ;
21543 char *kwnames
[] = {
21544 (char *) "self",(char *) "dc", NULL
21547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
21548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21549 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21550 if (arg2
== NULL
) {
21551 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21555 (arg1
)->base_OnEraseContents(*arg2
);
21557 wxPyEndAllowThreads(__tstate
);
21558 if (PyErr_Occurred()) SWIG_fail
;
21560 Py_INCREF(Py_None
); resultobj
= Py_None
;
21567 static PyObject
*_wrap_PyDivisionShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21568 PyObject
*resultobj
;
21569 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21571 PyObject
* obj0
= 0 ;
21572 PyObject
* obj1
= 0 ;
21573 char *kwnames
[] = {
21574 (char *) "self",(char *) "dc", NULL
21577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
21578 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21579 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21580 if (arg2
== NULL
) {
21581 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21585 (arg1
)->base_OnHighlight(*arg2
);
21587 wxPyEndAllowThreads(__tstate
);
21588 if (PyErr_Occurred()) SWIG_fail
;
21590 Py_INCREF(Py_None
); resultobj
= Py_None
;
21597 static PyObject
*_wrap_PyDivisionShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21598 PyObject
*resultobj
;
21599 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21602 int arg4
= (int) 0 ;
21603 int arg5
= (int) 0 ;
21604 PyObject
* obj0
= 0 ;
21605 PyObject
* obj1
= 0 ;
21606 PyObject
* obj2
= 0 ;
21607 PyObject
* obj3
= 0 ;
21608 PyObject
* obj4
= 0 ;
21609 char *kwnames
[] = {
21610 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21614 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21616 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
21617 if (PyErr_Occurred()) SWIG_fail
;
21620 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
21621 if (PyErr_Occurred()) SWIG_fail
;
21625 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
21626 if (PyErr_Occurred()) SWIG_fail
;
21631 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
21632 if (PyErr_Occurred()) SWIG_fail
;
21636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21637 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
21639 wxPyEndAllowThreads(__tstate
);
21640 if (PyErr_Occurred()) SWIG_fail
;
21642 Py_INCREF(Py_None
); resultobj
= Py_None
;
21649 static PyObject
*_wrap_PyDivisionShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21650 PyObject
*resultobj
;
21651 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21654 int arg4
= (int) 0 ;
21655 int arg5
= (int) 0 ;
21656 PyObject
* obj0
= 0 ;
21657 PyObject
* obj1
= 0 ;
21658 PyObject
* obj2
= 0 ;
21659 PyObject
* obj3
= 0 ;
21660 PyObject
* obj4
= 0 ;
21661 char *kwnames
[] = {
21662 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21666 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21668 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
21669 if (PyErr_Occurred()) SWIG_fail
;
21672 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
21673 if (PyErr_Occurred()) SWIG_fail
;
21677 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
21678 if (PyErr_Occurred()) SWIG_fail
;
21683 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
21684 if (PyErr_Occurred()) SWIG_fail
;
21688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21689 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
21691 wxPyEndAllowThreads(__tstate
);
21692 if (PyErr_Occurred()) SWIG_fail
;
21694 Py_INCREF(Py_None
); resultobj
= Py_None
;
21701 static PyObject
*_wrap_PyDivisionShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21702 PyObject
*resultobj
;
21703 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21706 int arg4
= (int) 0 ;
21707 int arg5
= (int) 0 ;
21708 PyObject
* obj0
= 0 ;
21709 PyObject
* obj1
= 0 ;
21710 PyObject
* obj2
= 0 ;
21711 PyObject
* obj3
= 0 ;
21712 PyObject
* obj4
= 0 ;
21713 char *kwnames
[] = {
21714 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21720 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
21721 if (PyErr_Occurred()) SWIG_fail
;
21724 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
21725 if (PyErr_Occurred()) SWIG_fail
;
21729 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
21730 if (PyErr_Occurred()) SWIG_fail
;
21735 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
21736 if (PyErr_Occurred()) SWIG_fail
;
21740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21741 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
21743 wxPyEndAllowThreads(__tstate
);
21744 if (PyErr_Occurred()) SWIG_fail
;
21746 Py_INCREF(Py_None
); resultobj
= Py_None
;
21753 static PyObject
*_wrap_PyDivisionShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21754 PyObject
*resultobj
;
21755 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21758 PyObject
* obj0
= 0 ;
21759 PyObject
* obj1
= 0 ;
21760 PyObject
* obj2
= 0 ;
21761 char *kwnames
[] = {
21762 (char *) "self",(char *) "x",(char *) "y", NULL
21765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21766 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21768 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
21769 if (PyErr_Occurred()) SWIG_fail
;
21772 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
21773 if (PyErr_Occurred()) SWIG_fail
;
21776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21777 (arg1
)->base_OnSize(arg2
,arg3
);
21779 wxPyEndAllowThreads(__tstate
);
21780 if (PyErr_Occurred()) SWIG_fail
;
21782 Py_INCREF(Py_None
); resultobj
= Py_None
;
21789 static PyObject
*_wrap_PyDivisionShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21790 PyObject
*resultobj
;
21791 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21797 bool arg7
= (bool) True
;
21799 PyObject
* obj0
= 0 ;
21800 PyObject
* obj1
= 0 ;
21801 PyObject
* obj2
= 0 ;
21802 PyObject
* obj3
= 0 ;
21803 PyObject
* obj4
= 0 ;
21804 PyObject
* obj5
= 0 ;
21805 PyObject
* obj6
= 0 ;
21806 char *kwnames
[] = {
21807 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
21810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyDivisionShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21811 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21812 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21813 if (arg2
== NULL
) {
21814 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21817 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
21818 if (PyErr_Occurred()) SWIG_fail
;
21821 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
21822 if (PyErr_Occurred()) SWIG_fail
;
21825 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
21826 if (PyErr_Occurred()) SWIG_fail
;
21829 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
21830 if (PyErr_Occurred()) SWIG_fail
;
21834 arg7
= (bool) SWIG_PyObj_AsBool(obj6
);
21835 if (PyErr_Occurred()) SWIG_fail
;
21839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21840 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21842 wxPyEndAllowThreads(__tstate
);
21843 if (PyErr_Occurred()) SWIG_fail
;
21845 resultobj
= SWIG_PyObj_FromBool((bool)result
);
21852 static PyObject
*_wrap_PyDivisionShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21853 PyObject
*resultobj
;
21854 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21860 bool arg7
= (bool) True
;
21861 PyObject
* obj0
= 0 ;
21862 PyObject
* obj1
= 0 ;
21863 PyObject
* obj2
= 0 ;
21864 PyObject
* obj3
= 0 ;
21865 PyObject
* obj4
= 0 ;
21866 PyObject
* obj5
= 0 ;
21867 PyObject
* obj6
= 0 ;
21868 char *kwnames
[] = {
21869 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
21872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyDivisionShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21873 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21874 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21875 if (arg2
== NULL
) {
21876 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21879 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
21880 if (PyErr_Occurred()) SWIG_fail
;
21883 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
21884 if (PyErr_Occurred()) SWIG_fail
;
21887 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
21888 if (PyErr_Occurred()) SWIG_fail
;
21891 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
21892 if (PyErr_Occurred()) SWIG_fail
;
21896 arg7
= (bool) SWIG_PyObj_AsBool(obj6
);
21897 if (PyErr_Occurred()) SWIG_fail
;
21901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21902 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21904 wxPyEndAllowThreads(__tstate
);
21905 if (PyErr_Occurred()) SWIG_fail
;
21907 Py_INCREF(Py_None
); resultobj
= Py_None
;
21914 static PyObject
*_wrap_PyDivisionShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21915 PyObject
*resultobj
;
21916 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21920 int arg5
= (int) 0 ;
21921 int arg6
= (int) 0 ;
21922 PyObject
* obj0
= 0 ;
21923 PyObject
* obj1
= 0 ;
21924 PyObject
* obj2
= 0 ;
21925 PyObject
* obj3
= 0 ;
21926 PyObject
* obj4
= 0 ;
21927 PyObject
* obj5
= 0 ;
21928 char *kwnames
[] = {
21929 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDivisionShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21935 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
21936 if (PyErr_Occurred()) SWIG_fail
;
21939 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
21940 if (PyErr_Occurred()) SWIG_fail
;
21943 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
21944 if (PyErr_Occurred()) SWIG_fail
;
21948 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
21949 if (PyErr_Occurred()) SWIG_fail
;
21954 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
21955 if (PyErr_Occurred()) SWIG_fail
;
21959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21960 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
21962 wxPyEndAllowThreads(__tstate
);
21963 if (PyErr_Occurred()) SWIG_fail
;
21965 Py_INCREF(Py_None
); resultobj
= Py_None
;
21972 static PyObject
*_wrap_PyDivisionShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21973 PyObject
*resultobj
;
21974 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21977 int arg4
= (int) 0 ;
21978 int arg5
= (int) 0 ;
21979 PyObject
* obj0
= 0 ;
21980 PyObject
* obj1
= 0 ;
21981 PyObject
* obj2
= 0 ;
21982 PyObject
* obj3
= 0 ;
21983 PyObject
* obj4
= 0 ;
21984 char *kwnames
[] = {
21985 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21989 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21991 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
21992 if (PyErr_Occurred()) SWIG_fail
;
21995 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
21996 if (PyErr_Occurred()) SWIG_fail
;
22000 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
22001 if (PyErr_Occurred()) SWIG_fail
;
22006 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
22007 if (PyErr_Occurred()) SWIG_fail
;
22011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22012 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
22014 wxPyEndAllowThreads(__tstate
);
22015 if (PyErr_Occurred()) SWIG_fail
;
22017 Py_INCREF(Py_None
); resultobj
= Py_None
;
22024 static PyObject
*_wrap_PyDivisionShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22025 PyObject
*resultobj
;
22026 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
22029 int arg4
= (int) 0 ;
22030 int arg5
= (int) 0 ;
22031 PyObject
* obj0
= 0 ;
22032 PyObject
* obj1
= 0 ;
22033 PyObject
* obj2
= 0 ;
22034 PyObject
* obj3
= 0 ;
22035 PyObject
* obj4
= 0 ;
22036 char *kwnames
[] = {
22037 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22041 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22043 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
22044 if (PyErr_Occurred()) SWIG_fail
;
22047 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
22048 if (PyErr_Occurred()) SWIG_fail
;
22052 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
22053 if (PyErr_Occurred()) SWIG_fail
;
22058 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
22059 if (PyErr_Occurred()) SWIG_fail
;
22063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22064 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
22066 wxPyEndAllowThreads(__tstate
);
22067 if (PyErr_Occurred()) SWIG_fail
;
22069 Py_INCREF(Py_None
); resultobj
= Py_None
;
22076 static PyObject
*_wrap_PyDivisionShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22077 PyObject
*resultobj
;
22078 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 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 *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDivisionShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22097 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
22098 if (PyErr_Occurred()) SWIG_fail
;
22101 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
22102 if (PyErr_Occurred()) SWIG_fail
;
22105 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
22106 if (PyErr_Occurred()) SWIG_fail
;
22110 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
22111 if (PyErr_Occurred()) SWIG_fail
;
22116 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
22117 if (PyErr_Occurred()) SWIG_fail
;
22121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22122 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
22124 wxPyEndAllowThreads(__tstate
);
22125 if (PyErr_Occurred()) SWIG_fail
;
22127 Py_INCREF(Py_None
); resultobj
= Py_None
;
22134 static PyObject
*_wrap_PyDivisionShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22135 PyObject
*resultobj
;
22136 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
22139 int arg4
= (int) 0 ;
22140 int arg5
= (int) 0 ;
22141 PyObject
* obj0
= 0 ;
22142 PyObject
* obj1
= 0 ;
22143 PyObject
* obj2
= 0 ;
22144 PyObject
* obj3
= 0 ;
22145 PyObject
* obj4
= 0 ;
22146 char *kwnames
[] = {
22147 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22151 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22153 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
22154 if (PyErr_Occurred()) SWIG_fail
;
22157 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
22158 if (PyErr_Occurred()) SWIG_fail
;
22162 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
22163 if (PyErr_Occurred()) SWIG_fail
;
22168 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
22169 if (PyErr_Occurred()) SWIG_fail
;
22173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22174 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
22176 wxPyEndAllowThreads(__tstate
);
22177 if (PyErr_Occurred()) SWIG_fail
;
22179 Py_INCREF(Py_None
); resultobj
= Py_None
;
22186 static PyObject
*_wrap_PyDivisionShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22187 PyObject
*resultobj
;
22188 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
22191 int arg4
= (int) 0 ;
22192 int arg5
= (int) 0 ;
22193 PyObject
* obj0
= 0 ;
22194 PyObject
* obj1
= 0 ;
22195 PyObject
* obj2
= 0 ;
22196 PyObject
* obj3
= 0 ;
22197 PyObject
* obj4
= 0 ;
22198 char *kwnames
[] = {
22199 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22203 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22205 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
22206 if (PyErr_Occurred()) SWIG_fail
;
22209 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
22210 if (PyErr_Occurred()) SWIG_fail
;
22214 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
22215 if (PyErr_Occurred()) SWIG_fail
;
22220 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
22221 if (PyErr_Occurred()) SWIG_fail
;
22225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22226 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
22228 wxPyEndAllowThreads(__tstate
);
22229 if (PyErr_Occurred()) SWIG_fail
;
22231 Py_INCREF(Py_None
); resultobj
= Py_None
;
22238 static PyObject
*_wrap_PyDivisionShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22239 PyObject
*resultobj
;
22240 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
22246 PyObject
* obj0
= 0 ;
22247 PyObject
* obj1
= 0 ;
22248 PyObject
* obj2
= 0 ;
22249 PyObject
* obj3
= 0 ;
22250 PyObject
* obj4
= 0 ;
22251 PyObject
* obj5
= 0 ;
22252 char *kwnames
[] = {
22253 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
22256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyDivisionShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22257 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22258 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22259 if (arg2
== NULL
) {
22260 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22263 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
22264 if (PyErr_Occurred()) SWIG_fail
;
22267 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
22268 if (PyErr_Occurred()) SWIG_fail
;
22271 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
22272 if (PyErr_Occurred()) SWIG_fail
;
22275 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
22276 if (PyErr_Occurred()) SWIG_fail
;
22279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22280 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
22282 wxPyEndAllowThreads(__tstate
);
22283 if (PyErr_Occurred()) SWIG_fail
;
22285 Py_INCREF(Py_None
); resultobj
= Py_None
;
22292 static PyObject
*_wrap_PyDivisionShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22293 PyObject
*resultobj
;
22294 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
22296 PyObject
* obj0
= 0 ;
22297 PyObject
* obj1
= 0 ;
22298 char *kwnames
[] = {
22299 (char *) "self",(char *) "dc", NULL
22302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
22303 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22304 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22305 if (arg2
== NULL
) {
22306 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22310 (arg1
)->base_OnDrawControlPoints(*arg2
);
22312 wxPyEndAllowThreads(__tstate
);
22313 if (PyErr_Occurred()) SWIG_fail
;
22315 Py_INCREF(Py_None
); resultobj
= Py_None
;
22322 static PyObject
*_wrap_PyDivisionShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22323 PyObject
*resultobj
;
22324 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
22326 PyObject
* obj0
= 0 ;
22327 PyObject
* obj1
= 0 ;
22328 char *kwnames
[] = {
22329 (char *) "self",(char *) "dc", NULL
22332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
22333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22334 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22335 if (arg2
== NULL
) {
22336 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22340 (arg1
)->base_OnEraseControlPoints(*arg2
);
22342 wxPyEndAllowThreads(__tstate
);
22343 if (PyErr_Occurred()) SWIG_fail
;
22345 Py_INCREF(Py_None
); resultobj
= Py_None
;
22352 static PyObject
*_wrap_PyDivisionShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22353 PyObject
*resultobj
;
22354 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
22356 bool arg3
= (bool) True
;
22357 PyObject
* obj0
= 0 ;
22358 PyObject
* obj1
= 0 ;
22359 PyObject
* obj2
= 0 ;
22360 char *kwnames
[] = {
22361 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
22364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDivisionShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22365 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22366 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22367 if (arg2
== NULL
) {
22368 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22372 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
22373 if (PyErr_Occurred()) SWIG_fail
;
22377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22378 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
22380 wxPyEndAllowThreads(__tstate
);
22381 if (PyErr_Occurred()) SWIG_fail
;
22383 Py_INCREF(Py_None
); resultobj
= Py_None
;
22390 static PyObject
*_wrap_PyDivisionShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22391 PyObject
*resultobj
;
22392 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
22393 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
22397 int arg6
= (int) 0 ;
22398 int arg7
= (int) 0 ;
22399 PyObject
* obj0
= 0 ;
22400 PyObject
* obj1
= 0 ;
22401 PyObject
* obj2
= 0 ;
22402 PyObject
* obj3
= 0 ;
22403 PyObject
* obj4
= 0 ;
22404 PyObject
* obj5
= 0 ;
22405 PyObject
* obj6
= 0 ;
22406 char *kwnames
[] = {
22407 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyDivisionShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22411 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22412 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22414 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
22415 if (PyErr_Occurred()) SWIG_fail
;
22418 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
22419 if (PyErr_Occurred()) SWIG_fail
;
22422 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
22423 if (PyErr_Occurred()) SWIG_fail
;
22427 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
22428 if (PyErr_Occurred()) SWIG_fail
;
22433 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
22434 if (PyErr_Occurred()) SWIG_fail
;
22438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22439 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22441 wxPyEndAllowThreads(__tstate
);
22442 if (PyErr_Occurred()) SWIG_fail
;
22444 Py_INCREF(Py_None
); resultobj
= Py_None
;
22451 static PyObject
*_wrap_PyDivisionShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22452 PyObject
*resultobj
;
22453 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
22454 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
22457 int arg5
= (int) 0 ;
22458 int arg6
= (int) 0 ;
22459 PyObject
* obj0
= 0 ;
22460 PyObject
* obj1
= 0 ;
22461 PyObject
* obj2
= 0 ;
22462 PyObject
* obj3
= 0 ;
22463 PyObject
* obj4
= 0 ;
22464 PyObject
* obj5
= 0 ;
22465 char *kwnames
[] = {
22466 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDivisionShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22471 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22473 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
22474 if (PyErr_Occurred()) SWIG_fail
;
22477 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
22478 if (PyErr_Occurred()) SWIG_fail
;
22482 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
22483 if (PyErr_Occurred()) SWIG_fail
;
22488 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
22489 if (PyErr_Occurred()) SWIG_fail
;
22493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22494 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
22496 wxPyEndAllowThreads(__tstate
);
22497 if (PyErr_Occurred()) SWIG_fail
;
22499 Py_INCREF(Py_None
); resultobj
= Py_None
;
22506 static PyObject
*_wrap_PyDivisionShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22507 PyObject
*resultobj
;
22508 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
22509 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
22512 int arg5
= (int) 0 ;
22513 int arg6
= (int) 0 ;
22514 PyObject
* obj0
= 0 ;
22515 PyObject
* obj1
= 0 ;
22516 PyObject
* obj2
= 0 ;
22517 PyObject
* obj3
= 0 ;
22518 PyObject
* obj4
= 0 ;
22519 PyObject
* obj5
= 0 ;
22520 char *kwnames
[] = {
22521 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDivisionShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22525 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22526 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22528 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
22529 if (PyErr_Occurred()) SWIG_fail
;
22532 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
22533 if (PyErr_Occurred()) SWIG_fail
;
22537 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
22538 if (PyErr_Occurred()) SWIG_fail
;
22543 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
22544 if (PyErr_Occurred()) SWIG_fail
;
22548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22549 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
22551 wxPyEndAllowThreads(__tstate
);
22552 if (PyErr_Occurred()) SWIG_fail
;
22554 Py_INCREF(Py_None
); resultobj
= Py_None
;
22561 static PyObject
*_wrap_PyDivisionShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22562 PyObject
*resultobj
;
22563 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
22566 PyObject
* obj0
= 0 ;
22567 PyObject
* obj1
= 0 ;
22568 PyObject
* obj2
= 0 ;
22569 char *kwnames
[] = {
22570 (char *) "self",(char *) "w",(char *) "h", NULL
22573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22576 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
22577 if (PyErr_Occurred()) SWIG_fail
;
22580 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
22581 if (PyErr_Occurred()) SWIG_fail
;
22584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22585 (arg1
)->base_OnBeginSize(arg2
,arg3
);
22587 wxPyEndAllowThreads(__tstate
);
22588 if (PyErr_Occurred()) SWIG_fail
;
22590 Py_INCREF(Py_None
); resultobj
= Py_None
;
22597 static PyObject
*_wrap_PyDivisionShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22598 PyObject
*resultobj
;
22599 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
22602 PyObject
* obj0
= 0 ;
22603 PyObject
* obj1
= 0 ;
22604 PyObject
* obj2
= 0 ;
22605 char *kwnames
[] = {
22606 (char *) "self",(char *) "w",(char *) "h", NULL
22609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22612 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
22613 if (PyErr_Occurred()) SWIG_fail
;
22616 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
22617 if (PyErr_Occurred()) SWIG_fail
;
22620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22621 (arg1
)->base_OnEndSize(arg2
,arg3
);
22623 wxPyEndAllowThreads(__tstate
);
22624 if (PyErr_Occurred()) SWIG_fail
;
22626 Py_INCREF(Py_None
); resultobj
= Py_None
;
22633 static PyObject
* PyDivisionShape_swigregister(PyObject
*self
, PyObject
*args
) {
22635 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22636 SWIG_TypeClientData(SWIGTYPE_p_wxPyDivisionShape
, obj
);
22638 return Py_BuildValue((char *)"");
22640 static PyObject
*_wrap_new_PyEllipseShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22641 PyObject
*resultobj
;
22642 double arg1
= (double) 0.0 ;
22643 double arg2
= (double) 0.0 ;
22644 wxPyEllipseShape
*result
;
22645 PyObject
* obj0
= 0 ;
22646 PyObject
* obj1
= 0 ;
22647 char *kwnames
[] = {
22648 (char *) "width",(char *) "height", NULL
22651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEllipseShape",kwnames
,&obj0
,&obj1
)) goto fail
;
22654 arg1
= (double) SWIG_PyObj_AsDouble(obj0
);
22655 if (PyErr_Occurred()) SWIG_fail
;
22660 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
22661 if (PyErr_Occurred()) SWIG_fail
;
22665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22666 result
= (wxPyEllipseShape
*)new wxPyEllipseShape(arg1
,arg2
);
22668 wxPyEndAllowThreads(__tstate
);
22669 if (PyErr_Occurred()) SWIG_fail
;
22671 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyEllipseShape
, 1);
22678 static PyObject
*_wrap_PyEllipseShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22679 PyObject
*resultobj
;
22680 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22681 PyObject
*arg2
= (PyObject
*) 0 ;
22682 PyObject
*arg3
= (PyObject
*) 0 ;
22683 PyObject
* obj0
= 0 ;
22684 PyObject
* obj1
= 0 ;
22685 PyObject
* obj2
= 0 ;
22686 char *kwnames
[] = {
22687 (char *) "self",(char *) "self",(char *) "_class", NULL
22690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyEllipseShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22691 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22696 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22698 wxPyEndAllowThreads(__tstate
);
22699 if (PyErr_Occurred()) SWIG_fail
;
22701 Py_INCREF(Py_None
); resultobj
= Py_None
;
22708 static PyObject
*_wrap_PyEllipseShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22709 PyObject
*resultobj
;
22710 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22712 PyObject
* obj0
= 0 ;
22713 PyObject
* obj1
= 0 ;
22714 char *kwnames
[] = {
22715 (char *) "self",(char *) "dc", NULL
22718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
22719 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22720 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22721 if (arg2
== NULL
) {
22722 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22726 (arg1
)->base_OnDraw(*arg2
);
22728 wxPyEndAllowThreads(__tstate
);
22729 if (PyErr_Occurred()) SWIG_fail
;
22731 Py_INCREF(Py_None
); resultobj
= Py_None
;
22738 static PyObject
*_wrap_PyEllipseShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22739 PyObject
*resultobj
;
22740 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22742 PyObject
* obj0
= 0 ;
22743 PyObject
* obj1
= 0 ;
22744 char *kwnames
[] = {
22745 (char *) "self",(char *) "dc", NULL
22748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
22749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22750 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22751 if (arg2
== NULL
) {
22752 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22756 (arg1
)->base_OnDrawContents(*arg2
);
22758 wxPyEndAllowThreads(__tstate
);
22759 if (PyErr_Occurred()) SWIG_fail
;
22761 Py_INCREF(Py_None
); resultobj
= Py_None
;
22768 static PyObject
*_wrap_PyEllipseShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22769 PyObject
*resultobj
;
22770 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22772 bool arg3
= (bool) FALSE
;
22773 PyObject
* obj0
= 0 ;
22774 PyObject
* obj1
= 0 ;
22775 PyObject
* obj2
= 0 ;
22776 char *kwnames
[] = {
22777 (char *) "self",(char *) "dc",(char *) "erase", NULL
22780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyEllipseShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22781 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22782 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22783 if (arg2
== NULL
) {
22784 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22788 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
22789 if (PyErr_Occurred()) SWIG_fail
;
22793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22794 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
22796 wxPyEndAllowThreads(__tstate
);
22797 if (PyErr_Occurred()) SWIG_fail
;
22799 Py_INCREF(Py_None
); resultobj
= Py_None
;
22806 static PyObject
*_wrap_PyEllipseShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22807 PyObject
*resultobj
;
22808 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22810 PyObject
* obj0
= 0 ;
22811 PyObject
* obj1
= 0 ;
22812 char *kwnames
[] = {
22813 (char *) "self",(char *) "dc", NULL
22816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
22817 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22818 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22819 if (arg2
== NULL
) {
22820 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22824 (arg1
)->base_OnMoveLinks(*arg2
);
22826 wxPyEndAllowThreads(__tstate
);
22827 if (PyErr_Occurred()) SWIG_fail
;
22829 Py_INCREF(Py_None
); resultobj
= Py_None
;
22836 static PyObject
*_wrap_PyEllipseShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22837 PyObject
*resultobj
;
22838 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22840 PyObject
* obj0
= 0 ;
22841 PyObject
* obj1
= 0 ;
22842 char *kwnames
[] = {
22843 (char *) "self",(char *) "dc", NULL
22846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
22847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22848 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22849 if (arg2
== NULL
) {
22850 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22854 (arg1
)->base_OnErase(*arg2
);
22856 wxPyEndAllowThreads(__tstate
);
22857 if (PyErr_Occurred()) SWIG_fail
;
22859 Py_INCREF(Py_None
); resultobj
= Py_None
;
22866 static PyObject
*_wrap_PyEllipseShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22867 PyObject
*resultobj
;
22868 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22870 PyObject
* obj0
= 0 ;
22871 PyObject
* obj1
= 0 ;
22872 char *kwnames
[] = {
22873 (char *) "self",(char *) "dc", NULL
22876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
22877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22878 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22879 if (arg2
== NULL
) {
22880 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22884 (arg1
)->base_OnEraseContents(*arg2
);
22886 wxPyEndAllowThreads(__tstate
);
22887 if (PyErr_Occurred()) SWIG_fail
;
22889 Py_INCREF(Py_None
); resultobj
= Py_None
;
22896 static PyObject
*_wrap_PyEllipseShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22897 PyObject
*resultobj
;
22898 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22900 PyObject
* obj0
= 0 ;
22901 PyObject
* obj1
= 0 ;
22902 char *kwnames
[] = {
22903 (char *) "self",(char *) "dc", NULL
22906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
22907 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22908 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22909 if (arg2
== NULL
) {
22910 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22914 (arg1
)->base_OnHighlight(*arg2
);
22916 wxPyEndAllowThreads(__tstate
);
22917 if (PyErr_Occurred()) SWIG_fail
;
22919 Py_INCREF(Py_None
); resultobj
= Py_None
;
22926 static PyObject
*_wrap_PyEllipseShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22927 PyObject
*resultobj
;
22928 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22931 int arg4
= (int) 0 ;
22932 int arg5
= (int) 0 ;
22933 PyObject
* obj0
= 0 ;
22934 PyObject
* obj1
= 0 ;
22935 PyObject
* obj2
= 0 ;
22936 PyObject
* obj3
= 0 ;
22937 PyObject
* obj4
= 0 ;
22938 char *kwnames
[] = {
22939 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22945 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
22946 if (PyErr_Occurred()) SWIG_fail
;
22949 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
22950 if (PyErr_Occurred()) SWIG_fail
;
22954 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
22955 if (PyErr_Occurred()) SWIG_fail
;
22960 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
22961 if (PyErr_Occurred()) SWIG_fail
;
22965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22966 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
22968 wxPyEndAllowThreads(__tstate
);
22969 if (PyErr_Occurred()) SWIG_fail
;
22971 Py_INCREF(Py_None
); resultobj
= Py_None
;
22978 static PyObject
*_wrap_PyEllipseShape_base_OnLeftDoubleClick(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_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22995 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22997 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
22998 if (PyErr_Occurred()) SWIG_fail
;
23001 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
23002 if (PyErr_Occurred()) SWIG_fail
;
23006 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
23007 if (PyErr_Occurred()) SWIG_fail
;
23012 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
23013 if (PyErr_Occurred()) SWIG_fail
;
23017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23018 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
23020 wxPyEndAllowThreads(__tstate
);
23021 if (PyErr_Occurred()) SWIG_fail
;
23023 Py_INCREF(Py_None
); resultobj
= Py_None
;
23030 static PyObject
*_wrap_PyEllipseShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23031 PyObject
*resultobj
;
23032 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23035 int arg4
= (int) 0 ;
23036 int arg5
= (int) 0 ;
23037 PyObject
* obj0
= 0 ;
23038 PyObject
* obj1
= 0 ;
23039 PyObject
* obj2
= 0 ;
23040 PyObject
* obj3
= 0 ;
23041 PyObject
* obj4
= 0 ;
23042 char *kwnames
[] = {
23043 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23049 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
23050 if (PyErr_Occurred()) SWIG_fail
;
23053 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
23054 if (PyErr_Occurred()) SWIG_fail
;
23058 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
23059 if (PyErr_Occurred()) SWIG_fail
;
23064 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
23065 if (PyErr_Occurred()) SWIG_fail
;
23069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23070 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
23072 wxPyEndAllowThreads(__tstate
);
23073 if (PyErr_Occurred()) SWIG_fail
;
23075 Py_INCREF(Py_None
); resultobj
= Py_None
;
23082 static PyObject
*_wrap_PyEllipseShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23083 PyObject
*resultobj
;
23084 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23087 PyObject
* obj0
= 0 ;
23088 PyObject
* obj1
= 0 ;
23089 PyObject
* obj2
= 0 ;
23090 char *kwnames
[] = {
23091 (char *) "self",(char *) "x",(char *) "y", NULL
23094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyEllipseShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23097 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
23098 if (PyErr_Occurred()) SWIG_fail
;
23101 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
23102 if (PyErr_Occurred()) SWIG_fail
;
23105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23106 (arg1
)->base_OnSize(arg2
,arg3
);
23108 wxPyEndAllowThreads(__tstate
);
23109 if (PyErr_Occurred()) SWIG_fail
;
23111 Py_INCREF(Py_None
); resultobj
= Py_None
;
23118 static PyObject
*_wrap_PyEllipseShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23119 PyObject
*resultobj
;
23120 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23126 bool arg7
= (bool) True
;
23128 PyObject
* obj0
= 0 ;
23129 PyObject
* obj1
= 0 ;
23130 PyObject
* obj2
= 0 ;
23131 PyObject
* obj3
= 0 ;
23132 PyObject
* obj4
= 0 ;
23133 PyObject
* obj5
= 0 ;
23134 PyObject
* obj6
= 0 ;
23135 char *kwnames
[] = {
23136 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
23139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyEllipseShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23140 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23141 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23142 if (arg2
== NULL
) {
23143 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23146 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
23147 if (PyErr_Occurred()) SWIG_fail
;
23150 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
23151 if (PyErr_Occurred()) SWIG_fail
;
23154 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
23155 if (PyErr_Occurred()) SWIG_fail
;
23158 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
23159 if (PyErr_Occurred()) SWIG_fail
;
23163 arg7
= (bool) SWIG_PyObj_AsBool(obj6
);
23164 if (PyErr_Occurred()) SWIG_fail
;
23168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23169 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23171 wxPyEndAllowThreads(__tstate
);
23172 if (PyErr_Occurred()) SWIG_fail
;
23174 resultobj
= SWIG_PyObj_FromBool((bool)result
);
23181 static PyObject
*_wrap_PyEllipseShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23182 PyObject
*resultobj
;
23183 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23189 bool arg7
= (bool) True
;
23190 PyObject
* obj0
= 0 ;
23191 PyObject
* obj1
= 0 ;
23192 PyObject
* obj2
= 0 ;
23193 PyObject
* obj3
= 0 ;
23194 PyObject
* obj4
= 0 ;
23195 PyObject
* obj5
= 0 ;
23196 PyObject
* obj6
= 0 ;
23197 char *kwnames
[] = {
23198 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
23201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyEllipseShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23203 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23204 if (arg2
== NULL
) {
23205 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23208 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
23209 if (PyErr_Occurred()) SWIG_fail
;
23212 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
23213 if (PyErr_Occurred()) SWIG_fail
;
23216 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
23217 if (PyErr_Occurred()) SWIG_fail
;
23220 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
23221 if (PyErr_Occurred()) SWIG_fail
;
23225 arg7
= (bool) SWIG_PyObj_AsBool(obj6
);
23226 if (PyErr_Occurred()) SWIG_fail
;
23230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23231 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23233 wxPyEndAllowThreads(__tstate
);
23234 if (PyErr_Occurred()) SWIG_fail
;
23236 Py_INCREF(Py_None
); resultobj
= Py_None
;
23243 static PyObject
*_wrap_PyEllipseShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23244 PyObject
*resultobj
;
23245 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23249 int arg5
= (int) 0 ;
23250 int arg6
= (int) 0 ;
23251 PyObject
* obj0
= 0 ;
23252 PyObject
* obj1
= 0 ;
23253 PyObject
* obj2
= 0 ;
23254 PyObject
* obj3
= 0 ;
23255 PyObject
* obj4
= 0 ;
23256 PyObject
* obj5
= 0 ;
23257 char *kwnames
[] = {
23258 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyEllipseShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
23262 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23264 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
23265 if (PyErr_Occurred()) SWIG_fail
;
23268 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
23269 if (PyErr_Occurred()) SWIG_fail
;
23272 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
23273 if (PyErr_Occurred()) SWIG_fail
;
23277 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
23278 if (PyErr_Occurred()) SWIG_fail
;
23283 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
23284 if (PyErr_Occurred()) SWIG_fail
;
23288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23289 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
23291 wxPyEndAllowThreads(__tstate
);
23292 if (PyErr_Occurred()) SWIG_fail
;
23294 Py_INCREF(Py_None
); resultobj
= Py_None
;
23301 static PyObject
*_wrap_PyEllipseShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23302 PyObject
*resultobj
;
23303 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23306 int arg4
= (int) 0 ;
23307 int arg5
= (int) 0 ;
23308 PyObject
* obj0
= 0 ;
23309 PyObject
* obj1
= 0 ;
23310 PyObject
* obj2
= 0 ;
23311 PyObject
* obj3
= 0 ;
23312 PyObject
* obj4
= 0 ;
23313 char *kwnames
[] = {
23314 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23318 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23320 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
23321 if (PyErr_Occurred()) SWIG_fail
;
23324 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
23325 if (PyErr_Occurred()) SWIG_fail
;
23329 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
23330 if (PyErr_Occurred()) SWIG_fail
;
23335 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
23336 if (PyErr_Occurred()) SWIG_fail
;
23340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23341 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
23343 wxPyEndAllowThreads(__tstate
);
23344 if (PyErr_Occurred()) SWIG_fail
;
23346 Py_INCREF(Py_None
); resultobj
= Py_None
;
23353 static PyObject
*_wrap_PyEllipseShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23354 PyObject
*resultobj
;
23355 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23358 int arg4
= (int) 0 ;
23359 int arg5
= (int) 0 ;
23360 PyObject
* obj0
= 0 ;
23361 PyObject
* obj1
= 0 ;
23362 PyObject
* obj2
= 0 ;
23363 PyObject
* obj3
= 0 ;
23364 PyObject
* obj4
= 0 ;
23365 char *kwnames
[] = {
23366 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23370 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23372 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
23373 if (PyErr_Occurred()) SWIG_fail
;
23376 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
23377 if (PyErr_Occurred()) SWIG_fail
;
23381 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
23382 if (PyErr_Occurred()) SWIG_fail
;
23387 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
23388 if (PyErr_Occurred()) SWIG_fail
;
23392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23393 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
23395 wxPyEndAllowThreads(__tstate
);
23396 if (PyErr_Occurred()) SWIG_fail
;
23398 Py_INCREF(Py_None
); resultobj
= Py_None
;
23405 static PyObject
*_wrap_PyEllipseShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23406 PyObject
*resultobj
;
23407 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23411 int arg5
= (int) 0 ;
23412 int arg6
= (int) 0 ;
23413 PyObject
* obj0
= 0 ;
23414 PyObject
* obj1
= 0 ;
23415 PyObject
* obj2
= 0 ;
23416 PyObject
* obj3
= 0 ;
23417 PyObject
* obj4
= 0 ;
23418 PyObject
* obj5
= 0 ;
23419 char *kwnames
[] = {
23420 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyEllipseShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
23424 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23426 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
23427 if (PyErr_Occurred()) SWIG_fail
;
23430 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
23431 if (PyErr_Occurred()) SWIG_fail
;
23434 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
23435 if (PyErr_Occurred()) SWIG_fail
;
23439 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
23440 if (PyErr_Occurred()) SWIG_fail
;
23445 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
23446 if (PyErr_Occurred()) SWIG_fail
;
23450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23451 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
23453 wxPyEndAllowThreads(__tstate
);
23454 if (PyErr_Occurred()) SWIG_fail
;
23456 Py_INCREF(Py_None
); resultobj
= Py_None
;
23463 static PyObject
*_wrap_PyEllipseShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23464 PyObject
*resultobj
;
23465 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23468 int arg4
= (int) 0 ;
23469 int arg5
= (int) 0 ;
23470 PyObject
* obj0
= 0 ;
23471 PyObject
* obj1
= 0 ;
23472 PyObject
* obj2
= 0 ;
23473 PyObject
* obj3
= 0 ;
23474 PyObject
* obj4
= 0 ;
23475 char *kwnames
[] = {
23476 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23480 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23482 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
23483 if (PyErr_Occurred()) SWIG_fail
;
23486 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
23487 if (PyErr_Occurred()) SWIG_fail
;
23491 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
23492 if (PyErr_Occurred()) SWIG_fail
;
23497 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
23498 if (PyErr_Occurred()) SWIG_fail
;
23502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23503 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
23505 wxPyEndAllowThreads(__tstate
);
23506 if (PyErr_Occurred()) SWIG_fail
;
23508 Py_INCREF(Py_None
); resultobj
= Py_None
;
23515 static PyObject
*_wrap_PyEllipseShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23516 PyObject
*resultobj
;
23517 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23520 int arg4
= (int) 0 ;
23521 int arg5
= (int) 0 ;
23522 PyObject
* obj0
= 0 ;
23523 PyObject
* obj1
= 0 ;
23524 PyObject
* obj2
= 0 ;
23525 PyObject
* obj3
= 0 ;
23526 PyObject
* obj4
= 0 ;
23527 char *kwnames
[] = {
23528 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23532 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23534 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
23535 if (PyErr_Occurred()) SWIG_fail
;
23538 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
23539 if (PyErr_Occurred()) SWIG_fail
;
23543 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
23544 if (PyErr_Occurred()) SWIG_fail
;
23549 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
23550 if (PyErr_Occurred()) SWIG_fail
;
23554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23555 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
23557 wxPyEndAllowThreads(__tstate
);
23558 if (PyErr_Occurred()) SWIG_fail
;
23560 Py_INCREF(Py_None
); resultobj
= Py_None
;
23567 static PyObject
*_wrap_PyEllipseShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23568 PyObject
*resultobj
;
23569 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23575 PyObject
* obj0
= 0 ;
23576 PyObject
* obj1
= 0 ;
23577 PyObject
* obj2
= 0 ;
23578 PyObject
* obj3
= 0 ;
23579 PyObject
* obj4
= 0 ;
23580 PyObject
* obj5
= 0 ;
23581 char *kwnames
[] = {
23582 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
23585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyEllipseShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
23586 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23587 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23588 if (arg2
== NULL
) {
23589 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23592 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
23593 if (PyErr_Occurred()) SWIG_fail
;
23596 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
23597 if (PyErr_Occurred()) SWIG_fail
;
23600 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
23601 if (PyErr_Occurred()) SWIG_fail
;
23604 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
23605 if (PyErr_Occurred()) SWIG_fail
;
23608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23609 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
23611 wxPyEndAllowThreads(__tstate
);
23612 if (PyErr_Occurred()) SWIG_fail
;
23614 Py_INCREF(Py_None
); resultobj
= Py_None
;
23621 static PyObject
*_wrap_PyEllipseShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23622 PyObject
*resultobj
;
23623 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23625 PyObject
* obj0
= 0 ;
23626 PyObject
* obj1
= 0 ;
23627 char *kwnames
[] = {
23628 (char *) "self",(char *) "dc", NULL
23631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
23632 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23633 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23634 if (arg2
== NULL
) {
23635 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23639 (arg1
)->base_OnDrawControlPoints(*arg2
);
23641 wxPyEndAllowThreads(__tstate
);
23642 if (PyErr_Occurred()) SWIG_fail
;
23644 Py_INCREF(Py_None
); resultobj
= Py_None
;
23651 static PyObject
*_wrap_PyEllipseShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23652 PyObject
*resultobj
;
23653 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 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:PyEllipseShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
23662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23663 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23664 if (arg2
== NULL
) {
23665 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23669 (arg1
)->base_OnEraseControlPoints(*arg2
);
23671 wxPyEndAllowThreads(__tstate
);
23672 if (PyErr_Occurred()) SWIG_fail
;
23674 Py_INCREF(Py_None
); resultobj
= Py_None
;
23681 static PyObject
*_wrap_PyEllipseShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23682 PyObject
*resultobj
;
23683 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23685 bool arg3
= (bool) True
;
23686 PyObject
* obj0
= 0 ;
23687 PyObject
* obj1
= 0 ;
23688 PyObject
* obj2
= 0 ;
23689 char *kwnames
[] = {
23690 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
23693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyEllipseShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23694 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23695 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23696 if (arg2
== NULL
) {
23697 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23701 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
23702 if (PyErr_Occurred()) SWIG_fail
;
23706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23707 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
23709 wxPyEndAllowThreads(__tstate
);
23710 if (PyErr_Occurred()) SWIG_fail
;
23712 Py_INCREF(Py_None
); resultobj
= Py_None
;
23719 static PyObject
*_wrap_PyEllipseShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23720 PyObject
*resultobj
;
23721 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23722 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
23726 int arg6
= (int) 0 ;
23727 int arg7
= (int) 0 ;
23728 PyObject
* obj0
= 0 ;
23729 PyObject
* obj1
= 0 ;
23730 PyObject
* obj2
= 0 ;
23731 PyObject
* obj3
= 0 ;
23732 PyObject
* obj4
= 0 ;
23733 PyObject
* obj5
= 0 ;
23734 PyObject
* obj6
= 0 ;
23735 char *kwnames
[] = {
23736 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyEllipseShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23740 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23741 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23743 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
23744 if (PyErr_Occurred()) SWIG_fail
;
23747 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
23748 if (PyErr_Occurred()) SWIG_fail
;
23751 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
23752 if (PyErr_Occurred()) SWIG_fail
;
23756 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
23757 if (PyErr_Occurred()) SWIG_fail
;
23762 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
23763 if (PyErr_Occurred()) SWIG_fail
;
23767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23768 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23770 wxPyEndAllowThreads(__tstate
);
23771 if (PyErr_Occurred()) SWIG_fail
;
23773 Py_INCREF(Py_None
); resultobj
= Py_None
;
23780 static PyObject
*_wrap_PyEllipseShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23781 PyObject
*resultobj
;
23782 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23783 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
23786 int arg5
= (int) 0 ;
23787 int arg6
= (int) 0 ;
23788 PyObject
* obj0
= 0 ;
23789 PyObject
* obj1
= 0 ;
23790 PyObject
* obj2
= 0 ;
23791 PyObject
* obj3
= 0 ;
23792 PyObject
* obj4
= 0 ;
23793 PyObject
* obj5
= 0 ;
23794 char *kwnames
[] = {
23795 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyEllipseShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
23799 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23800 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23802 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
23803 if (PyErr_Occurred()) SWIG_fail
;
23806 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
23807 if (PyErr_Occurred()) SWIG_fail
;
23811 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
23812 if (PyErr_Occurred()) SWIG_fail
;
23817 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
23818 if (PyErr_Occurred()) SWIG_fail
;
23822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23823 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
23825 wxPyEndAllowThreads(__tstate
);
23826 if (PyErr_Occurred()) SWIG_fail
;
23828 Py_INCREF(Py_None
); resultobj
= Py_None
;
23835 static PyObject
*_wrap_PyEllipseShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23836 PyObject
*resultobj
;
23837 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23838 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
23841 int arg5
= (int) 0 ;
23842 int arg6
= (int) 0 ;
23843 PyObject
* obj0
= 0 ;
23844 PyObject
* obj1
= 0 ;
23845 PyObject
* obj2
= 0 ;
23846 PyObject
* obj3
= 0 ;
23847 PyObject
* obj4
= 0 ;
23848 PyObject
* obj5
= 0 ;
23849 char *kwnames
[] = {
23850 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyEllipseShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
23854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23855 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23857 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
23858 if (PyErr_Occurred()) SWIG_fail
;
23861 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
23862 if (PyErr_Occurred()) SWIG_fail
;
23866 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
23867 if (PyErr_Occurred()) SWIG_fail
;
23872 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
23873 if (PyErr_Occurred()) SWIG_fail
;
23877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23878 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
23880 wxPyEndAllowThreads(__tstate
);
23881 if (PyErr_Occurred()) SWIG_fail
;
23883 Py_INCREF(Py_None
); resultobj
= Py_None
;
23890 static PyObject
*_wrap_PyEllipseShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23891 PyObject
*resultobj
;
23892 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23895 PyObject
* obj0
= 0 ;
23896 PyObject
* obj1
= 0 ;
23897 PyObject
* obj2
= 0 ;
23898 char *kwnames
[] = {
23899 (char *) "self",(char *) "w",(char *) "h", NULL
23902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyEllipseShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23903 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23905 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
23906 if (PyErr_Occurred()) SWIG_fail
;
23909 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
23910 if (PyErr_Occurred()) SWIG_fail
;
23913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23914 (arg1
)->base_OnBeginSize(arg2
,arg3
);
23916 wxPyEndAllowThreads(__tstate
);
23917 if (PyErr_Occurred()) SWIG_fail
;
23919 Py_INCREF(Py_None
); resultobj
= Py_None
;
23926 static PyObject
*_wrap_PyEllipseShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23927 PyObject
*resultobj
;
23928 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23931 PyObject
* obj0
= 0 ;
23932 PyObject
* obj1
= 0 ;
23933 PyObject
* obj2
= 0 ;
23934 char *kwnames
[] = {
23935 (char *) "self",(char *) "w",(char *) "h", NULL
23938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyEllipseShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23941 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
23942 if (PyErr_Occurred()) SWIG_fail
;
23945 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
23946 if (PyErr_Occurred()) SWIG_fail
;
23949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23950 (arg1
)->base_OnEndSize(arg2
,arg3
);
23952 wxPyEndAllowThreads(__tstate
);
23953 if (PyErr_Occurred()) SWIG_fail
;
23955 Py_INCREF(Py_None
); resultobj
= Py_None
;
23962 static PyObject
* PyEllipseShape_swigregister(PyObject
*self
, PyObject
*args
) {
23964 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23965 SWIG_TypeClientData(SWIGTYPE_p_wxPyEllipseShape
, obj
);
23967 return Py_BuildValue((char *)"");
23969 static PyObject
*_wrap_new_PyCircleShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23970 PyObject
*resultobj
;
23971 double arg1
= (double) 0.0 ;
23972 wxPyCircleShape
*result
;
23973 PyObject
* obj0
= 0 ;
23974 char *kwnames
[] = {
23975 (char *) "width", NULL
23978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyCircleShape",kwnames
,&obj0
)) goto fail
;
23981 arg1
= (double) SWIG_PyObj_AsDouble(obj0
);
23982 if (PyErr_Occurred()) SWIG_fail
;
23986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23987 result
= (wxPyCircleShape
*)new wxPyCircleShape(arg1
);
23989 wxPyEndAllowThreads(__tstate
);
23990 if (PyErr_Occurred()) SWIG_fail
;
23992 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyCircleShape
, 1);
23999 static PyObject
*_wrap_PyCircleShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24000 PyObject
*resultobj
;
24001 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24002 PyObject
*arg2
= (PyObject
*) 0 ;
24003 PyObject
*arg3
= (PyObject
*) 0 ;
24004 PyObject
* obj0
= 0 ;
24005 PyObject
* obj1
= 0 ;
24006 PyObject
* obj2
= 0 ;
24007 char *kwnames
[] = {
24008 (char *) "self",(char *) "self",(char *) "_class", NULL
24011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCircleShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24017 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24019 wxPyEndAllowThreads(__tstate
);
24020 if (PyErr_Occurred()) SWIG_fail
;
24022 Py_INCREF(Py_None
); resultobj
= Py_None
;
24029 static PyObject
*_wrap_PyCircleShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24030 PyObject
*resultobj
;
24031 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24033 PyObject
* obj0
= 0 ;
24034 PyObject
* obj1
= 0 ;
24035 char *kwnames
[] = {
24036 (char *) "self",(char *) "dc", NULL
24039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
24040 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24041 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24042 if (arg2
== NULL
) {
24043 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24047 (arg1
)->base_OnDraw(*arg2
);
24049 wxPyEndAllowThreads(__tstate
);
24050 if (PyErr_Occurred()) SWIG_fail
;
24052 Py_INCREF(Py_None
); resultobj
= Py_None
;
24059 static PyObject
*_wrap_PyCircleShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24060 PyObject
*resultobj
;
24061 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24063 PyObject
* obj0
= 0 ;
24064 PyObject
* obj1
= 0 ;
24065 char *kwnames
[] = {
24066 (char *) "self",(char *) "dc", NULL
24069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
24070 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24071 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24072 if (arg2
== NULL
) {
24073 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24077 (arg1
)->base_OnDrawContents(*arg2
);
24079 wxPyEndAllowThreads(__tstate
);
24080 if (PyErr_Occurred()) SWIG_fail
;
24082 Py_INCREF(Py_None
); resultobj
= Py_None
;
24089 static PyObject
*_wrap_PyCircleShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24090 PyObject
*resultobj
;
24091 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24093 bool arg3
= (bool) FALSE
;
24094 PyObject
* obj0
= 0 ;
24095 PyObject
* obj1
= 0 ;
24096 PyObject
* obj2
= 0 ;
24097 char *kwnames
[] = {
24098 (char *) "self",(char *) "dc",(char *) "erase", NULL
24101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCircleShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24102 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24103 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24104 if (arg2
== NULL
) {
24105 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24109 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
24110 if (PyErr_Occurred()) SWIG_fail
;
24114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24115 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
24117 wxPyEndAllowThreads(__tstate
);
24118 if (PyErr_Occurred()) SWIG_fail
;
24120 Py_INCREF(Py_None
); resultobj
= Py_None
;
24127 static PyObject
*_wrap_PyCircleShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24128 PyObject
*resultobj
;
24129 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24131 PyObject
* obj0
= 0 ;
24132 PyObject
* obj1
= 0 ;
24133 char *kwnames
[] = {
24134 (char *) "self",(char *) "dc", NULL
24137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
24138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24139 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24140 if (arg2
== NULL
) {
24141 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24145 (arg1
)->base_OnMoveLinks(*arg2
);
24147 wxPyEndAllowThreads(__tstate
);
24148 if (PyErr_Occurred()) SWIG_fail
;
24150 Py_INCREF(Py_None
); resultobj
= Py_None
;
24157 static PyObject
*_wrap_PyCircleShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24158 PyObject
*resultobj
;
24159 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24161 PyObject
* obj0
= 0 ;
24162 PyObject
* obj1
= 0 ;
24163 char *kwnames
[] = {
24164 (char *) "self",(char *) "dc", NULL
24167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
24168 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24169 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24170 if (arg2
== NULL
) {
24171 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24175 (arg1
)->base_OnErase(*arg2
);
24177 wxPyEndAllowThreads(__tstate
);
24178 if (PyErr_Occurred()) SWIG_fail
;
24180 Py_INCREF(Py_None
); resultobj
= Py_None
;
24187 static PyObject
*_wrap_PyCircleShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24188 PyObject
*resultobj
;
24189 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24191 PyObject
* obj0
= 0 ;
24192 PyObject
* obj1
= 0 ;
24193 char *kwnames
[] = {
24194 (char *) "self",(char *) "dc", NULL
24197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
24198 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24199 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24200 if (arg2
== NULL
) {
24201 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24205 (arg1
)->base_OnEraseContents(*arg2
);
24207 wxPyEndAllowThreads(__tstate
);
24208 if (PyErr_Occurred()) SWIG_fail
;
24210 Py_INCREF(Py_None
); resultobj
= Py_None
;
24217 static PyObject
*_wrap_PyCircleShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24218 PyObject
*resultobj
;
24219 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24221 PyObject
* obj0
= 0 ;
24222 PyObject
* obj1
= 0 ;
24223 char *kwnames
[] = {
24224 (char *) "self",(char *) "dc", NULL
24227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
24228 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24229 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24230 if (arg2
== NULL
) {
24231 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24235 (arg1
)->base_OnHighlight(*arg2
);
24237 wxPyEndAllowThreads(__tstate
);
24238 if (PyErr_Occurred()) SWIG_fail
;
24240 Py_INCREF(Py_None
); resultobj
= Py_None
;
24247 static PyObject
*_wrap_PyCircleShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24248 PyObject
*resultobj
;
24249 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24252 int arg4
= (int) 0 ;
24253 int arg5
= (int) 0 ;
24254 PyObject
* obj0
= 0 ;
24255 PyObject
* obj1
= 0 ;
24256 PyObject
* obj2
= 0 ;
24257 PyObject
* obj3
= 0 ;
24258 PyObject
* obj4
= 0 ;
24259 char *kwnames
[] = {
24260 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24264 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24266 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
24267 if (PyErr_Occurred()) SWIG_fail
;
24270 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
24271 if (PyErr_Occurred()) SWIG_fail
;
24275 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
24276 if (PyErr_Occurred()) SWIG_fail
;
24281 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
24282 if (PyErr_Occurred()) SWIG_fail
;
24286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24287 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
24289 wxPyEndAllowThreads(__tstate
);
24290 if (PyErr_Occurred()) SWIG_fail
;
24292 Py_INCREF(Py_None
); resultobj
= Py_None
;
24299 static PyObject
*_wrap_PyCircleShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24300 PyObject
*resultobj
;
24301 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24304 int arg4
= (int) 0 ;
24305 int arg5
= (int) 0 ;
24306 PyObject
* obj0
= 0 ;
24307 PyObject
* obj1
= 0 ;
24308 PyObject
* obj2
= 0 ;
24309 PyObject
* obj3
= 0 ;
24310 PyObject
* obj4
= 0 ;
24311 char *kwnames
[] = {
24312 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24316 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24318 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
24319 if (PyErr_Occurred()) SWIG_fail
;
24322 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
24323 if (PyErr_Occurred()) SWIG_fail
;
24327 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
24328 if (PyErr_Occurred()) SWIG_fail
;
24333 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
24334 if (PyErr_Occurred()) SWIG_fail
;
24338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24339 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
24341 wxPyEndAllowThreads(__tstate
);
24342 if (PyErr_Occurred()) SWIG_fail
;
24344 Py_INCREF(Py_None
); resultobj
= Py_None
;
24351 static PyObject
*_wrap_PyCircleShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24352 PyObject
*resultobj
;
24353 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24356 int arg4
= (int) 0 ;
24357 int arg5
= (int) 0 ;
24358 PyObject
* obj0
= 0 ;
24359 PyObject
* obj1
= 0 ;
24360 PyObject
* obj2
= 0 ;
24361 PyObject
* obj3
= 0 ;
24362 PyObject
* obj4
= 0 ;
24363 char *kwnames
[] = {
24364 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24368 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24370 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
24371 if (PyErr_Occurred()) SWIG_fail
;
24374 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
24375 if (PyErr_Occurred()) SWIG_fail
;
24379 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
24380 if (PyErr_Occurred()) SWIG_fail
;
24385 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
24386 if (PyErr_Occurred()) SWIG_fail
;
24390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24391 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
24393 wxPyEndAllowThreads(__tstate
);
24394 if (PyErr_Occurred()) SWIG_fail
;
24396 Py_INCREF(Py_None
); resultobj
= Py_None
;
24403 static PyObject
*_wrap_PyCircleShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24404 PyObject
*resultobj
;
24405 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24408 PyObject
* obj0
= 0 ;
24409 PyObject
* obj1
= 0 ;
24410 PyObject
* obj2
= 0 ;
24411 char *kwnames
[] = {
24412 (char *) "self",(char *) "x",(char *) "y", NULL
24415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCircleShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24416 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24418 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
24419 if (PyErr_Occurred()) SWIG_fail
;
24422 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
24423 if (PyErr_Occurred()) SWIG_fail
;
24426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24427 (arg1
)->base_OnSize(arg2
,arg3
);
24429 wxPyEndAllowThreads(__tstate
);
24430 if (PyErr_Occurred()) SWIG_fail
;
24432 Py_INCREF(Py_None
); resultobj
= Py_None
;
24439 static PyObject
*_wrap_PyCircleShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24440 PyObject
*resultobj
;
24441 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24447 bool arg7
= (bool) True
;
24449 PyObject
* obj0
= 0 ;
24450 PyObject
* obj1
= 0 ;
24451 PyObject
* obj2
= 0 ;
24452 PyObject
* obj3
= 0 ;
24453 PyObject
* obj4
= 0 ;
24454 PyObject
* obj5
= 0 ;
24455 PyObject
* obj6
= 0 ;
24456 char *kwnames
[] = {
24457 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
24460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyCircleShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24461 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24462 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24463 if (arg2
== NULL
) {
24464 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24467 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
24468 if (PyErr_Occurred()) SWIG_fail
;
24471 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
24472 if (PyErr_Occurred()) SWIG_fail
;
24475 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
24476 if (PyErr_Occurred()) SWIG_fail
;
24479 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
24480 if (PyErr_Occurred()) SWIG_fail
;
24484 arg7
= (bool) SWIG_PyObj_AsBool(obj6
);
24485 if (PyErr_Occurred()) SWIG_fail
;
24489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24490 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
24492 wxPyEndAllowThreads(__tstate
);
24493 if (PyErr_Occurred()) SWIG_fail
;
24495 resultobj
= SWIG_PyObj_FromBool((bool)result
);
24502 static PyObject
*_wrap_PyCircleShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24503 PyObject
*resultobj
;
24504 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24510 bool arg7
= (bool) True
;
24511 PyObject
* obj0
= 0 ;
24512 PyObject
* obj1
= 0 ;
24513 PyObject
* obj2
= 0 ;
24514 PyObject
* obj3
= 0 ;
24515 PyObject
* obj4
= 0 ;
24516 PyObject
* obj5
= 0 ;
24517 PyObject
* obj6
= 0 ;
24518 char *kwnames
[] = {
24519 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
24522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyCircleShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24523 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24524 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24525 if (arg2
== NULL
) {
24526 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24529 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
24530 if (PyErr_Occurred()) SWIG_fail
;
24533 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
24534 if (PyErr_Occurred()) SWIG_fail
;
24537 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
24538 if (PyErr_Occurred()) SWIG_fail
;
24541 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
24542 if (PyErr_Occurred()) SWIG_fail
;
24546 arg7
= (bool) SWIG_PyObj_AsBool(obj6
);
24547 if (PyErr_Occurred()) SWIG_fail
;
24551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24552 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
24554 wxPyEndAllowThreads(__tstate
);
24555 if (PyErr_Occurred()) SWIG_fail
;
24557 Py_INCREF(Py_None
); resultobj
= Py_None
;
24564 static PyObject
*_wrap_PyCircleShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24565 PyObject
*resultobj
;
24566 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24570 int arg5
= (int) 0 ;
24571 int arg6
= (int) 0 ;
24572 PyObject
* obj0
= 0 ;
24573 PyObject
* obj1
= 0 ;
24574 PyObject
* obj2
= 0 ;
24575 PyObject
* obj3
= 0 ;
24576 PyObject
* obj4
= 0 ;
24577 PyObject
* obj5
= 0 ;
24578 char *kwnames
[] = {
24579 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCircleShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24585 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
24586 if (PyErr_Occurred()) SWIG_fail
;
24589 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
24590 if (PyErr_Occurred()) SWIG_fail
;
24593 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
24594 if (PyErr_Occurred()) SWIG_fail
;
24598 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
24599 if (PyErr_Occurred()) SWIG_fail
;
24604 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
24605 if (PyErr_Occurred()) SWIG_fail
;
24609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24610 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
24612 wxPyEndAllowThreads(__tstate
);
24613 if (PyErr_Occurred()) SWIG_fail
;
24615 Py_INCREF(Py_None
); resultobj
= Py_None
;
24622 static PyObject
*_wrap_PyCircleShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24623 PyObject
*resultobj
;
24624 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24627 int arg4
= (int) 0 ;
24628 int arg5
= (int) 0 ;
24629 PyObject
* obj0
= 0 ;
24630 PyObject
* obj1
= 0 ;
24631 PyObject
* obj2
= 0 ;
24632 PyObject
* obj3
= 0 ;
24633 PyObject
* obj4
= 0 ;
24634 char *kwnames
[] = {
24635 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24639 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24641 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
24642 if (PyErr_Occurred()) SWIG_fail
;
24645 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
24646 if (PyErr_Occurred()) SWIG_fail
;
24650 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
24651 if (PyErr_Occurred()) SWIG_fail
;
24656 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
24657 if (PyErr_Occurred()) SWIG_fail
;
24661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24662 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
24664 wxPyEndAllowThreads(__tstate
);
24665 if (PyErr_Occurred()) SWIG_fail
;
24667 Py_INCREF(Py_None
); resultobj
= Py_None
;
24674 static PyObject
*_wrap_PyCircleShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24675 PyObject
*resultobj
;
24676 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24679 int arg4
= (int) 0 ;
24680 int arg5
= (int) 0 ;
24681 PyObject
* obj0
= 0 ;
24682 PyObject
* obj1
= 0 ;
24683 PyObject
* obj2
= 0 ;
24684 PyObject
* obj3
= 0 ;
24685 PyObject
* obj4
= 0 ;
24686 char *kwnames
[] = {
24687 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24691 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24693 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
24694 if (PyErr_Occurred()) SWIG_fail
;
24697 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
24698 if (PyErr_Occurred()) SWIG_fail
;
24702 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
24703 if (PyErr_Occurred()) SWIG_fail
;
24708 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
24709 if (PyErr_Occurred()) SWIG_fail
;
24713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24714 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
24716 wxPyEndAllowThreads(__tstate
);
24717 if (PyErr_Occurred()) SWIG_fail
;
24719 Py_INCREF(Py_None
); resultobj
= Py_None
;
24726 static PyObject
*_wrap_PyCircleShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24727 PyObject
*resultobj
;
24728 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24732 int arg5
= (int) 0 ;
24733 int arg6
= (int) 0 ;
24734 PyObject
* obj0
= 0 ;
24735 PyObject
* obj1
= 0 ;
24736 PyObject
* obj2
= 0 ;
24737 PyObject
* obj3
= 0 ;
24738 PyObject
* obj4
= 0 ;
24739 PyObject
* obj5
= 0 ;
24740 char *kwnames
[] = {
24741 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCircleShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24745 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24747 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
24748 if (PyErr_Occurred()) SWIG_fail
;
24751 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
24752 if (PyErr_Occurred()) SWIG_fail
;
24755 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
24756 if (PyErr_Occurred()) SWIG_fail
;
24760 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
24761 if (PyErr_Occurred()) SWIG_fail
;
24766 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
24767 if (PyErr_Occurred()) SWIG_fail
;
24771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24772 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
24774 wxPyEndAllowThreads(__tstate
);
24775 if (PyErr_Occurred()) SWIG_fail
;
24777 Py_INCREF(Py_None
); resultobj
= Py_None
;
24784 static PyObject
*_wrap_PyCircleShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24785 PyObject
*resultobj
;
24786 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24789 int arg4
= (int) 0 ;
24790 int arg5
= (int) 0 ;
24791 PyObject
* obj0
= 0 ;
24792 PyObject
* obj1
= 0 ;
24793 PyObject
* obj2
= 0 ;
24794 PyObject
* obj3
= 0 ;
24795 PyObject
* obj4
= 0 ;
24796 char *kwnames
[] = {
24797 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24801 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24803 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
24804 if (PyErr_Occurred()) SWIG_fail
;
24807 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
24808 if (PyErr_Occurred()) SWIG_fail
;
24812 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
24813 if (PyErr_Occurred()) SWIG_fail
;
24818 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
24819 if (PyErr_Occurred()) SWIG_fail
;
24823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24824 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
24826 wxPyEndAllowThreads(__tstate
);
24827 if (PyErr_Occurred()) SWIG_fail
;
24829 Py_INCREF(Py_None
); resultobj
= Py_None
;
24836 static PyObject
*_wrap_PyCircleShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24837 PyObject
*resultobj
;
24838 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24841 int arg4
= (int) 0 ;
24842 int arg5
= (int) 0 ;
24843 PyObject
* obj0
= 0 ;
24844 PyObject
* obj1
= 0 ;
24845 PyObject
* obj2
= 0 ;
24846 PyObject
* obj3
= 0 ;
24847 PyObject
* obj4
= 0 ;
24848 char *kwnames
[] = {
24849 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24853 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24855 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
24856 if (PyErr_Occurred()) SWIG_fail
;
24859 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
24860 if (PyErr_Occurred()) SWIG_fail
;
24864 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
24865 if (PyErr_Occurred()) SWIG_fail
;
24870 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
24871 if (PyErr_Occurred()) SWIG_fail
;
24875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24876 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
24878 wxPyEndAllowThreads(__tstate
);
24879 if (PyErr_Occurred()) SWIG_fail
;
24881 Py_INCREF(Py_None
); resultobj
= Py_None
;
24888 static PyObject
*_wrap_PyCircleShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24889 PyObject
*resultobj
;
24890 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24896 PyObject
* obj0
= 0 ;
24897 PyObject
* obj1
= 0 ;
24898 PyObject
* obj2
= 0 ;
24899 PyObject
* obj3
= 0 ;
24900 PyObject
* obj4
= 0 ;
24901 PyObject
* obj5
= 0 ;
24902 char *kwnames
[] = {
24903 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
24906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyCircleShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24907 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24908 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24909 if (arg2
== NULL
) {
24910 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24913 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
24914 if (PyErr_Occurred()) SWIG_fail
;
24917 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
24918 if (PyErr_Occurred()) SWIG_fail
;
24921 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
24922 if (PyErr_Occurred()) SWIG_fail
;
24925 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
24926 if (PyErr_Occurred()) SWIG_fail
;
24929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24930 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
24932 wxPyEndAllowThreads(__tstate
);
24933 if (PyErr_Occurred()) SWIG_fail
;
24935 Py_INCREF(Py_None
); resultobj
= Py_None
;
24942 static PyObject
*_wrap_PyCircleShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24943 PyObject
*resultobj
;
24944 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24946 PyObject
* obj0
= 0 ;
24947 PyObject
* obj1
= 0 ;
24948 char *kwnames
[] = {
24949 (char *) "self",(char *) "dc", NULL
24952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
24953 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24954 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24955 if (arg2
== NULL
) {
24956 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24960 (arg1
)->base_OnDrawControlPoints(*arg2
);
24962 wxPyEndAllowThreads(__tstate
);
24963 if (PyErr_Occurred()) SWIG_fail
;
24965 Py_INCREF(Py_None
); resultobj
= Py_None
;
24972 static PyObject
*_wrap_PyCircleShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24973 PyObject
*resultobj
;
24974 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24976 PyObject
* obj0
= 0 ;
24977 PyObject
* obj1
= 0 ;
24978 char *kwnames
[] = {
24979 (char *) "self",(char *) "dc", NULL
24982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
24983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24984 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24985 if (arg2
== NULL
) {
24986 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24990 (arg1
)->base_OnEraseControlPoints(*arg2
);
24992 wxPyEndAllowThreads(__tstate
);
24993 if (PyErr_Occurred()) SWIG_fail
;
24995 Py_INCREF(Py_None
); resultobj
= Py_None
;
25002 static PyObject
*_wrap_PyCircleShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25003 PyObject
*resultobj
;
25004 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
25006 bool arg3
= (bool) True
;
25007 PyObject
* obj0
= 0 ;
25008 PyObject
* obj1
= 0 ;
25009 PyObject
* obj2
= 0 ;
25010 char *kwnames
[] = {
25011 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
25014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCircleShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25015 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25016 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25017 if (arg2
== NULL
) {
25018 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25022 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
25023 if (PyErr_Occurred()) SWIG_fail
;
25027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25028 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
25030 wxPyEndAllowThreads(__tstate
);
25031 if (PyErr_Occurred()) SWIG_fail
;
25033 Py_INCREF(Py_None
); resultobj
= Py_None
;
25040 static PyObject
*_wrap_PyCircleShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25041 PyObject
*resultobj
;
25042 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
25043 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
25047 int arg6
= (int) 0 ;
25048 int arg7
= (int) 0 ;
25049 PyObject
* obj0
= 0 ;
25050 PyObject
* obj1
= 0 ;
25051 PyObject
* obj2
= 0 ;
25052 PyObject
* obj3
= 0 ;
25053 PyObject
* obj4
= 0 ;
25054 PyObject
* obj5
= 0 ;
25055 PyObject
* obj6
= 0 ;
25056 char *kwnames
[] = {
25057 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
25060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyCircleShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25061 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25062 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25064 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
25065 if (PyErr_Occurred()) SWIG_fail
;
25068 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
25069 if (PyErr_Occurred()) SWIG_fail
;
25072 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
25073 if (PyErr_Occurred()) SWIG_fail
;
25077 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
25078 if (PyErr_Occurred()) SWIG_fail
;
25083 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
25084 if (PyErr_Occurred()) SWIG_fail
;
25088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25089 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
25091 wxPyEndAllowThreads(__tstate
);
25092 if (PyErr_Occurred()) SWIG_fail
;
25094 Py_INCREF(Py_None
); resultobj
= Py_None
;
25101 static PyObject
*_wrap_PyCircleShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25102 PyObject
*resultobj
;
25103 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
25104 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
25107 int arg5
= (int) 0 ;
25108 int arg6
= (int) 0 ;
25109 PyObject
* obj0
= 0 ;
25110 PyObject
* obj1
= 0 ;
25111 PyObject
* obj2
= 0 ;
25112 PyObject
* obj3
= 0 ;
25113 PyObject
* obj4
= 0 ;
25114 PyObject
* obj5
= 0 ;
25115 char *kwnames
[] = {
25116 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
25119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCircleShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25120 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25121 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25123 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
25124 if (PyErr_Occurred()) SWIG_fail
;
25127 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
25128 if (PyErr_Occurred()) SWIG_fail
;
25132 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
25133 if (PyErr_Occurred()) SWIG_fail
;
25138 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
25139 if (PyErr_Occurred()) SWIG_fail
;
25143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25144 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
25146 wxPyEndAllowThreads(__tstate
);
25147 if (PyErr_Occurred()) SWIG_fail
;
25149 Py_INCREF(Py_None
); resultobj
= Py_None
;
25156 static PyObject
*_wrap_PyCircleShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25157 PyObject
*resultobj
;
25158 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
25159 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
25162 int arg5
= (int) 0 ;
25163 int arg6
= (int) 0 ;
25164 PyObject
* obj0
= 0 ;
25165 PyObject
* obj1
= 0 ;
25166 PyObject
* obj2
= 0 ;
25167 PyObject
* obj3
= 0 ;
25168 PyObject
* obj4
= 0 ;
25169 PyObject
* obj5
= 0 ;
25170 char *kwnames
[] = {
25171 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
25174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCircleShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25176 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25178 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
25179 if (PyErr_Occurred()) SWIG_fail
;
25182 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
25183 if (PyErr_Occurred()) SWIG_fail
;
25187 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
25188 if (PyErr_Occurred()) SWIG_fail
;
25193 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
25194 if (PyErr_Occurred()) SWIG_fail
;
25198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25199 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
25201 wxPyEndAllowThreads(__tstate
);
25202 if (PyErr_Occurred()) SWIG_fail
;
25204 Py_INCREF(Py_None
); resultobj
= Py_None
;
25211 static PyObject
*_wrap_PyCircleShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25212 PyObject
*resultobj
;
25213 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
25216 PyObject
* obj0
= 0 ;
25217 PyObject
* obj1
= 0 ;
25218 PyObject
* obj2
= 0 ;
25219 char *kwnames
[] = {
25220 (char *) "self",(char *) "w",(char *) "h", NULL
25223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCircleShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25224 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25226 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
25227 if (PyErr_Occurred()) SWIG_fail
;
25230 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
25231 if (PyErr_Occurred()) SWIG_fail
;
25234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25235 (arg1
)->base_OnBeginSize(arg2
,arg3
);
25237 wxPyEndAllowThreads(__tstate
);
25238 if (PyErr_Occurred()) SWIG_fail
;
25240 Py_INCREF(Py_None
); resultobj
= Py_None
;
25247 static PyObject
*_wrap_PyCircleShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25248 PyObject
*resultobj
;
25249 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
25252 PyObject
* obj0
= 0 ;
25253 PyObject
* obj1
= 0 ;
25254 PyObject
* obj2
= 0 ;
25255 char *kwnames
[] = {
25256 (char *) "self",(char *) "w",(char *) "h", NULL
25259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCircleShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25260 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25262 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
25263 if (PyErr_Occurred()) SWIG_fail
;
25266 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
25267 if (PyErr_Occurred()) SWIG_fail
;
25270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25271 (arg1
)->base_OnEndSize(arg2
,arg3
);
25273 wxPyEndAllowThreads(__tstate
);
25274 if (PyErr_Occurred()) SWIG_fail
;
25276 Py_INCREF(Py_None
); resultobj
= Py_None
;
25283 static PyObject
* PyCircleShape_swigregister(PyObject
*self
, PyObject
*args
) {
25285 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25286 SWIG_TypeClientData(SWIGTYPE_p_wxPyCircleShape
, obj
);
25288 return Py_BuildValue((char *)"");
25290 static PyObject
*_wrap_new_ArrowHead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25291 PyObject
*resultobj
;
25292 int arg1
= (int) 0 ;
25293 int arg2
= (int) 0 ;
25294 double arg3
= (double) 0.0 ;
25295 double arg4
= (double) 0.0 ;
25296 wxString
const &arg5_defvalue
= wxPyEmptyString
;
25297 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
25298 wxPseudoMetaFile
*arg6
= (wxPseudoMetaFile
*) NULL
;
25299 long arg7
= (long) -1 ;
25300 wxArrowHead
*result
;
25301 bool temp5
= False
;
25302 PyObject
* obj0
= 0 ;
25303 PyObject
* obj1
= 0 ;
25304 PyObject
* obj2
= 0 ;
25305 PyObject
* obj3
= 0 ;
25306 PyObject
* obj4
= 0 ;
25307 PyObject
* obj5
= 0 ;
25308 PyObject
* obj6
= 0 ;
25309 char *kwnames
[] = {
25310 (char *) "type",(char *) "end",(char *) "size",(char *) "dist",(char *) "name",(char *) "mf",(char *) "arrowId", NULL
25313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOO:new_ArrowHead",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25316 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
25317 if (PyErr_Occurred()) SWIG_fail
;
25322 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25323 if (PyErr_Occurred()) SWIG_fail
;
25328 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
25329 if (PyErr_Occurred()) SWIG_fail
;
25334 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
25335 if (PyErr_Occurred()) SWIG_fail
;
25340 arg5
= wxString_in_helper(obj4
);
25341 if (arg5
== NULL
) SWIG_fail
;
25346 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25350 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
25351 if (PyErr_Occurred()) SWIG_fail
;
25355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25356 result
= (wxArrowHead
*)new wxArrowHead(arg1
,arg2
,arg3
,arg4
,(wxString
const &)*arg5
,arg6
,arg7
);
25358 wxPyEndAllowThreads(__tstate
);
25359 if (PyErr_Occurred()) SWIG_fail
;
25362 resultobj
= wxPyMake_wxObject(result
);
25378 static PyObject
*_wrap_delete_ArrowHead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25379 PyObject
*resultobj
;
25380 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25381 PyObject
* obj0
= 0 ;
25382 char *kwnames
[] = {
25383 (char *) "self", NULL
25386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ArrowHead",kwnames
,&obj0
)) goto fail
;
25387 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25392 wxPyEndAllowThreads(__tstate
);
25393 if (PyErr_Occurred()) SWIG_fail
;
25395 Py_INCREF(Py_None
); resultobj
= Py_None
;
25402 static PyObject
*_wrap_ArrowHead__GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25403 PyObject
*resultobj
;
25404 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25406 PyObject
* obj0
= 0 ;
25407 char *kwnames
[] = {
25408 (char *) "self", NULL
25411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead__GetType",kwnames
,&obj0
)) goto fail
;
25412 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25415 result
= (int)(arg1
)->_GetType();
25417 wxPyEndAllowThreads(__tstate
);
25418 if (PyErr_Occurred()) SWIG_fail
;
25420 resultobj
= SWIG_PyObj_FromInt((int)result
);
25427 static PyObject
*_wrap_ArrowHead_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25428 PyObject
*resultobj
;
25429 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25431 PyObject
* obj0
= 0 ;
25432 char *kwnames
[] = {
25433 (char *) "self", NULL
25436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetPosition",kwnames
,&obj0
)) goto fail
;
25437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25440 result
= (int)(arg1
)->GetPosition();
25442 wxPyEndAllowThreads(__tstate
);
25443 if (PyErr_Occurred()) SWIG_fail
;
25445 resultobj
= SWIG_PyObj_FromInt((int)result
);
25452 static PyObject
*_wrap_ArrowHead_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25453 PyObject
*resultobj
;
25454 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25456 PyObject
* obj0
= 0 ;
25457 PyObject
* obj1
= 0 ;
25458 char *kwnames
[] = {
25459 (char *) "self",(char *) "pos", NULL
25462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ArrowHead_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
25463 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25465 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25466 if (PyErr_Occurred()) SWIG_fail
;
25469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25470 (arg1
)->SetPosition(arg2
);
25472 wxPyEndAllowThreads(__tstate
);
25473 if (PyErr_Occurred()) SWIG_fail
;
25475 Py_INCREF(Py_None
); resultobj
= Py_None
;
25482 static PyObject
*_wrap_ArrowHead_GetXOffset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25483 PyObject
*resultobj
;
25484 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25486 PyObject
* obj0
= 0 ;
25487 char *kwnames
[] = {
25488 (char *) "self", NULL
25491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetXOffset",kwnames
,&obj0
)) goto fail
;
25492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25495 result
= (double)(arg1
)->GetXOffset();
25497 wxPyEndAllowThreads(__tstate
);
25498 if (PyErr_Occurred()) SWIG_fail
;
25500 resultobj
= SWIG_PyObj_FromDouble((double)result
);
25507 static PyObject
*_wrap_ArrowHead_GetYOffset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25508 PyObject
*resultobj
;
25509 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25511 PyObject
* obj0
= 0 ;
25512 char *kwnames
[] = {
25513 (char *) "self", NULL
25516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetYOffset",kwnames
,&obj0
)) goto fail
;
25517 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25520 result
= (double)(arg1
)->GetYOffset();
25522 wxPyEndAllowThreads(__tstate
);
25523 if (PyErr_Occurred()) SWIG_fail
;
25525 resultobj
= SWIG_PyObj_FromDouble((double)result
);
25532 static PyObject
*_wrap_ArrowHead_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25533 PyObject
*resultobj
;
25534 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25536 PyObject
* obj0
= 0 ;
25537 char *kwnames
[] = {
25538 (char *) "self", NULL
25541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetSpacing",kwnames
,&obj0
)) goto fail
;
25542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25545 result
= (double)(arg1
)->GetSpacing();
25547 wxPyEndAllowThreads(__tstate
);
25548 if (PyErr_Occurred()) SWIG_fail
;
25550 resultobj
= SWIG_PyObj_FromDouble((double)result
);
25557 static PyObject
*_wrap_ArrowHead_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25558 PyObject
*resultobj
;
25559 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25561 PyObject
* obj0
= 0 ;
25562 char *kwnames
[] = {
25563 (char *) "self", NULL
25566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetSize",kwnames
,&obj0
)) goto fail
;
25567 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25570 result
= (double)(arg1
)->GetSize();
25572 wxPyEndAllowThreads(__tstate
);
25573 if (PyErr_Occurred()) SWIG_fail
;
25575 resultobj
= SWIG_PyObj_FromDouble((double)result
);
25582 static PyObject
*_wrap_ArrowHead_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25583 PyObject
*resultobj
;
25584 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25586 PyObject
* obj0
= 0 ;
25587 char *kwnames
[] = {
25588 (char *) "self", NULL
25591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetName",kwnames
,&obj0
)) goto fail
;
25592 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25595 result
= (arg1
)->GetName();
25597 wxPyEndAllowThreads(__tstate
);
25598 if (PyErr_Occurred()) SWIG_fail
;
25602 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25604 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25613 static PyObject
*_wrap_ArrowHead_SetXOffset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25614 PyObject
*resultobj
;
25615 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25617 PyObject
* obj0
= 0 ;
25618 PyObject
* obj1
= 0 ;
25619 char *kwnames
[] = {
25620 (char *) "self",(char *) "x", NULL
25623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ArrowHead_SetXOffset",kwnames
,&obj0
,&obj1
)) goto fail
;
25624 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25626 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
25627 if (PyErr_Occurred()) SWIG_fail
;
25630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25631 (arg1
)->SetXOffset(arg2
);
25633 wxPyEndAllowThreads(__tstate
);
25634 if (PyErr_Occurred()) SWIG_fail
;
25636 Py_INCREF(Py_None
); resultobj
= Py_None
;
25643 static PyObject
*_wrap_ArrowHead_SetYOffset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25644 PyObject
*resultobj
;
25645 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25647 PyObject
* obj0
= 0 ;
25648 PyObject
* obj1
= 0 ;
25649 char *kwnames
[] = {
25650 (char *) "self",(char *) "y", NULL
25653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ArrowHead_SetYOffset",kwnames
,&obj0
,&obj1
)) goto fail
;
25654 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25656 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
25657 if (PyErr_Occurred()) SWIG_fail
;
25660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25661 (arg1
)->SetYOffset(arg2
);
25663 wxPyEndAllowThreads(__tstate
);
25664 if (PyErr_Occurred()) SWIG_fail
;
25666 Py_INCREF(Py_None
); resultobj
= Py_None
;
25673 static PyObject
*_wrap_ArrowHead_GetMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25674 PyObject
*resultobj
;
25675 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25676 wxPseudoMetaFile
*result
;
25677 PyObject
* obj0
= 0 ;
25678 char *kwnames
[] = {
25679 (char *) "self", NULL
25682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetMetaFile",kwnames
,&obj0
)) goto fail
;
25683 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25686 result
= (wxPseudoMetaFile
*)(arg1
)->GetMetaFile();
25688 wxPyEndAllowThreads(__tstate
);
25689 if (PyErr_Occurred()) SWIG_fail
;
25692 resultobj
= wxPyMake_wxObject(result
);
25700 static PyObject
*_wrap_ArrowHead_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25701 PyObject
*resultobj
;
25702 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25704 PyObject
* obj0
= 0 ;
25705 char *kwnames
[] = {
25706 (char *) "self", NULL
25709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetId",kwnames
,&obj0
)) goto fail
;
25710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25713 result
= (long)(arg1
)->GetId();
25715 wxPyEndAllowThreads(__tstate
);
25716 if (PyErr_Occurred()) SWIG_fail
;
25718 resultobj
= SWIG_PyObj_FromLong((long)result
);
25725 static PyObject
*_wrap_ArrowHead_GetArrowEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25726 PyObject
*resultobj
;
25727 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25729 PyObject
* obj0
= 0 ;
25730 char *kwnames
[] = {
25731 (char *) "self", NULL
25734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetArrowEnd",kwnames
,&obj0
)) goto fail
;
25735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25738 result
= (int)(arg1
)->GetArrowEnd();
25740 wxPyEndAllowThreads(__tstate
);
25741 if (PyErr_Occurred()) SWIG_fail
;
25743 resultobj
= SWIG_PyObj_FromInt((int)result
);
25750 static PyObject
*_wrap_ArrowHead_GetArrowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25751 PyObject
*resultobj
;
25752 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25754 PyObject
* obj0
= 0 ;
25755 char *kwnames
[] = {
25756 (char *) "self", NULL
25759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetArrowSize",kwnames
,&obj0
)) goto fail
;
25760 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25763 result
= (double)(arg1
)->GetArrowSize();
25765 wxPyEndAllowThreads(__tstate
);
25766 if (PyErr_Occurred()) SWIG_fail
;
25768 resultobj
= SWIG_PyObj_FromDouble((double)result
);
25775 static PyObject
*_wrap_ArrowHead_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25776 PyObject
*resultobj
;
25777 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25779 PyObject
* obj0
= 0 ;
25780 PyObject
* obj1
= 0 ;
25781 char *kwnames
[] = {
25782 (char *) "self",(char *) "size", NULL
25785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ArrowHead_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25786 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25788 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
25789 if (PyErr_Occurred()) SWIG_fail
;
25792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25793 (arg1
)->SetSize(arg2
);
25795 wxPyEndAllowThreads(__tstate
);
25796 if (PyErr_Occurred()) SWIG_fail
;
25798 Py_INCREF(Py_None
); resultobj
= Py_None
;
25805 static PyObject
*_wrap_ArrowHead_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25806 PyObject
*resultobj
;
25807 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25809 PyObject
* obj0
= 0 ;
25810 PyObject
* obj1
= 0 ;
25811 char *kwnames
[] = {
25812 (char *) "self",(char *) "sp", NULL
25815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ArrowHead_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
25816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25818 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
25819 if (PyErr_Occurred()) SWIG_fail
;
25822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25823 (arg1
)->SetSpacing(arg2
);
25825 wxPyEndAllowThreads(__tstate
);
25826 if (PyErr_Occurred()) SWIG_fail
;
25828 Py_INCREF(Py_None
); resultobj
= Py_None
;
25835 static PyObject
* ArrowHead_swigregister(PyObject
*self
, PyObject
*args
) {
25837 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25838 SWIG_TypeClientData(SWIGTYPE_p_wxArrowHead
, obj
);
25840 return Py_BuildValue((char *)"");
25842 static PyObject
*_wrap_new_PyLineShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25843 PyObject
*resultobj
;
25844 wxPyLineShape
*result
;
25845 char *kwnames
[] = {
25849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLineShape",kwnames
)) goto fail
;
25851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25852 result
= (wxPyLineShape
*)new wxPyLineShape();
25854 wxPyEndAllowThreads(__tstate
);
25855 if (PyErr_Occurred()) SWIG_fail
;
25857 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyLineShape
, 1);
25864 static PyObject
*_wrap_PyLineShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25865 PyObject
*resultobj
;
25866 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25867 PyObject
*arg2
= (PyObject
*) 0 ;
25868 PyObject
*arg3
= (PyObject
*) 0 ;
25869 PyObject
* obj0
= 0 ;
25870 PyObject
* obj1
= 0 ;
25871 PyObject
* obj2
= 0 ;
25872 char *kwnames
[] = {
25873 (char *) "self",(char *) "self",(char *) "_class", NULL
25876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25882 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25884 wxPyEndAllowThreads(__tstate
);
25885 if (PyErr_Occurred()) SWIG_fail
;
25887 Py_INCREF(Py_None
); resultobj
= Py_None
;
25894 static PyObject
*_wrap_PyLineShape_AddArrow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25895 PyObject
*resultobj
;
25896 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25898 int arg3
= (int) ARROW_POSITION_END
;
25899 double arg4
= (double) 10.0 ;
25900 double arg5
= (double) 0.0 ;
25901 wxString
const &arg6_defvalue
= wxPyEmptyString
;
25902 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25903 wxPseudoMetaFile
*arg7
= (wxPseudoMetaFile
*) NULL
;
25904 long arg8
= (long) -1 ;
25905 bool temp6
= False
;
25906 PyObject
* obj0
= 0 ;
25907 PyObject
* obj1
= 0 ;
25908 PyObject
* obj2
= 0 ;
25909 PyObject
* obj3
= 0 ;
25910 PyObject
* obj4
= 0 ;
25911 PyObject
* obj5
= 0 ;
25912 PyObject
* obj6
= 0 ;
25913 PyObject
* obj7
= 0 ;
25914 char *kwnames
[] = {
25915 (char *) "self",(char *) "type",(char *) "end",(char *) "arrowSize",(char *) "xOffset",(char *) "name",(char *) "mf",(char *) "arrowId", NULL
25918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:PyLineShape_AddArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
25919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25921 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25922 if (PyErr_Occurred()) SWIG_fail
;
25926 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25927 if (PyErr_Occurred()) SWIG_fail
;
25932 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
25933 if (PyErr_Occurred()) SWIG_fail
;
25938 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
25939 if (PyErr_Occurred()) SWIG_fail
;
25944 arg6
= wxString_in_helper(obj5
);
25945 if (arg6
== NULL
) SWIG_fail
;
25950 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25954 arg8
= (long) SWIG_PyObj_AsLong(obj7
);
25955 if (PyErr_Occurred()) SWIG_fail
;
25959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25960 (arg1
)->AddArrow(arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
,arg8
);
25962 wxPyEndAllowThreads(__tstate
);
25963 if (PyErr_Occurred()) SWIG_fail
;
25965 Py_INCREF(Py_None
); resultobj
= Py_None
;
25980 static PyObject
*_wrap_PyLineShape_AddArrowOrdered(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25981 PyObject
*resultobj
;
25982 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25983 wxArrowHead
*arg2
= (wxArrowHead
*) 0 ;
25984 PyObject
*arg3
= (PyObject
*) 0 ;
25986 PyObject
* obj0
= 0 ;
25987 PyObject
* obj1
= 0 ;
25988 PyObject
* obj2
= 0 ;
25989 PyObject
* obj3
= 0 ;
25990 char *kwnames
[] = {
25991 (char *) "self",(char *) "arrow",(char *) "referenceList",(char *) "end", NULL
25994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyLineShape_AddArrowOrdered",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25995 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25996 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25999 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
26000 if (PyErr_Occurred()) SWIG_fail
;
26003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26004 wxPyLineShape_AddArrowOrdered(arg1
,arg2
,arg3
,arg4
);
26006 wxPyEndAllowThreads(__tstate
);
26007 if (PyErr_Occurred()) SWIG_fail
;
26009 Py_INCREF(Py_None
); resultobj
= Py_None
;
26016 static PyObject
*_wrap_PyLineShape_ClearArrow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26017 PyObject
*resultobj
;
26018 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26019 wxString
*arg2
= 0 ;
26021 bool temp2
= False
;
26022 PyObject
* obj0
= 0 ;
26023 PyObject
* obj1
= 0 ;
26024 char *kwnames
[] = {
26025 (char *) "self",(char *) "name", NULL
26028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_ClearArrow",kwnames
,&obj0
,&obj1
)) goto fail
;
26029 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26031 arg2
= wxString_in_helper(obj1
);
26032 if (arg2
== NULL
) SWIG_fail
;
26036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26037 result
= (bool)(arg1
)->ClearArrow((wxString
const &)*arg2
);
26039 wxPyEndAllowThreads(__tstate
);
26040 if (PyErr_Occurred()) SWIG_fail
;
26042 resultobj
= SWIG_PyObj_FromBool((bool)result
);
26057 static PyObject
*_wrap_PyLineShape_ClearArrowsAtPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26058 PyObject
*resultobj
;
26059 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26060 int arg2
= (int) -1 ;
26061 PyObject
* obj0
= 0 ;
26062 PyObject
* obj1
= 0 ;
26063 char *kwnames
[] = {
26064 (char *) "self",(char *) "position", NULL
26067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyLineShape_ClearArrowsAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
26068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26071 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
26072 if (PyErr_Occurred()) SWIG_fail
;
26076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26077 (arg1
)->ClearArrowsAtPosition(arg2
);
26079 wxPyEndAllowThreads(__tstate
);
26080 if (PyErr_Occurred()) SWIG_fail
;
26082 Py_INCREF(Py_None
); resultobj
= Py_None
;
26089 static PyObject
*_wrap_PyLineShape_DrawArrow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26090 PyObject
*resultobj
;
26091 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26093 wxArrowHead
*arg3
= (wxArrowHead
*) 0 ;
26096 PyObject
* obj0
= 0 ;
26097 PyObject
* obj1
= 0 ;
26098 PyObject
* obj2
= 0 ;
26099 PyObject
* obj3
= 0 ;
26100 PyObject
* obj4
= 0 ;
26101 char *kwnames
[] = {
26102 (char *) "self",(char *) "dc",(char *) "arrow",(char *) "xOffset",(char *) "proportionalOffset", NULL
26105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyLineShape_DrawArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26106 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26107 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26108 if (arg2
== NULL
) {
26109 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26111 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26113 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
26114 if (PyErr_Occurred()) SWIG_fail
;
26117 arg5
= (bool) SWIG_PyObj_AsBool(obj4
);
26118 if (PyErr_Occurred()) SWIG_fail
;
26121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26122 (arg1
)->DrawArrow(*arg2
,arg3
,arg4
,arg5
);
26124 wxPyEndAllowThreads(__tstate
);
26125 if (PyErr_Occurred()) SWIG_fail
;
26127 Py_INCREF(Py_None
); resultobj
= Py_None
;
26134 static PyObject
*_wrap_PyLineShape_DeleteArrowHeadId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26135 PyObject
*resultobj
;
26136 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26139 PyObject
* obj0
= 0 ;
26140 PyObject
* obj1
= 0 ;
26141 char *kwnames
[] = {
26142 (char *) "self",(char *) "arrowId", NULL
26145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_DeleteArrowHeadId",kwnames
,&obj0
,&obj1
)) goto fail
;
26146 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26148 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
26149 if (PyErr_Occurred()) SWIG_fail
;
26152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26153 result
= (bool)(arg1
)->DeleteArrowHead(arg2
);
26155 wxPyEndAllowThreads(__tstate
);
26156 if (PyErr_Occurred()) SWIG_fail
;
26158 resultobj
= SWIG_PyObj_FromBool((bool)result
);
26165 static PyObject
*_wrap_PyLineShape_DeleteArrowHead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26166 PyObject
*resultobj
;
26167 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26169 wxString
*arg3
= 0 ;
26171 bool temp3
= False
;
26172 PyObject
* obj0
= 0 ;
26173 PyObject
* obj1
= 0 ;
26174 PyObject
* obj2
= 0 ;
26175 char *kwnames
[] = {
26176 (char *) "self",(char *) "position",(char *) "name", NULL
26179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_DeleteArrowHead",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26182 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
26183 if (PyErr_Occurred()) SWIG_fail
;
26186 arg3
= wxString_in_helper(obj2
);
26187 if (arg3
== NULL
) SWIG_fail
;
26191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26192 result
= (bool)(arg1
)->DeleteArrowHead(arg2
,(wxString
const &)*arg3
);
26194 wxPyEndAllowThreads(__tstate
);
26195 if (PyErr_Occurred()) SWIG_fail
;
26197 resultobj
= SWIG_PyObj_FromBool((bool)result
);
26212 static PyObject
*_wrap_PyLineShape_DeleteLineControlPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26213 PyObject
*resultobj
;
26214 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26216 PyObject
* obj0
= 0 ;
26217 char *kwnames
[] = {
26218 (char *) "self", NULL
26221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_DeleteLineControlPoint",kwnames
,&obj0
)) goto fail
;
26222 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26225 result
= (bool)(arg1
)->DeleteLineControlPoint();
26227 wxPyEndAllowThreads(__tstate
);
26228 if (PyErr_Occurred()) SWIG_fail
;
26230 resultobj
= SWIG_PyObj_FromBool((bool)result
);
26237 static PyObject
*_wrap_PyLineShape_DrawArrows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26238 PyObject
*resultobj
;
26239 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26241 PyObject
* obj0
= 0 ;
26242 PyObject
* obj1
= 0 ;
26243 char *kwnames
[] = {
26244 (char *) "self",(char *) "dc", NULL
26247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_DrawArrows",kwnames
,&obj0
,&obj1
)) goto fail
;
26248 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26249 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26250 if (arg2
== NULL
) {
26251 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26255 (arg1
)->DrawArrows(*arg2
);
26257 wxPyEndAllowThreads(__tstate
);
26258 if (PyErr_Occurred()) SWIG_fail
;
26260 Py_INCREF(Py_None
); resultobj
= Py_None
;
26267 static PyObject
*_wrap_PyLineShape_DrawRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26268 PyObject
*resultobj
;
26269 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26271 wxShapeRegion
*arg3
= (wxShapeRegion
*) 0 ;
26274 PyObject
* obj0
= 0 ;
26275 PyObject
* obj1
= 0 ;
26276 PyObject
* obj2
= 0 ;
26277 PyObject
* obj3
= 0 ;
26278 PyObject
* obj4
= 0 ;
26279 char *kwnames
[] = {
26280 (char *) "self",(char *) "dc",(char *) "region",(char *) "x",(char *) "y", NULL
26283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyLineShape_DrawRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26284 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26285 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26286 if (arg2
== NULL
) {
26287 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26289 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26291 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
26292 if (PyErr_Occurred()) SWIG_fail
;
26295 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
26296 if (PyErr_Occurred()) SWIG_fail
;
26299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26300 (arg1
)->DrawRegion(*arg2
,arg3
,arg4
,arg5
);
26302 wxPyEndAllowThreads(__tstate
);
26303 if (PyErr_Occurred()) SWIG_fail
;
26305 Py_INCREF(Py_None
); resultobj
= Py_None
;
26312 static PyObject
*_wrap_PyLineShape_EraseRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26313 PyObject
*resultobj
;
26314 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26316 wxShapeRegion
*arg3
= (wxShapeRegion
*) 0 ;
26319 PyObject
* obj0
= 0 ;
26320 PyObject
* obj1
= 0 ;
26321 PyObject
* obj2
= 0 ;
26322 PyObject
* obj3
= 0 ;
26323 PyObject
* obj4
= 0 ;
26324 char *kwnames
[] = {
26325 (char *) "self",(char *) "dc",(char *) "region",(char *) "x",(char *) "y", NULL
26328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyLineShape_EraseRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26330 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26331 if (arg2
== NULL
) {
26332 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26334 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26336 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
26337 if (PyErr_Occurred()) SWIG_fail
;
26340 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
26341 if (PyErr_Occurred()) SWIG_fail
;
26344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26345 (arg1
)->EraseRegion(*arg2
,arg3
,arg4
,arg5
);
26347 wxPyEndAllowThreads(__tstate
);
26348 if (PyErr_Occurred()) SWIG_fail
;
26350 Py_INCREF(Py_None
); resultobj
= Py_None
;
26357 static PyObject
*_wrap_PyLineShape_FindArrowHeadId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26358 PyObject
*resultobj
;
26359 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26361 wxArrowHead
*result
;
26362 PyObject
* obj0
= 0 ;
26363 PyObject
* obj1
= 0 ;
26364 char *kwnames
[] = {
26365 (char *) "self",(char *) "arrowId", NULL
26368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_FindArrowHeadId",kwnames
,&obj0
,&obj1
)) goto fail
;
26369 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26371 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
26372 if (PyErr_Occurred()) SWIG_fail
;
26375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26376 result
= (wxArrowHead
*)(arg1
)->FindArrowHead(arg2
);
26378 wxPyEndAllowThreads(__tstate
);
26379 if (PyErr_Occurred()) SWIG_fail
;
26382 resultobj
= wxPyMake_wxObject(result
);
26390 static PyObject
*_wrap_PyLineShape_FindArrowHead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26391 PyObject
*resultobj
;
26392 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26394 wxString
*arg3
= 0 ;
26395 wxArrowHead
*result
;
26396 bool temp3
= False
;
26397 PyObject
* obj0
= 0 ;
26398 PyObject
* obj1
= 0 ;
26399 PyObject
* obj2
= 0 ;
26400 char *kwnames
[] = {
26401 (char *) "self",(char *) "position",(char *) "name", NULL
26404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_FindArrowHead",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26405 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26407 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
26408 if (PyErr_Occurred()) SWIG_fail
;
26411 arg3
= wxString_in_helper(obj2
);
26412 if (arg3
== NULL
) SWIG_fail
;
26416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26417 result
= (wxArrowHead
*)(arg1
)->FindArrowHead(arg2
,(wxString
const &)*arg3
);
26419 wxPyEndAllowThreads(__tstate
);
26420 if (PyErr_Occurred()) SWIG_fail
;
26423 resultobj
= wxPyMake_wxObject(result
);
26439 static PyObject
*_wrap_PyLineShape_FindLineEndPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26440 PyObject
*resultobj
;
26441 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26442 double *arg2
= (double *) 0 ;
26443 double *arg3
= (double *) 0 ;
26444 double *arg4
= (double *) 0 ;
26445 double *arg5
= (double *) 0 ;
26450 PyObject
* obj0
= 0 ;
26451 char *kwnames
[] = {
26452 (char *) "self", NULL
26459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_FindLineEndPoints",kwnames
,&obj0
)) goto fail
;
26460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26463 (arg1
)->FindLineEndPoints(arg2
,arg3
,arg4
,arg5
);
26465 wxPyEndAllowThreads(__tstate
);
26466 if (PyErr_Occurred()) SWIG_fail
;
26468 Py_INCREF(Py_None
); resultobj
= Py_None
;
26470 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
26471 resultobj
= t_output_helper(resultobj
,o
);
26474 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
26475 resultobj
= t_output_helper(resultobj
,o
);
26478 PyObject
*o
= PyFloat_FromDouble((double) (*arg4
));
26479 resultobj
= t_output_helper(resultobj
,o
);
26482 PyObject
*o
= PyFloat_FromDouble((double) (*arg5
));
26483 resultobj
= t_output_helper(resultobj
,o
);
26491 static PyObject
*_wrap_PyLineShape_FindLinePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26492 PyObject
*resultobj
;
26493 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26497 PyObject
* obj0
= 0 ;
26498 PyObject
* obj1
= 0 ;
26499 PyObject
* obj2
= 0 ;
26500 char *kwnames
[] = {
26501 (char *) "self",(char *) "x",(char *) "y", NULL
26504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_FindLinePosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26505 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26507 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
26508 if (PyErr_Occurred()) SWIG_fail
;
26511 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
26512 if (PyErr_Occurred()) SWIG_fail
;
26515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26516 result
= (int)(arg1
)->FindLinePosition(arg2
,arg3
);
26518 wxPyEndAllowThreads(__tstate
);
26519 if (PyErr_Occurred()) SWIG_fail
;
26521 resultobj
= SWIG_PyObj_FromInt((int)result
);
26528 static PyObject
*_wrap_PyLineShape_FindMinimumWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26529 PyObject
*resultobj
;
26530 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26532 PyObject
* obj0
= 0 ;
26533 char *kwnames
[] = {
26534 (char *) "self", NULL
26537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_FindMinimumWidth",kwnames
,&obj0
)) goto fail
;
26538 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26541 result
= (double)(arg1
)->FindMinimumWidth();
26543 wxPyEndAllowThreads(__tstate
);
26544 if (PyErr_Occurred()) SWIG_fail
;
26546 resultobj
= SWIG_PyObj_FromDouble((double)result
);
26553 static PyObject
*_wrap_PyLineShape_FindNth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26554 PyObject
*resultobj
;
26555 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26556 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
26557 int *arg3
= (int *) 0 ;
26558 int *arg4
= (int *) 0 ;
26562 PyObject
* obj0
= 0 ;
26563 PyObject
* obj1
= 0 ;
26564 PyObject
* obj2
= 0 ;
26565 char *kwnames
[] = {
26566 (char *) "self",(char *) "image",(char *) "incoming", NULL
26571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_FindNth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26573 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26575 arg5
= (bool) SWIG_PyObj_AsBool(obj2
);
26576 if (PyErr_Occurred()) SWIG_fail
;
26579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26580 (arg1
)->FindNth(arg2
,arg3
,arg4
,arg5
);
26582 wxPyEndAllowThreads(__tstate
);
26583 if (PyErr_Occurred()) SWIG_fail
;
26585 Py_INCREF(Py_None
); resultobj
= Py_None
;
26587 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26588 resultobj
= t_output_helper(resultobj
,o
);
26591 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
26592 resultobj
= t_output_helper(resultobj
,o
);
26600 static PyObject
*_wrap_PyLineShape_GetAttachmentFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26601 PyObject
*resultobj
;
26602 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26604 PyObject
* obj0
= 0 ;
26605 char *kwnames
[] = {
26606 (char *) "self", NULL
26609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetAttachmentFrom",kwnames
,&obj0
)) goto fail
;
26610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26613 result
= (int)(arg1
)->GetAttachmentFrom();
26615 wxPyEndAllowThreads(__tstate
);
26616 if (PyErr_Occurred()) SWIG_fail
;
26618 resultobj
= SWIG_PyObj_FromInt((int)result
);
26625 static PyObject
*_wrap_PyLineShape_GetAttachmentTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26626 PyObject
*resultobj
;
26627 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26629 PyObject
* obj0
= 0 ;
26630 char *kwnames
[] = {
26631 (char *) "self", NULL
26634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetAttachmentTo",kwnames
,&obj0
)) goto fail
;
26635 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26638 result
= (int)(arg1
)->GetAttachmentTo();
26640 wxPyEndAllowThreads(__tstate
);
26641 if (PyErr_Occurred()) SWIG_fail
;
26643 resultobj
= SWIG_PyObj_FromInt((int)result
);
26650 static PyObject
*_wrap_PyLineShape_GetEnds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26651 PyObject
*resultobj
;
26652 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26653 double *arg2
= (double *) 0 ;
26654 double *arg3
= (double *) 0 ;
26655 double *arg4
= (double *) 0 ;
26656 double *arg5
= (double *) 0 ;
26661 PyObject
* obj0
= 0 ;
26662 char *kwnames
[] = {
26663 (char *) "self", NULL
26670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetEnds",kwnames
,&obj0
)) goto fail
;
26671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26674 (arg1
)->GetEnds(arg2
,arg3
,arg4
,arg5
);
26676 wxPyEndAllowThreads(__tstate
);
26677 if (PyErr_Occurred()) SWIG_fail
;
26679 Py_INCREF(Py_None
); resultobj
= Py_None
;
26681 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
26682 resultobj
= t_output_helper(resultobj
,o
);
26685 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
26686 resultobj
= t_output_helper(resultobj
,o
);
26689 PyObject
*o
= PyFloat_FromDouble((double) (*arg4
));
26690 resultobj
= t_output_helper(resultobj
,o
);
26693 PyObject
*o
= PyFloat_FromDouble((double) (*arg5
));
26694 resultobj
= t_output_helper(resultobj
,o
);
26702 static PyObject
*_wrap_PyLineShape_GetFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26703 PyObject
*resultobj
;
26704 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26706 PyObject
* obj0
= 0 ;
26707 char *kwnames
[] = {
26708 (char *) "self", NULL
26711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetFrom",kwnames
,&obj0
)) goto fail
;
26712 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26715 result
= (wxPyShape
*)(arg1
)->GetFrom();
26717 wxPyEndAllowThreads(__tstate
);
26718 if (PyErr_Occurred()) SWIG_fail
;
26721 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
26729 static PyObject
*_wrap_PyLineShape_GetLabelPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26730 PyObject
*resultobj
;
26731 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26733 double *arg3
= (double *) 0 ;
26734 double *arg4
= (double *) 0 ;
26737 PyObject
* obj0
= 0 ;
26738 PyObject
* obj1
= 0 ;
26739 char *kwnames
[] = {
26740 (char *) "self",(char *) "position", NULL
26745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_GetLabelPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
26746 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26748 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
26749 if (PyErr_Occurred()) SWIG_fail
;
26752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26753 (arg1
)->GetLabelPosition(arg2
,arg3
,arg4
);
26755 wxPyEndAllowThreads(__tstate
);
26756 if (PyErr_Occurred()) SWIG_fail
;
26758 Py_INCREF(Py_None
); resultobj
= Py_None
;
26760 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
26761 resultobj
= t_output_helper(resultobj
,o
);
26764 PyObject
*o
= PyFloat_FromDouble((double) (*arg4
));
26765 resultobj
= t_output_helper(resultobj
,o
);
26773 static PyObject
*_wrap_PyLineShape_GetNextControlPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26774 PyObject
*resultobj
;
26775 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26776 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
26777 wxRealPoint
*result
;
26778 PyObject
* obj0
= 0 ;
26779 PyObject
* obj1
= 0 ;
26780 char *kwnames
[] = {
26781 (char *) "self",(char *) "shape", NULL
26784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_GetNextControlPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
26785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26786 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26789 result
= (wxRealPoint
*)(arg1
)->GetNextControlPoint(arg2
);
26791 wxPyEndAllowThreads(__tstate
);
26792 if (PyErr_Occurred()) SWIG_fail
;
26794 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRealPoint
, 0);
26801 static PyObject
*_wrap_PyLineShape_GetTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26802 PyObject
*resultobj
;
26803 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26805 PyObject
* obj0
= 0 ;
26806 char *kwnames
[] = {
26807 (char *) "self", NULL
26810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetTo",kwnames
,&obj0
)) goto fail
;
26811 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26814 result
= (wxPyShape
*)(arg1
)->GetTo();
26816 wxPyEndAllowThreads(__tstate
);
26817 if (PyErr_Occurred()) SWIG_fail
;
26820 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
26828 static PyObject
*_wrap_PyLineShape_Initialise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26829 PyObject
*resultobj
;
26830 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26831 PyObject
* obj0
= 0 ;
26832 char *kwnames
[] = {
26833 (char *) "self", NULL
26836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_Initialise",kwnames
,&obj0
)) goto fail
;
26837 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26840 (arg1
)->Initialise();
26842 wxPyEndAllowThreads(__tstate
);
26843 if (PyErr_Occurred()) SWIG_fail
;
26845 Py_INCREF(Py_None
); resultobj
= Py_None
;
26852 static PyObject
*_wrap_PyLineShape_InsertLineControlPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26853 PyObject
*resultobj
;
26854 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26855 wxDC
*arg2
= (wxDC
*) 0 ;
26856 PyObject
* obj0
= 0 ;
26857 PyObject
* obj1
= 0 ;
26858 char *kwnames
[] = {
26859 (char *) "self",(char *) "dc", NULL
26862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_InsertLineControlPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
26863 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26864 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26867 (arg1
)->InsertLineControlPoint(arg2
);
26869 wxPyEndAllowThreads(__tstate
);
26870 if (PyErr_Occurred()) SWIG_fail
;
26872 Py_INCREF(Py_None
); resultobj
= Py_None
;
26879 static PyObject
*_wrap_PyLineShape_IsEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26880 PyObject
*resultobj
;
26881 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26882 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
26884 PyObject
* obj0
= 0 ;
26885 PyObject
* obj1
= 0 ;
26886 char *kwnames
[] = {
26887 (char *) "self",(char *) "shape", NULL
26890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_IsEnd",kwnames
,&obj0
,&obj1
)) goto fail
;
26891 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26892 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26895 result
= (bool)(arg1
)->IsEnd(arg2
);
26897 wxPyEndAllowThreads(__tstate
);
26898 if (PyErr_Occurred()) SWIG_fail
;
26900 resultobj
= SWIG_PyObj_FromBool((bool)result
);
26907 static PyObject
*_wrap_PyLineShape_IsSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26908 PyObject
*resultobj
;
26909 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26911 PyObject
* obj0
= 0 ;
26912 char *kwnames
[] = {
26913 (char *) "self", NULL
26916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_IsSpline",kwnames
,&obj0
)) goto fail
;
26917 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26920 result
= (bool)(arg1
)->IsSpline();
26922 wxPyEndAllowThreads(__tstate
);
26923 if (PyErr_Occurred()) SWIG_fail
;
26925 resultobj
= SWIG_PyObj_FromBool((bool)result
);
26932 static PyObject
*_wrap_PyLineShape_MakeLineControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26933 PyObject
*resultobj
;
26934 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26936 PyObject
* obj0
= 0 ;
26937 PyObject
* obj1
= 0 ;
26938 char *kwnames
[] = {
26939 (char *) "self",(char *) "n", NULL
26942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_MakeLineControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
26943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26945 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
26946 if (PyErr_Occurred()) SWIG_fail
;
26949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26950 (arg1
)->MakeLineControlPoints(arg2
);
26952 wxPyEndAllowThreads(__tstate
);
26953 if (PyErr_Occurred()) SWIG_fail
;
26955 Py_INCREF(Py_None
); resultobj
= Py_None
;
26962 static PyObject
*_wrap_PyLineShape_GetLineControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26963 PyObject
*resultobj
;
26964 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26966 PyObject
* obj0
= 0 ;
26967 char *kwnames
[] = {
26968 (char *) "self", NULL
26971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetLineControlPoints",kwnames
,&obj0
)) goto fail
;
26972 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26975 result
= (PyObject
*)wxPyLineShape_GetLineControlPoints(arg1
);
26977 wxPyEndAllowThreads(__tstate
);
26978 if (PyErr_Occurred()) SWIG_fail
;
26980 resultobj
= result
;
26987 static PyObject
*_wrap_PyLineShape_SetAttachmentFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26988 PyObject
*resultobj
;
26989 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26991 PyObject
* obj0
= 0 ;
26992 PyObject
* obj1
= 0 ;
26993 char *kwnames
[] = {
26994 (char *) "self",(char *) "fromAttach", NULL
26997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetAttachmentFrom",kwnames
,&obj0
,&obj1
)) goto fail
;
26998 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27000 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27001 if (PyErr_Occurred()) SWIG_fail
;
27004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27005 (arg1
)->SetAttachmentFrom(arg2
);
27007 wxPyEndAllowThreads(__tstate
);
27008 if (PyErr_Occurred()) SWIG_fail
;
27010 Py_INCREF(Py_None
); resultobj
= Py_None
;
27017 static PyObject
*_wrap_PyLineShape_SetAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27018 PyObject
*resultobj
;
27019 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27022 PyObject
* obj0
= 0 ;
27023 PyObject
* obj1
= 0 ;
27024 PyObject
* obj2
= 0 ;
27025 char *kwnames
[] = {
27026 (char *) "self",(char *) "fromAttach",(char *) "toAttach", NULL
27029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_SetAttachments",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27030 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27032 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27033 if (PyErr_Occurred()) SWIG_fail
;
27036 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27037 if (PyErr_Occurred()) SWIG_fail
;
27040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27041 (arg1
)->SetAttachments(arg2
,arg3
);
27043 wxPyEndAllowThreads(__tstate
);
27044 if (PyErr_Occurred()) SWIG_fail
;
27046 Py_INCREF(Py_None
); resultobj
= Py_None
;
27053 static PyObject
*_wrap_PyLineShape_SetAttachmentTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27054 PyObject
*resultobj
;
27055 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27057 PyObject
* obj0
= 0 ;
27058 PyObject
* obj1
= 0 ;
27059 char *kwnames
[] = {
27060 (char *) "self",(char *) "toAttach", NULL
27063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetAttachmentTo",kwnames
,&obj0
,&obj1
)) goto fail
;
27064 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27066 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27067 if (PyErr_Occurred()) SWIG_fail
;
27070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27071 (arg1
)->SetAttachmentTo(arg2
);
27073 wxPyEndAllowThreads(__tstate
);
27074 if (PyErr_Occurred()) SWIG_fail
;
27076 Py_INCREF(Py_None
); resultobj
= Py_None
;
27083 static PyObject
*_wrap_PyLineShape_SetEnds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27084 PyObject
*resultobj
;
27085 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27090 PyObject
* obj0
= 0 ;
27091 PyObject
* obj1
= 0 ;
27092 PyObject
* obj2
= 0 ;
27093 PyObject
* obj3
= 0 ;
27094 PyObject
* obj4
= 0 ;
27095 char *kwnames
[] = {
27096 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
27099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyLineShape_SetEnds",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27100 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27102 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
27103 if (PyErr_Occurred()) SWIG_fail
;
27106 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
27107 if (PyErr_Occurred()) SWIG_fail
;
27110 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
27111 if (PyErr_Occurred()) SWIG_fail
;
27114 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
27115 if (PyErr_Occurred()) SWIG_fail
;
27118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27119 (arg1
)->SetEnds(arg2
,arg3
,arg4
,arg5
);
27121 wxPyEndAllowThreads(__tstate
);
27122 if (PyErr_Occurred()) SWIG_fail
;
27124 Py_INCREF(Py_None
); resultobj
= Py_None
;
27131 static PyObject
*_wrap_PyLineShape_SetFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27132 PyObject
*resultobj
;
27133 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27134 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
27135 PyObject
* obj0
= 0 ;
27136 PyObject
* obj1
= 0 ;
27137 char *kwnames
[] = {
27138 (char *) "self",(char *) "object", NULL
27141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetFrom",kwnames
,&obj0
,&obj1
)) goto fail
;
27142 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27143 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27146 (arg1
)->SetFrom(arg2
);
27148 wxPyEndAllowThreads(__tstate
);
27149 if (PyErr_Occurred()) SWIG_fail
;
27151 Py_INCREF(Py_None
); resultobj
= Py_None
;
27158 static PyObject
*_wrap_PyLineShape_SetIgnoreOffsets(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27159 PyObject
*resultobj
;
27160 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27162 PyObject
* obj0
= 0 ;
27163 PyObject
* obj1
= 0 ;
27164 char *kwnames
[] = {
27165 (char *) "self",(char *) "ignore", NULL
27168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetIgnoreOffsets",kwnames
,&obj0
,&obj1
)) goto fail
;
27169 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27171 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
27172 if (PyErr_Occurred()) SWIG_fail
;
27175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27176 (arg1
)->SetIgnoreOffsets(arg2
);
27178 wxPyEndAllowThreads(__tstate
);
27179 if (PyErr_Occurred()) SWIG_fail
;
27181 Py_INCREF(Py_None
); resultobj
= Py_None
;
27188 static PyObject
*_wrap_PyLineShape_SetSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27189 PyObject
*resultobj
;
27190 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27192 PyObject
* obj0
= 0 ;
27193 PyObject
* obj1
= 0 ;
27194 char *kwnames
[] = {
27195 (char *) "self",(char *) "spline", NULL
27198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
27199 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27201 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
27202 if (PyErr_Occurred()) SWIG_fail
;
27205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27206 (arg1
)->SetSpline(arg2
);
27208 wxPyEndAllowThreads(__tstate
);
27209 if (PyErr_Occurred()) SWIG_fail
;
27211 Py_INCREF(Py_None
); resultobj
= Py_None
;
27218 static PyObject
*_wrap_PyLineShape_SetTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27219 PyObject
*resultobj
;
27220 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27221 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
27222 PyObject
* obj0
= 0 ;
27223 PyObject
* obj1
= 0 ;
27224 char *kwnames
[] = {
27225 (char *) "self",(char *) "object", NULL
27228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetTo",kwnames
,&obj0
,&obj1
)) goto fail
;
27229 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27230 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27233 (arg1
)->SetTo(arg2
);
27235 wxPyEndAllowThreads(__tstate
);
27236 if (PyErr_Occurred()) SWIG_fail
;
27238 Py_INCREF(Py_None
); resultobj
= Py_None
;
27245 static PyObject
*_wrap_PyLineShape_Straighten(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27246 PyObject
*resultobj
;
27247 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27248 wxDC
*arg2
= (wxDC
*) NULL
;
27249 PyObject
* obj0
= 0 ;
27250 PyObject
* obj1
= 0 ;
27251 char *kwnames
[] = {
27252 (char *) "self",(char *) "dc", NULL
27255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyLineShape_Straighten",kwnames
,&obj0
,&obj1
)) goto fail
;
27256 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27258 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27262 (arg1
)->Straighten(arg2
);
27264 wxPyEndAllowThreads(__tstate
);
27265 if (PyErr_Occurred()) SWIG_fail
;
27267 Py_INCREF(Py_None
); resultobj
= Py_None
;
27274 static PyObject
*_wrap_PyLineShape_Unlink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27275 PyObject
*resultobj
;
27276 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27277 PyObject
* obj0
= 0 ;
27278 char *kwnames
[] = {
27279 (char *) "self", NULL
27282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_Unlink",kwnames
,&obj0
)) goto fail
;
27283 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27288 wxPyEndAllowThreads(__tstate
);
27289 if (PyErr_Occurred()) SWIG_fail
;
27291 Py_INCREF(Py_None
); resultobj
= Py_None
;
27298 static PyObject
*_wrap_PyLineShape_SetAlignmentOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27299 PyObject
*resultobj
;
27300 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27303 PyObject
* obj0
= 0 ;
27304 PyObject
* obj1
= 0 ;
27305 PyObject
* obj2
= 0 ;
27306 char *kwnames
[] = {
27307 (char *) "self",(char *) "isEnd",(char *) "isHoriz", NULL
27310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_SetAlignmentOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27311 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27313 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
27314 if (PyErr_Occurred()) SWIG_fail
;
27317 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
27318 if (PyErr_Occurred()) SWIG_fail
;
27321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27322 (arg1
)->SetAlignmentOrientation(arg2
,arg3
);
27324 wxPyEndAllowThreads(__tstate
);
27325 if (PyErr_Occurred()) SWIG_fail
;
27327 Py_INCREF(Py_None
); resultobj
= Py_None
;
27334 static PyObject
*_wrap_PyLineShape_SetAlignmentType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27335 PyObject
*resultobj
;
27336 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27339 PyObject
* obj0
= 0 ;
27340 PyObject
* obj1
= 0 ;
27341 PyObject
* obj2
= 0 ;
27342 char *kwnames
[] = {
27343 (char *) "self",(char *) "isEnd",(char *) "alignType", NULL
27346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_SetAlignmentType",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27347 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27349 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
27350 if (PyErr_Occurred()) SWIG_fail
;
27353 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27354 if (PyErr_Occurred()) SWIG_fail
;
27357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27358 (arg1
)->SetAlignmentType(arg2
,arg3
);
27360 wxPyEndAllowThreads(__tstate
);
27361 if (PyErr_Occurred()) SWIG_fail
;
27363 Py_INCREF(Py_None
); resultobj
= Py_None
;
27370 static PyObject
*_wrap_PyLineShape_GetAlignmentOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27371 PyObject
*resultobj
;
27372 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27375 PyObject
* obj0
= 0 ;
27376 PyObject
* obj1
= 0 ;
27377 char *kwnames
[] = {
27378 (char *) "self",(char *) "isEnd", NULL
27381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_GetAlignmentOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
27382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27384 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
27385 if (PyErr_Occurred()) SWIG_fail
;
27388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27389 result
= (bool)(arg1
)->GetAlignmentOrientation(arg2
);
27391 wxPyEndAllowThreads(__tstate
);
27392 if (PyErr_Occurred()) SWIG_fail
;
27394 resultobj
= SWIG_PyObj_FromBool((bool)result
);
27401 static PyObject
*_wrap_PyLineShape_GetAlignmentType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27402 PyObject
*resultobj
;
27403 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27406 PyObject
* obj0
= 0 ;
27407 PyObject
* obj1
= 0 ;
27408 char *kwnames
[] = {
27409 (char *) "self",(char *) "isEnd", NULL
27412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_GetAlignmentType",kwnames
,&obj0
,&obj1
)) goto fail
;
27413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27415 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
27416 if (PyErr_Occurred()) SWIG_fail
;
27419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27420 result
= (int)(arg1
)->GetAlignmentType(arg2
);
27422 wxPyEndAllowThreads(__tstate
);
27423 if (PyErr_Occurred()) SWIG_fail
;
27425 resultobj
= SWIG_PyObj_FromInt((int)result
);
27432 static PyObject
*_wrap_PyLineShape_GetAlignmentStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27433 PyObject
*resultobj
;
27434 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27436 PyObject
* obj0
= 0 ;
27437 char *kwnames
[] = {
27438 (char *) "self", NULL
27441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetAlignmentStart",kwnames
,&obj0
)) goto fail
;
27442 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27445 result
= (int)((wxPyLineShape
const *)arg1
)->GetAlignmentStart();
27447 wxPyEndAllowThreads(__tstate
);
27448 if (PyErr_Occurred()) SWIG_fail
;
27450 resultobj
= SWIG_PyObj_FromInt((int)result
);
27457 static PyObject
*_wrap_PyLineShape_GetAlignmentEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27458 PyObject
*resultobj
;
27459 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27461 PyObject
* obj0
= 0 ;
27462 char *kwnames
[] = {
27463 (char *) "self", NULL
27466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetAlignmentEnd",kwnames
,&obj0
)) goto fail
;
27467 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27470 result
= (int)((wxPyLineShape
const *)arg1
)->GetAlignmentEnd();
27472 wxPyEndAllowThreads(__tstate
);
27473 if (PyErr_Occurred()) SWIG_fail
;
27475 resultobj
= SWIG_PyObj_FromInt((int)result
);
27482 static PyObject
*_wrap_PyLineShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27483 PyObject
*resultobj
;
27484 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27486 PyObject
* obj0
= 0 ;
27487 PyObject
* obj1
= 0 ;
27488 char *kwnames
[] = {
27489 (char *) "self",(char *) "dc", NULL
27492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
27493 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27494 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27495 if (arg2
== NULL
) {
27496 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
27499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27500 (arg1
)->base_OnDraw(*arg2
);
27502 wxPyEndAllowThreads(__tstate
);
27503 if (PyErr_Occurred()) SWIG_fail
;
27505 Py_INCREF(Py_None
); resultobj
= Py_None
;
27512 static PyObject
*_wrap_PyLineShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27513 PyObject
*resultobj
;
27514 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27516 PyObject
* obj0
= 0 ;
27517 PyObject
* obj1
= 0 ;
27518 char *kwnames
[] = {
27519 (char *) "self",(char *) "dc", NULL
27522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
27523 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27524 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27525 if (arg2
== NULL
) {
27526 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
27529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27530 (arg1
)->base_OnDrawContents(*arg2
);
27532 wxPyEndAllowThreads(__tstate
);
27533 if (PyErr_Occurred()) SWIG_fail
;
27535 Py_INCREF(Py_None
); resultobj
= Py_None
;
27542 static PyObject
*_wrap_PyLineShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27543 PyObject
*resultobj
;
27544 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27546 bool arg3
= (bool) FALSE
;
27547 PyObject
* obj0
= 0 ;
27548 PyObject
* obj1
= 0 ;
27549 PyObject
* obj2
= 0 ;
27550 char *kwnames
[] = {
27551 (char *) "self",(char *) "dc",(char *) "erase", NULL
27554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLineShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27555 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27556 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27557 if (arg2
== NULL
) {
27558 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
27562 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
27563 if (PyErr_Occurred()) SWIG_fail
;
27567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27568 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
27570 wxPyEndAllowThreads(__tstate
);
27571 if (PyErr_Occurred()) SWIG_fail
;
27573 Py_INCREF(Py_None
); resultobj
= Py_None
;
27580 static PyObject
*_wrap_PyLineShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27581 PyObject
*resultobj
;
27582 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27584 PyObject
* obj0
= 0 ;
27585 PyObject
* obj1
= 0 ;
27586 char *kwnames
[] = {
27587 (char *) "self",(char *) "dc", NULL
27590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
27591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27592 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27593 if (arg2
== NULL
) {
27594 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
27597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27598 (arg1
)->base_OnMoveLinks(*arg2
);
27600 wxPyEndAllowThreads(__tstate
);
27601 if (PyErr_Occurred()) SWIG_fail
;
27603 Py_INCREF(Py_None
); resultobj
= Py_None
;
27610 static PyObject
*_wrap_PyLineShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27611 PyObject
*resultobj
;
27612 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27614 PyObject
* obj0
= 0 ;
27615 PyObject
* obj1
= 0 ;
27616 char *kwnames
[] = {
27617 (char *) "self",(char *) "dc", NULL
27620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
27621 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27622 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27623 if (arg2
== NULL
) {
27624 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
27627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27628 (arg1
)->base_OnErase(*arg2
);
27630 wxPyEndAllowThreads(__tstate
);
27631 if (PyErr_Occurred()) SWIG_fail
;
27633 Py_INCREF(Py_None
); resultobj
= Py_None
;
27640 static PyObject
*_wrap_PyLineShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27641 PyObject
*resultobj
;
27642 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27644 PyObject
* obj0
= 0 ;
27645 PyObject
* obj1
= 0 ;
27646 char *kwnames
[] = {
27647 (char *) "self",(char *) "dc", NULL
27650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
27651 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27652 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27653 if (arg2
== NULL
) {
27654 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
27657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27658 (arg1
)->base_OnEraseContents(*arg2
);
27660 wxPyEndAllowThreads(__tstate
);
27661 if (PyErr_Occurred()) SWIG_fail
;
27663 Py_INCREF(Py_None
); resultobj
= Py_None
;
27670 static PyObject
*_wrap_PyLineShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27671 PyObject
*resultobj
;
27672 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27674 PyObject
* obj0
= 0 ;
27675 PyObject
* obj1
= 0 ;
27676 char *kwnames
[] = {
27677 (char *) "self",(char *) "dc", NULL
27680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
27681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27682 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27683 if (arg2
== NULL
) {
27684 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
27687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27688 (arg1
)->base_OnHighlight(*arg2
);
27690 wxPyEndAllowThreads(__tstate
);
27691 if (PyErr_Occurred()) SWIG_fail
;
27693 Py_INCREF(Py_None
); resultobj
= Py_None
;
27700 static PyObject
*_wrap_PyLineShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27701 PyObject
*resultobj
;
27702 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27705 int arg4
= (int) 0 ;
27706 int arg5
= (int) 0 ;
27707 PyObject
* obj0
= 0 ;
27708 PyObject
* obj1
= 0 ;
27709 PyObject
* obj2
= 0 ;
27710 PyObject
* obj3
= 0 ;
27711 PyObject
* obj4
= 0 ;
27712 char *kwnames
[] = {
27713 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27717 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27719 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
27720 if (PyErr_Occurred()) SWIG_fail
;
27723 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
27724 if (PyErr_Occurred()) SWIG_fail
;
27728 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
27729 if (PyErr_Occurred()) SWIG_fail
;
27734 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
27735 if (PyErr_Occurred()) SWIG_fail
;
27739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27740 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
27742 wxPyEndAllowThreads(__tstate
);
27743 if (PyErr_Occurred()) SWIG_fail
;
27745 Py_INCREF(Py_None
); resultobj
= Py_None
;
27752 static PyObject
*_wrap_PyLineShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27753 PyObject
*resultobj
;
27754 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27757 int arg4
= (int) 0 ;
27758 int arg5
= (int) 0 ;
27759 PyObject
* obj0
= 0 ;
27760 PyObject
* obj1
= 0 ;
27761 PyObject
* obj2
= 0 ;
27762 PyObject
* obj3
= 0 ;
27763 PyObject
* obj4
= 0 ;
27764 char *kwnames
[] = {
27765 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27771 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
27772 if (PyErr_Occurred()) SWIG_fail
;
27775 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
27776 if (PyErr_Occurred()) SWIG_fail
;
27780 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
27781 if (PyErr_Occurred()) SWIG_fail
;
27786 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
27787 if (PyErr_Occurred()) SWIG_fail
;
27791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27792 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
27794 wxPyEndAllowThreads(__tstate
);
27795 if (PyErr_Occurred()) SWIG_fail
;
27797 Py_INCREF(Py_None
); resultobj
= Py_None
;
27804 static PyObject
*_wrap_PyLineShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27805 PyObject
*resultobj
;
27806 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27809 int arg4
= (int) 0 ;
27810 int arg5
= (int) 0 ;
27811 PyObject
* obj0
= 0 ;
27812 PyObject
* obj1
= 0 ;
27813 PyObject
* obj2
= 0 ;
27814 PyObject
* obj3
= 0 ;
27815 PyObject
* obj4
= 0 ;
27816 char *kwnames
[] = {
27817 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27821 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27823 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
27824 if (PyErr_Occurred()) SWIG_fail
;
27827 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
27828 if (PyErr_Occurred()) SWIG_fail
;
27832 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
27833 if (PyErr_Occurred()) SWIG_fail
;
27838 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
27839 if (PyErr_Occurred()) SWIG_fail
;
27843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27844 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
27846 wxPyEndAllowThreads(__tstate
);
27847 if (PyErr_Occurred()) SWIG_fail
;
27849 Py_INCREF(Py_None
); resultobj
= Py_None
;
27856 static PyObject
*_wrap_PyLineShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27857 PyObject
*resultobj
;
27858 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27861 PyObject
* obj0
= 0 ;
27862 PyObject
* obj1
= 0 ;
27863 PyObject
* obj2
= 0 ;
27864 char *kwnames
[] = {
27865 (char *) "self",(char *) "x",(char *) "y", NULL
27868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27869 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27871 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
27872 if (PyErr_Occurred()) SWIG_fail
;
27875 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
27876 if (PyErr_Occurred()) SWIG_fail
;
27879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27880 (arg1
)->base_OnSize(arg2
,arg3
);
27882 wxPyEndAllowThreads(__tstate
);
27883 if (PyErr_Occurred()) SWIG_fail
;
27885 Py_INCREF(Py_None
); resultobj
= Py_None
;
27892 static PyObject
*_wrap_PyLineShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27893 PyObject
*resultobj
;
27894 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27900 bool arg7
= (bool) True
;
27902 PyObject
* obj0
= 0 ;
27903 PyObject
* obj1
= 0 ;
27904 PyObject
* obj2
= 0 ;
27905 PyObject
* obj3
= 0 ;
27906 PyObject
* obj4
= 0 ;
27907 PyObject
* obj5
= 0 ;
27908 PyObject
* obj6
= 0 ;
27909 char *kwnames
[] = {
27910 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
27913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyLineShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27914 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27915 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27916 if (arg2
== NULL
) {
27917 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
27920 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
27921 if (PyErr_Occurred()) SWIG_fail
;
27924 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
27925 if (PyErr_Occurred()) SWIG_fail
;
27928 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
27929 if (PyErr_Occurred()) SWIG_fail
;
27932 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
27933 if (PyErr_Occurred()) SWIG_fail
;
27937 arg7
= (bool) SWIG_PyObj_AsBool(obj6
);
27938 if (PyErr_Occurred()) SWIG_fail
;
27942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27943 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27945 wxPyEndAllowThreads(__tstate
);
27946 if (PyErr_Occurred()) SWIG_fail
;
27948 resultobj
= SWIG_PyObj_FromBool((bool)result
);
27955 static PyObject
*_wrap_PyLineShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27956 PyObject
*resultobj
;
27957 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27963 bool arg7
= (bool) True
;
27964 PyObject
* obj0
= 0 ;
27965 PyObject
* obj1
= 0 ;
27966 PyObject
* obj2
= 0 ;
27967 PyObject
* obj3
= 0 ;
27968 PyObject
* obj4
= 0 ;
27969 PyObject
* obj5
= 0 ;
27970 PyObject
* obj6
= 0 ;
27971 char *kwnames
[] = {
27972 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
27975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyLineShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27976 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27977 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27978 if (arg2
== NULL
) {
27979 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
27982 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
27983 if (PyErr_Occurred()) SWIG_fail
;
27986 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
27987 if (PyErr_Occurred()) SWIG_fail
;
27990 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
27991 if (PyErr_Occurred()) SWIG_fail
;
27994 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
27995 if (PyErr_Occurred()) SWIG_fail
;
27999 arg7
= (bool) SWIG_PyObj_AsBool(obj6
);
28000 if (PyErr_Occurred()) SWIG_fail
;
28004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28005 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
28007 wxPyEndAllowThreads(__tstate
);
28008 if (PyErr_Occurred()) SWIG_fail
;
28010 Py_INCREF(Py_None
); resultobj
= Py_None
;
28017 static PyObject
*_wrap_PyLineShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28018 PyObject
*resultobj
;
28019 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
28023 int arg5
= (int) 0 ;
28024 int arg6
= (int) 0 ;
28025 PyObject
* obj0
= 0 ;
28026 PyObject
* obj1
= 0 ;
28027 PyObject
* obj2
= 0 ;
28028 PyObject
* obj3
= 0 ;
28029 PyObject
* obj4
= 0 ;
28030 PyObject
* obj5
= 0 ;
28031 char *kwnames
[] = {
28032 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyLineShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28036 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28038 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
28039 if (PyErr_Occurred()) SWIG_fail
;
28042 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
28043 if (PyErr_Occurred()) SWIG_fail
;
28046 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
28047 if (PyErr_Occurred()) SWIG_fail
;
28051 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
28052 if (PyErr_Occurred()) SWIG_fail
;
28057 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
28058 if (PyErr_Occurred()) SWIG_fail
;
28062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28063 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
28065 wxPyEndAllowThreads(__tstate
);
28066 if (PyErr_Occurred()) SWIG_fail
;
28068 Py_INCREF(Py_None
); resultobj
= Py_None
;
28075 static PyObject
*_wrap_PyLineShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28076 PyObject
*resultobj
;
28077 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
28080 int arg4
= (int) 0 ;
28081 int arg5
= (int) 0 ;
28082 PyObject
* obj0
= 0 ;
28083 PyObject
* obj1
= 0 ;
28084 PyObject
* obj2
= 0 ;
28085 PyObject
* obj3
= 0 ;
28086 PyObject
* obj4
= 0 ;
28087 char *kwnames
[] = {
28088 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28092 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28094 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
28095 if (PyErr_Occurred()) SWIG_fail
;
28098 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
28099 if (PyErr_Occurred()) SWIG_fail
;
28103 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
28104 if (PyErr_Occurred()) SWIG_fail
;
28109 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
28110 if (PyErr_Occurred()) SWIG_fail
;
28114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28115 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
28117 wxPyEndAllowThreads(__tstate
);
28118 if (PyErr_Occurred()) SWIG_fail
;
28120 Py_INCREF(Py_None
); resultobj
= Py_None
;
28127 static PyObject
*_wrap_PyLineShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28128 PyObject
*resultobj
;
28129 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
28132 int arg4
= (int) 0 ;
28133 int arg5
= (int) 0 ;
28134 PyObject
* obj0
= 0 ;
28135 PyObject
* obj1
= 0 ;
28136 PyObject
* obj2
= 0 ;
28137 PyObject
* obj3
= 0 ;
28138 PyObject
* obj4
= 0 ;
28139 char *kwnames
[] = {
28140 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28144 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28146 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
28147 if (PyErr_Occurred()) SWIG_fail
;
28150 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
28151 if (PyErr_Occurred()) SWIG_fail
;
28155 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
28156 if (PyErr_Occurred()) SWIG_fail
;
28161 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
28162 if (PyErr_Occurred()) SWIG_fail
;
28166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28167 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
28169 wxPyEndAllowThreads(__tstate
);
28170 if (PyErr_Occurred()) SWIG_fail
;
28172 Py_INCREF(Py_None
); resultobj
= Py_None
;
28179 static PyObject
*_wrap_PyLineShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28180 PyObject
*resultobj
;
28181 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
28185 int arg5
= (int) 0 ;
28186 int arg6
= (int) 0 ;
28187 PyObject
* obj0
= 0 ;
28188 PyObject
* obj1
= 0 ;
28189 PyObject
* obj2
= 0 ;
28190 PyObject
* obj3
= 0 ;
28191 PyObject
* obj4
= 0 ;
28192 PyObject
* obj5
= 0 ;
28193 char *kwnames
[] = {
28194 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyLineShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28198 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28200 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
28201 if (PyErr_Occurred()) SWIG_fail
;
28204 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
28205 if (PyErr_Occurred()) SWIG_fail
;
28208 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
28209 if (PyErr_Occurred()) SWIG_fail
;
28213 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
28214 if (PyErr_Occurred()) SWIG_fail
;
28219 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
28220 if (PyErr_Occurred()) SWIG_fail
;
28224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28225 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
28227 wxPyEndAllowThreads(__tstate
);
28228 if (PyErr_Occurred()) SWIG_fail
;
28230 Py_INCREF(Py_None
); resultobj
= Py_None
;
28237 static PyObject
*_wrap_PyLineShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28238 PyObject
*resultobj
;
28239 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
28242 int arg4
= (int) 0 ;
28243 int arg5
= (int) 0 ;
28244 PyObject
* obj0
= 0 ;
28245 PyObject
* obj1
= 0 ;
28246 PyObject
* obj2
= 0 ;
28247 PyObject
* obj3
= 0 ;
28248 PyObject
* obj4
= 0 ;
28249 char *kwnames
[] = {
28250 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28256 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
28257 if (PyErr_Occurred()) SWIG_fail
;
28260 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
28261 if (PyErr_Occurred()) SWIG_fail
;
28265 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
28266 if (PyErr_Occurred()) SWIG_fail
;
28271 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
28272 if (PyErr_Occurred()) SWIG_fail
;
28276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28277 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
28279 wxPyEndAllowThreads(__tstate
);
28280 if (PyErr_Occurred()) SWIG_fail
;
28282 Py_INCREF(Py_None
); resultobj
= Py_None
;
28289 static PyObject
*_wrap_PyLineShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28290 PyObject
*resultobj
;
28291 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
28294 int arg4
= (int) 0 ;
28295 int arg5
= (int) 0 ;
28296 PyObject
* obj0
= 0 ;
28297 PyObject
* obj1
= 0 ;
28298 PyObject
* obj2
= 0 ;
28299 PyObject
* obj3
= 0 ;
28300 PyObject
* obj4
= 0 ;
28301 char *kwnames
[] = {
28302 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28306 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28308 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
28309 if (PyErr_Occurred()) SWIG_fail
;
28312 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
28313 if (PyErr_Occurred()) SWIG_fail
;
28317 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
28318 if (PyErr_Occurred()) SWIG_fail
;
28323 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
28324 if (PyErr_Occurred()) SWIG_fail
;
28328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28329 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
28331 wxPyEndAllowThreads(__tstate
);
28332 if (PyErr_Occurred()) SWIG_fail
;
28334 Py_INCREF(Py_None
); resultobj
= Py_None
;
28341 static PyObject
*_wrap_PyLineShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28342 PyObject
*resultobj
;
28343 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
28349 PyObject
* obj0
= 0 ;
28350 PyObject
* obj1
= 0 ;
28351 PyObject
* obj2
= 0 ;
28352 PyObject
* obj3
= 0 ;
28353 PyObject
* obj4
= 0 ;
28354 PyObject
* obj5
= 0 ;
28355 char *kwnames
[] = {
28356 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
28359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyLineShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28360 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28361 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28362 if (arg2
== NULL
) {
28363 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28366 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
28367 if (PyErr_Occurred()) SWIG_fail
;
28370 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
28371 if (PyErr_Occurred()) SWIG_fail
;
28374 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
28375 if (PyErr_Occurred()) SWIG_fail
;
28378 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
28379 if (PyErr_Occurred()) SWIG_fail
;
28382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28383 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
28385 wxPyEndAllowThreads(__tstate
);
28386 if (PyErr_Occurred()) SWIG_fail
;
28388 Py_INCREF(Py_None
); resultobj
= Py_None
;
28395 static PyObject
*_wrap_PyLineShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28396 PyObject
*resultobj
;
28397 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
28399 PyObject
* obj0
= 0 ;
28400 PyObject
* obj1
= 0 ;
28401 char *kwnames
[] = {
28402 (char *) "self",(char *) "dc", NULL
28405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
28406 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28407 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28408 if (arg2
== NULL
) {
28409 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28413 (arg1
)->base_OnDrawControlPoints(*arg2
);
28415 wxPyEndAllowThreads(__tstate
);
28416 if (PyErr_Occurred()) SWIG_fail
;
28418 Py_INCREF(Py_None
); resultobj
= Py_None
;
28425 static PyObject
*_wrap_PyLineShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28426 PyObject
*resultobj
;
28427 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
28429 PyObject
* obj0
= 0 ;
28430 PyObject
* obj1
= 0 ;
28431 char *kwnames
[] = {
28432 (char *) "self",(char *) "dc", NULL
28435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
28436 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28437 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28438 if (arg2
== NULL
) {
28439 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28443 (arg1
)->base_OnEraseControlPoints(*arg2
);
28445 wxPyEndAllowThreads(__tstate
);
28446 if (PyErr_Occurred()) SWIG_fail
;
28448 Py_INCREF(Py_None
); resultobj
= Py_None
;
28455 static PyObject
*_wrap_PyLineShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28456 PyObject
*resultobj
;
28457 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
28459 bool arg3
= (bool) True
;
28460 PyObject
* obj0
= 0 ;
28461 PyObject
* obj1
= 0 ;
28462 PyObject
* obj2
= 0 ;
28463 char *kwnames
[] = {
28464 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
28467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLineShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28469 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28470 if (arg2
== NULL
) {
28471 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28475 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
28476 if (PyErr_Occurred()) SWIG_fail
;
28480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28481 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
28483 wxPyEndAllowThreads(__tstate
);
28484 if (PyErr_Occurred()) SWIG_fail
;
28486 Py_INCREF(Py_None
); resultobj
= Py_None
;
28493 static PyObject
*_wrap_PyLineShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28494 PyObject
*resultobj
;
28495 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
28496 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
28500 int arg6
= (int) 0 ;
28501 int arg7
= (int) 0 ;
28502 PyObject
* obj0
= 0 ;
28503 PyObject
* obj1
= 0 ;
28504 PyObject
* obj2
= 0 ;
28505 PyObject
* obj3
= 0 ;
28506 PyObject
* obj4
= 0 ;
28507 PyObject
* obj5
= 0 ;
28508 PyObject
* obj6
= 0 ;
28509 char *kwnames
[] = {
28510 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyLineShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
28514 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28515 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28517 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
28518 if (PyErr_Occurred()) SWIG_fail
;
28521 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
28522 if (PyErr_Occurred()) SWIG_fail
;
28525 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
28526 if (PyErr_Occurred()) SWIG_fail
;
28530 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
28531 if (PyErr_Occurred()) SWIG_fail
;
28536 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
28537 if (PyErr_Occurred()) SWIG_fail
;
28541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28542 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
28544 wxPyEndAllowThreads(__tstate
);
28545 if (PyErr_Occurred()) SWIG_fail
;
28547 Py_INCREF(Py_None
); resultobj
= Py_None
;
28554 static PyObject
*_wrap_PyLineShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28555 PyObject
*resultobj
;
28556 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
28557 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
28560 int arg5
= (int) 0 ;
28561 int arg6
= (int) 0 ;
28562 PyObject
* obj0
= 0 ;
28563 PyObject
* obj1
= 0 ;
28564 PyObject
* obj2
= 0 ;
28565 PyObject
* obj3
= 0 ;
28566 PyObject
* obj4
= 0 ;
28567 PyObject
* obj5
= 0 ;
28568 char *kwnames
[] = {
28569 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyLineShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28573 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28574 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28576 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
28577 if (PyErr_Occurred()) SWIG_fail
;
28580 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
28581 if (PyErr_Occurred()) SWIG_fail
;
28585 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
28586 if (PyErr_Occurred()) SWIG_fail
;
28591 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
28592 if (PyErr_Occurred()) SWIG_fail
;
28596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28597 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
28599 wxPyEndAllowThreads(__tstate
);
28600 if (PyErr_Occurred()) SWIG_fail
;
28602 Py_INCREF(Py_None
); resultobj
= Py_None
;
28609 static PyObject
*_wrap_PyLineShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28610 PyObject
*resultobj
;
28611 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
28612 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
28615 int arg5
= (int) 0 ;
28616 int arg6
= (int) 0 ;
28617 PyObject
* obj0
= 0 ;
28618 PyObject
* obj1
= 0 ;
28619 PyObject
* obj2
= 0 ;
28620 PyObject
* obj3
= 0 ;
28621 PyObject
* obj4
= 0 ;
28622 PyObject
* obj5
= 0 ;
28623 char *kwnames
[] = {
28624 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyLineShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28628 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28629 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28631 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
28632 if (PyErr_Occurred()) SWIG_fail
;
28635 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
28636 if (PyErr_Occurred()) SWIG_fail
;
28640 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
28641 if (PyErr_Occurred()) SWIG_fail
;
28646 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
28647 if (PyErr_Occurred()) SWIG_fail
;
28651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28652 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
28654 wxPyEndAllowThreads(__tstate
);
28655 if (PyErr_Occurred()) SWIG_fail
;
28657 Py_INCREF(Py_None
); resultobj
= Py_None
;
28664 static PyObject
*_wrap_PyLineShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28665 PyObject
*resultobj
;
28666 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
28669 PyObject
* obj0
= 0 ;
28670 PyObject
* obj1
= 0 ;
28671 PyObject
* obj2
= 0 ;
28672 char *kwnames
[] = {
28673 (char *) "self",(char *) "w",(char *) "h", NULL
28676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28677 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28679 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
28680 if (PyErr_Occurred()) SWIG_fail
;
28683 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
28684 if (PyErr_Occurred()) SWIG_fail
;
28687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28688 (arg1
)->base_OnBeginSize(arg2
,arg3
);
28690 wxPyEndAllowThreads(__tstate
);
28691 if (PyErr_Occurred()) SWIG_fail
;
28693 Py_INCREF(Py_None
); resultobj
= Py_None
;
28700 static PyObject
*_wrap_PyLineShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28701 PyObject
*resultobj
;
28702 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
28705 PyObject
* obj0
= 0 ;
28706 PyObject
* obj1
= 0 ;
28707 PyObject
* obj2
= 0 ;
28708 char *kwnames
[] = {
28709 (char *) "self",(char *) "w",(char *) "h", NULL
28712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28713 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28715 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
28716 if (PyErr_Occurred()) SWIG_fail
;
28719 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
28720 if (PyErr_Occurred()) SWIG_fail
;
28723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28724 (arg1
)->base_OnEndSize(arg2
,arg3
);
28726 wxPyEndAllowThreads(__tstate
);
28727 if (PyErr_Occurred()) SWIG_fail
;
28729 Py_INCREF(Py_None
); resultobj
= Py_None
;
28736 static PyObject
* PyLineShape_swigregister(PyObject
*self
, PyObject
*args
) {
28738 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28739 SWIG_TypeClientData(SWIGTYPE_p_wxPyLineShape
, obj
);
28741 return Py_BuildValue((char *)"");
28743 static PyObject
*_wrap_new_PyPolygonShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28744 PyObject
*resultobj
;
28745 wxPyPolygonShape
*result
;
28746 char *kwnames
[] = {
28750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyPolygonShape",kwnames
)) goto fail
;
28752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28753 result
= (wxPyPolygonShape
*)new wxPyPolygonShape();
28755 wxPyEndAllowThreads(__tstate
);
28756 if (PyErr_Occurred()) SWIG_fail
;
28758 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPolygonShape
, 1);
28765 static PyObject
*_wrap_PyPolygonShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28766 PyObject
*resultobj
;
28767 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28768 PyObject
*arg2
= (PyObject
*) 0 ;
28769 PyObject
*arg3
= (PyObject
*) 0 ;
28770 PyObject
* obj0
= 0 ;
28771 PyObject
* obj1
= 0 ;
28772 PyObject
* obj2
= 0 ;
28773 char *kwnames
[] = {
28774 (char *) "self",(char *) "self",(char *) "_class", NULL
28777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPolygonShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28778 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28783 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28785 wxPyEndAllowThreads(__tstate
);
28786 if (PyErr_Occurred()) SWIG_fail
;
28788 Py_INCREF(Py_None
); resultobj
= Py_None
;
28795 static PyObject
*_wrap_PyPolygonShape_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28796 PyObject
*resultobj
;
28797 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28798 PyObject
*arg2
= (PyObject
*) 0 ;
28800 PyObject
* obj0
= 0 ;
28801 PyObject
* obj1
= 0 ;
28802 char *kwnames
[] = {
28803 (char *) "self",(char *) "points", NULL
28806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
28807 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28811 result
= (PyObject
*)wxPyPolygonShape_Create(arg1
,arg2
);
28813 wxPyEndAllowThreads(__tstate
);
28814 if (PyErr_Occurred()) SWIG_fail
;
28816 resultobj
= result
;
28823 static PyObject
*_wrap_PyPolygonShape_AddPolygonPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28824 PyObject
*resultobj
;
28825 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28826 int arg2
= (int) 0 ;
28827 PyObject
* obj0
= 0 ;
28828 PyObject
* obj1
= 0 ;
28829 char *kwnames
[] = {
28830 (char *) "self",(char *) "pos", NULL
28833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyPolygonShape_AddPolygonPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
28834 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28837 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28838 if (PyErr_Occurred()) SWIG_fail
;
28842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28843 (arg1
)->AddPolygonPoint(arg2
);
28845 wxPyEndAllowThreads(__tstate
);
28846 if (PyErr_Occurred()) SWIG_fail
;
28848 Py_INCREF(Py_None
); resultobj
= Py_None
;
28855 static PyObject
*_wrap_PyPolygonShape_CalculatePolygonCentre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28856 PyObject
*resultobj
;
28857 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28858 PyObject
* obj0
= 0 ;
28859 char *kwnames
[] = {
28860 (char *) "self", NULL
28863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_CalculatePolygonCentre",kwnames
,&obj0
)) goto fail
;
28864 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28867 (arg1
)->CalculatePolygonCentre();
28869 wxPyEndAllowThreads(__tstate
);
28870 if (PyErr_Occurred()) SWIG_fail
;
28872 Py_INCREF(Py_None
); resultobj
= Py_None
;
28879 static PyObject
*_wrap_PyPolygonShape_DeletePolygonPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28880 PyObject
*resultobj
;
28881 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28882 int arg2
= (int) 0 ;
28883 PyObject
* obj0
= 0 ;
28884 PyObject
* obj1
= 0 ;
28885 char *kwnames
[] = {
28886 (char *) "self",(char *) "pos", NULL
28889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyPolygonShape_DeletePolygonPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
28890 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28893 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28894 if (PyErr_Occurred()) SWIG_fail
;
28898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28899 (arg1
)->DeletePolygonPoint(arg2
);
28901 wxPyEndAllowThreads(__tstate
);
28902 if (PyErr_Occurred()) SWIG_fail
;
28904 Py_INCREF(Py_None
); resultobj
= Py_None
;
28911 static PyObject
*_wrap_PyPolygonShape_GetPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28912 PyObject
*resultobj
;
28913 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28915 PyObject
* obj0
= 0 ;
28916 char *kwnames
[] = {
28917 (char *) "self", NULL
28920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_GetPoints",kwnames
,&obj0
)) goto fail
;
28921 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28924 result
= (PyObject
*)wxPyPolygonShape_GetPoints(arg1
);
28926 wxPyEndAllowThreads(__tstate
);
28927 if (PyErr_Occurred()) SWIG_fail
;
28929 resultobj
= result
;
28936 static PyObject
*_wrap_PyPolygonShape_GetOriginalPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28937 PyObject
*resultobj
;
28938 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28940 PyObject
* obj0
= 0 ;
28941 char *kwnames
[] = {
28942 (char *) "self", NULL
28945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_GetOriginalPoints",kwnames
,&obj0
)) goto fail
;
28946 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28949 result
= (PyObject
*)wxPyPolygonShape_GetOriginalPoints(arg1
);
28951 wxPyEndAllowThreads(__tstate
);
28952 if (PyErr_Occurred()) SWIG_fail
;
28954 resultobj
= result
;
28961 static PyObject
*_wrap_PyPolygonShape_GetOriginalWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28962 PyObject
*resultobj
;
28963 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28965 PyObject
* obj0
= 0 ;
28966 char *kwnames
[] = {
28967 (char *) "self", NULL
28970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_GetOriginalWidth",kwnames
,&obj0
)) goto fail
;
28971 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28974 result
= (double)((wxPyPolygonShape
const *)arg1
)->GetOriginalWidth();
28976 wxPyEndAllowThreads(__tstate
);
28977 if (PyErr_Occurred()) SWIG_fail
;
28979 resultobj
= SWIG_PyObj_FromDouble((double)result
);
28986 static PyObject
*_wrap_PyPolygonShape_GetOriginalHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28987 PyObject
*resultobj
;
28988 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28990 PyObject
* obj0
= 0 ;
28991 char *kwnames
[] = {
28992 (char *) "self", NULL
28995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_GetOriginalHeight",kwnames
,&obj0
)) goto fail
;
28996 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28999 result
= (double)((wxPyPolygonShape
const *)arg1
)->GetOriginalHeight();
29001 wxPyEndAllowThreads(__tstate
);
29002 if (PyErr_Occurred()) SWIG_fail
;
29004 resultobj
= SWIG_PyObj_FromDouble((double)result
);
29011 static PyObject
*_wrap_PyPolygonShape_SetOriginalWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29012 PyObject
*resultobj
;
29013 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29015 PyObject
* obj0
= 0 ;
29016 PyObject
* obj1
= 0 ;
29017 char *kwnames
[] = {
29018 (char *) "self",(char *) "w", NULL
29021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_SetOriginalWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
29022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29024 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
29025 if (PyErr_Occurred()) SWIG_fail
;
29028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29029 (arg1
)->SetOriginalWidth(arg2
);
29031 wxPyEndAllowThreads(__tstate
);
29032 if (PyErr_Occurred()) SWIG_fail
;
29034 Py_INCREF(Py_None
); resultobj
= Py_None
;
29041 static PyObject
*_wrap_PyPolygonShape_SetOriginalHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29042 PyObject
*resultobj
;
29043 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29045 PyObject
* obj0
= 0 ;
29046 PyObject
* obj1
= 0 ;
29047 char *kwnames
[] = {
29048 (char *) "self",(char *) "h", NULL
29051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_SetOriginalHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
29052 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29054 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
29055 if (PyErr_Occurred()) SWIG_fail
;
29058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29059 (arg1
)->SetOriginalHeight(arg2
);
29061 wxPyEndAllowThreads(__tstate
);
29062 if (PyErr_Occurred()) SWIG_fail
;
29064 Py_INCREF(Py_None
); resultobj
= Py_None
;
29071 static PyObject
*_wrap_PyPolygonShape_UpdateOriginalPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29072 PyObject
*resultobj
;
29073 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29074 PyObject
* obj0
= 0 ;
29075 char *kwnames
[] = {
29076 (char *) "self", NULL
29079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_UpdateOriginalPoints",kwnames
,&obj0
)) goto fail
;
29080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29083 (arg1
)->UpdateOriginalPoints();
29085 wxPyEndAllowThreads(__tstate
);
29086 if (PyErr_Occurred()) SWIG_fail
;
29088 Py_INCREF(Py_None
); resultobj
= Py_None
;
29095 static PyObject
*_wrap_PyPolygonShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29096 PyObject
*resultobj
;
29097 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29099 PyObject
* obj0
= 0 ;
29100 PyObject
* obj1
= 0 ;
29101 char *kwnames
[] = {
29102 (char *) "self",(char *) "dc", NULL
29105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
29106 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29107 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29108 if (arg2
== NULL
) {
29109 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29113 (arg1
)->base_OnDraw(*arg2
);
29115 wxPyEndAllowThreads(__tstate
);
29116 if (PyErr_Occurred()) SWIG_fail
;
29118 Py_INCREF(Py_None
); resultobj
= Py_None
;
29125 static PyObject
*_wrap_PyPolygonShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29126 PyObject
*resultobj
;
29127 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29129 PyObject
* obj0
= 0 ;
29130 PyObject
* obj1
= 0 ;
29131 char *kwnames
[] = {
29132 (char *) "self",(char *) "dc", NULL
29135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
29136 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29137 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29138 if (arg2
== NULL
) {
29139 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29143 (arg1
)->base_OnDrawContents(*arg2
);
29145 wxPyEndAllowThreads(__tstate
);
29146 if (PyErr_Occurred()) SWIG_fail
;
29148 Py_INCREF(Py_None
); resultobj
= Py_None
;
29155 static PyObject
*_wrap_PyPolygonShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29156 PyObject
*resultobj
;
29157 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29159 bool arg3
= (bool) FALSE
;
29160 PyObject
* obj0
= 0 ;
29161 PyObject
* obj1
= 0 ;
29162 PyObject
* obj2
= 0 ;
29163 char *kwnames
[] = {
29164 (char *) "self",(char *) "dc",(char *) "erase", NULL
29167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyPolygonShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29168 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29169 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29170 if (arg2
== NULL
) {
29171 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29175 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
29176 if (PyErr_Occurred()) SWIG_fail
;
29180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29181 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
29183 wxPyEndAllowThreads(__tstate
);
29184 if (PyErr_Occurred()) SWIG_fail
;
29186 Py_INCREF(Py_None
); resultobj
= Py_None
;
29193 static PyObject
*_wrap_PyPolygonShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29194 PyObject
*resultobj
;
29195 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29197 PyObject
* obj0
= 0 ;
29198 PyObject
* obj1
= 0 ;
29199 char *kwnames
[] = {
29200 (char *) "self",(char *) "dc", NULL
29203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
29204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29205 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29206 if (arg2
== NULL
) {
29207 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29211 (arg1
)->base_OnMoveLinks(*arg2
);
29213 wxPyEndAllowThreads(__tstate
);
29214 if (PyErr_Occurred()) SWIG_fail
;
29216 Py_INCREF(Py_None
); resultobj
= Py_None
;
29223 static PyObject
*_wrap_PyPolygonShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29224 PyObject
*resultobj
;
29225 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29227 PyObject
* obj0
= 0 ;
29228 PyObject
* obj1
= 0 ;
29229 char *kwnames
[] = {
29230 (char *) "self",(char *) "dc", NULL
29233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
29234 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29235 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29236 if (arg2
== NULL
) {
29237 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29241 (arg1
)->base_OnErase(*arg2
);
29243 wxPyEndAllowThreads(__tstate
);
29244 if (PyErr_Occurred()) SWIG_fail
;
29246 Py_INCREF(Py_None
); resultobj
= Py_None
;
29253 static PyObject
*_wrap_PyPolygonShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29254 PyObject
*resultobj
;
29255 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29257 PyObject
* obj0
= 0 ;
29258 PyObject
* obj1
= 0 ;
29259 char *kwnames
[] = {
29260 (char *) "self",(char *) "dc", NULL
29263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
29264 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29265 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29266 if (arg2
== NULL
) {
29267 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29271 (arg1
)->base_OnEraseContents(*arg2
);
29273 wxPyEndAllowThreads(__tstate
);
29274 if (PyErr_Occurred()) SWIG_fail
;
29276 Py_INCREF(Py_None
); resultobj
= Py_None
;
29283 static PyObject
*_wrap_PyPolygonShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29284 PyObject
*resultobj
;
29285 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29287 PyObject
* obj0
= 0 ;
29288 PyObject
* obj1
= 0 ;
29289 char *kwnames
[] = {
29290 (char *) "self",(char *) "dc", NULL
29293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
29294 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29295 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29296 if (arg2
== NULL
) {
29297 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29301 (arg1
)->base_OnHighlight(*arg2
);
29303 wxPyEndAllowThreads(__tstate
);
29304 if (PyErr_Occurred()) SWIG_fail
;
29306 Py_INCREF(Py_None
); resultobj
= Py_None
;
29313 static PyObject
*_wrap_PyPolygonShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29314 PyObject
*resultobj
;
29315 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29318 int arg4
= (int) 0 ;
29319 int arg5
= (int) 0 ;
29320 PyObject
* obj0
= 0 ;
29321 PyObject
* obj1
= 0 ;
29322 PyObject
* obj2
= 0 ;
29323 PyObject
* obj3
= 0 ;
29324 PyObject
* obj4
= 0 ;
29325 char *kwnames
[] = {
29326 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29330 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29332 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
29333 if (PyErr_Occurred()) SWIG_fail
;
29336 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
29337 if (PyErr_Occurred()) SWIG_fail
;
29341 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
29342 if (PyErr_Occurred()) SWIG_fail
;
29347 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
29348 if (PyErr_Occurred()) SWIG_fail
;
29352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29353 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
29355 wxPyEndAllowThreads(__tstate
);
29356 if (PyErr_Occurred()) SWIG_fail
;
29358 Py_INCREF(Py_None
); resultobj
= Py_None
;
29365 static PyObject
*_wrap_PyPolygonShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29366 PyObject
*resultobj
;
29367 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29370 int arg4
= (int) 0 ;
29371 int arg5
= (int) 0 ;
29372 PyObject
* obj0
= 0 ;
29373 PyObject
* obj1
= 0 ;
29374 PyObject
* obj2
= 0 ;
29375 PyObject
* obj3
= 0 ;
29376 PyObject
* obj4
= 0 ;
29377 char *kwnames
[] = {
29378 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29384 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
29385 if (PyErr_Occurred()) SWIG_fail
;
29388 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
29389 if (PyErr_Occurred()) SWIG_fail
;
29393 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
29394 if (PyErr_Occurred()) SWIG_fail
;
29399 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
29400 if (PyErr_Occurred()) SWIG_fail
;
29404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29405 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
29407 wxPyEndAllowThreads(__tstate
);
29408 if (PyErr_Occurred()) SWIG_fail
;
29410 Py_INCREF(Py_None
); resultobj
= Py_None
;
29417 static PyObject
*_wrap_PyPolygonShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29418 PyObject
*resultobj
;
29419 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29422 int arg4
= (int) 0 ;
29423 int arg5
= (int) 0 ;
29424 PyObject
* obj0
= 0 ;
29425 PyObject
* obj1
= 0 ;
29426 PyObject
* obj2
= 0 ;
29427 PyObject
* obj3
= 0 ;
29428 PyObject
* obj4
= 0 ;
29429 char *kwnames
[] = {
29430 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29434 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29436 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
29437 if (PyErr_Occurred()) SWIG_fail
;
29440 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
29441 if (PyErr_Occurred()) SWIG_fail
;
29445 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
29446 if (PyErr_Occurred()) SWIG_fail
;
29451 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
29452 if (PyErr_Occurred()) SWIG_fail
;
29456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29457 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
29459 wxPyEndAllowThreads(__tstate
);
29460 if (PyErr_Occurred()) SWIG_fail
;
29462 Py_INCREF(Py_None
); resultobj
= Py_None
;
29469 static PyObject
*_wrap_PyPolygonShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29470 PyObject
*resultobj
;
29471 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29474 PyObject
* obj0
= 0 ;
29475 PyObject
* obj1
= 0 ;
29476 PyObject
* obj2
= 0 ;
29477 char *kwnames
[] = {
29478 (char *) "self",(char *) "x",(char *) "y", NULL
29481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPolygonShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29484 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
29485 if (PyErr_Occurred()) SWIG_fail
;
29488 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
29489 if (PyErr_Occurred()) SWIG_fail
;
29492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29493 (arg1
)->base_OnSize(arg2
,arg3
);
29495 wxPyEndAllowThreads(__tstate
);
29496 if (PyErr_Occurred()) SWIG_fail
;
29498 Py_INCREF(Py_None
); resultobj
= Py_None
;
29505 static PyObject
*_wrap_PyPolygonShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29506 PyObject
*resultobj
;
29507 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29513 bool arg7
= (bool) True
;
29515 PyObject
* obj0
= 0 ;
29516 PyObject
* obj1
= 0 ;
29517 PyObject
* obj2
= 0 ;
29518 PyObject
* obj3
= 0 ;
29519 PyObject
* obj4
= 0 ;
29520 PyObject
* obj5
= 0 ;
29521 PyObject
* obj6
= 0 ;
29522 char *kwnames
[] = {
29523 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
29526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyPolygonShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
29527 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29528 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29529 if (arg2
== NULL
) {
29530 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29533 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
29534 if (PyErr_Occurred()) SWIG_fail
;
29537 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
29538 if (PyErr_Occurred()) SWIG_fail
;
29541 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
29542 if (PyErr_Occurred()) SWIG_fail
;
29545 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
29546 if (PyErr_Occurred()) SWIG_fail
;
29550 arg7
= (bool) SWIG_PyObj_AsBool(obj6
);
29551 if (PyErr_Occurred()) SWIG_fail
;
29555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29556 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
29558 wxPyEndAllowThreads(__tstate
);
29559 if (PyErr_Occurred()) SWIG_fail
;
29561 resultobj
= SWIG_PyObj_FromBool((bool)result
);
29568 static PyObject
*_wrap_PyPolygonShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29569 PyObject
*resultobj
;
29570 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29576 bool arg7
= (bool) True
;
29577 PyObject
* obj0
= 0 ;
29578 PyObject
* obj1
= 0 ;
29579 PyObject
* obj2
= 0 ;
29580 PyObject
* obj3
= 0 ;
29581 PyObject
* obj4
= 0 ;
29582 PyObject
* obj5
= 0 ;
29583 PyObject
* obj6
= 0 ;
29584 char *kwnames
[] = {
29585 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
29588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyPolygonShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
29589 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29590 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29591 if (arg2
== NULL
) {
29592 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29595 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
29596 if (PyErr_Occurred()) SWIG_fail
;
29599 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
29600 if (PyErr_Occurred()) SWIG_fail
;
29603 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
29604 if (PyErr_Occurred()) SWIG_fail
;
29607 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
29608 if (PyErr_Occurred()) SWIG_fail
;
29612 arg7
= (bool) SWIG_PyObj_AsBool(obj6
);
29613 if (PyErr_Occurred()) SWIG_fail
;
29617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29618 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
29620 wxPyEndAllowThreads(__tstate
);
29621 if (PyErr_Occurred()) SWIG_fail
;
29623 Py_INCREF(Py_None
); resultobj
= Py_None
;
29630 static PyObject
*_wrap_PyPolygonShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29631 PyObject
*resultobj
;
29632 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29636 int arg5
= (int) 0 ;
29637 int arg6
= (int) 0 ;
29638 PyObject
* obj0
= 0 ;
29639 PyObject
* obj1
= 0 ;
29640 PyObject
* obj2
= 0 ;
29641 PyObject
* obj3
= 0 ;
29642 PyObject
* obj4
= 0 ;
29643 PyObject
* obj5
= 0 ;
29644 char *kwnames
[] = {
29645 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyPolygonShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29651 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
29652 if (PyErr_Occurred()) SWIG_fail
;
29655 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
29656 if (PyErr_Occurred()) SWIG_fail
;
29659 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
29660 if (PyErr_Occurred()) SWIG_fail
;
29664 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
29665 if (PyErr_Occurred()) SWIG_fail
;
29670 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
29671 if (PyErr_Occurred()) SWIG_fail
;
29675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29676 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
29678 wxPyEndAllowThreads(__tstate
);
29679 if (PyErr_Occurred()) SWIG_fail
;
29681 Py_INCREF(Py_None
); resultobj
= Py_None
;
29688 static PyObject
*_wrap_PyPolygonShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29689 PyObject
*resultobj
;
29690 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29693 int arg4
= (int) 0 ;
29694 int arg5
= (int) 0 ;
29695 PyObject
* obj0
= 0 ;
29696 PyObject
* obj1
= 0 ;
29697 PyObject
* obj2
= 0 ;
29698 PyObject
* obj3
= 0 ;
29699 PyObject
* obj4
= 0 ;
29700 char *kwnames
[] = {
29701 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29705 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29707 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
29708 if (PyErr_Occurred()) SWIG_fail
;
29711 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
29712 if (PyErr_Occurred()) SWIG_fail
;
29716 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
29717 if (PyErr_Occurred()) SWIG_fail
;
29722 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
29723 if (PyErr_Occurred()) SWIG_fail
;
29727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29728 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
29730 wxPyEndAllowThreads(__tstate
);
29731 if (PyErr_Occurred()) SWIG_fail
;
29733 Py_INCREF(Py_None
); resultobj
= Py_None
;
29740 static PyObject
*_wrap_PyPolygonShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29741 PyObject
*resultobj
;
29742 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29745 int arg4
= (int) 0 ;
29746 int arg5
= (int) 0 ;
29747 PyObject
* obj0
= 0 ;
29748 PyObject
* obj1
= 0 ;
29749 PyObject
* obj2
= 0 ;
29750 PyObject
* obj3
= 0 ;
29751 PyObject
* obj4
= 0 ;
29752 char *kwnames
[] = {
29753 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29757 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29759 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
29760 if (PyErr_Occurred()) SWIG_fail
;
29763 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
29764 if (PyErr_Occurred()) SWIG_fail
;
29768 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
29769 if (PyErr_Occurred()) SWIG_fail
;
29774 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
29775 if (PyErr_Occurred()) SWIG_fail
;
29779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29780 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
29782 wxPyEndAllowThreads(__tstate
);
29783 if (PyErr_Occurred()) SWIG_fail
;
29785 Py_INCREF(Py_None
); resultobj
= Py_None
;
29792 static PyObject
*_wrap_PyPolygonShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29793 PyObject
*resultobj
;
29794 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29798 int arg5
= (int) 0 ;
29799 int arg6
= (int) 0 ;
29800 PyObject
* obj0
= 0 ;
29801 PyObject
* obj1
= 0 ;
29802 PyObject
* obj2
= 0 ;
29803 PyObject
* obj3
= 0 ;
29804 PyObject
* obj4
= 0 ;
29805 PyObject
* obj5
= 0 ;
29806 char *kwnames
[] = {
29807 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyPolygonShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29811 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29813 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
29814 if (PyErr_Occurred()) SWIG_fail
;
29817 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
29818 if (PyErr_Occurred()) SWIG_fail
;
29821 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
29822 if (PyErr_Occurred()) SWIG_fail
;
29826 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
29827 if (PyErr_Occurred()) SWIG_fail
;
29832 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
29833 if (PyErr_Occurred()) SWIG_fail
;
29837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29838 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
29840 wxPyEndAllowThreads(__tstate
);
29841 if (PyErr_Occurred()) SWIG_fail
;
29843 Py_INCREF(Py_None
); resultobj
= Py_None
;
29850 static PyObject
*_wrap_PyPolygonShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29851 PyObject
*resultobj
;
29852 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29855 int arg4
= (int) 0 ;
29856 int arg5
= (int) 0 ;
29857 PyObject
* obj0
= 0 ;
29858 PyObject
* obj1
= 0 ;
29859 PyObject
* obj2
= 0 ;
29860 PyObject
* obj3
= 0 ;
29861 PyObject
* obj4
= 0 ;
29862 char *kwnames
[] = {
29863 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29867 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29869 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
29870 if (PyErr_Occurred()) SWIG_fail
;
29873 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
29874 if (PyErr_Occurred()) SWIG_fail
;
29878 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
29879 if (PyErr_Occurred()) SWIG_fail
;
29884 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
29885 if (PyErr_Occurred()) SWIG_fail
;
29889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29890 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
29892 wxPyEndAllowThreads(__tstate
);
29893 if (PyErr_Occurred()) SWIG_fail
;
29895 Py_INCREF(Py_None
); resultobj
= Py_None
;
29902 static PyObject
*_wrap_PyPolygonShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29903 PyObject
*resultobj
;
29904 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29907 int arg4
= (int) 0 ;
29908 int arg5
= (int) 0 ;
29909 PyObject
* obj0
= 0 ;
29910 PyObject
* obj1
= 0 ;
29911 PyObject
* obj2
= 0 ;
29912 PyObject
* obj3
= 0 ;
29913 PyObject
* obj4
= 0 ;
29914 char *kwnames
[] = {
29915 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29921 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
29922 if (PyErr_Occurred()) SWIG_fail
;
29925 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
29926 if (PyErr_Occurred()) SWIG_fail
;
29930 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
29931 if (PyErr_Occurred()) SWIG_fail
;
29936 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
29937 if (PyErr_Occurred()) SWIG_fail
;
29941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29942 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
29944 wxPyEndAllowThreads(__tstate
);
29945 if (PyErr_Occurred()) SWIG_fail
;
29947 Py_INCREF(Py_None
); resultobj
= Py_None
;
29954 static PyObject
*_wrap_PyPolygonShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29955 PyObject
*resultobj
;
29956 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29962 PyObject
* obj0
= 0 ;
29963 PyObject
* obj1
= 0 ;
29964 PyObject
* obj2
= 0 ;
29965 PyObject
* obj3
= 0 ;
29966 PyObject
* obj4
= 0 ;
29967 PyObject
* obj5
= 0 ;
29968 char *kwnames
[] = {
29969 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyPolygonShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29973 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29974 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29975 if (arg2
== NULL
) {
29976 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29979 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
29980 if (PyErr_Occurred()) SWIG_fail
;
29983 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
29984 if (PyErr_Occurred()) SWIG_fail
;
29987 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
29988 if (PyErr_Occurred()) SWIG_fail
;
29991 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
29992 if (PyErr_Occurred()) SWIG_fail
;
29995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29996 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
29998 wxPyEndAllowThreads(__tstate
);
29999 if (PyErr_Occurred()) SWIG_fail
;
30001 Py_INCREF(Py_None
); resultobj
= Py_None
;
30008 static PyObject
*_wrap_PyPolygonShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30009 PyObject
*resultobj
;
30010 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
30012 PyObject
* obj0
= 0 ;
30013 PyObject
* obj1
= 0 ;
30014 char *kwnames
[] = {
30015 (char *) "self",(char *) "dc", NULL
30018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
30019 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30020 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30021 if (arg2
== NULL
) {
30022 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
30025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30026 (arg1
)->base_OnDrawControlPoints(*arg2
);
30028 wxPyEndAllowThreads(__tstate
);
30029 if (PyErr_Occurred()) SWIG_fail
;
30031 Py_INCREF(Py_None
); resultobj
= Py_None
;
30038 static PyObject
*_wrap_PyPolygonShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30039 PyObject
*resultobj
;
30040 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
30042 PyObject
* obj0
= 0 ;
30043 PyObject
* obj1
= 0 ;
30044 char *kwnames
[] = {
30045 (char *) "self",(char *) "dc", NULL
30048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
30049 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30050 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30051 if (arg2
== NULL
) {
30052 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
30055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30056 (arg1
)->base_OnEraseControlPoints(*arg2
);
30058 wxPyEndAllowThreads(__tstate
);
30059 if (PyErr_Occurred()) SWIG_fail
;
30061 Py_INCREF(Py_None
); resultobj
= Py_None
;
30068 static PyObject
*_wrap_PyPolygonShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30069 PyObject
*resultobj
;
30070 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
30072 bool arg3
= (bool) True
;
30073 PyObject
* obj0
= 0 ;
30074 PyObject
* obj1
= 0 ;
30075 PyObject
* obj2
= 0 ;
30076 char *kwnames
[] = {
30077 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
30080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyPolygonShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30081 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30082 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30083 if (arg2
== NULL
) {
30084 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
30088 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
30089 if (PyErr_Occurred()) SWIG_fail
;
30093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30094 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
30096 wxPyEndAllowThreads(__tstate
);
30097 if (PyErr_Occurred()) SWIG_fail
;
30099 Py_INCREF(Py_None
); resultobj
= Py_None
;
30106 static PyObject
*_wrap_PyPolygonShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30107 PyObject
*resultobj
;
30108 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
30109 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
30113 int arg6
= (int) 0 ;
30114 int arg7
= (int) 0 ;
30115 PyObject
* obj0
= 0 ;
30116 PyObject
* obj1
= 0 ;
30117 PyObject
* obj2
= 0 ;
30118 PyObject
* obj3
= 0 ;
30119 PyObject
* obj4
= 0 ;
30120 PyObject
* obj5
= 0 ;
30121 PyObject
* obj6
= 0 ;
30122 char *kwnames
[] = {
30123 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyPolygonShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30127 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30128 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30130 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
30131 if (PyErr_Occurred()) SWIG_fail
;
30134 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
30135 if (PyErr_Occurred()) SWIG_fail
;
30138 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
30139 if (PyErr_Occurred()) SWIG_fail
;
30143 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
30144 if (PyErr_Occurred()) SWIG_fail
;
30149 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
30150 if (PyErr_Occurred()) SWIG_fail
;
30154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30155 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30157 wxPyEndAllowThreads(__tstate
);
30158 if (PyErr_Occurred()) SWIG_fail
;
30160 Py_INCREF(Py_None
); resultobj
= Py_None
;
30167 static PyObject
*_wrap_PyPolygonShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30168 PyObject
*resultobj
;
30169 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
30170 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
30173 int arg5
= (int) 0 ;
30174 int arg6
= (int) 0 ;
30175 PyObject
* obj0
= 0 ;
30176 PyObject
* obj1
= 0 ;
30177 PyObject
* obj2
= 0 ;
30178 PyObject
* obj3
= 0 ;
30179 PyObject
* obj4
= 0 ;
30180 PyObject
* obj5
= 0 ;
30181 char *kwnames
[] = {
30182 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyPolygonShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30186 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30187 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30189 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
30190 if (PyErr_Occurred()) SWIG_fail
;
30193 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
30194 if (PyErr_Occurred()) SWIG_fail
;
30198 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
30199 if (PyErr_Occurred()) SWIG_fail
;
30204 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
30205 if (PyErr_Occurred()) SWIG_fail
;
30209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30210 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
30212 wxPyEndAllowThreads(__tstate
);
30213 if (PyErr_Occurred()) SWIG_fail
;
30215 Py_INCREF(Py_None
); resultobj
= Py_None
;
30222 static PyObject
*_wrap_PyPolygonShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30223 PyObject
*resultobj
;
30224 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
30225 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
30228 int arg5
= (int) 0 ;
30229 int arg6
= (int) 0 ;
30230 PyObject
* obj0
= 0 ;
30231 PyObject
* obj1
= 0 ;
30232 PyObject
* obj2
= 0 ;
30233 PyObject
* obj3
= 0 ;
30234 PyObject
* obj4
= 0 ;
30235 PyObject
* obj5
= 0 ;
30236 char *kwnames
[] = {
30237 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyPolygonShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30241 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30242 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30244 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
30245 if (PyErr_Occurred()) SWIG_fail
;
30248 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
30249 if (PyErr_Occurred()) SWIG_fail
;
30253 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
30254 if (PyErr_Occurred()) SWIG_fail
;
30259 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
30260 if (PyErr_Occurred()) SWIG_fail
;
30264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30265 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
30267 wxPyEndAllowThreads(__tstate
);
30268 if (PyErr_Occurred()) SWIG_fail
;
30270 Py_INCREF(Py_None
); resultobj
= Py_None
;
30277 static PyObject
*_wrap_PyPolygonShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30278 PyObject
*resultobj
;
30279 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
30282 PyObject
* obj0
= 0 ;
30283 PyObject
* obj1
= 0 ;
30284 PyObject
* obj2
= 0 ;
30285 char *kwnames
[] = {
30286 (char *) "self",(char *) "w",(char *) "h", NULL
30289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPolygonShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30292 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
30293 if (PyErr_Occurred()) SWIG_fail
;
30296 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
30297 if (PyErr_Occurred()) SWIG_fail
;
30300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30301 (arg1
)->base_OnBeginSize(arg2
,arg3
);
30303 wxPyEndAllowThreads(__tstate
);
30304 if (PyErr_Occurred()) SWIG_fail
;
30306 Py_INCREF(Py_None
); resultobj
= Py_None
;
30313 static PyObject
*_wrap_PyPolygonShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30314 PyObject
*resultobj
;
30315 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
30318 PyObject
* obj0
= 0 ;
30319 PyObject
* obj1
= 0 ;
30320 PyObject
* obj2
= 0 ;
30321 char *kwnames
[] = {
30322 (char *) "self",(char *) "w",(char *) "h", NULL
30325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPolygonShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30326 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30328 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
30329 if (PyErr_Occurred()) SWIG_fail
;
30332 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
30333 if (PyErr_Occurred()) SWIG_fail
;
30336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30337 (arg1
)->base_OnEndSize(arg2
,arg3
);
30339 wxPyEndAllowThreads(__tstate
);
30340 if (PyErr_Occurred()) SWIG_fail
;
30342 Py_INCREF(Py_None
); resultobj
= Py_None
;
30349 static PyObject
* PyPolygonShape_swigregister(PyObject
*self
, PyObject
*args
) {
30351 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30352 SWIG_TypeClientData(SWIGTYPE_p_wxPyPolygonShape
, obj
);
30354 return Py_BuildValue((char *)"");
30356 static PyObject
*_wrap_new_PyTextShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30357 PyObject
*resultobj
;
30358 double arg1
= (double) 0.0 ;
30359 double arg2
= (double) 0.0 ;
30360 wxPyTextShape
*result
;
30361 PyObject
* obj0
= 0 ;
30362 PyObject
* obj1
= 0 ;
30363 char *kwnames
[] = {
30364 (char *) "width",(char *) "height", NULL
30367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyTextShape",kwnames
,&obj0
,&obj1
)) goto fail
;
30370 arg1
= (double) SWIG_PyObj_AsDouble(obj0
);
30371 if (PyErr_Occurred()) SWIG_fail
;
30376 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
30377 if (PyErr_Occurred()) SWIG_fail
;
30381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30382 result
= (wxPyTextShape
*)new wxPyTextShape(arg1
,arg2
);
30384 wxPyEndAllowThreads(__tstate
);
30385 if (PyErr_Occurred()) SWIG_fail
;
30387 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTextShape
, 1);
30394 static PyObject
*_wrap_PyTextShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30395 PyObject
*resultobj
;
30396 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30397 PyObject
*arg2
= (PyObject
*) 0 ;
30398 PyObject
*arg3
= (PyObject
*) 0 ;
30399 PyObject
* obj0
= 0 ;
30400 PyObject
* obj1
= 0 ;
30401 PyObject
* obj2
= 0 ;
30402 char *kwnames
[] = {
30403 (char *) "self",(char *) "self",(char *) "_class", NULL
30406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30407 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30412 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30414 wxPyEndAllowThreads(__tstate
);
30415 if (PyErr_Occurred()) SWIG_fail
;
30417 Py_INCREF(Py_None
); resultobj
= Py_None
;
30424 static PyObject
*_wrap_PyTextShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30425 PyObject
*resultobj
;
30426 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30427 PyObject
* obj0
= 0 ;
30428 char *kwnames
[] = {
30429 (char *) "self", NULL
30432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyTextShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
30433 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30436 (arg1
)->base_OnDelete();
30438 wxPyEndAllowThreads(__tstate
);
30439 if (PyErr_Occurred()) SWIG_fail
;
30441 Py_INCREF(Py_None
); resultobj
= Py_None
;
30448 static PyObject
*_wrap_PyTextShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30449 PyObject
*resultobj
;
30450 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30452 PyObject
* obj0
= 0 ;
30453 PyObject
* obj1
= 0 ;
30454 char *kwnames
[] = {
30455 (char *) "self",(char *) "dc", NULL
30458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
30459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30460 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30461 if (arg2
== NULL
) {
30462 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
30465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30466 (arg1
)->base_OnDraw(*arg2
);
30468 wxPyEndAllowThreads(__tstate
);
30469 if (PyErr_Occurred()) SWIG_fail
;
30471 Py_INCREF(Py_None
); resultobj
= Py_None
;
30478 static PyObject
*_wrap_PyTextShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30479 PyObject
*resultobj
;
30480 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30482 PyObject
* obj0
= 0 ;
30483 PyObject
* obj1
= 0 ;
30484 char *kwnames
[] = {
30485 (char *) "self",(char *) "dc", NULL
30488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
30489 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30490 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30491 if (arg2
== NULL
) {
30492 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
30495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30496 (arg1
)->base_OnDrawContents(*arg2
);
30498 wxPyEndAllowThreads(__tstate
);
30499 if (PyErr_Occurred()) SWIG_fail
;
30501 Py_INCREF(Py_None
); resultobj
= Py_None
;
30508 static PyObject
*_wrap_PyTextShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30509 PyObject
*resultobj
;
30510 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30512 bool arg3
= (bool) FALSE
;
30513 PyObject
* obj0
= 0 ;
30514 PyObject
* obj1
= 0 ;
30515 PyObject
* obj2
= 0 ;
30516 char *kwnames
[] = {
30517 (char *) "self",(char *) "dc",(char *) "erase", NULL
30520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyTextShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30522 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30523 if (arg2
== NULL
) {
30524 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
30528 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
30529 if (PyErr_Occurred()) SWIG_fail
;
30533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30534 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
30536 wxPyEndAllowThreads(__tstate
);
30537 if (PyErr_Occurred()) SWIG_fail
;
30539 Py_INCREF(Py_None
); resultobj
= Py_None
;
30546 static PyObject
*_wrap_PyTextShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30547 PyObject
*resultobj
;
30548 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30550 PyObject
* obj0
= 0 ;
30551 PyObject
* obj1
= 0 ;
30552 char *kwnames
[] = {
30553 (char *) "self",(char *) "dc", NULL
30556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
30557 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30558 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30559 if (arg2
== NULL
) {
30560 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
30563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30564 (arg1
)->base_OnMoveLinks(*arg2
);
30566 wxPyEndAllowThreads(__tstate
);
30567 if (PyErr_Occurred()) SWIG_fail
;
30569 Py_INCREF(Py_None
); resultobj
= Py_None
;
30576 static PyObject
*_wrap_PyTextShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30577 PyObject
*resultobj
;
30578 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30580 PyObject
* obj0
= 0 ;
30581 PyObject
* obj1
= 0 ;
30582 char *kwnames
[] = {
30583 (char *) "self",(char *) "dc", NULL
30586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
30587 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30588 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30589 if (arg2
== NULL
) {
30590 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
30593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30594 (arg1
)->base_OnErase(*arg2
);
30596 wxPyEndAllowThreads(__tstate
);
30597 if (PyErr_Occurred()) SWIG_fail
;
30599 Py_INCREF(Py_None
); resultobj
= Py_None
;
30606 static PyObject
*_wrap_PyTextShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30607 PyObject
*resultobj
;
30608 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30610 PyObject
* obj0
= 0 ;
30611 PyObject
* obj1
= 0 ;
30612 char *kwnames
[] = {
30613 (char *) "self",(char *) "dc", NULL
30616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
30617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30618 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30619 if (arg2
== NULL
) {
30620 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
30623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30624 (arg1
)->base_OnEraseContents(*arg2
);
30626 wxPyEndAllowThreads(__tstate
);
30627 if (PyErr_Occurred()) SWIG_fail
;
30629 Py_INCREF(Py_None
); resultobj
= Py_None
;
30636 static PyObject
*_wrap_PyTextShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30637 PyObject
*resultobj
;
30638 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30640 PyObject
* obj0
= 0 ;
30641 PyObject
* obj1
= 0 ;
30642 char *kwnames
[] = {
30643 (char *) "self",(char *) "dc", NULL
30646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
30647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30648 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30649 if (arg2
== NULL
) {
30650 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
30653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30654 (arg1
)->base_OnHighlight(*arg2
);
30656 wxPyEndAllowThreads(__tstate
);
30657 if (PyErr_Occurred()) SWIG_fail
;
30659 Py_INCREF(Py_None
); resultobj
= Py_None
;
30666 static PyObject
*_wrap_PyTextShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30667 PyObject
*resultobj
;
30668 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30671 int arg4
= (int) 0 ;
30672 int arg5
= (int) 0 ;
30673 PyObject
* obj0
= 0 ;
30674 PyObject
* obj1
= 0 ;
30675 PyObject
* obj2
= 0 ;
30676 PyObject
* obj3
= 0 ;
30677 PyObject
* obj4
= 0 ;
30678 char *kwnames
[] = {
30679 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30683 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30685 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
30686 if (PyErr_Occurred()) SWIG_fail
;
30689 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
30690 if (PyErr_Occurred()) SWIG_fail
;
30694 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
30695 if (PyErr_Occurred()) SWIG_fail
;
30700 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
30701 if (PyErr_Occurred()) SWIG_fail
;
30705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30706 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
30708 wxPyEndAllowThreads(__tstate
);
30709 if (PyErr_Occurred()) SWIG_fail
;
30711 Py_INCREF(Py_None
); resultobj
= Py_None
;
30718 static PyObject
*_wrap_PyTextShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30719 PyObject
*resultobj
;
30720 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30723 int arg4
= (int) 0 ;
30724 int arg5
= (int) 0 ;
30725 PyObject
* obj0
= 0 ;
30726 PyObject
* obj1
= 0 ;
30727 PyObject
* obj2
= 0 ;
30728 PyObject
* obj3
= 0 ;
30729 PyObject
* obj4
= 0 ;
30730 char *kwnames
[] = {
30731 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30737 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
30738 if (PyErr_Occurred()) SWIG_fail
;
30741 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
30742 if (PyErr_Occurred()) SWIG_fail
;
30746 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
30747 if (PyErr_Occurred()) SWIG_fail
;
30752 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
30753 if (PyErr_Occurred()) SWIG_fail
;
30757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30758 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
30760 wxPyEndAllowThreads(__tstate
);
30761 if (PyErr_Occurred()) SWIG_fail
;
30763 Py_INCREF(Py_None
); resultobj
= Py_None
;
30770 static PyObject
*_wrap_PyTextShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30771 PyObject
*resultobj
;
30772 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30775 int arg4
= (int) 0 ;
30776 int arg5
= (int) 0 ;
30777 PyObject
* obj0
= 0 ;
30778 PyObject
* obj1
= 0 ;
30779 PyObject
* obj2
= 0 ;
30780 PyObject
* obj3
= 0 ;
30781 PyObject
* obj4
= 0 ;
30782 char *kwnames
[] = {
30783 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30787 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30789 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
30790 if (PyErr_Occurred()) SWIG_fail
;
30793 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
30794 if (PyErr_Occurred()) SWIG_fail
;
30798 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
30799 if (PyErr_Occurred()) SWIG_fail
;
30804 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
30805 if (PyErr_Occurred()) SWIG_fail
;
30809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30810 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
30812 wxPyEndAllowThreads(__tstate
);
30813 if (PyErr_Occurred()) SWIG_fail
;
30815 Py_INCREF(Py_None
); resultobj
= Py_None
;
30822 static PyObject
*_wrap_PyTextShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30823 PyObject
*resultobj
;
30824 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30827 PyObject
* obj0
= 0 ;
30828 PyObject
* obj1
= 0 ;
30829 PyObject
* obj2
= 0 ;
30830 char *kwnames
[] = {
30831 (char *) "self",(char *) "x",(char *) "y", NULL
30834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30835 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30837 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
30838 if (PyErr_Occurred()) SWIG_fail
;
30841 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
30842 if (PyErr_Occurred()) SWIG_fail
;
30845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30846 (arg1
)->base_OnSize(arg2
,arg3
);
30848 wxPyEndAllowThreads(__tstate
);
30849 if (PyErr_Occurred()) SWIG_fail
;
30851 Py_INCREF(Py_None
); resultobj
= Py_None
;
30858 static PyObject
*_wrap_PyTextShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30859 PyObject
*resultobj
;
30860 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30866 bool arg7
= (bool) True
;
30868 PyObject
* obj0
= 0 ;
30869 PyObject
* obj1
= 0 ;
30870 PyObject
* obj2
= 0 ;
30871 PyObject
* obj3
= 0 ;
30872 PyObject
* obj4
= 0 ;
30873 PyObject
* obj5
= 0 ;
30874 PyObject
* obj6
= 0 ;
30875 char *kwnames
[] = {
30876 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
30879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyTextShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30880 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30881 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30882 if (arg2
== NULL
) {
30883 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
30886 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
30887 if (PyErr_Occurred()) SWIG_fail
;
30890 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
30891 if (PyErr_Occurred()) SWIG_fail
;
30894 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
30895 if (PyErr_Occurred()) SWIG_fail
;
30898 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
30899 if (PyErr_Occurred()) SWIG_fail
;
30903 arg7
= (bool) SWIG_PyObj_AsBool(obj6
);
30904 if (PyErr_Occurred()) SWIG_fail
;
30908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30909 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30911 wxPyEndAllowThreads(__tstate
);
30912 if (PyErr_Occurred()) SWIG_fail
;
30914 resultobj
= SWIG_PyObj_FromBool((bool)result
);
30921 static PyObject
*_wrap_PyTextShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30922 PyObject
*resultobj
;
30923 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30929 bool arg7
= (bool) True
;
30930 PyObject
* obj0
= 0 ;
30931 PyObject
* obj1
= 0 ;
30932 PyObject
* obj2
= 0 ;
30933 PyObject
* obj3
= 0 ;
30934 PyObject
* obj4
= 0 ;
30935 PyObject
* obj5
= 0 ;
30936 PyObject
* obj6
= 0 ;
30937 char *kwnames
[] = {
30938 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
30941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyTextShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30943 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30944 if (arg2
== NULL
) {
30945 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
30948 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
30949 if (PyErr_Occurred()) SWIG_fail
;
30952 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
30953 if (PyErr_Occurred()) SWIG_fail
;
30956 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
30957 if (PyErr_Occurred()) SWIG_fail
;
30960 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
30961 if (PyErr_Occurred()) SWIG_fail
;
30965 arg7
= (bool) SWIG_PyObj_AsBool(obj6
);
30966 if (PyErr_Occurred()) SWIG_fail
;
30970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30971 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30973 wxPyEndAllowThreads(__tstate
);
30974 if (PyErr_Occurred()) SWIG_fail
;
30976 Py_INCREF(Py_None
); resultobj
= Py_None
;
30983 static PyObject
*_wrap_PyTextShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30984 PyObject
*resultobj
;
30985 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30989 int arg5
= (int) 0 ;
30990 int arg6
= (int) 0 ;
30991 PyObject
* obj0
= 0 ;
30992 PyObject
* obj1
= 0 ;
30993 PyObject
* obj2
= 0 ;
30994 PyObject
* obj3
= 0 ;
30995 PyObject
* obj4
= 0 ;
30996 PyObject
* obj5
= 0 ;
30997 char *kwnames
[] = {
30998 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
31001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyTextShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31002 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31004 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
31005 if (PyErr_Occurred()) SWIG_fail
;
31008 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
31009 if (PyErr_Occurred()) SWIG_fail
;
31012 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
31013 if (PyErr_Occurred()) SWIG_fail
;
31017 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
31018 if (PyErr_Occurred()) SWIG_fail
;
31023 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
31024 if (PyErr_Occurred()) SWIG_fail
;
31028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31029 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
31031 wxPyEndAllowThreads(__tstate
);
31032 if (PyErr_Occurred()) SWIG_fail
;
31034 Py_INCREF(Py_None
); resultobj
= Py_None
;
31041 static PyObject
*_wrap_PyTextShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31042 PyObject
*resultobj
;
31043 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
31046 int arg4
= (int) 0 ;
31047 int arg5
= (int) 0 ;
31048 PyObject
* obj0
= 0 ;
31049 PyObject
* obj1
= 0 ;
31050 PyObject
* obj2
= 0 ;
31051 PyObject
* obj3
= 0 ;
31052 PyObject
* obj4
= 0 ;
31053 char *kwnames
[] = {
31054 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
31057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31060 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
31061 if (PyErr_Occurred()) SWIG_fail
;
31064 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
31065 if (PyErr_Occurred()) SWIG_fail
;
31069 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
31070 if (PyErr_Occurred()) SWIG_fail
;
31075 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
31076 if (PyErr_Occurred()) SWIG_fail
;
31080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31081 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
31083 wxPyEndAllowThreads(__tstate
);
31084 if (PyErr_Occurred()) SWIG_fail
;
31086 Py_INCREF(Py_None
); resultobj
= Py_None
;
31093 static PyObject
*_wrap_PyTextShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31094 PyObject
*resultobj
;
31095 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
31098 int arg4
= (int) 0 ;
31099 int arg5
= (int) 0 ;
31100 PyObject
* obj0
= 0 ;
31101 PyObject
* obj1
= 0 ;
31102 PyObject
* obj2
= 0 ;
31103 PyObject
* obj3
= 0 ;
31104 PyObject
* obj4
= 0 ;
31105 char *kwnames
[] = {
31106 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
31109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31110 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31112 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
31113 if (PyErr_Occurred()) SWIG_fail
;
31116 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
31117 if (PyErr_Occurred()) SWIG_fail
;
31121 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
31122 if (PyErr_Occurred()) SWIG_fail
;
31127 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
31128 if (PyErr_Occurred()) SWIG_fail
;
31132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31133 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
31135 wxPyEndAllowThreads(__tstate
);
31136 if (PyErr_Occurred()) SWIG_fail
;
31138 Py_INCREF(Py_None
); resultobj
= Py_None
;
31145 static PyObject
*_wrap_PyTextShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31146 PyObject
*resultobj
;
31147 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
31151 int arg5
= (int) 0 ;
31152 int arg6
= (int) 0 ;
31153 PyObject
* obj0
= 0 ;
31154 PyObject
* obj1
= 0 ;
31155 PyObject
* obj2
= 0 ;
31156 PyObject
* obj3
= 0 ;
31157 PyObject
* obj4
= 0 ;
31158 PyObject
* obj5
= 0 ;
31159 char *kwnames
[] = {
31160 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
31163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyTextShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31164 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31166 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
31167 if (PyErr_Occurred()) SWIG_fail
;
31170 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
31171 if (PyErr_Occurred()) SWIG_fail
;
31174 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
31175 if (PyErr_Occurred()) SWIG_fail
;
31179 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
31180 if (PyErr_Occurred()) SWIG_fail
;
31185 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
31186 if (PyErr_Occurred()) SWIG_fail
;
31190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31191 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
31193 wxPyEndAllowThreads(__tstate
);
31194 if (PyErr_Occurred()) SWIG_fail
;
31196 Py_INCREF(Py_None
); resultobj
= Py_None
;
31203 static PyObject
*_wrap_PyTextShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31204 PyObject
*resultobj
;
31205 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
31208 int arg4
= (int) 0 ;
31209 int arg5
= (int) 0 ;
31210 PyObject
* obj0
= 0 ;
31211 PyObject
* obj1
= 0 ;
31212 PyObject
* obj2
= 0 ;
31213 PyObject
* obj3
= 0 ;
31214 PyObject
* obj4
= 0 ;
31215 char *kwnames
[] = {
31216 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
31219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31220 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31222 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
31223 if (PyErr_Occurred()) SWIG_fail
;
31226 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
31227 if (PyErr_Occurred()) SWIG_fail
;
31231 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
31232 if (PyErr_Occurred()) SWIG_fail
;
31237 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
31238 if (PyErr_Occurred()) SWIG_fail
;
31242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31243 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
31245 wxPyEndAllowThreads(__tstate
);
31246 if (PyErr_Occurred()) SWIG_fail
;
31248 Py_INCREF(Py_None
); resultobj
= Py_None
;
31255 static PyObject
*_wrap_PyTextShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31256 PyObject
*resultobj
;
31257 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
31260 int arg4
= (int) 0 ;
31261 int arg5
= (int) 0 ;
31262 PyObject
* obj0
= 0 ;
31263 PyObject
* obj1
= 0 ;
31264 PyObject
* obj2
= 0 ;
31265 PyObject
* obj3
= 0 ;
31266 PyObject
* obj4
= 0 ;
31267 char *kwnames
[] = {
31268 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
31271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31272 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31274 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
31275 if (PyErr_Occurred()) SWIG_fail
;
31278 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
31279 if (PyErr_Occurred()) SWIG_fail
;
31283 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
31284 if (PyErr_Occurred()) SWIG_fail
;
31289 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
31290 if (PyErr_Occurred()) SWIG_fail
;
31294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31295 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
31297 wxPyEndAllowThreads(__tstate
);
31298 if (PyErr_Occurred()) SWIG_fail
;
31300 Py_INCREF(Py_None
); resultobj
= Py_None
;
31307 static PyObject
*_wrap_PyTextShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31308 PyObject
*resultobj
;
31309 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
31315 PyObject
* obj0
= 0 ;
31316 PyObject
* obj1
= 0 ;
31317 PyObject
* obj2
= 0 ;
31318 PyObject
* obj3
= 0 ;
31319 PyObject
* obj4
= 0 ;
31320 PyObject
* obj5
= 0 ;
31321 char *kwnames
[] = {
31322 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
31325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyTextShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31326 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31327 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31328 if (arg2
== NULL
) {
31329 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
31332 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
31333 if (PyErr_Occurred()) SWIG_fail
;
31336 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
31337 if (PyErr_Occurred()) SWIG_fail
;
31340 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
31341 if (PyErr_Occurred()) SWIG_fail
;
31344 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
31345 if (PyErr_Occurred()) SWIG_fail
;
31348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31349 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
31351 wxPyEndAllowThreads(__tstate
);
31352 if (PyErr_Occurred()) SWIG_fail
;
31354 Py_INCREF(Py_None
); resultobj
= Py_None
;
31361 static PyObject
*_wrap_PyTextShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31362 PyObject
*resultobj
;
31363 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
31365 PyObject
* obj0
= 0 ;
31366 PyObject
* obj1
= 0 ;
31367 char *kwnames
[] = {
31368 (char *) "self",(char *) "dc", NULL
31371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
31372 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31373 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31374 if (arg2
== NULL
) {
31375 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
31378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31379 (arg1
)->base_OnDrawControlPoints(*arg2
);
31381 wxPyEndAllowThreads(__tstate
);
31382 if (PyErr_Occurred()) SWIG_fail
;
31384 Py_INCREF(Py_None
); resultobj
= Py_None
;
31391 static PyObject
*_wrap_PyTextShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31392 PyObject
*resultobj
;
31393 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
31395 PyObject
* obj0
= 0 ;
31396 PyObject
* obj1
= 0 ;
31397 char *kwnames
[] = {
31398 (char *) "self",(char *) "dc", NULL
31401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
31402 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31403 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31404 if (arg2
== NULL
) {
31405 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
31408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31409 (arg1
)->base_OnEraseControlPoints(*arg2
);
31411 wxPyEndAllowThreads(__tstate
);
31412 if (PyErr_Occurred()) SWIG_fail
;
31414 Py_INCREF(Py_None
); resultobj
= Py_None
;
31421 static PyObject
*_wrap_PyTextShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31422 PyObject
*resultobj
;
31423 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
31425 bool arg3
= (bool) True
;
31426 PyObject
* obj0
= 0 ;
31427 PyObject
* obj1
= 0 ;
31428 PyObject
* obj2
= 0 ;
31429 char *kwnames
[] = {
31430 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
31433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyTextShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31434 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31435 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31436 if (arg2
== NULL
) {
31437 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
31441 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
31442 if (PyErr_Occurred()) SWIG_fail
;
31446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31447 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
31449 wxPyEndAllowThreads(__tstate
);
31450 if (PyErr_Occurred()) SWIG_fail
;
31452 Py_INCREF(Py_None
); resultobj
= Py_None
;
31459 static PyObject
*_wrap_PyTextShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31460 PyObject
*resultobj
;
31461 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
31462 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
31466 int arg6
= (int) 0 ;
31467 int arg7
= (int) 0 ;
31468 PyObject
* obj0
= 0 ;
31469 PyObject
* obj1
= 0 ;
31470 PyObject
* obj2
= 0 ;
31471 PyObject
* obj3
= 0 ;
31472 PyObject
* obj4
= 0 ;
31473 PyObject
* obj5
= 0 ;
31474 PyObject
* obj6
= 0 ;
31475 char *kwnames
[] = {
31476 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
31479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyTextShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
31480 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31481 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31483 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
31484 if (PyErr_Occurred()) SWIG_fail
;
31487 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
31488 if (PyErr_Occurred()) SWIG_fail
;
31491 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
31492 if (PyErr_Occurred()) SWIG_fail
;
31496 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
31497 if (PyErr_Occurred()) SWIG_fail
;
31502 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
31503 if (PyErr_Occurred()) SWIG_fail
;
31507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31508 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
31510 wxPyEndAllowThreads(__tstate
);
31511 if (PyErr_Occurred()) SWIG_fail
;
31513 Py_INCREF(Py_None
); resultobj
= Py_None
;
31520 static PyObject
*_wrap_PyTextShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31521 PyObject
*resultobj
;
31522 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
31523 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
31526 int arg5
= (int) 0 ;
31527 int arg6
= (int) 0 ;
31528 PyObject
* obj0
= 0 ;
31529 PyObject
* obj1
= 0 ;
31530 PyObject
* obj2
= 0 ;
31531 PyObject
* obj3
= 0 ;
31532 PyObject
* obj4
= 0 ;
31533 PyObject
* obj5
= 0 ;
31534 char *kwnames
[] = {
31535 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
31538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyTextShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31539 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31540 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31542 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
31543 if (PyErr_Occurred()) SWIG_fail
;
31546 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
31547 if (PyErr_Occurred()) SWIG_fail
;
31551 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
31552 if (PyErr_Occurred()) SWIG_fail
;
31557 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
31558 if (PyErr_Occurred()) SWIG_fail
;
31562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31563 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
31565 wxPyEndAllowThreads(__tstate
);
31566 if (PyErr_Occurred()) SWIG_fail
;
31568 Py_INCREF(Py_None
); resultobj
= Py_None
;
31575 static PyObject
*_wrap_PyTextShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31576 PyObject
*resultobj
;
31577 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
31578 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
31581 int arg5
= (int) 0 ;
31582 int arg6
= (int) 0 ;
31583 PyObject
* obj0
= 0 ;
31584 PyObject
* obj1
= 0 ;
31585 PyObject
* obj2
= 0 ;
31586 PyObject
* obj3
= 0 ;
31587 PyObject
* obj4
= 0 ;
31588 PyObject
* obj5
= 0 ;
31589 char *kwnames
[] = {
31590 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
31593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyTextShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31594 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31595 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31597 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
31598 if (PyErr_Occurred()) SWIG_fail
;
31601 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
31602 if (PyErr_Occurred()) SWIG_fail
;
31606 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
31607 if (PyErr_Occurred()) SWIG_fail
;
31612 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
31613 if (PyErr_Occurred()) SWIG_fail
;
31617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31618 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
31620 wxPyEndAllowThreads(__tstate
);
31621 if (PyErr_Occurred()) SWIG_fail
;
31623 Py_INCREF(Py_None
); resultobj
= Py_None
;
31630 static PyObject
*_wrap_PyTextShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31631 PyObject
*resultobj
;
31632 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
31635 PyObject
* obj0
= 0 ;
31636 PyObject
* obj1
= 0 ;
31637 PyObject
* obj2
= 0 ;
31638 char *kwnames
[] = {
31639 (char *) "self",(char *) "w",(char *) "h", NULL
31642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31645 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
31646 if (PyErr_Occurred()) SWIG_fail
;
31649 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
31650 if (PyErr_Occurred()) SWIG_fail
;
31653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31654 (arg1
)->base_OnBeginSize(arg2
,arg3
);
31656 wxPyEndAllowThreads(__tstate
);
31657 if (PyErr_Occurred()) SWIG_fail
;
31659 Py_INCREF(Py_None
); resultobj
= Py_None
;
31666 static PyObject
*_wrap_PyTextShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31667 PyObject
*resultobj
;
31668 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
31671 PyObject
* obj0
= 0 ;
31672 PyObject
* obj1
= 0 ;
31673 PyObject
* obj2
= 0 ;
31674 char *kwnames
[] = {
31675 (char *) "self",(char *) "w",(char *) "h", NULL
31678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31681 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
31682 if (PyErr_Occurred()) SWIG_fail
;
31685 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
31686 if (PyErr_Occurred()) SWIG_fail
;
31689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31690 (arg1
)->base_OnEndSize(arg2
,arg3
);
31692 wxPyEndAllowThreads(__tstate
);
31693 if (PyErr_Occurred()) SWIG_fail
;
31695 Py_INCREF(Py_None
); resultobj
= Py_None
;
31702 static PyObject
* PyTextShape_swigregister(PyObject
*self
, PyObject
*args
) {
31704 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31705 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextShape
, obj
);
31707 return Py_BuildValue((char *)"");
31709 static PyObject
*_wrap_new_Diagram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31710 PyObject
*resultobj
;
31712 char *kwnames
[] = {
31716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Diagram",kwnames
)) goto fail
;
31718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31719 result
= (wxDiagram
*)new wxDiagram();
31721 wxPyEndAllowThreads(__tstate
);
31722 if (PyErr_Occurred()) SWIG_fail
;
31725 resultobj
= wxPyMake_wxObject(result
);
31733 static PyObject
*_wrap_Diagram_AddShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31734 PyObject
*resultobj
;
31735 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31736 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
31737 wxPyShape
*arg3
= (wxPyShape
*) NULL
;
31738 PyObject
* obj0
= 0 ;
31739 PyObject
* obj1
= 0 ;
31740 PyObject
* obj2
= 0 ;
31741 char *kwnames
[] = {
31742 (char *) "self",(char *) "shape",(char *) "addAfter", NULL
31745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Diagram_AddShape",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31746 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31747 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31749 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31753 (arg1
)->AddShape(arg2
,arg3
);
31755 wxPyEndAllowThreads(__tstate
);
31756 if (PyErr_Occurred()) SWIG_fail
;
31758 Py_INCREF(Py_None
); resultobj
= Py_None
;
31765 static PyObject
*_wrap_Diagram_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31766 PyObject
*resultobj
;
31767 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31769 PyObject
* obj0
= 0 ;
31770 PyObject
* obj1
= 0 ;
31771 char *kwnames
[] = {
31772 (char *) "self",(char *) "dc", NULL
31775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
31776 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31777 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31778 if (arg2
== NULL
) {
31779 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
31782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31783 (arg1
)->Clear(*arg2
);
31785 wxPyEndAllowThreads(__tstate
);
31786 if (PyErr_Occurred()) SWIG_fail
;
31788 Py_INCREF(Py_None
); resultobj
= Py_None
;
31795 static PyObject
*_wrap_Diagram_DeleteAllShapes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31796 PyObject
*resultobj
;
31797 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31798 PyObject
* obj0
= 0 ;
31799 char *kwnames
[] = {
31800 (char *) "self", NULL
31803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_DeleteAllShapes",kwnames
,&obj0
)) goto fail
;
31804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31807 (arg1
)->DeleteAllShapes();
31809 wxPyEndAllowThreads(__tstate
);
31810 if (PyErr_Occurred()) SWIG_fail
;
31812 Py_INCREF(Py_None
); resultobj
= Py_None
;
31819 static PyObject
*_wrap_Diagram_DrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31820 PyObject
*resultobj
;
31821 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31827 PyObject
* obj0
= 0 ;
31828 PyObject
* obj1
= 0 ;
31829 PyObject
* obj2
= 0 ;
31830 PyObject
* obj3
= 0 ;
31831 PyObject
* obj4
= 0 ;
31832 PyObject
* obj5
= 0 ;
31833 char *kwnames
[] = {
31834 (char *) "self",(char *) "dc",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
31837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Diagram_DrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31839 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31840 if (arg2
== NULL
) {
31841 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
31844 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
31845 if (PyErr_Occurred()) SWIG_fail
;
31848 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
31849 if (PyErr_Occurred()) SWIG_fail
;
31852 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
31853 if (PyErr_Occurred()) SWIG_fail
;
31856 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
31857 if (PyErr_Occurred()) SWIG_fail
;
31860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31861 (arg1
)->DrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
31863 wxPyEndAllowThreads(__tstate
);
31864 if (PyErr_Occurred()) SWIG_fail
;
31866 Py_INCREF(Py_None
); resultobj
= Py_None
;
31873 static PyObject
*_wrap_Diagram_FindShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31874 PyObject
*resultobj
;
31875 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31878 PyObject
* obj0
= 0 ;
31879 PyObject
* obj1
= 0 ;
31880 char *kwnames
[] = {
31881 (char *) "self",(char *) "id", NULL
31884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_FindShape",kwnames
,&obj0
,&obj1
)) goto fail
;
31885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31887 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
31888 if (PyErr_Occurred()) SWIG_fail
;
31891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31892 result
= (wxPyShape
*)(arg1
)->FindShape(arg2
);
31894 wxPyEndAllowThreads(__tstate
);
31895 if (PyErr_Occurred()) SWIG_fail
;
31898 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
31906 static PyObject
*_wrap_Diagram_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31907 PyObject
*resultobj
;
31908 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31909 wxPyShapeCanvas
*result
;
31910 PyObject
* obj0
= 0 ;
31911 char *kwnames
[] = {
31912 (char *) "self", NULL
31915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetCanvas",kwnames
,&obj0
)) goto fail
;
31916 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31919 result
= (wxPyShapeCanvas
*)(arg1
)->GetCanvas();
31921 wxPyEndAllowThreads(__tstate
);
31922 if (PyErr_Occurred()) SWIG_fail
;
31925 resultobj
= wxPyMake_wxObject(result
);
31933 static PyObject
*_wrap_Diagram_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31934 PyObject
*resultobj
;
31935 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31937 PyObject
* obj0
= 0 ;
31938 char *kwnames
[] = {
31939 (char *) "self", NULL
31942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetCount",kwnames
,&obj0
)) goto fail
;
31943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31946 result
= (int)(arg1
)->GetCount();
31948 wxPyEndAllowThreads(__tstate
);
31949 if (PyErr_Occurred()) SWIG_fail
;
31951 resultobj
= SWIG_PyObj_FromInt((int)result
);
31958 static PyObject
*_wrap_Diagram_GetGridSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31959 PyObject
*resultobj
;
31960 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31962 PyObject
* obj0
= 0 ;
31963 char *kwnames
[] = {
31964 (char *) "self", NULL
31967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetGridSpacing",kwnames
,&obj0
)) goto fail
;
31968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31971 result
= (double)(arg1
)->GetGridSpacing();
31973 wxPyEndAllowThreads(__tstate
);
31974 if (PyErr_Occurred()) SWIG_fail
;
31976 resultobj
= SWIG_PyObj_FromDouble((double)result
);
31983 static PyObject
*_wrap_Diagram_GetMouseTolerance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31984 PyObject
*resultobj
;
31985 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31987 PyObject
* obj0
= 0 ;
31988 char *kwnames
[] = {
31989 (char *) "self", NULL
31992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetMouseTolerance",kwnames
,&obj0
)) goto fail
;
31993 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31996 result
= (int)(arg1
)->GetMouseTolerance();
31998 wxPyEndAllowThreads(__tstate
);
31999 if (PyErr_Occurred()) SWIG_fail
;
32001 resultobj
= SWIG_PyObj_FromInt((int)result
);
32008 static PyObject
*_wrap_Diagram_GetShapeList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32009 PyObject
*resultobj
;
32010 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
32012 PyObject
* obj0
= 0 ;
32013 char *kwnames
[] = {
32014 (char *) "self", NULL
32017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetShapeList",kwnames
,&obj0
)) goto fail
;
32018 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32021 result
= (PyObject
*)wxDiagram_GetShapeList(arg1
);
32023 wxPyEndAllowThreads(__tstate
);
32024 if (PyErr_Occurred()) SWIG_fail
;
32026 resultobj
= result
;
32033 static PyObject
*_wrap_Diagram_GetQuickEditMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32034 PyObject
*resultobj
;
32035 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
32037 PyObject
* obj0
= 0 ;
32038 char *kwnames
[] = {
32039 (char *) "self", NULL
32042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetQuickEditMode",kwnames
,&obj0
)) goto fail
;
32043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32046 result
= (bool)(arg1
)->GetQuickEditMode();
32048 wxPyEndAllowThreads(__tstate
);
32049 if (PyErr_Occurred()) SWIG_fail
;
32051 resultobj
= SWIG_PyObj_FromBool((bool)result
);
32058 static PyObject
*_wrap_Diagram_GetSnapToGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32059 PyObject
*resultobj
;
32060 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
32062 PyObject
* obj0
= 0 ;
32063 char *kwnames
[] = {
32064 (char *) "self", NULL
32067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetSnapToGrid",kwnames
,&obj0
)) goto fail
;
32068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32071 result
= (bool)(arg1
)->GetSnapToGrid();
32073 wxPyEndAllowThreads(__tstate
);
32074 if (PyErr_Occurred()) SWIG_fail
;
32076 resultobj
= SWIG_PyObj_FromBool((bool)result
);
32083 static PyObject
*_wrap_Diagram_InsertShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32084 PyObject
*resultobj
;
32085 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
32086 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
32087 PyObject
* obj0
= 0 ;
32088 PyObject
* obj1
= 0 ;
32089 char *kwnames
[] = {
32090 (char *) "self",(char *) "shape", NULL
32093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_InsertShape",kwnames
,&obj0
,&obj1
)) goto fail
;
32094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32095 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32098 (arg1
)->InsertShape(arg2
);
32100 wxPyEndAllowThreads(__tstate
);
32101 if (PyErr_Occurred()) SWIG_fail
;
32103 Py_INCREF(Py_None
); resultobj
= Py_None
;
32110 static PyObject
*_wrap_Diagram_RecentreAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32111 PyObject
*resultobj
;
32112 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
32114 PyObject
* obj0
= 0 ;
32115 PyObject
* obj1
= 0 ;
32116 char *kwnames
[] = {
32117 (char *) "self",(char *) "dc", NULL
32120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_RecentreAll",kwnames
,&obj0
,&obj1
)) goto fail
;
32121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32122 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32123 if (arg2
== NULL
) {
32124 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
32127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32128 (arg1
)->RecentreAll(*arg2
);
32130 wxPyEndAllowThreads(__tstate
);
32131 if (PyErr_Occurred()) SWIG_fail
;
32133 Py_INCREF(Py_None
); resultobj
= Py_None
;
32140 static PyObject
*_wrap_Diagram_Redraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32141 PyObject
*resultobj
;
32142 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
32144 PyObject
* obj0
= 0 ;
32145 PyObject
* obj1
= 0 ;
32146 char *kwnames
[] = {
32147 (char *) "self",(char *) "dc", NULL
32150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_Redraw",kwnames
,&obj0
,&obj1
)) goto fail
;
32151 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32152 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32153 if (arg2
== NULL
) {
32154 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
32157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32158 (arg1
)->Redraw(*arg2
);
32160 wxPyEndAllowThreads(__tstate
);
32161 if (PyErr_Occurred()) SWIG_fail
;
32163 Py_INCREF(Py_None
); resultobj
= Py_None
;
32170 static PyObject
*_wrap_Diagram_RemoveAllShapes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32171 PyObject
*resultobj
;
32172 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
32173 PyObject
* obj0
= 0 ;
32174 char *kwnames
[] = {
32175 (char *) "self", NULL
32178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_RemoveAllShapes",kwnames
,&obj0
)) goto fail
;
32179 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32182 (arg1
)->RemoveAllShapes();
32184 wxPyEndAllowThreads(__tstate
);
32185 if (PyErr_Occurred()) SWIG_fail
;
32187 Py_INCREF(Py_None
); resultobj
= Py_None
;
32194 static PyObject
*_wrap_Diagram_RemoveShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32195 PyObject
*resultobj
;
32196 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
32197 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
32198 PyObject
* obj0
= 0 ;
32199 PyObject
* obj1
= 0 ;
32200 char *kwnames
[] = {
32201 (char *) "self",(char *) "shape", NULL
32204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_RemoveShape",kwnames
,&obj0
,&obj1
)) goto fail
;
32205 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32206 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32209 (arg1
)->RemoveShape(arg2
);
32211 wxPyEndAllowThreads(__tstate
);
32212 if (PyErr_Occurred()) SWIG_fail
;
32214 Py_INCREF(Py_None
); resultobj
= Py_None
;
32221 static PyObject
*_wrap_Diagram_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32222 PyObject
*resultobj
;
32223 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
32224 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
32225 PyObject
* obj0
= 0 ;
32226 PyObject
* obj1
= 0 ;
32227 char *kwnames
[] = {
32228 (char *) "self",(char *) "canvas", NULL
32231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
32232 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32233 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32236 (arg1
)->SetCanvas(arg2
);
32238 wxPyEndAllowThreads(__tstate
);
32239 if (PyErr_Occurred()) SWIG_fail
;
32241 Py_INCREF(Py_None
); resultobj
= Py_None
;
32248 static PyObject
*_wrap_Diagram_SetGridSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32249 PyObject
*resultobj
;
32250 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
32252 PyObject
* obj0
= 0 ;
32253 PyObject
* obj1
= 0 ;
32254 char *kwnames
[] = {
32255 (char *) "self",(char *) "spacing", NULL
32258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_SetGridSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
32259 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32261 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
32262 if (PyErr_Occurred()) SWIG_fail
;
32265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32266 (arg1
)->SetGridSpacing(arg2
);
32268 wxPyEndAllowThreads(__tstate
);
32269 if (PyErr_Occurred()) SWIG_fail
;
32271 Py_INCREF(Py_None
); resultobj
= Py_None
;
32278 static PyObject
*_wrap_Diagram_SetMouseTolerance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32279 PyObject
*resultobj
;
32280 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
32282 PyObject
* obj0
= 0 ;
32283 PyObject
* obj1
= 0 ;
32284 char *kwnames
[] = {
32285 (char *) "self",(char *) "tolerance", NULL
32288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_SetMouseTolerance",kwnames
,&obj0
,&obj1
)) goto fail
;
32289 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32291 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
32292 if (PyErr_Occurred()) SWIG_fail
;
32295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32296 (arg1
)->SetMouseTolerance(arg2
);
32298 wxPyEndAllowThreads(__tstate
);
32299 if (PyErr_Occurred()) SWIG_fail
;
32301 Py_INCREF(Py_None
); resultobj
= Py_None
;
32308 static PyObject
*_wrap_Diagram_SetQuickEditMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32309 PyObject
*resultobj
;
32310 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
32312 PyObject
* obj0
= 0 ;
32313 PyObject
* obj1
= 0 ;
32314 char *kwnames
[] = {
32315 (char *) "self",(char *) "mode", NULL
32318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_SetQuickEditMode",kwnames
,&obj0
,&obj1
)) goto fail
;
32319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32321 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
32322 if (PyErr_Occurred()) SWIG_fail
;
32325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32326 (arg1
)->SetQuickEditMode(arg2
);
32328 wxPyEndAllowThreads(__tstate
);
32329 if (PyErr_Occurred()) SWIG_fail
;
32331 Py_INCREF(Py_None
); resultobj
= Py_None
;
32338 static PyObject
*_wrap_Diagram_SetSnapToGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32339 PyObject
*resultobj
;
32340 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
32342 PyObject
* obj0
= 0 ;
32343 PyObject
* obj1
= 0 ;
32344 char *kwnames
[] = {
32345 (char *) "self",(char *) "snap", NULL
32348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_SetSnapToGrid",kwnames
,&obj0
,&obj1
)) goto fail
;
32349 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32351 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
32352 if (PyErr_Occurred()) SWIG_fail
;
32355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32356 (arg1
)->SetSnapToGrid(arg2
);
32358 wxPyEndAllowThreads(__tstate
);
32359 if (PyErr_Occurred()) SWIG_fail
;
32361 Py_INCREF(Py_None
); resultobj
= Py_None
;
32368 static PyObject
*_wrap_Diagram_ShowAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32369 PyObject
*resultobj
;
32370 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
32372 PyObject
* obj0
= 0 ;
32373 PyObject
* obj1
= 0 ;
32374 char *kwnames
[] = {
32375 (char *) "self",(char *) "show", NULL
32378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_ShowAll",kwnames
,&obj0
,&obj1
)) goto fail
;
32379 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32381 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
32382 if (PyErr_Occurred()) SWIG_fail
;
32385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32386 (arg1
)->ShowAll(arg2
);
32388 wxPyEndAllowThreads(__tstate
);
32389 if (PyErr_Occurred()) SWIG_fail
;
32391 Py_INCREF(Py_None
); resultobj
= Py_None
;
32398 static PyObject
*_wrap_Diagram_Snap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32399 PyObject
*resultobj
;
32400 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
32401 double *arg2
= (double *) 0 ;
32402 double *arg3
= (double *) 0 ;
32405 PyObject
* obj0
= 0 ;
32406 PyObject
* obj1
= 0 ;
32407 PyObject
* obj2
= 0 ;
32408 char *kwnames
[] = {
32409 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
32412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Diagram_Snap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32415 temp2
= PyFloat_AsDouble(obj1
);
32416 if (PyErr_Occurred()) SWIG_fail
;
32420 temp3
= PyFloat_AsDouble(obj2
);
32421 if (PyErr_Occurred()) SWIG_fail
;
32425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32426 (arg1
)->Snap(arg2
,arg3
);
32428 wxPyEndAllowThreads(__tstate
);
32429 if (PyErr_Occurred()) SWIG_fail
;
32431 Py_INCREF(Py_None
); resultobj
= Py_None
;
32433 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
32434 resultobj
= t_output_helper(resultobj
,o
);
32437 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
32438 resultobj
= t_output_helper(resultobj
,o
);
32446 static PyObject
* Diagram_swigregister(PyObject
*self
, PyObject
*args
) {
32448 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32449 SWIG_TypeClientData(SWIGTYPE_p_wxDiagram
, obj
);
32451 return Py_BuildValue((char *)"");
32453 static PyObject
*_wrap_new_PyShapeCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32454 PyObject
*resultobj
;
32455 wxWindow
*arg1
= (wxWindow
*) NULL
;
32456 int arg2
= (int) -1 ;
32457 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32458 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32459 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32460 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32461 long arg5
= (long) wxBORDER
;
32462 wxString
const &arg6_defvalue
= wxPyShapeCanvasNameStr
;
32463 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
32464 wxPyShapeCanvas
*result
;
32467 bool temp6
= False
;
32468 PyObject
* obj0
= 0 ;
32469 PyObject
* obj1
= 0 ;
32470 PyObject
* obj2
= 0 ;
32471 PyObject
* obj3
= 0 ;
32472 PyObject
* obj4
= 0 ;
32473 PyObject
* obj5
= 0 ;
32474 char *kwnames
[] = {
32475 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
32478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_PyShapeCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32480 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32484 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
32485 if (PyErr_Occurred()) SWIG_fail
;
32491 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32497 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32502 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
32503 if (PyErr_Occurred()) SWIG_fail
;
32508 arg6
= wxString_in_helper(obj5
);
32509 if (arg6
== NULL
) SWIG_fail
;
32514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32515 result
= (wxPyShapeCanvas
*)new wxPyShapeCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
32517 wxPyEndAllowThreads(__tstate
);
32518 if (PyErr_Occurred()) SWIG_fail
;
32521 resultobj
= wxPyMake_wxObject(result
);
32537 static PyObject
*_wrap_PyShapeCanvas__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32538 PyObject
*resultobj
;
32539 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32540 PyObject
*arg2
= (PyObject
*) 0 ;
32541 PyObject
*arg3
= (PyObject
*) 0 ;
32542 PyObject
* obj0
= 0 ;
32543 PyObject
* obj1
= 0 ;
32544 PyObject
* obj2
= 0 ;
32545 char *kwnames
[] = {
32546 (char *) "self",(char *) "self",(char *) "_class", NULL
32549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeCanvas__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32550 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32555 (arg1
)->_setCallbackInfo(arg2
,arg3
);
32557 wxPyEndAllowThreads(__tstate
);
32558 if (PyErr_Occurred()) SWIG_fail
;
32560 Py_INCREF(Py_None
); resultobj
= Py_None
;
32567 static PyObject
*_wrap_PyShapeCanvas_AddShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32568 PyObject
*resultobj
;
32569 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32570 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
32571 wxPyShape
*arg3
= (wxPyShape
*) NULL
;
32572 PyObject
* obj0
= 0 ;
32573 PyObject
* obj1
= 0 ;
32574 PyObject
* obj2
= 0 ;
32575 char *kwnames
[] = {
32576 (char *) "self",(char *) "shape",(char *) "addAfter", NULL
32579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShapeCanvas_AddShape",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32580 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32581 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32583 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32587 (arg1
)->AddShape(arg2
,arg3
);
32589 wxPyEndAllowThreads(__tstate
);
32590 if (PyErr_Occurred()) SWIG_fail
;
32592 Py_INCREF(Py_None
); resultobj
= Py_None
;
32599 static PyObject
*_wrap_PyShapeCanvas_FindShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32600 PyObject
*resultobj
;
32601 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32604 int *arg4
= (int *) 0 ;
32605 wxClassInfo
*arg5
= (wxClassInfo
*) NULL
;
32606 wxPyShape
*arg6
= (wxPyShape
*) NULL
;
32609 PyObject
* obj0
= 0 ;
32610 PyObject
* obj1
= 0 ;
32611 PyObject
* obj2
= 0 ;
32612 PyObject
* obj3
= 0 ;
32613 PyObject
* obj4
= 0 ;
32614 char *kwnames
[] = {
32615 (char *) "self",(char *) "x1",(char *) "y",(char *) "info",(char *) "notImage", NULL
32619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeCanvas_FindShape",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32620 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32622 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
32623 if (PyErr_Occurred()) SWIG_fail
;
32626 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
32627 if (PyErr_Occurred()) SWIG_fail
;
32630 if ((SWIG_ConvertPtr(obj3
,(void **) &arg5
, SWIGTYPE_p_wxClassInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32633 if ((SWIG_ConvertPtr(obj4
,(void **) &arg6
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32637 result
= (wxPyShape
*)(arg1
)->FindShape(arg2
,arg3
,arg4
,arg5
,arg6
);
32639 wxPyEndAllowThreads(__tstate
);
32640 if (PyErr_Occurred()) SWIG_fail
;
32643 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
32646 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
32647 resultobj
= t_output_helper(resultobj
,o
);
32655 static PyObject
*_wrap_PyShapeCanvas_FindFirstSensitiveShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32656 PyObject
*resultobj
;
32657 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32660 int *arg4
= (int *) 0 ;
32664 PyObject
* obj0
= 0 ;
32665 PyObject
* obj1
= 0 ;
32666 PyObject
* obj2
= 0 ;
32667 PyObject
* obj3
= 0 ;
32668 char *kwnames
[] = {
32669 (char *) "self",(char *) "x1",(char *) "y",(char *) "op", NULL
32673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyShapeCanvas_FindFirstSensitiveShape",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32676 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
32677 if (PyErr_Occurred()) SWIG_fail
;
32680 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
32681 if (PyErr_Occurred()) SWIG_fail
;
32684 arg5
= (int) SWIG_PyObj_AsInt(obj3
);
32685 if (PyErr_Occurred()) SWIG_fail
;
32688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32689 result
= (wxPyShape
*)(arg1
)->FindFirstSensitiveShape(arg2
,arg3
,arg4
,arg5
);
32691 wxPyEndAllowThreads(__tstate
);
32692 if (PyErr_Occurred()) SWIG_fail
;
32695 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
32698 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
32699 resultobj
= t_output_helper(resultobj
,o
);
32707 static PyObject
*_wrap_PyShapeCanvas_GetDiagram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32708 PyObject
*resultobj
;
32709 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32711 PyObject
* obj0
= 0 ;
32712 char *kwnames
[] = {
32713 (char *) "self", NULL
32716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeCanvas_GetDiagram",kwnames
,&obj0
)) goto fail
;
32717 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32720 result
= (wxDiagram
*)(arg1
)->GetDiagram();
32722 wxPyEndAllowThreads(__tstate
);
32723 if (PyErr_Occurred()) SWIG_fail
;
32726 resultobj
= wxPyMake_wxObject(result
);
32734 static PyObject
*_wrap_PyShapeCanvas_GetQuickEditMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32735 PyObject
*resultobj
;
32736 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32738 PyObject
* obj0
= 0 ;
32739 char *kwnames
[] = {
32740 (char *) "self", NULL
32743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeCanvas_GetQuickEditMode",kwnames
,&obj0
)) goto fail
;
32744 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32747 result
= (bool)(arg1
)->GetQuickEditMode();
32749 wxPyEndAllowThreads(__tstate
);
32750 if (PyErr_Occurred()) SWIG_fail
;
32752 resultobj
= SWIG_PyObj_FromBool((bool)result
);
32759 static PyObject
*_wrap_PyShapeCanvas_InsertShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32760 PyObject
*resultobj
;
32761 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32762 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
32763 PyObject
* obj0
= 0 ;
32764 PyObject
* obj1
= 0 ;
32765 char *kwnames
[] = {
32766 (char *) "self",(char *) "shape", NULL
32769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeCanvas_InsertShape",kwnames
,&obj0
,&obj1
)) goto fail
;
32770 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32771 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32774 (arg1
)->InsertShape(arg2
);
32776 wxPyEndAllowThreads(__tstate
);
32777 if (PyErr_Occurred()) SWIG_fail
;
32779 Py_INCREF(Py_None
); resultobj
= Py_None
;
32786 static PyObject
*_wrap_PyShapeCanvas_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32787 PyObject
*resultobj
;
32788 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32791 int arg4
= (int) 0 ;
32792 PyObject
* obj0
= 0 ;
32793 PyObject
* obj1
= 0 ;
32794 PyObject
* obj2
= 0 ;
32795 PyObject
* obj3
= 0 ;
32796 char *kwnames
[] = {
32797 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShapeCanvas_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32801 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32803 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
32804 if (PyErr_Occurred()) SWIG_fail
;
32807 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
32808 if (PyErr_Occurred()) SWIG_fail
;
32812 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
32813 if (PyErr_Occurred()) SWIG_fail
;
32817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32818 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
);
32820 wxPyEndAllowThreads(__tstate
);
32821 if (PyErr_Occurred()) SWIG_fail
;
32823 Py_INCREF(Py_None
); resultobj
= Py_None
;
32830 static PyObject
*_wrap_PyShapeCanvas_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32831 PyObject
*resultobj
;
32832 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32835 int arg4
= (int) 0 ;
32836 PyObject
* obj0
= 0 ;
32837 PyObject
* obj1
= 0 ;
32838 PyObject
* obj2
= 0 ;
32839 PyObject
* obj3
= 0 ;
32840 char *kwnames
[] = {
32841 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShapeCanvas_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32845 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32847 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
32848 if (PyErr_Occurred()) SWIG_fail
;
32851 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
32852 if (PyErr_Occurred()) SWIG_fail
;
32856 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
32857 if (PyErr_Occurred()) SWIG_fail
;
32861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32862 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
);
32864 wxPyEndAllowThreads(__tstate
);
32865 if (PyErr_Occurred()) SWIG_fail
;
32867 Py_INCREF(Py_None
); resultobj
= Py_None
;
32874 static PyObject
*_wrap_PyShapeCanvas_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32875 PyObject
*resultobj
;
32876 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32879 int arg4
= (int) 0 ;
32880 PyObject
* obj0
= 0 ;
32881 PyObject
* obj1
= 0 ;
32882 PyObject
* obj2
= 0 ;
32883 PyObject
* obj3
= 0 ;
32884 char *kwnames
[] = {
32885 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShapeCanvas_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32891 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
32892 if (PyErr_Occurred()) SWIG_fail
;
32895 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
32896 if (PyErr_Occurred()) SWIG_fail
;
32900 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
32901 if (PyErr_Occurred()) SWIG_fail
;
32905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32906 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
);
32908 wxPyEndAllowThreads(__tstate
);
32909 if (PyErr_Occurred()) SWIG_fail
;
32911 Py_INCREF(Py_None
); resultobj
= Py_None
;
32918 static PyObject
*_wrap_PyShapeCanvas_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32919 PyObject
*resultobj
;
32920 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32923 int arg4
= (int) 0 ;
32924 PyObject
* obj0
= 0 ;
32925 PyObject
* obj1
= 0 ;
32926 PyObject
* obj2
= 0 ;
32927 PyObject
* obj3
= 0 ;
32928 char *kwnames
[] = {
32929 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShapeCanvas_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32935 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
32936 if (PyErr_Occurred()) SWIG_fail
;
32939 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
32940 if (PyErr_Occurred()) SWIG_fail
;
32944 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
32945 if (PyErr_Occurred()) SWIG_fail
;
32949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32950 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
);
32952 wxPyEndAllowThreads(__tstate
);
32953 if (PyErr_Occurred()) SWIG_fail
;
32955 Py_INCREF(Py_None
); resultobj
= Py_None
;
32962 static PyObject
*_wrap_PyShapeCanvas_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32963 PyObject
*resultobj
;
32964 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32968 int arg5
= (int) 0 ;
32969 PyObject
* obj0
= 0 ;
32970 PyObject
* obj1
= 0 ;
32971 PyObject
* obj2
= 0 ;
32972 PyObject
* obj3
= 0 ;
32973 PyObject
* obj4
= 0 ;
32974 char *kwnames
[] = {
32975 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys", NULL
32978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyShapeCanvas_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32979 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32981 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
32982 if (PyErr_Occurred()) SWIG_fail
;
32985 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
32986 if (PyErr_Occurred()) SWIG_fail
;
32989 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
32990 if (PyErr_Occurred()) SWIG_fail
;
32994 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
32995 if (PyErr_Occurred()) SWIG_fail
;
32999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33000 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
);
33002 wxPyEndAllowThreads(__tstate
);
33003 if (PyErr_Occurred()) SWIG_fail
;
33005 Py_INCREF(Py_None
); resultobj
= Py_None
;
33012 static PyObject
*_wrap_PyShapeCanvas_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33013 PyObject
*resultobj
;
33014 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
33018 int arg5
= (int) 0 ;
33019 PyObject
* obj0
= 0 ;
33020 PyObject
* obj1
= 0 ;
33021 PyObject
* obj2
= 0 ;
33022 PyObject
* obj3
= 0 ;
33023 PyObject
* obj4
= 0 ;
33024 char *kwnames
[] = {
33025 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys", NULL
33028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyShapeCanvas_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33029 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33031 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
33032 if (PyErr_Occurred()) SWIG_fail
;
33035 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
33036 if (PyErr_Occurred()) SWIG_fail
;
33039 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
33040 if (PyErr_Occurred()) SWIG_fail
;
33044 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
33045 if (PyErr_Occurred()) SWIG_fail
;
33049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33050 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
);
33052 wxPyEndAllowThreads(__tstate
);
33053 if (PyErr_Occurred()) SWIG_fail
;
33055 Py_INCREF(Py_None
); resultobj
= Py_None
;
33062 static PyObject
*_wrap_PyShapeCanvas_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33063 PyObject
*resultobj
;
33064 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
33067 int arg4
= (int) 0 ;
33068 PyObject
* obj0
= 0 ;
33069 PyObject
* obj1
= 0 ;
33070 PyObject
* obj2
= 0 ;
33071 PyObject
* obj3
= 0 ;
33072 char *kwnames
[] = {
33073 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
33076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShapeCanvas_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33077 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33079 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
33080 if (PyErr_Occurred()) SWIG_fail
;
33083 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
33084 if (PyErr_Occurred()) SWIG_fail
;
33088 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
33089 if (PyErr_Occurred()) SWIG_fail
;
33093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33094 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
);
33096 wxPyEndAllowThreads(__tstate
);
33097 if (PyErr_Occurred()) SWIG_fail
;
33099 Py_INCREF(Py_None
); resultobj
= Py_None
;
33106 static PyObject
*_wrap_PyShapeCanvas_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33107 PyObject
*resultobj
;
33108 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
33111 int arg4
= (int) 0 ;
33112 PyObject
* obj0
= 0 ;
33113 PyObject
* obj1
= 0 ;
33114 PyObject
* obj2
= 0 ;
33115 PyObject
* obj3
= 0 ;
33116 char *kwnames
[] = {
33117 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
33120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShapeCanvas_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33123 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
33124 if (PyErr_Occurred()) SWIG_fail
;
33127 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
33128 if (PyErr_Occurred()) SWIG_fail
;
33132 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
33133 if (PyErr_Occurred()) SWIG_fail
;
33137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33138 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
);
33140 wxPyEndAllowThreads(__tstate
);
33141 if (PyErr_Occurred()) SWIG_fail
;
33143 Py_INCREF(Py_None
); resultobj
= Py_None
;
33150 static PyObject
*_wrap_PyShapeCanvas_Redraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33151 PyObject
*resultobj
;
33152 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
33154 PyObject
* obj0
= 0 ;
33155 PyObject
* obj1
= 0 ;
33156 char *kwnames
[] = {
33157 (char *) "self",(char *) "dc", NULL
33160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeCanvas_Redraw",kwnames
,&obj0
,&obj1
)) goto fail
;
33161 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33162 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33163 if (arg2
== NULL
) {
33164 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
33167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33168 (arg1
)->Redraw(*arg2
);
33170 wxPyEndAllowThreads(__tstate
);
33171 if (PyErr_Occurred()) SWIG_fail
;
33173 Py_INCREF(Py_None
); resultobj
= Py_None
;
33180 static PyObject
*_wrap_PyShapeCanvas_RemoveShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33181 PyObject
*resultobj
;
33182 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
33183 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
33184 PyObject
* obj0
= 0 ;
33185 PyObject
* obj1
= 0 ;
33186 char *kwnames
[] = {
33187 (char *) "self",(char *) "shape", NULL
33190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeCanvas_RemoveShape",kwnames
,&obj0
,&obj1
)) goto fail
;
33191 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33192 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33195 (arg1
)->RemoveShape(arg2
);
33197 wxPyEndAllowThreads(__tstate
);
33198 if (PyErr_Occurred()) SWIG_fail
;
33200 Py_INCREF(Py_None
); resultobj
= Py_None
;
33207 static PyObject
*_wrap_PyShapeCanvas_SetDiagram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33208 PyObject
*resultobj
;
33209 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
33210 wxDiagram
*arg2
= (wxDiagram
*) 0 ;
33211 PyObject
* obj0
= 0 ;
33212 PyObject
* obj1
= 0 ;
33213 char *kwnames
[] = {
33214 (char *) "self",(char *) "diagram", NULL
33217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeCanvas_SetDiagram",kwnames
,&obj0
,&obj1
)) goto fail
;
33218 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33219 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33222 (arg1
)->SetDiagram(arg2
);
33224 wxPyEndAllowThreads(__tstate
);
33225 if (PyErr_Occurred()) SWIG_fail
;
33227 Py_INCREF(Py_None
); resultobj
= Py_None
;
33234 static PyObject
*_wrap_PyShapeCanvas_Snap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33235 PyObject
*resultobj
;
33236 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
33237 double *arg2
= (double *) 0 ;
33238 double *arg3
= (double *) 0 ;
33241 PyObject
* obj0
= 0 ;
33242 PyObject
* obj1
= 0 ;
33243 PyObject
* obj2
= 0 ;
33244 char *kwnames
[] = {
33245 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
33248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeCanvas_Snap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33249 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33251 temp2
= PyFloat_AsDouble(obj1
);
33252 if (PyErr_Occurred()) SWIG_fail
;
33256 temp3
= PyFloat_AsDouble(obj2
);
33257 if (PyErr_Occurred()) SWIG_fail
;
33261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33262 (arg1
)->Snap(arg2
,arg3
);
33264 wxPyEndAllowThreads(__tstate
);
33265 if (PyErr_Occurred()) SWIG_fail
;
33267 Py_INCREF(Py_None
); resultobj
= Py_None
;
33269 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
33270 resultobj
= t_output_helper(resultobj
,o
);
33273 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
33274 resultobj
= t_output_helper(resultobj
,o
);
33282 static PyObject
* PyShapeCanvas_swigregister(PyObject
*self
, PyObject
*args
) {
33284 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33285 SWIG_TypeClientData(SWIGTYPE_p_wxPyShapeCanvas
, obj
);
33287 return Py_BuildValue((char *)"");
33289 static PyObject
*_wrap_OGLInitialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33290 PyObject
*resultobj
;
33291 char *kwnames
[] = {
33295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":OGLInitialize",kwnames
)) goto fail
;
33297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33300 wxPyEndAllowThreads(__tstate
);
33301 if (PyErr_Occurred()) SWIG_fail
;
33303 Py_INCREF(Py_None
); resultobj
= Py_None
;
33310 static PyObject
*_wrap_OGLCleanUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33311 PyObject
*resultobj
;
33312 char *kwnames
[] = {
33316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":OGLCleanUp",kwnames
)) goto fail
;
33318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33321 wxPyEndAllowThreads(__tstate
);
33322 if (PyErr_Occurred()) SWIG_fail
;
33324 Py_INCREF(Py_None
); resultobj
= Py_None
;
33331 static PyMethodDef SwigMethods
[] = {
33332 { (char *)"new_ShapeRegion", (PyCFunction
) _wrap_new_ShapeRegion
, METH_VARARGS
| METH_KEYWORDS
},
33333 { (char *)"ShapeRegion_SetText", (PyCFunction
) _wrap_ShapeRegion_SetText
, METH_VARARGS
| METH_KEYWORDS
},
33334 { (char *)"ShapeRegion_SetFont", (PyCFunction
) _wrap_ShapeRegion_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
33335 { (char *)"ShapeRegion_SetMinSize", (PyCFunction
) _wrap_ShapeRegion_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
33336 { (char *)"ShapeRegion_SetSize", (PyCFunction
) _wrap_ShapeRegion_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
33337 { (char *)"ShapeRegion_SetPosition", (PyCFunction
) _wrap_ShapeRegion_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
33338 { (char *)"ShapeRegion_SetProportions", (PyCFunction
) _wrap_ShapeRegion_SetProportions
, METH_VARARGS
| METH_KEYWORDS
},
33339 { (char *)"ShapeRegion_SetFormatMode", (PyCFunction
) _wrap_ShapeRegion_SetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
33340 { (char *)"ShapeRegion_SetName", (PyCFunction
) _wrap_ShapeRegion_SetName
, METH_VARARGS
| METH_KEYWORDS
},
33341 { (char *)"ShapeRegion_SetColour", (PyCFunction
) _wrap_ShapeRegion_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
33342 { (char *)"ShapeRegion_GetText", (PyCFunction
) _wrap_ShapeRegion_GetText
, METH_VARARGS
| METH_KEYWORDS
},
33343 { (char *)"ShapeRegion_GetFont", (PyCFunction
) _wrap_ShapeRegion_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
33344 { (char *)"ShapeRegion_GetMinSize", (PyCFunction
) _wrap_ShapeRegion_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
33345 { (char *)"ShapeRegion_GetProportion", (PyCFunction
) _wrap_ShapeRegion_GetProportion
, METH_VARARGS
| METH_KEYWORDS
},
33346 { (char *)"ShapeRegion_GetSize", (PyCFunction
) _wrap_ShapeRegion_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
33347 { (char *)"ShapeRegion_GetPosition", (PyCFunction
) _wrap_ShapeRegion_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
33348 { (char *)"ShapeRegion_GetFormatMode", (PyCFunction
) _wrap_ShapeRegion_GetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
33349 { (char *)"ShapeRegion_GetName", (PyCFunction
) _wrap_ShapeRegion_GetName
, METH_VARARGS
| METH_KEYWORDS
},
33350 { (char *)"ShapeRegion_GetColour", (PyCFunction
) _wrap_ShapeRegion_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
33351 { (char *)"ShapeRegion_GetActualColourObject", (PyCFunction
) _wrap_ShapeRegion_GetActualColourObject
, METH_VARARGS
| METH_KEYWORDS
},
33352 { (char *)"ShapeRegion_GetFormattedText", (PyCFunction
) _wrap_ShapeRegion_GetFormattedText
, METH_VARARGS
| METH_KEYWORDS
},
33353 { (char *)"ShapeRegion_GetPenColour", (PyCFunction
) _wrap_ShapeRegion_GetPenColour
, METH_VARARGS
| METH_KEYWORDS
},
33354 { (char *)"ShapeRegion_GetPenStyle", (PyCFunction
) _wrap_ShapeRegion_GetPenStyle
, METH_VARARGS
| METH_KEYWORDS
},
33355 { (char *)"ShapeRegion_SetPenStyle", (PyCFunction
) _wrap_ShapeRegion_SetPenStyle
, METH_VARARGS
| METH_KEYWORDS
},
33356 { (char *)"ShapeRegion_SetPenColour", (PyCFunction
) _wrap_ShapeRegion_SetPenColour
, METH_VARARGS
| METH_KEYWORDS
},
33357 { (char *)"ShapeRegion_GetActualPen", (PyCFunction
) _wrap_ShapeRegion_GetActualPen
, METH_VARARGS
| METH_KEYWORDS
},
33358 { (char *)"ShapeRegion_GetWidth", (PyCFunction
) _wrap_ShapeRegion_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
33359 { (char *)"ShapeRegion_GetHeight", (PyCFunction
) _wrap_ShapeRegion_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
33360 { (char *)"ShapeRegion_ClearText", (PyCFunction
) _wrap_ShapeRegion_ClearText
, METH_VARARGS
| METH_KEYWORDS
},
33361 { (char *)"ShapeRegion_swigregister", ShapeRegion_swigregister
, METH_VARARGS
},
33362 { (char *)"new_AttachmentPoint", (PyCFunction
) _wrap_new_AttachmentPoint
, METH_VARARGS
| METH_KEYWORDS
},
33363 { (char *)"AttachmentPoint_m_id_set", (PyCFunction
) _wrap_AttachmentPoint_m_id_set
, METH_VARARGS
| METH_KEYWORDS
},
33364 { (char *)"AttachmentPoint_m_id_get", (PyCFunction
) _wrap_AttachmentPoint_m_id_get
, METH_VARARGS
| METH_KEYWORDS
},
33365 { (char *)"AttachmentPoint_m_x_set", (PyCFunction
) _wrap_AttachmentPoint_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
33366 { (char *)"AttachmentPoint_m_x_get", (PyCFunction
) _wrap_AttachmentPoint_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
33367 { (char *)"AttachmentPoint_m_y_set", (PyCFunction
) _wrap_AttachmentPoint_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
33368 { (char *)"AttachmentPoint_m_y_get", (PyCFunction
) _wrap_AttachmentPoint_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
33369 { (char *)"AttachmentPoint_swigregister", AttachmentPoint_swigregister
, METH_VARARGS
},
33370 { (char *)"new_PyShapeEvtHandler", (PyCFunction
) _wrap_new_PyShapeEvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
33371 { (char *)"PyShapeEvtHandler__setCallbackInfo", (PyCFunction
) _wrap_PyShapeEvtHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
33372 { (char *)"PyShapeEvtHandler__setOORInfo", (PyCFunction
) _wrap_PyShapeEvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
33373 { (char *)"PyShapeEvtHandler_SetShape", (PyCFunction
) _wrap_PyShapeEvtHandler_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
33374 { (char *)"PyShapeEvtHandler_GetShape", (PyCFunction
) _wrap_PyShapeEvtHandler_GetShape
, METH_VARARGS
| METH_KEYWORDS
},
33375 { (char *)"PyShapeEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_PyShapeEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
33376 { (char *)"PyShapeEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_PyShapeEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
33377 { (char *)"PyShapeEvtHandler_CreateNewCopy", (PyCFunction
) _wrap_PyShapeEvtHandler_CreateNewCopy
, METH_VARARGS
| METH_KEYWORDS
},
33378 { (char *)"PyShapeEvtHandler_base_OnDelete", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
33379 { (char *)"PyShapeEvtHandler_base_OnDraw", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
33380 { (char *)"PyShapeEvtHandler_base_OnDrawContents", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
33381 { (char *)"PyShapeEvtHandler_base_OnDrawBranches", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
33382 { (char *)"PyShapeEvtHandler_base_OnMoveLinks", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
33383 { (char *)"PyShapeEvtHandler_base_OnErase", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
33384 { (char *)"PyShapeEvtHandler_base_OnEraseContents", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
33385 { (char *)"PyShapeEvtHandler_base_OnHighlight", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
33386 { (char *)"PyShapeEvtHandler_base_OnLeftClick", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
33387 { (char *)"PyShapeEvtHandler_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
33388 { (char *)"PyShapeEvtHandler_base_OnRightClick", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
33389 { (char *)"PyShapeEvtHandler_base_OnSize", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
33390 { (char *)"PyShapeEvtHandler_base_OnMovePre", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
33391 { (char *)"PyShapeEvtHandler_base_OnMovePost", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
33392 { (char *)"PyShapeEvtHandler_base_OnDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33393 { (char *)"PyShapeEvtHandler_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33394 { (char *)"PyShapeEvtHandler_base_OnEndDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33395 { (char *)"PyShapeEvtHandler_base_OnDragRight", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33396 { (char *)"PyShapeEvtHandler_base_OnBeginDragRight", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33397 { (char *)"PyShapeEvtHandler_base_OnEndDragRight", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33398 { (char *)"PyShapeEvtHandler_base_OnDrawOutline", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
33399 { (char *)"PyShapeEvtHandler_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33400 { (char *)"PyShapeEvtHandler_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33401 { (char *)"PyShapeEvtHandler_base_OnMoveLink", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
33402 { (char *)"PyShapeEvtHandler_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33403 { (char *)"PyShapeEvtHandler_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33404 { (char *)"PyShapeEvtHandler_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33405 { (char *)"PyShapeEvtHandler_base_OnBeginSize", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
33406 { (char *)"PyShapeEvtHandler_base_OnEndSize", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
33407 { (char *)"PyShapeEvtHandler_swigregister", PyShapeEvtHandler_swigregister
, METH_VARARGS
},
33408 { (char *)"new_PyShape", (PyCFunction
) _wrap_new_PyShape
, METH_VARARGS
| METH_KEYWORDS
},
33409 { (char *)"PyShape__setCallbackInfo", (PyCFunction
) _wrap_PyShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
33410 { (char *)"PyShape_GetBoundingBoxMax", (PyCFunction
) _wrap_PyShape_GetBoundingBoxMax
, METH_VARARGS
| METH_KEYWORDS
},
33411 { (char *)"PyShape_GetBoundingBoxMin", (PyCFunction
) _wrap_PyShape_GetBoundingBoxMin
, METH_VARARGS
| METH_KEYWORDS
},
33412 { (char *)"PyShape_GetPerimeterPoint", (PyCFunction
) _wrap_PyShape_GetPerimeterPoint
, METH_VARARGS
| METH_KEYWORDS
},
33413 { (char *)"PyShape_GetCanvas", (PyCFunction
) _wrap_PyShape_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
33414 { (char *)"PyShape_SetCanvas", (PyCFunction
) _wrap_PyShape_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
33415 { (char *)"PyShape_AddToCanvas", (PyCFunction
) _wrap_PyShape_AddToCanvas
, METH_VARARGS
| METH_KEYWORDS
},
33416 { (char *)"PyShape_InsertInCanvas", (PyCFunction
) _wrap_PyShape_InsertInCanvas
, METH_VARARGS
| METH_KEYWORDS
},
33417 { (char *)"PyShape_RemoveFromCanvas", (PyCFunction
) _wrap_PyShape_RemoveFromCanvas
, METH_VARARGS
| METH_KEYWORDS
},
33418 { (char *)"PyShape_GetX", (PyCFunction
) _wrap_PyShape_GetX
, METH_VARARGS
| METH_KEYWORDS
},
33419 { (char *)"PyShape_GetY", (PyCFunction
) _wrap_PyShape_GetY
, METH_VARARGS
| METH_KEYWORDS
},
33420 { (char *)"PyShape_SetX", (PyCFunction
) _wrap_PyShape_SetX
, METH_VARARGS
| METH_KEYWORDS
},
33421 { (char *)"PyShape_SetY", (PyCFunction
) _wrap_PyShape_SetY
, METH_VARARGS
| METH_KEYWORDS
},
33422 { (char *)"PyShape_GetParent", (PyCFunction
) _wrap_PyShape_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
33423 { (char *)"PyShape_SetParent", (PyCFunction
) _wrap_PyShape_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
33424 { (char *)"PyShape_GetTopAncestor", (PyCFunction
) _wrap_PyShape_GetTopAncestor
, METH_VARARGS
| METH_KEYWORDS
},
33425 { (char *)"PyShape_GetChildren", (PyCFunction
) _wrap_PyShape_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
33426 { (char *)"PyShape_Unlink", (PyCFunction
) _wrap_PyShape_Unlink
, METH_VARARGS
| METH_KEYWORDS
},
33427 { (char *)"PyShape_SetDrawHandles", (PyCFunction
) _wrap_PyShape_SetDrawHandles
, METH_VARARGS
| METH_KEYWORDS
},
33428 { (char *)"PyShape_GetDrawHandles", (PyCFunction
) _wrap_PyShape_GetDrawHandles
, METH_VARARGS
| METH_KEYWORDS
},
33429 { (char *)"PyShape_MakeControlPoints", (PyCFunction
) _wrap_PyShape_MakeControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33430 { (char *)"PyShape_DeleteControlPoints", (PyCFunction
) _wrap_PyShape_DeleteControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33431 { (char *)"PyShape_ResetControlPoints", (PyCFunction
) _wrap_PyShape_ResetControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33432 { (char *)"PyShape_GetEventHandler", (PyCFunction
) _wrap_PyShape_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
33433 { (char *)"PyShape_SetEventHandler", (PyCFunction
) _wrap_PyShape_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
33434 { (char *)"PyShape_MakeMandatoryControlPoints", (PyCFunction
) _wrap_PyShape_MakeMandatoryControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33435 { (char *)"PyShape_ResetMandatoryControlPoints", (PyCFunction
) _wrap_PyShape_ResetMandatoryControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33436 { (char *)"PyShape_Recompute", (PyCFunction
) _wrap_PyShape_Recompute
, METH_VARARGS
| METH_KEYWORDS
},
33437 { (char *)"PyShape_CalculateSize", (PyCFunction
) _wrap_PyShape_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
},
33438 { (char *)"PyShape_Select", (PyCFunction
) _wrap_PyShape_Select
, METH_VARARGS
| METH_KEYWORDS
},
33439 { (char *)"PyShape_SetHighlight", (PyCFunction
) _wrap_PyShape_SetHighlight
, METH_VARARGS
| METH_KEYWORDS
},
33440 { (char *)"PyShape_IsHighlighted", (PyCFunction
) _wrap_PyShape_IsHighlighted
, METH_VARARGS
| METH_KEYWORDS
},
33441 { (char *)"PyShape_Selected", (PyCFunction
) _wrap_PyShape_Selected
, METH_VARARGS
| METH_KEYWORDS
},
33442 { (char *)"PyShape_AncestorSelected", (PyCFunction
) _wrap_PyShape_AncestorSelected
, METH_VARARGS
| METH_KEYWORDS
},
33443 { (char *)"PyShape_SetSensitivityFilter", (PyCFunction
) _wrap_PyShape_SetSensitivityFilter
, METH_VARARGS
| METH_KEYWORDS
},
33444 { (char *)"PyShape_GetSensitivityFilter", (PyCFunction
) _wrap_PyShape_GetSensitivityFilter
, METH_VARARGS
| METH_KEYWORDS
},
33445 { (char *)"PyShape_SetDraggable", (PyCFunction
) _wrap_PyShape_SetDraggable
, METH_VARARGS
| METH_KEYWORDS
},
33446 { (char *)"PyShape_SetFixedSize", (PyCFunction
) _wrap_PyShape_SetFixedSize
, METH_VARARGS
| METH_KEYWORDS
},
33447 { (char *)"PyShape_GetFixedSize", (PyCFunction
) _wrap_PyShape_GetFixedSize
, METH_VARARGS
| METH_KEYWORDS
},
33448 { (char *)"PyShape_GetFixedWidth", (PyCFunction
) _wrap_PyShape_GetFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
33449 { (char *)"PyShape_GetFixedHeight", (PyCFunction
) _wrap_PyShape_GetFixedHeight
, METH_VARARGS
| METH_KEYWORDS
},
33450 { (char *)"PyShape_SetSpaceAttachments", (PyCFunction
) _wrap_PyShape_SetSpaceAttachments
, METH_VARARGS
| METH_KEYWORDS
},
33451 { (char *)"PyShape_GetSpaceAttachments", (PyCFunction
) _wrap_PyShape_GetSpaceAttachments
, METH_VARARGS
| METH_KEYWORDS
},
33452 { (char *)"PyShape_SetShadowMode", (PyCFunction
) _wrap_PyShape_SetShadowMode
, METH_VARARGS
| METH_KEYWORDS
},
33453 { (char *)"PyShape_GetShadowMode", (PyCFunction
) _wrap_PyShape_GetShadowMode
, METH_VARARGS
| METH_KEYWORDS
},
33454 { (char *)"PyShape_HitTest", (PyCFunction
) _wrap_PyShape_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
33455 { (char *)"PyShape_SetCentreResize", (PyCFunction
) _wrap_PyShape_SetCentreResize
, METH_VARARGS
| METH_KEYWORDS
},
33456 { (char *)"PyShape_GetCentreResize", (PyCFunction
) _wrap_PyShape_GetCentreResize
, METH_VARARGS
| METH_KEYWORDS
},
33457 { (char *)"PyShape_SetMaintainAspectRatio", (PyCFunction
) _wrap_PyShape_SetMaintainAspectRatio
, METH_VARARGS
| METH_KEYWORDS
},
33458 { (char *)"PyShape_GetMaintainAspectRatio", (PyCFunction
) _wrap_PyShape_GetMaintainAspectRatio
, METH_VARARGS
| METH_KEYWORDS
},
33459 { (char *)"PyShape_GetLines", (PyCFunction
) _wrap_PyShape_GetLines
, METH_VARARGS
| METH_KEYWORDS
},
33460 { (char *)"PyShape_SetDisableLabel", (PyCFunction
) _wrap_PyShape_SetDisableLabel
, METH_VARARGS
| METH_KEYWORDS
},
33461 { (char *)"PyShape_GetDisableLabel", (PyCFunction
) _wrap_PyShape_GetDisableLabel
, METH_VARARGS
| METH_KEYWORDS
},
33462 { (char *)"PyShape_SetAttachmentMode", (PyCFunction
) _wrap_PyShape_SetAttachmentMode
, METH_VARARGS
| METH_KEYWORDS
},
33463 { (char *)"PyShape_GetAttachmentMode", (PyCFunction
) _wrap_PyShape_GetAttachmentMode
, METH_VARARGS
| METH_KEYWORDS
},
33464 { (char *)"PyShape_SetId", (PyCFunction
) _wrap_PyShape_SetId
, METH_VARARGS
| METH_KEYWORDS
},
33465 { (char *)"PyShape_GetId", (PyCFunction
) _wrap_PyShape_GetId
, METH_VARARGS
| METH_KEYWORDS
},
33466 { (char *)"PyShape_SetPen", (PyCFunction
) _wrap_PyShape_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
33467 { (char *)"PyShape_SetBrush", (PyCFunction
) _wrap_PyShape_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
33468 { (char *)"PyShape_Show", (PyCFunction
) _wrap_PyShape_Show
, METH_VARARGS
| METH_KEYWORDS
},
33469 { (char *)"PyShape_IsShown", (PyCFunction
) _wrap_PyShape_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
33470 { (char *)"PyShape_Move", (PyCFunction
) _wrap_PyShape_Move
, METH_VARARGS
| METH_KEYWORDS
},
33471 { (char *)"PyShape_Erase", (PyCFunction
) _wrap_PyShape_Erase
, METH_VARARGS
| METH_KEYWORDS
},
33472 { (char *)"PyShape_EraseContents", (PyCFunction
) _wrap_PyShape_EraseContents
, METH_VARARGS
| METH_KEYWORDS
},
33473 { (char *)"PyShape_Draw", (PyCFunction
) _wrap_PyShape_Draw
, METH_VARARGS
| METH_KEYWORDS
},
33474 { (char *)"PyShape_Flash", (PyCFunction
) _wrap_PyShape_Flash
, METH_VARARGS
| METH_KEYWORDS
},
33475 { (char *)"PyShape_MoveLinks", (PyCFunction
) _wrap_PyShape_MoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
33476 { (char *)"PyShape_DrawContents", (PyCFunction
) _wrap_PyShape_DrawContents
, METH_VARARGS
| METH_KEYWORDS
},
33477 { (char *)"PyShape_SetSize", (PyCFunction
) _wrap_PyShape_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
33478 { (char *)"PyShape_SetAttachmentSize", (PyCFunction
) _wrap_PyShape_SetAttachmentSize
, METH_VARARGS
| METH_KEYWORDS
},
33479 { (char *)"PyShape_Attach", (PyCFunction
) _wrap_PyShape_Attach
, METH_VARARGS
| METH_KEYWORDS
},
33480 { (char *)"PyShape_Detach", (PyCFunction
) _wrap_PyShape_Detach
, METH_VARARGS
| METH_KEYWORDS
},
33481 { (char *)"PyShape_Constrain", (PyCFunction
) _wrap_PyShape_Constrain
, METH_VARARGS
| METH_KEYWORDS
},
33482 { (char *)"PyShape_AddLine", (PyCFunction
) _wrap_PyShape_AddLine
, METH_VARARGS
| METH_KEYWORDS
},
33483 { (char *)"PyShape_GetLinePosition", (PyCFunction
) _wrap_PyShape_GetLinePosition
, METH_VARARGS
| METH_KEYWORDS
},
33484 { (char *)"PyShape_AddText", (PyCFunction
) _wrap_PyShape_AddText
, METH_VARARGS
| METH_KEYWORDS
},
33485 { (char *)"PyShape_GetPen", (PyCFunction
) _wrap_PyShape_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
33486 { (char *)"PyShape_GetBrush", (PyCFunction
) _wrap_PyShape_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
33487 { (char *)"PyShape_SetDefaultRegionSize", (PyCFunction
) _wrap_PyShape_SetDefaultRegionSize
, METH_VARARGS
| METH_KEYWORDS
},
33488 { (char *)"PyShape_FormatText", (PyCFunction
) _wrap_PyShape_FormatText
, METH_VARARGS
| METH_KEYWORDS
},
33489 { (char *)"PyShape_SetFormatMode", (PyCFunction
) _wrap_PyShape_SetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
33490 { (char *)"PyShape_GetFormatMode", (PyCFunction
) _wrap_PyShape_GetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
33491 { (char *)"PyShape_SetFont", (PyCFunction
) _wrap_PyShape_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
33492 { (char *)"PyShape_GetFont", (PyCFunction
) _wrap_PyShape_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
33493 { (char *)"PyShape_SetTextColour", (PyCFunction
) _wrap_PyShape_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
33494 { (char *)"PyShape_GetTextColour", (PyCFunction
) _wrap_PyShape_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
33495 { (char *)"PyShape_GetNumberOfTextRegions", (PyCFunction
) _wrap_PyShape_GetNumberOfTextRegions
, METH_VARARGS
| METH_KEYWORDS
},
33496 { (char *)"PyShape_SetRegionName", (PyCFunction
) _wrap_PyShape_SetRegionName
, METH_VARARGS
| METH_KEYWORDS
},
33497 { (char *)"PyShape_GetRegionName", (PyCFunction
) _wrap_PyShape_GetRegionName
, METH_VARARGS
| METH_KEYWORDS
},
33498 { (char *)"PyShape_GetRegionId", (PyCFunction
) _wrap_PyShape_GetRegionId
, METH_VARARGS
| METH_KEYWORDS
},
33499 { (char *)"PyShape_NameRegions", (PyCFunction
) _wrap_PyShape_NameRegions
, METH_VARARGS
| METH_KEYWORDS
},
33500 { (char *)"PyShape_GetRegions", (PyCFunction
) _wrap_PyShape_GetRegions
, METH_VARARGS
| METH_KEYWORDS
},
33501 { (char *)"PyShape_AddRegion", (PyCFunction
) _wrap_PyShape_AddRegion
, METH_VARARGS
| METH_KEYWORDS
},
33502 { (char *)"PyShape_ClearRegions", (PyCFunction
) _wrap_PyShape_ClearRegions
, METH_VARARGS
| METH_KEYWORDS
},
33503 { (char *)"PyShape_AssignNewIds", (PyCFunction
) _wrap_PyShape_AssignNewIds
, METH_VARARGS
| METH_KEYWORDS
},
33504 { (char *)"PyShape_FindRegion", (PyCFunction
) _wrap_PyShape_FindRegion
, METH_VARARGS
| METH_KEYWORDS
},
33505 { (char *)"PyShape_FindRegionNames", (PyCFunction
) _wrap_PyShape_FindRegionNames
, METH_VARARGS
| METH_KEYWORDS
},
33506 { (char *)"PyShape_ClearText", (PyCFunction
) _wrap_PyShape_ClearText
, METH_VARARGS
| METH_KEYWORDS
},
33507 { (char *)"PyShape_RemoveLine", (PyCFunction
) _wrap_PyShape_RemoveLine
, METH_VARARGS
| METH_KEYWORDS
},
33508 { (char *)"PyShape_GetAttachmentPosition", (PyCFunction
) _wrap_PyShape_GetAttachmentPosition
, METH_VARARGS
| METH_KEYWORDS
},
33509 { (char *)"PyShape_GetNumberOfAttachments", (PyCFunction
) _wrap_PyShape_GetNumberOfAttachments
, METH_VARARGS
| METH_KEYWORDS
},
33510 { (char *)"PyShape_AttachmentIsValid", (PyCFunction
) _wrap_PyShape_AttachmentIsValid
, METH_VARARGS
| METH_KEYWORDS
},
33511 { (char *)"PyShape_GetAttachments", (PyCFunction
) _wrap_PyShape_GetAttachments
, METH_VARARGS
| METH_KEYWORDS
},
33512 { (char *)"PyShape_GetAttachmentPositionEdge", (PyCFunction
) _wrap_PyShape_GetAttachmentPositionEdge
, METH_VARARGS
| METH_KEYWORDS
},
33513 { (char *)"PyShape_CalcSimpleAttachment", (PyCFunction
) _wrap_PyShape_CalcSimpleAttachment
, METH_VARARGS
| METH_KEYWORDS
},
33514 { (char *)"PyShape_AttachmentSortTest", (PyCFunction
) _wrap_PyShape_AttachmentSortTest
, METH_VARARGS
| METH_KEYWORDS
},
33515 { (char *)"PyShape_EraseLinks", (PyCFunction
) _wrap_PyShape_EraseLinks
, METH_VARARGS
| METH_KEYWORDS
},
33516 { (char *)"PyShape_DrawLinks", (PyCFunction
) _wrap_PyShape_DrawLinks
, METH_VARARGS
| METH_KEYWORDS
},
33517 { (char *)"PyShape_MoveLineToNewAttachment", (PyCFunction
) _wrap_PyShape_MoveLineToNewAttachment
, METH_VARARGS
| METH_KEYWORDS
},
33518 { (char *)"PyShape_ApplyAttachmentOrdering", (PyCFunction
) _wrap_PyShape_ApplyAttachmentOrdering
, METH_VARARGS
| METH_KEYWORDS
},
33519 { (char *)"PyShape_GetBranchingAttachmentRoot", (PyCFunction
) _wrap_PyShape_GetBranchingAttachmentRoot
, METH_VARARGS
| METH_KEYWORDS
},
33520 { (char *)"PyShape_GetBranchingAttachmentInfo", (PyCFunction
) _wrap_PyShape_GetBranchingAttachmentInfo
, METH_VARARGS
| METH_KEYWORDS
},
33521 { (char *)"PyShape_GetBranchingAttachmentPoint", (PyCFunction
) _wrap_PyShape_GetBranchingAttachmentPoint
, METH_VARARGS
| METH_KEYWORDS
},
33522 { (char *)"PyShape_GetAttachmentLineCount", (PyCFunction
) _wrap_PyShape_GetAttachmentLineCount
, METH_VARARGS
| METH_KEYWORDS
},
33523 { (char *)"PyShape_SetBranchNeckLength", (PyCFunction
) _wrap_PyShape_SetBranchNeckLength
, METH_VARARGS
| METH_KEYWORDS
},
33524 { (char *)"PyShape_GetBranchNeckLength", (PyCFunction
) _wrap_PyShape_GetBranchNeckLength
, METH_VARARGS
| METH_KEYWORDS
},
33525 { (char *)"PyShape_SetBranchStemLength", (PyCFunction
) _wrap_PyShape_SetBranchStemLength
, METH_VARARGS
| METH_KEYWORDS
},
33526 { (char *)"PyShape_GetBranchStemLength", (PyCFunction
) _wrap_PyShape_GetBranchStemLength
, METH_VARARGS
| METH_KEYWORDS
},
33527 { (char *)"PyShape_SetBranchSpacing", (PyCFunction
) _wrap_PyShape_SetBranchSpacing
, METH_VARARGS
| METH_KEYWORDS
},
33528 { (char *)"PyShape_GetBranchSpacing", (PyCFunction
) _wrap_PyShape_GetBranchSpacing
, METH_VARARGS
| METH_KEYWORDS
},
33529 { (char *)"PyShape_SetBranchStyle", (PyCFunction
) _wrap_PyShape_SetBranchStyle
, METH_VARARGS
| METH_KEYWORDS
},
33530 { (char *)"PyShape_GetBranchStyle", (PyCFunction
) _wrap_PyShape_GetBranchStyle
, METH_VARARGS
| METH_KEYWORDS
},
33531 { (char *)"PyShape_PhysicalToLogicalAttachment", (PyCFunction
) _wrap_PyShape_PhysicalToLogicalAttachment
, METH_VARARGS
| METH_KEYWORDS
},
33532 { (char *)"PyShape_LogicalToPhysicalAttachment", (PyCFunction
) _wrap_PyShape_LogicalToPhysicalAttachment
, METH_VARARGS
| METH_KEYWORDS
},
33533 { (char *)"PyShape_Draggable", (PyCFunction
) _wrap_PyShape_Draggable
, METH_VARARGS
| METH_KEYWORDS
},
33534 { (char *)"PyShape_HasDescendant", (PyCFunction
) _wrap_PyShape_HasDescendant
, METH_VARARGS
| METH_KEYWORDS
},
33535 { (char *)"PyShape_CreateNewCopy", (PyCFunction
) _wrap_PyShape_CreateNewCopy
, METH_VARARGS
| METH_KEYWORDS
},
33536 { (char *)"PyShape_Copy", (PyCFunction
) _wrap_PyShape_Copy
, METH_VARARGS
| METH_KEYWORDS
},
33537 { (char *)"PyShape_CopyWithHandler", (PyCFunction
) _wrap_PyShape_CopyWithHandler
, METH_VARARGS
| METH_KEYWORDS
},
33538 { (char *)"PyShape_Rotate", (PyCFunction
) _wrap_PyShape_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
33539 { (char *)"PyShape_GetRotation", (PyCFunction
) _wrap_PyShape_GetRotation
, METH_VARARGS
| METH_KEYWORDS
},
33540 { (char *)"PyShape_SetRotation", (PyCFunction
) _wrap_PyShape_SetRotation
, METH_VARARGS
| METH_KEYWORDS
},
33541 { (char *)"PyShape_ClearAttachments", (PyCFunction
) _wrap_PyShape_ClearAttachments
, METH_VARARGS
| METH_KEYWORDS
},
33542 { (char *)"PyShape_Recentre", (PyCFunction
) _wrap_PyShape_Recentre
, METH_VARARGS
| METH_KEYWORDS
},
33543 { (char *)"PyShape_ClearPointList", (PyCFunction
) _wrap_PyShape_ClearPointList
, METH_VARARGS
| METH_KEYWORDS
},
33544 { (char *)"PyShape_GetBackgroundPen", (PyCFunction
) _wrap_PyShape_GetBackgroundPen
, METH_VARARGS
| METH_KEYWORDS
},
33545 { (char *)"PyShape_GetBackgroundBrush", (PyCFunction
) _wrap_PyShape_GetBackgroundBrush
, METH_VARARGS
| METH_KEYWORDS
},
33546 { (char *)"PyShape_base_OnDelete", (PyCFunction
) _wrap_PyShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
33547 { (char *)"PyShape_base_OnDraw", (PyCFunction
) _wrap_PyShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
33548 { (char *)"PyShape_base_OnDrawContents", (PyCFunction
) _wrap_PyShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
33549 { (char *)"PyShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
33550 { (char *)"PyShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
33551 { (char *)"PyShape_base_OnErase", (PyCFunction
) _wrap_PyShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
33552 { (char *)"PyShape_base_OnEraseContents", (PyCFunction
) _wrap_PyShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
33553 { (char *)"PyShape_base_OnHighlight", (PyCFunction
) _wrap_PyShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
33554 { (char *)"PyShape_base_OnLeftClick", (PyCFunction
) _wrap_PyShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
33555 { (char *)"PyShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
33556 { (char *)"PyShape_base_OnRightClick", (PyCFunction
) _wrap_PyShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
33557 { (char *)"PyShape_base_OnSize", (PyCFunction
) _wrap_PyShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
33558 { (char *)"PyShape_base_OnMovePre", (PyCFunction
) _wrap_PyShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
33559 { (char *)"PyShape_base_OnMovePost", (PyCFunction
) _wrap_PyShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
33560 { (char *)"PyShape_base_OnDragLeft", (PyCFunction
) _wrap_PyShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33561 { (char *)"PyShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33562 { (char *)"PyShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33563 { (char *)"PyShape_base_OnDragRight", (PyCFunction
) _wrap_PyShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33564 { (char *)"PyShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33565 { (char *)"PyShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33566 { (char *)"PyShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
33567 { (char *)"PyShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33568 { (char *)"PyShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33569 { (char *)"PyShape_base_OnMoveLink", (PyCFunction
) _wrap_PyShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
33570 { (char *)"PyShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33571 { (char *)"PyShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33572 { (char *)"PyShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33573 { (char *)"PyShape_base_OnBeginSize", (PyCFunction
) _wrap_PyShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
33574 { (char *)"PyShape_base_OnEndSize", (PyCFunction
) _wrap_PyShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
33575 { (char *)"PyShape_swigregister", PyShape_swigregister
, METH_VARARGS
},
33576 { (char *)"new_PseudoMetaFile", (PyCFunction
) _wrap_new_PseudoMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
33577 { (char *)"delete_PseudoMetaFile", (PyCFunction
) _wrap_delete_PseudoMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
33578 { (char *)"PseudoMetaFile_Draw", (PyCFunction
) _wrap_PseudoMetaFile_Draw
, METH_VARARGS
| METH_KEYWORDS
},
33579 { (char *)"PseudoMetaFile_Clear", (PyCFunction
) _wrap_PseudoMetaFile_Clear
, METH_VARARGS
| METH_KEYWORDS
},
33580 { (char *)"PseudoMetaFile_Copy", (PyCFunction
) _wrap_PseudoMetaFile_Copy
, METH_VARARGS
| METH_KEYWORDS
},
33581 { (char *)"PseudoMetaFile_Scale", (PyCFunction
) _wrap_PseudoMetaFile_Scale
, METH_VARARGS
| METH_KEYWORDS
},
33582 { (char *)"PseudoMetaFile_ScaleTo", (PyCFunction
) _wrap_PseudoMetaFile_ScaleTo
, METH_VARARGS
| METH_KEYWORDS
},
33583 { (char *)"PseudoMetaFile_Translate", (PyCFunction
) _wrap_PseudoMetaFile_Translate
, METH_VARARGS
| METH_KEYWORDS
},
33584 { (char *)"PseudoMetaFile_Rotate", (PyCFunction
) _wrap_PseudoMetaFile_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
33585 { (char *)"PseudoMetaFile_LoadFromMetaFile", (PyCFunction
) _wrap_PseudoMetaFile_LoadFromMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
33586 { (char *)"PseudoMetaFile_GetBounds", (PyCFunction
) _wrap_PseudoMetaFile_GetBounds
, METH_VARARGS
| METH_KEYWORDS
},
33587 { (char *)"PseudoMetaFile_CalculateSize", (PyCFunction
) _wrap_PseudoMetaFile_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
},
33588 { (char *)"PseudoMetaFile_SetRotateable", (PyCFunction
) _wrap_PseudoMetaFile_SetRotateable
, METH_VARARGS
| METH_KEYWORDS
},
33589 { (char *)"PseudoMetaFile_GetRotateable", (PyCFunction
) _wrap_PseudoMetaFile_GetRotateable
, METH_VARARGS
| METH_KEYWORDS
},
33590 { (char *)"PseudoMetaFile_SetSize", (PyCFunction
) _wrap_PseudoMetaFile_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
33591 { (char *)"PseudoMetaFile_SetFillBrush", (PyCFunction
) _wrap_PseudoMetaFile_SetFillBrush
, METH_VARARGS
| METH_KEYWORDS
},
33592 { (char *)"PseudoMetaFile_GetFillBrush", (PyCFunction
) _wrap_PseudoMetaFile_GetFillBrush
, METH_VARARGS
| METH_KEYWORDS
},
33593 { (char *)"PseudoMetaFile_SetOutlinePen", (PyCFunction
) _wrap_PseudoMetaFile_SetOutlinePen
, METH_VARARGS
| METH_KEYWORDS
},
33594 { (char *)"PseudoMetaFile_GetOutlinePen", (PyCFunction
) _wrap_PseudoMetaFile_GetOutlinePen
, METH_VARARGS
| METH_KEYWORDS
},
33595 { (char *)"PseudoMetaFile_SetOutlineOp", (PyCFunction
) _wrap_PseudoMetaFile_SetOutlineOp
, METH_VARARGS
| METH_KEYWORDS
},
33596 { (char *)"PseudoMetaFile_GetOutlineOp", (PyCFunction
) _wrap_PseudoMetaFile_GetOutlineOp
, METH_VARARGS
| METH_KEYWORDS
},
33597 { (char *)"PseudoMetaFile_IsValid", (PyCFunction
) _wrap_PseudoMetaFile_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
33598 { (char *)"PseudoMetaFile_DrawLine", (PyCFunction
) _wrap_PseudoMetaFile_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
33599 { (char *)"PseudoMetaFile_DrawRectangle", (PyCFunction
) _wrap_PseudoMetaFile_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
33600 { (char *)"PseudoMetaFile_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoMetaFile_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
33601 { (char *)"PseudoMetaFile_DrawArc", (PyCFunction
) _wrap_PseudoMetaFile_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
33602 { (char *)"PseudoMetaFile_DrawEllipticArc", (PyCFunction
) _wrap_PseudoMetaFile_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
33603 { (char *)"PseudoMetaFile_DrawEllipse", (PyCFunction
) _wrap_PseudoMetaFile_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
33604 { (char *)"PseudoMetaFile_DrawPoint", (PyCFunction
) _wrap_PseudoMetaFile_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
33605 { (char *)"PseudoMetaFile_DrawText", (PyCFunction
) _wrap_PseudoMetaFile_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
33606 { (char *)"PseudoMetaFile_DrawLines", (PyCFunction
) _wrap_PseudoMetaFile_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
33607 { (char *)"PseudoMetaFile_DrawPolygon", (PyCFunction
) _wrap_PseudoMetaFile_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
33608 { (char *)"PseudoMetaFile_DrawSpline", (PyCFunction
) _wrap_PseudoMetaFile_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
33609 { (char *)"PseudoMetaFile_SetClippingRect", (PyCFunction
) _wrap_PseudoMetaFile_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
33610 { (char *)"PseudoMetaFile_DestroyClippingRect", (PyCFunction
) _wrap_PseudoMetaFile_DestroyClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
33611 { (char *)"PseudoMetaFile_SetPen", (PyCFunction
) _wrap_PseudoMetaFile_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
33612 { (char *)"PseudoMetaFile_SetBrush", (PyCFunction
) _wrap_PseudoMetaFile_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
33613 { (char *)"PseudoMetaFile_SetFont", (PyCFunction
) _wrap_PseudoMetaFile_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
33614 { (char *)"PseudoMetaFile_SetTextColour", (PyCFunction
) _wrap_PseudoMetaFile_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
33615 { (char *)"PseudoMetaFile_SetBackgroundColour", (PyCFunction
) _wrap_PseudoMetaFile_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
33616 { (char *)"PseudoMetaFile_SetBackgroundMode", (PyCFunction
) _wrap_PseudoMetaFile_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
33617 { (char *)"PseudoMetaFile_swigregister", PseudoMetaFile_swigregister
, METH_VARARGS
},
33618 { (char *)"new_PyRectangleShape", (PyCFunction
) _wrap_new_PyRectangleShape
, METH_VARARGS
| METH_KEYWORDS
},
33619 { (char *)"PyRectangleShape__setCallbackInfo", (PyCFunction
) _wrap_PyRectangleShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
33620 { (char *)"PyRectangleShape_SetCornerRadius", (PyCFunction
) _wrap_PyRectangleShape_SetCornerRadius
, METH_VARARGS
| METH_KEYWORDS
},
33621 { (char *)"PyRectangleShape_GetCornerRadius", (PyCFunction
) _wrap_PyRectangleShape_GetCornerRadius
, METH_VARARGS
| METH_KEYWORDS
},
33622 { (char *)"PyRectangleShape_base_OnDelete", (PyCFunction
) _wrap_PyRectangleShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
33623 { (char *)"PyRectangleShape_base_OnDraw", (PyCFunction
) _wrap_PyRectangleShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
33624 { (char *)"PyRectangleShape_base_OnDrawContents", (PyCFunction
) _wrap_PyRectangleShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
33625 { (char *)"PyRectangleShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyRectangleShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
33626 { (char *)"PyRectangleShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyRectangleShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
33627 { (char *)"PyRectangleShape_base_OnErase", (PyCFunction
) _wrap_PyRectangleShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
33628 { (char *)"PyRectangleShape_base_OnEraseContents", (PyCFunction
) _wrap_PyRectangleShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
33629 { (char *)"PyRectangleShape_base_OnHighlight", (PyCFunction
) _wrap_PyRectangleShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
33630 { (char *)"PyRectangleShape_base_OnLeftClick", (PyCFunction
) _wrap_PyRectangleShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
33631 { (char *)"PyRectangleShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyRectangleShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
33632 { (char *)"PyRectangleShape_base_OnRightClick", (PyCFunction
) _wrap_PyRectangleShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
33633 { (char *)"PyRectangleShape_base_OnSize", (PyCFunction
) _wrap_PyRectangleShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
33634 { (char *)"PyRectangleShape_base_OnMovePre", (PyCFunction
) _wrap_PyRectangleShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
33635 { (char *)"PyRectangleShape_base_OnMovePost", (PyCFunction
) _wrap_PyRectangleShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
33636 { (char *)"PyRectangleShape_base_OnDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33637 { (char *)"PyRectangleShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33638 { (char *)"PyRectangleShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33639 { (char *)"PyRectangleShape_base_OnDragRight", (PyCFunction
) _wrap_PyRectangleShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33640 { (char *)"PyRectangleShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyRectangleShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33641 { (char *)"PyRectangleShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyRectangleShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33642 { (char *)"PyRectangleShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyRectangleShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
33643 { (char *)"PyRectangleShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyRectangleShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33644 { (char *)"PyRectangleShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyRectangleShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33645 { (char *)"PyRectangleShape_base_OnMoveLink", (PyCFunction
) _wrap_PyRectangleShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
33646 { (char *)"PyRectangleShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33647 { (char *)"PyRectangleShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33648 { (char *)"PyRectangleShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33649 { (char *)"PyRectangleShape_base_OnBeginSize", (PyCFunction
) _wrap_PyRectangleShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
33650 { (char *)"PyRectangleShape_base_OnEndSize", (PyCFunction
) _wrap_PyRectangleShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
33651 { (char *)"PyRectangleShape_swigregister", PyRectangleShape_swigregister
, METH_VARARGS
},
33652 { (char *)"new_PyControlPoint", (PyCFunction
) _wrap_new_PyControlPoint
, METH_VARARGS
| METH_KEYWORDS
},
33653 { (char *)"PyControlPoint__setCallbackInfo", (PyCFunction
) _wrap_PyControlPoint__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
33654 { (char *)"PyControlPoint_SetCornerRadius", (PyCFunction
) _wrap_PyControlPoint_SetCornerRadius
, METH_VARARGS
| METH_KEYWORDS
},
33655 { (char *)"PyControlPoint_base_OnDelete", (PyCFunction
) _wrap_PyControlPoint_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
33656 { (char *)"PyControlPoint_base_OnDraw", (PyCFunction
) _wrap_PyControlPoint_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
33657 { (char *)"PyControlPoint_base_OnDrawContents", (PyCFunction
) _wrap_PyControlPoint_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
33658 { (char *)"PyControlPoint_base_OnDrawBranches", (PyCFunction
) _wrap_PyControlPoint_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
33659 { (char *)"PyControlPoint_base_OnMoveLinks", (PyCFunction
) _wrap_PyControlPoint_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
33660 { (char *)"PyControlPoint_base_OnErase", (PyCFunction
) _wrap_PyControlPoint_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
33661 { (char *)"PyControlPoint_base_OnEraseContents", (PyCFunction
) _wrap_PyControlPoint_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
33662 { (char *)"PyControlPoint_base_OnHighlight", (PyCFunction
) _wrap_PyControlPoint_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
33663 { (char *)"PyControlPoint_base_OnLeftClick", (PyCFunction
) _wrap_PyControlPoint_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
33664 { (char *)"PyControlPoint_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyControlPoint_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
33665 { (char *)"PyControlPoint_base_OnRightClick", (PyCFunction
) _wrap_PyControlPoint_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
33666 { (char *)"PyControlPoint_base_OnSize", (PyCFunction
) _wrap_PyControlPoint_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
33667 { (char *)"PyControlPoint_base_OnMovePre", (PyCFunction
) _wrap_PyControlPoint_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
33668 { (char *)"PyControlPoint_base_OnMovePost", (PyCFunction
) _wrap_PyControlPoint_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
33669 { (char *)"PyControlPoint_base_OnDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33670 { (char *)"PyControlPoint_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33671 { (char *)"PyControlPoint_base_OnEndDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33672 { (char *)"PyControlPoint_base_OnDragRight", (PyCFunction
) _wrap_PyControlPoint_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33673 { (char *)"PyControlPoint_base_OnBeginDragRight", (PyCFunction
) _wrap_PyControlPoint_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33674 { (char *)"PyControlPoint_base_OnEndDragRight", (PyCFunction
) _wrap_PyControlPoint_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33675 { (char *)"PyControlPoint_base_OnDrawOutline", (PyCFunction
) _wrap_PyControlPoint_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
33676 { (char *)"PyControlPoint_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyControlPoint_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33677 { (char *)"PyControlPoint_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyControlPoint_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33678 { (char *)"PyControlPoint_base_OnMoveLink", (PyCFunction
) _wrap_PyControlPoint_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
33679 { (char *)"PyControlPoint_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33680 { (char *)"PyControlPoint_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33681 { (char *)"PyControlPoint_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33682 { (char *)"PyControlPoint_base_OnBeginSize", (PyCFunction
) _wrap_PyControlPoint_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
33683 { (char *)"PyControlPoint_base_OnEndSize", (PyCFunction
) _wrap_PyControlPoint_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
33684 { (char *)"PyControlPoint_swigregister", PyControlPoint_swigregister
, METH_VARARGS
},
33685 { (char *)"new_PyBitmapShape", (PyCFunction
) _wrap_new_PyBitmapShape
, METH_VARARGS
| METH_KEYWORDS
},
33686 { (char *)"PyBitmapShape__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
33687 { (char *)"PyBitmapShape_GetBitmap", (PyCFunction
) _wrap_PyBitmapShape_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
33688 { (char *)"PyBitmapShape_GetFilename", (PyCFunction
) _wrap_PyBitmapShape_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
33689 { (char *)"PyBitmapShape_SetBitmap", (PyCFunction
) _wrap_PyBitmapShape_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
33690 { (char *)"PyBitmapShape_SetFilename", (PyCFunction
) _wrap_PyBitmapShape_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
33691 { (char *)"PyBitmapShape_base_OnDelete", (PyCFunction
) _wrap_PyBitmapShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
33692 { (char *)"PyBitmapShape_base_OnDraw", (PyCFunction
) _wrap_PyBitmapShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
33693 { (char *)"PyBitmapShape_base_OnDrawContents", (PyCFunction
) _wrap_PyBitmapShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
33694 { (char *)"PyBitmapShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyBitmapShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
33695 { (char *)"PyBitmapShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyBitmapShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
33696 { (char *)"PyBitmapShape_base_OnErase", (PyCFunction
) _wrap_PyBitmapShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
33697 { (char *)"PyBitmapShape_base_OnEraseContents", (PyCFunction
) _wrap_PyBitmapShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
33698 { (char *)"PyBitmapShape_base_OnHighlight", (PyCFunction
) _wrap_PyBitmapShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
33699 { (char *)"PyBitmapShape_base_OnLeftClick", (PyCFunction
) _wrap_PyBitmapShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
33700 { (char *)"PyBitmapShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyBitmapShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
33701 { (char *)"PyBitmapShape_base_OnRightClick", (PyCFunction
) _wrap_PyBitmapShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
33702 { (char *)"PyBitmapShape_base_OnSize", (PyCFunction
) _wrap_PyBitmapShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
33703 { (char *)"PyBitmapShape_base_OnMovePre", (PyCFunction
) _wrap_PyBitmapShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
33704 { (char *)"PyBitmapShape_base_OnMovePost", (PyCFunction
) _wrap_PyBitmapShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
33705 { (char *)"PyBitmapShape_base_OnDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33706 { (char *)"PyBitmapShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33707 { (char *)"PyBitmapShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33708 { (char *)"PyBitmapShape_base_OnDragRight", (PyCFunction
) _wrap_PyBitmapShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33709 { (char *)"PyBitmapShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyBitmapShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33710 { (char *)"PyBitmapShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyBitmapShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33711 { (char *)"PyBitmapShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyBitmapShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
33712 { (char *)"PyBitmapShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyBitmapShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33713 { (char *)"PyBitmapShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyBitmapShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33714 { (char *)"PyBitmapShape_base_OnMoveLink", (PyCFunction
) _wrap_PyBitmapShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
33715 { (char *)"PyBitmapShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33716 { (char *)"PyBitmapShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33717 { (char *)"PyBitmapShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33718 { (char *)"PyBitmapShape_base_OnBeginSize", (PyCFunction
) _wrap_PyBitmapShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
33719 { (char *)"PyBitmapShape_base_OnEndSize", (PyCFunction
) _wrap_PyBitmapShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
33720 { (char *)"PyBitmapShape_swigregister", PyBitmapShape_swigregister
, METH_VARARGS
},
33721 { (char *)"new_PyDrawnShape", (PyCFunction
) _wrap_new_PyDrawnShape
, METH_VARARGS
| METH_KEYWORDS
},
33722 { (char *)"PyDrawnShape__setCallbackInfo", (PyCFunction
) _wrap_PyDrawnShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
33723 { (char *)"PyDrawnShape_CalculateSize", (PyCFunction
) _wrap_PyDrawnShape_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
},
33724 { (char *)"PyDrawnShape_DestroyClippingRect", (PyCFunction
) _wrap_PyDrawnShape_DestroyClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
33725 { (char *)"PyDrawnShape_DrawArc", (PyCFunction
) _wrap_PyDrawnShape_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
33726 { (char *)"PyDrawnShape_DrawAtAngle", (PyCFunction
) _wrap_PyDrawnShape_DrawAtAngle
, METH_VARARGS
| METH_KEYWORDS
},
33727 { (char *)"PyDrawnShape_DrawEllipticArc", (PyCFunction
) _wrap_PyDrawnShape_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
33728 { (char *)"PyDrawnShape_DrawLine", (PyCFunction
) _wrap_PyDrawnShape_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
33729 { (char *)"PyDrawnShape_DrawLines", (PyCFunction
) _wrap_PyDrawnShape_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
33730 { (char *)"PyDrawnShape_DrawPoint", (PyCFunction
) _wrap_PyDrawnShape_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
33731 { (char *)"PyDrawnShape_DrawPolygon", (PyCFunction
) _wrap_PyDrawnShape_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
33732 { (char *)"PyDrawnShape_DrawRectangle", (PyCFunction
) _wrap_PyDrawnShape_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
33733 { (char *)"PyDrawnShape_DrawRoundedRectangle", (PyCFunction
) _wrap_PyDrawnShape_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
33734 { (char *)"PyDrawnShape_DrawSpline", (PyCFunction
) _wrap_PyDrawnShape_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
33735 { (char *)"PyDrawnShape_DrawText", (PyCFunction
) _wrap_PyDrawnShape_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
33736 { (char *)"PyDrawnShape_GetAngle", (PyCFunction
) _wrap_PyDrawnShape_GetAngle
, METH_VARARGS
| METH_KEYWORDS
},
33737 { (char *)"PyDrawnShape_GetMetaFile", (PyCFunction
) _wrap_PyDrawnShape_GetMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
33738 { (char *)"PyDrawnShape_GetRotation", (PyCFunction
) _wrap_PyDrawnShape_GetRotation
, METH_VARARGS
| METH_KEYWORDS
},
33739 { (char *)"PyDrawnShape_LoadFromMetaFile", (PyCFunction
) _wrap_PyDrawnShape_LoadFromMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
33740 { (char *)"PyDrawnShape_Rotate", (PyCFunction
) _wrap_PyDrawnShape_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
33741 { (char *)"PyDrawnShape_SetClippingRect", (PyCFunction
) _wrap_PyDrawnShape_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
33742 { (char *)"PyDrawnShape_SetDrawnBackgroundColour", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
33743 { (char *)"PyDrawnShape_SetDrawnBackgroundMode", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
33744 { (char *)"PyDrawnShape_SetDrawnBrush", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnBrush
, METH_VARARGS
| METH_KEYWORDS
},
33745 { (char *)"PyDrawnShape_SetDrawnFont", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnFont
, METH_VARARGS
| METH_KEYWORDS
},
33746 { (char *)"PyDrawnShape_SetDrawnPen", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnPen
, METH_VARARGS
| METH_KEYWORDS
},
33747 { (char *)"PyDrawnShape_SetDrawnTextColour", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnTextColour
, METH_VARARGS
| METH_KEYWORDS
},
33748 { (char *)"PyDrawnShape_Scale", (PyCFunction
) _wrap_PyDrawnShape_Scale
, METH_VARARGS
| METH_KEYWORDS
},
33749 { (char *)"PyDrawnShape_SetSaveToFile", (PyCFunction
) _wrap_PyDrawnShape_SetSaveToFile
, METH_VARARGS
| METH_KEYWORDS
},
33750 { (char *)"PyDrawnShape_Translate", (PyCFunction
) _wrap_PyDrawnShape_Translate
, METH_VARARGS
| METH_KEYWORDS
},
33751 { (char *)"PyDrawnShape_base_OnDelete", (PyCFunction
) _wrap_PyDrawnShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
33752 { (char *)"PyDrawnShape_base_OnDraw", (PyCFunction
) _wrap_PyDrawnShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
33753 { (char *)"PyDrawnShape_base_OnDrawContents", (PyCFunction
) _wrap_PyDrawnShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
33754 { (char *)"PyDrawnShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyDrawnShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
33755 { (char *)"PyDrawnShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyDrawnShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
33756 { (char *)"PyDrawnShape_base_OnErase", (PyCFunction
) _wrap_PyDrawnShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
33757 { (char *)"PyDrawnShape_base_OnEraseContents", (PyCFunction
) _wrap_PyDrawnShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
33758 { (char *)"PyDrawnShape_base_OnHighlight", (PyCFunction
) _wrap_PyDrawnShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
33759 { (char *)"PyDrawnShape_base_OnLeftClick", (PyCFunction
) _wrap_PyDrawnShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
33760 { (char *)"PyDrawnShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyDrawnShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
33761 { (char *)"PyDrawnShape_base_OnRightClick", (PyCFunction
) _wrap_PyDrawnShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
33762 { (char *)"PyDrawnShape_base_OnSize", (PyCFunction
) _wrap_PyDrawnShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
33763 { (char *)"PyDrawnShape_base_OnMovePre", (PyCFunction
) _wrap_PyDrawnShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
33764 { (char *)"PyDrawnShape_base_OnMovePost", (PyCFunction
) _wrap_PyDrawnShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
33765 { (char *)"PyDrawnShape_base_OnDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33766 { (char *)"PyDrawnShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33767 { (char *)"PyDrawnShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33768 { (char *)"PyDrawnShape_base_OnDragRight", (PyCFunction
) _wrap_PyDrawnShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33769 { (char *)"PyDrawnShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyDrawnShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33770 { (char *)"PyDrawnShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyDrawnShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33771 { (char *)"PyDrawnShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyDrawnShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
33772 { (char *)"PyDrawnShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyDrawnShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33773 { (char *)"PyDrawnShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyDrawnShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33774 { (char *)"PyDrawnShape_base_OnMoveLink", (PyCFunction
) _wrap_PyDrawnShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
33775 { (char *)"PyDrawnShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33776 { (char *)"PyDrawnShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33777 { (char *)"PyDrawnShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33778 { (char *)"PyDrawnShape_base_OnBeginSize", (PyCFunction
) _wrap_PyDrawnShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
33779 { (char *)"PyDrawnShape_base_OnEndSize", (PyCFunction
) _wrap_PyDrawnShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
33780 { (char *)"PyDrawnShape_swigregister", PyDrawnShape_swigregister
, METH_VARARGS
},
33781 { (char *)"new_OGLConstraint", (PyCFunction
) _wrap_new_OGLConstraint
, METH_VARARGS
| METH_KEYWORDS
},
33782 { (char *)"OGLConstraint_Evaluate", (PyCFunction
) _wrap_OGLConstraint_Evaluate
, METH_VARARGS
| METH_KEYWORDS
},
33783 { (char *)"OGLConstraint_SetSpacing", (PyCFunction
) _wrap_OGLConstraint_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
33784 { (char *)"OGLConstraint_Equals", (PyCFunction
) _wrap_OGLConstraint_Equals
, METH_VARARGS
| METH_KEYWORDS
},
33785 { (char *)"OGLConstraint_swigregister", OGLConstraint_swigregister
, METH_VARARGS
},
33786 { (char *)"new_PyCompositeShape", (PyCFunction
) _wrap_new_PyCompositeShape
, METH_VARARGS
| METH_KEYWORDS
},
33787 { (char *)"PyCompositeShape__setCallbackInfo", (PyCFunction
) _wrap_PyCompositeShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
33788 { (char *)"PyCompositeShape_AddChild", (PyCFunction
) _wrap_PyCompositeShape_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
33789 { (char *)"PyCompositeShape_AddConstraint", (PyCFunction
) _wrap_PyCompositeShape_AddConstraint
, METH_VARARGS
| METH_KEYWORDS
},
33790 { (char *)"PyCompositeShape_AddConstrainedShapes", (PyCFunction
) _wrap_PyCompositeShape_AddConstrainedShapes
, METH_VARARGS
| METH_KEYWORDS
},
33791 { (char *)"PyCompositeShape_AddSimpleConstraint", (PyCFunction
) _wrap_PyCompositeShape_AddSimpleConstraint
, METH_VARARGS
| METH_KEYWORDS
},
33792 { (char *)"PyCompositeShape_CalculateSize", (PyCFunction
) _wrap_PyCompositeShape_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
},
33793 { (char *)"PyCompositeShape_ContainsDivision", (PyCFunction
) _wrap_PyCompositeShape_ContainsDivision
, METH_VARARGS
| METH_KEYWORDS
},
33794 { (char *)"PyCompositeShape_DeleteConstraint", (PyCFunction
) _wrap_PyCompositeShape_DeleteConstraint
, METH_VARARGS
| METH_KEYWORDS
},
33795 { (char *)"PyCompositeShape_DeleteConstraintsInvolvingChild", (PyCFunction
) _wrap_PyCompositeShape_DeleteConstraintsInvolvingChild
, METH_VARARGS
| METH_KEYWORDS
},
33796 { (char *)"PyCompositeShape_FindContainerImage", (PyCFunction
) _wrap_PyCompositeShape_FindContainerImage
, METH_VARARGS
| METH_KEYWORDS
},
33797 { (char *)"PyCompositeShape_GetConstraints", (PyCFunction
) _wrap_PyCompositeShape_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
33798 { (char *)"PyCompositeShape_GetDivisions", (PyCFunction
) _wrap_PyCompositeShape_GetDivisions
, METH_VARARGS
| METH_KEYWORDS
},
33799 { (char *)"PyCompositeShape_MakeContainer", (PyCFunction
) _wrap_PyCompositeShape_MakeContainer
, METH_VARARGS
| METH_KEYWORDS
},
33800 { (char *)"PyCompositeShape_Recompute", (PyCFunction
) _wrap_PyCompositeShape_Recompute
, METH_VARARGS
| METH_KEYWORDS
},
33801 { (char *)"PyCompositeShape_RemoveChild", (PyCFunction
) _wrap_PyCompositeShape_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
33802 { (char *)"PyCompositeShape_base_OnDelete", (PyCFunction
) _wrap_PyCompositeShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
33803 { (char *)"PyCompositeShape_base_OnDraw", (PyCFunction
) _wrap_PyCompositeShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
33804 { (char *)"PyCompositeShape_base_OnDrawContents", (PyCFunction
) _wrap_PyCompositeShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
33805 { (char *)"PyCompositeShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyCompositeShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
33806 { (char *)"PyCompositeShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyCompositeShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
33807 { (char *)"PyCompositeShape_base_OnErase", (PyCFunction
) _wrap_PyCompositeShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
33808 { (char *)"PyCompositeShape_base_OnEraseContents", (PyCFunction
) _wrap_PyCompositeShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
33809 { (char *)"PyCompositeShape_base_OnHighlight", (PyCFunction
) _wrap_PyCompositeShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
33810 { (char *)"PyCompositeShape_base_OnLeftClick", (PyCFunction
) _wrap_PyCompositeShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
33811 { (char *)"PyCompositeShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyCompositeShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
33812 { (char *)"PyCompositeShape_base_OnRightClick", (PyCFunction
) _wrap_PyCompositeShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
33813 { (char *)"PyCompositeShape_base_OnSize", (PyCFunction
) _wrap_PyCompositeShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
33814 { (char *)"PyCompositeShape_base_OnMovePre", (PyCFunction
) _wrap_PyCompositeShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
33815 { (char *)"PyCompositeShape_base_OnMovePost", (PyCFunction
) _wrap_PyCompositeShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
33816 { (char *)"PyCompositeShape_base_OnDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33817 { (char *)"PyCompositeShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33818 { (char *)"PyCompositeShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33819 { (char *)"PyCompositeShape_base_OnDragRight", (PyCFunction
) _wrap_PyCompositeShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33820 { (char *)"PyCompositeShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyCompositeShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33821 { (char *)"PyCompositeShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyCompositeShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33822 { (char *)"PyCompositeShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyCompositeShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
33823 { (char *)"PyCompositeShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyCompositeShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33824 { (char *)"PyCompositeShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyCompositeShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33825 { (char *)"PyCompositeShape_base_OnMoveLink", (PyCFunction
) _wrap_PyCompositeShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
33826 { (char *)"PyCompositeShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33827 { (char *)"PyCompositeShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33828 { (char *)"PyCompositeShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33829 { (char *)"PyCompositeShape_base_OnBeginSize", (PyCFunction
) _wrap_PyCompositeShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
33830 { (char *)"PyCompositeShape_base_OnEndSize", (PyCFunction
) _wrap_PyCompositeShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
33831 { (char *)"PyCompositeShape_swigregister", PyCompositeShape_swigregister
, METH_VARARGS
},
33832 { (char *)"new_PyDividedShape", (PyCFunction
) _wrap_new_PyDividedShape
, METH_VARARGS
| METH_KEYWORDS
},
33833 { (char *)"PyDividedShape__setCallbackInfo", (PyCFunction
) _wrap_PyDividedShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
33834 { (char *)"PyDividedShape_EditRegions", (PyCFunction
) _wrap_PyDividedShape_EditRegions
, METH_VARARGS
| METH_KEYWORDS
},
33835 { (char *)"PyDividedShape_SetRegionSizes", (PyCFunction
) _wrap_PyDividedShape_SetRegionSizes
, METH_VARARGS
| METH_KEYWORDS
},
33836 { (char *)"PyDividedShape_base_OnDelete", (PyCFunction
) _wrap_PyDividedShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
33837 { (char *)"PyDividedShape_base_OnDraw", (PyCFunction
) _wrap_PyDividedShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
33838 { (char *)"PyDividedShape_base_OnDrawContents", (PyCFunction
) _wrap_PyDividedShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
33839 { (char *)"PyDividedShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyDividedShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
33840 { (char *)"PyDividedShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyDividedShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
33841 { (char *)"PyDividedShape_base_OnErase", (PyCFunction
) _wrap_PyDividedShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
33842 { (char *)"PyDividedShape_base_OnEraseContents", (PyCFunction
) _wrap_PyDividedShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
33843 { (char *)"PyDividedShape_base_OnHighlight", (PyCFunction
) _wrap_PyDividedShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
33844 { (char *)"PyDividedShape_base_OnLeftClick", (PyCFunction
) _wrap_PyDividedShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
33845 { (char *)"PyDividedShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyDividedShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
33846 { (char *)"PyDividedShape_base_OnRightClick", (PyCFunction
) _wrap_PyDividedShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
33847 { (char *)"PyDividedShape_base_OnSize", (PyCFunction
) _wrap_PyDividedShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
33848 { (char *)"PyDividedShape_base_OnMovePre", (PyCFunction
) _wrap_PyDividedShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
33849 { (char *)"PyDividedShape_base_OnMovePost", (PyCFunction
) _wrap_PyDividedShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
33850 { (char *)"PyDividedShape_base_OnDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33851 { (char *)"PyDividedShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33852 { (char *)"PyDividedShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33853 { (char *)"PyDividedShape_base_OnDragRight", (PyCFunction
) _wrap_PyDividedShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33854 { (char *)"PyDividedShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyDividedShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33855 { (char *)"PyDividedShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyDividedShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33856 { (char *)"PyDividedShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyDividedShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
33857 { (char *)"PyDividedShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyDividedShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33858 { (char *)"PyDividedShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyDividedShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33859 { (char *)"PyDividedShape_base_OnMoveLink", (PyCFunction
) _wrap_PyDividedShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
33860 { (char *)"PyDividedShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33861 { (char *)"PyDividedShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33862 { (char *)"PyDividedShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33863 { (char *)"PyDividedShape_base_OnBeginSize", (PyCFunction
) _wrap_PyDividedShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
33864 { (char *)"PyDividedShape_base_OnEndSize", (PyCFunction
) _wrap_PyDividedShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
33865 { (char *)"PyDividedShape_swigregister", PyDividedShape_swigregister
, METH_VARARGS
},
33866 { (char *)"new_PyDivisionShape", (PyCFunction
) _wrap_new_PyDivisionShape
, METH_VARARGS
| METH_KEYWORDS
},
33867 { (char *)"PyDivisionShape__setCallbackInfo", (PyCFunction
) _wrap_PyDivisionShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
33868 { (char *)"PyDivisionShape_AdjustBottom", (PyCFunction
) _wrap_PyDivisionShape_AdjustBottom
, METH_VARARGS
| METH_KEYWORDS
},
33869 { (char *)"PyDivisionShape_AdjustLeft", (PyCFunction
) _wrap_PyDivisionShape_AdjustLeft
, METH_VARARGS
| METH_KEYWORDS
},
33870 { (char *)"PyDivisionShape_AdjustRight", (PyCFunction
) _wrap_PyDivisionShape_AdjustRight
, METH_VARARGS
| METH_KEYWORDS
},
33871 { (char *)"PyDivisionShape_AdjustTop", (PyCFunction
) _wrap_PyDivisionShape_AdjustTop
, METH_VARARGS
| METH_KEYWORDS
},
33872 { (char *)"PyDivisionShape_Divide", (PyCFunction
) _wrap_PyDivisionShape_Divide
, METH_VARARGS
| METH_KEYWORDS
},
33873 { (char *)"PyDivisionShape_EditEdge", (PyCFunction
) _wrap_PyDivisionShape_EditEdge
, METH_VARARGS
| METH_KEYWORDS
},
33874 { (char *)"PyDivisionShape_GetBottomSide", (PyCFunction
) _wrap_PyDivisionShape_GetBottomSide
, METH_VARARGS
| METH_KEYWORDS
},
33875 { (char *)"PyDivisionShape_GetHandleSide", (PyCFunction
) _wrap_PyDivisionShape_GetHandleSide
, METH_VARARGS
| METH_KEYWORDS
},
33876 { (char *)"PyDivisionShape_GetLeftSide", (PyCFunction
) _wrap_PyDivisionShape_GetLeftSide
, METH_VARARGS
| METH_KEYWORDS
},
33877 { (char *)"PyDivisionShape_GetLeftSideColour", (PyCFunction
) _wrap_PyDivisionShape_GetLeftSideColour
, METH_VARARGS
| METH_KEYWORDS
},
33878 { (char *)"PyDivisionShape_GetLeftSidePen", (PyCFunction
) _wrap_PyDivisionShape_GetLeftSidePen
, METH_VARARGS
| METH_KEYWORDS
},
33879 { (char *)"PyDivisionShape_GetRightSide", (PyCFunction
) _wrap_PyDivisionShape_GetRightSide
, METH_VARARGS
| METH_KEYWORDS
},
33880 { (char *)"PyDivisionShape_GetTopSide", (PyCFunction
) _wrap_PyDivisionShape_GetTopSide
, METH_VARARGS
| METH_KEYWORDS
},
33881 { (char *)"PyDivisionShape_GetTopSidePen", (PyCFunction
) _wrap_PyDivisionShape_GetTopSidePen
, METH_VARARGS
| METH_KEYWORDS
},
33882 { (char *)"PyDivisionShape_ResizeAdjoining", (PyCFunction
) _wrap_PyDivisionShape_ResizeAdjoining
, METH_VARARGS
| METH_KEYWORDS
},
33883 { (char *)"PyDivisionShape_PopupMenu", (PyCFunction
) _wrap_PyDivisionShape_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
33884 { (char *)"PyDivisionShape_SetBottomSide", (PyCFunction
) _wrap_PyDivisionShape_SetBottomSide
, METH_VARARGS
| METH_KEYWORDS
},
33885 { (char *)"PyDivisionShape_SetHandleSide", (PyCFunction
) _wrap_PyDivisionShape_SetHandleSide
, METH_VARARGS
| METH_KEYWORDS
},
33886 { (char *)"PyDivisionShape_SetLeftSide", (PyCFunction
) _wrap_PyDivisionShape_SetLeftSide
, METH_VARARGS
| METH_KEYWORDS
},
33887 { (char *)"PyDivisionShape_SetLeftSideColour", (PyCFunction
) _wrap_PyDivisionShape_SetLeftSideColour
, METH_VARARGS
| METH_KEYWORDS
},
33888 { (char *)"PyDivisionShape_SetLeftSidePen", (PyCFunction
) _wrap_PyDivisionShape_SetLeftSidePen
, METH_VARARGS
| METH_KEYWORDS
},
33889 { (char *)"PyDivisionShape_SetRightSide", (PyCFunction
) _wrap_PyDivisionShape_SetRightSide
, METH_VARARGS
| METH_KEYWORDS
},
33890 { (char *)"PyDivisionShape_SetTopSide", (PyCFunction
) _wrap_PyDivisionShape_SetTopSide
, METH_VARARGS
| METH_KEYWORDS
},
33891 { (char *)"PyDivisionShape_SetTopSideColour", (PyCFunction
) _wrap_PyDivisionShape_SetTopSideColour
, METH_VARARGS
| METH_KEYWORDS
},
33892 { (char *)"PyDivisionShape_SetTopSidePen", (PyCFunction
) _wrap_PyDivisionShape_SetTopSidePen
, METH_VARARGS
| METH_KEYWORDS
},
33893 { (char *)"PyDivisionShape_base_OnDelete", (PyCFunction
) _wrap_PyDivisionShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
33894 { (char *)"PyDivisionShape_base_OnDraw", (PyCFunction
) _wrap_PyDivisionShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
33895 { (char *)"PyDivisionShape_base_OnDrawContents", (PyCFunction
) _wrap_PyDivisionShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
33896 { (char *)"PyDivisionShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyDivisionShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
33897 { (char *)"PyDivisionShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyDivisionShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
33898 { (char *)"PyDivisionShape_base_OnErase", (PyCFunction
) _wrap_PyDivisionShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
33899 { (char *)"PyDivisionShape_base_OnEraseContents", (PyCFunction
) _wrap_PyDivisionShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
33900 { (char *)"PyDivisionShape_base_OnHighlight", (PyCFunction
) _wrap_PyDivisionShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
33901 { (char *)"PyDivisionShape_base_OnLeftClick", (PyCFunction
) _wrap_PyDivisionShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
33902 { (char *)"PyDivisionShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyDivisionShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
33903 { (char *)"PyDivisionShape_base_OnRightClick", (PyCFunction
) _wrap_PyDivisionShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
33904 { (char *)"PyDivisionShape_base_OnSize", (PyCFunction
) _wrap_PyDivisionShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
33905 { (char *)"PyDivisionShape_base_OnMovePre", (PyCFunction
) _wrap_PyDivisionShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
33906 { (char *)"PyDivisionShape_base_OnMovePost", (PyCFunction
) _wrap_PyDivisionShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
33907 { (char *)"PyDivisionShape_base_OnDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33908 { (char *)"PyDivisionShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33909 { (char *)"PyDivisionShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33910 { (char *)"PyDivisionShape_base_OnDragRight", (PyCFunction
) _wrap_PyDivisionShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33911 { (char *)"PyDivisionShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyDivisionShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33912 { (char *)"PyDivisionShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyDivisionShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33913 { (char *)"PyDivisionShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyDivisionShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
33914 { (char *)"PyDivisionShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyDivisionShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33915 { (char *)"PyDivisionShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyDivisionShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33916 { (char *)"PyDivisionShape_base_OnMoveLink", (PyCFunction
) _wrap_PyDivisionShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
33917 { (char *)"PyDivisionShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33918 { (char *)"PyDivisionShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33919 { (char *)"PyDivisionShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33920 { (char *)"PyDivisionShape_base_OnBeginSize", (PyCFunction
) _wrap_PyDivisionShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
33921 { (char *)"PyDivisionShape_base_OnEndSize", (PyCFunction
) _wrap_PyDivisionShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
33922 { (char *)"PyDivisionShape_swigregister", PyDivisionShape_swigregister
, METH_VARARGS
},
33923 { (char *)"new_PyEllipseShape", (PyCFunction
) _wrap_new_PyEllipseShape
, METH_VARARGS
| METH_KEYWORDS
},
33924 { (char *)"PyEllipseShape__setCallbackInfo", (PyCFunction
) _wrap_PyEllipseShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
33925 { (char *)"PyEllipseShape_base_OnDraw", (PyCFunction
) _wrap_PyEllipseShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
33926 { (char *)"PyEllipseShape_base_OnDrawContents", (PyCFunction
) _wrap_PyEllipseShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
33927 { (char *)"PyEllipseShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyEllipseShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
33928 { (char *)"PyEllipseShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyEllipseShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
33929 { (char *)"PyEllipseShape_base_OnErase", (PyCFunction
) _wrap_PyEllipseShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
33930 { (char *)"PyEllipseShape_base_OnEraseContents", (PyCFunction
) _wrap_PyEllipseShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
33931 { (char *)"PyEllipseShape_base_OnHighlight", (PyCFunction
) _wrap_PyEllipseShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
33932 { (char *)"PyEllipseShape_base_OnLeftClick", (PyCFunction
) _wrap_PyEllipseShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
33933 { (char *)"PyEllipseShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyEllipseShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
33934 { (char *)"PyEllipseShape_base_OnRightClick", (PyCFunction
) _wrap_PyEllipseShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
33935 { (char *)"PyEllipseShape_base_OnSize", (PyCFunction
) _wrap_PyEllipseShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
33936 { (char *)"PyEllipseShape_base_OnMovePre", (PyCFunction
) _wrap_PyEllipseShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
33937 { (char *)"PyEllipseShape_base_OnMovePost", (PyCFunction
) _wrap_PyEllipseShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
33938 { (char *)"PyEllipseShape_base_OnDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33939 { (char *)"PyEllipseShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33940 { (char *)"PyEllipseShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33941 { (char *)"PyEllipseShape_base_OnDragRight", (PyCFunction
) _wrap_PyEllipseShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33942 { (char *)"PyEllipseShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyEllipseShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33943 { (char *)"PyEllipseShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyEllipseShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33944 { (char *)"PyEllipseShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyEllipseShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
33945 { (char *)"PyEllipseShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyEllipseShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33946 { (char *)"PyEllipseShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyEllipseShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33947 { (char *)"PyEllipseShape_base_OnMoveLink", (PyCFunction
) _wrap_PyEllipseShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
33948 { (char *)"PyEllipseShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33949 { (char *)"PyEllipseShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33950 { (char *)"PyEllipseShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33951 { (char *)"PyEllipseShape_base_OnBeginSize", (PyCFunction
) _wrap_PyEllipseShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
33952 { (char *)"PyEllipseShape_base_OnEndSize", (PyCFunction
) _wrap_PyEllipseShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
33953 { (char *)"PyEllipseShape_swigregister", PyEllipseShape_swigregister
, METH_VARARGS
},
33954 { (char *)"new_PyCircleShape", (PyCFunction
) _wrap_new_PyCircleShape
, METH_VARARGS
| METH_KEYWORDS
},
33955 { (char *)"PyCircleShape__setCallbackInfo", (PyCFunction
) _wrap_PyCircleShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
33956 { (char *)"PyCircleShape_base_OnDraw", (PyCFunction
) _wrap_PyCircleShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
33957 { (char *)"PyCircleShape_base_OnDrawContents", (PyCFunction
) _wrap_PyCircleShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
33958 { (char *)"PyCircleShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyCircleShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
33959 { (char *)"PyCircleShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyCircleShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
33960 { (char *)"PyCircleShape_base_OnErase", (PyCFunction
) _wrap_PyCircleShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
33961 { (char *)"PyCircleShape_base_OnEraseContents", (PyCFunction
) _wrap_PyCircleShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
33962 { (char *)"PyCircleShape_base_OnHighlight", (PyCFunction
) _wrap_PyCircleShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
33963 { (char *)"PyCircleShape_base_OnLeftClick", (PyCFunction
) _wrap_PyCircleShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
33964 { (char *)"PyCircleShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyCircleShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
33965 { (char *)"PyCircleShape_base_OnRightClick", (PyCFunction
) _wrap_PyCircleShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
33966 { (char *)"PyCircleShape_base_OnSize", (PyCFunction
) _wrap_PyCircleShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
33967 { (char *)"PyCircleShape_base_OnMovePre", (PyCFunction
) _wrap_PyCircleShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
33968 { (char *)"PyCircleShape_base_OnMovePost", (PyCFunction
) _wrap_PyCircleShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
33969 { (char *)"PyCircleShape_base_OnDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33970 { (char *)"PyCircleShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33971 { (char *)"PyCircleShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33972 { (char *)"PyCircleShape_base_OnDragRight", (PyCFunction
) _wrap_PyCircleShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33973 { (char *)"PyCircleShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyCircleShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33974 { (char *)"PyCircleShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyCircleShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33975 { (char *)"PyCircleShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyCircleShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
33976 { (char *)"PyCircleShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyCircleShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33977 { (char *)"PyCircleShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyCircleShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33978 { (char *)"PyCircleShape_base_OnMoveLink", (PyCFunction
) _wrap_PyCircleShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
33979 { (char *)"PyCircleShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33980 { (char *)"PyCircleShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33981 { (char *)"PyCircleShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33982 { (char *)"PyCircleShape_base_OnBeginSize", (PyCFunction
) _wrap_PyCircleShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
33983 { (char *)"PyCircleShape_base_OnEndSize", (PyCFunction
) _wrap_PyCircleShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
33984 { (char *)"PyCircleShape_swigregister", PyCircleShape_swigregister
, METH_VARARGS
},
33985 { (char *)"new_ArrowHead", (PyCFunction
) _wrap_new_ArrowHead
, METH_VARARGS
| METH_KEYWORDS
},
33986 { (char *)"delete_ArrowHead", (PyCFunction
) _wrap_delete_ArrowHead
, METH_VARARGS
| METH_KEYWORDS
},
33987 { (char *)"ArrowHead__GetType", (PyCFunction
) _wrap_ArrowHead__GetType
, METH_VARARGS
| METH_KEYWORDS
},
33988 { (char *)"ArrowHead_GetPosition", (PyCFunction
) _wrap_ArrowHead_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
33989 { (char *)"ArrowHead_SetPosition", (PyCFunction
) _wrap_ArrowHead_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
33990 { (char *)"ArrowHead_GetXOffset", (PyCFunction
) _wrap_ArrowHead_GetXOffset
, METH_VARARGS
| METH_KEYWORDS
},
33991 { (char *)"ArrowHead_GetYOffset", (PyCFunction
) _wrap_ArrowHead_GetYOffset
, METH_VARARGS
| METH_KEYWORDS
},
33992 { (char *)"ArrowHead_GetSpacing", (PyCFunction
) _wrap_ArrowHead_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
33993 { (char *)"ArrowHead_GetSize", (PyCFunction
) _wrap_ArrowHead_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
33994 { (char *)"ArrowHead_GetName", (PyCFunction
) _wrap_ArrowHead_GetName
, METH_VARARGS
| METH_KEYWORDS
},
33995 { (char *)"ArrowHead_SetXOffset", (PyCFunction
) _wrap_ArrowHead_SetXOffset
, METH_VARARGS
| METH_KEYWORDS
},
33996 { (char *)"ArrowHead_SetYOffset", (PyCFunction
) _wrap_ArrowHead_SetYOffset
, METH_VARARGS
| METH_KEYWORDS
},
33997 { (char *)"ArrowHead_GetMetaFile", (PyCFunction
) _wrap_ArrowHead_GetMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
33998 { (char *)"ArrowHead_GetId", (PyCFunction
) _wrap_ArrowHead_GetId
, METH_VARARGS
| METH_KEYWORDS
},
33999 { (char *)"ArrowHead_GetArrowEnd", (PyCFunction
) _wrap_ArrowHead_GetArrowEnd
, METH_VARARGS
| METH_KEYWORDS
},
34000 { (char *)"ArrowHead_GetArrowSize", (PyCFunction
) _wrap_ArrowHead_GetArrowSize
, METH_VARARGS
| METH_KEYWORDS
},
34001 { (char *)"ArrowHead_SetSize", (PyCFunction
) _wrap_ArrowHead_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
34002 { (char *)"ArrowHead_SetSpacing", (PyCFunction
) _wrap_ArrowHead_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
34003 { (char *)"ArrowHead_swigregister", ArrowHead_swigregister
, METH_VARARGS
},
34004 { (char *)"new_PyLineShape", (PyCFunction
) _wrap_new_PyLineShape
, METH_VARARGS
| METH_KEYWORDS
},
34005 { (char *)"PyLineShape__setCallbackInfo", (PyCFunction
) _wrap_PyLineShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
34006 { (char *)"PyLineShape_AddArrow", (PyCFunction
) _wrap_PyLineShape_AddArrow
, METH_VARARGS
| METH_KEYWORDS
},
34007 { (char *)"PyLineShape_AddArrowOrdered", (PyCFunction
) _wrap_PyLineShape_AddArrowOrdered
, METH_VARARGS
| METH_KEYWORDS
},
34008 { (char *)"PyLineShape_ClearArrow", (PyCFunction
) _wrap_PyLineShape_ClearArrow
, METH_VARARGS
| METH_KEYWORDS
},
34009 { (char *)"PyLineShape_ClearArrowsAtPosition", (PyCFunction
) _wrap_PyLineShape_ClearArrowsAtPosition
, METH_VARARGS
| METH_KEYWORDS
},
34010 { (char *)"PyLineShape_DrawArrow", (PyCFunction
) _wrap_PyLineShape_DrawArrow
, METH_VARARGS
| METH_KEYWORDS
},
34011 { (char *)"PyLineShape_DeleteArrowHeadId", (PyCFunction
) _wrap_PyLineShape_DeleteArrowHeadId
, METH_VARARGS
| METH_KEYWORDS
},
34012 { (char *)"PyLineShape_DeleteArrowHead", (PyCFunction
) _wrap_PyLineShape_DeleteArrowHead
, METH_VARARGS
| METH_KEYWORDS
},
34013 { (char *)"PyLineShape_DeleteLineControlPoint", (PyCFunction
) _wrap_PyLineShape_DeleteLineControlPoint
, METH_VARARGS
| METH_KEYWORDS
},
34014 { (char *)"PyLineShape_DrawArrows", (PyCFunction
) _wrap_PyLineShape_DrawArrows
, METH_VARARGS
| METH_KEYWORDS
},
34015 { (char *)"PyLineShape_DrawRegion", (PyCFunction
) _wrap_PyLineShape_DrawRegion
, METH_VARARGS
| METH_KEYWORDS
},
34016 { (char *)"PyLineShape_EraseRegion", (PyCFunction
) _wrap_PyLineShape_EraseRegion
, METH_VARARGS
| METH_KEYWORDS
},
34017 { (char *)"PyLineShape_FindArrowHeadId", (PyCFunction
) _wrap_PyLineShape_FindArrowHeadId
, METH_VARARGS
| METH_KEYWORDS
},
34018 { (char *)"PyLineShape_FindArrowHead", (PyCFunction
) _wrap_PyLineShape_FindArrowHead
, METH_VARARGS
| METH_KEYWORDS
},
34019 { (char *)"PyLineShape_FindLineEndPoints", (PyCFunction
) _wrap_PyLineShape_FindLineEndPoints
, METH_VARARGS
| METH_KEYWORDS
},
34020 { (char *)"PyLineShape_FindLinePosition", (PyCFunction
) _wrap_PyLineShape_FindLinePosition
, METH_VARARGS
| METH_KEYWORDS
},
34021 { (char *)"PyLineShape_FindMinimumWidth", (PyCFunction
) _wrap_PyLineShape_FindMinimumWidth
, METH_VARARGS
| METH_KEYWORDS
},
34022 { (char *)"PyLineShape_FindNth", (PyCFunction
) _wrap_PyLineShape_FindNth
, METH_VARARGS
| METH_KEYWORDS
},
34023 { (char *)"PyLineShape_GetAttachmentFrom", (PyCFunction
) _wrap_PyLineShape_GetAttachmentFrom
, METH_VARARGS
| METH_KEYWORDS
},
34024 { (char *)"PyLineShape_GetAttachmentTo", (PyCFunction
) _wrap_PyLineShape_GetAttachmentTo
, METH_VARARGS
| METH_KEYWORDS
},
34025 { (char *)"PyLineShape_GetEnds", (PyCFunction
) _wrap_PyLineShape_GetEnds
, METH_VARARGS
| METH_KEYWORDS
},
34026 { (char *)"PyLineShape_GetFrom", (PyCFunction
) _wrap_PyLineShape_GetFrom
, METH_VARARGS
| METH_KEYWORDS
},
34027 { (char *)"PyLineShape_GetLabelPosition", (PyCFunction
) _wrap_PyLineShape_GetLabelPosition
, METH_VARARGS
| METH_KEYWORDS
},
34028 { (char *)"PyLineShape_GetNextControlPoint", (PyCFunction
) _wrap_PyLineShape_GetNextControlPoint
, METH_VARARGS
| METH_KEYWORDS
},
34029 { (char *)"PyLineShape_GetTo", (PyCFunction
) _wrap_PyLineShape_GetTo
, METH_VARARGS
| METH_KEYWORDS
},
34030 { (char *)"PyLineShape_Initialise", (PyCFunction
) _wrap_PyLineShape_Initialise
, METH_VARARGS
| METH_KEYWORDS
},
34031 { (char *)"PyLineShape_InsertLineControlPoint", (PyCFunction
) _wrap_PyLineShape_InsertLineControlPoint
, METH_VARARGS
| METH_KEYWORDS
},
34032 { (char *)"PyLineShape_IsEnd", (PyCFunction
) _wrap_PyLineShape_IsEnd
, METH_VARARGS
| METH_KEYWORDS
},
34033 { (char *)"PyLineShape_IsSpline", (PyCFunction
) _wrap_PyLineShape_IsSpline
, METH_VARARGS
| METH_KEYWORDS
},
34034 { (char *)"PyLineShape_MakeLineControlPoints", (PyCFunction
) _wrap_PyLineShape_MakeLineControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
34035 { (char *)"PyLineShape_GetLineControlPoints", (PyCFunction
) _wrap_PyLineShape_GetLineControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
34036 { (char *)"PyLineShape_SetAttachmentFrom", (PyCFunction
) _wrap_PyLineShape_SetAttachmentFrom
, METH_VARARGS
| METH_KEYWORDS
},
34037 { (char *)"PyLineShape_SetAttachments", (PyCFunction
) _wrap_PyLineShape_SetAttachments
, METH_VARARGS
| METH_KEYWORDS
},
34038 { (char *)"PyLineShape_SetAttachmentTo", (PyCFunction
) _wrap_PyLineShape_SetAttachmentTo
, METH_VARARGS
| METH_KEYWORDS
},
34039 { (char *)"PyLineShape_SetEnds", (PyCFunction
) _wrap_PyLineShape_SetEnds
, METH_VARARGS
| METH_KEYWORDS
},
34040 { (char *)"PyLineShape_SetFrom", (PyCFunction
) _wrap_PyLineShape_SetFrom
, METH_VARARGS
| METH_KEYWORDS
},
34041 { (char *)"PyLineShape_SetIgnoreOffsets", (PyCFunction
) _wrap_PyLineShape_SetIgnoreOffsets
, METH_VARARGS
| METH_KEYWORDS
},
34042 { (char *)"PyLineShape_SetSpline", (PyCFunction
) _wrap_PyLineShape_SetSpline
, METH_VARARGS
| METH_KEYWORDS
},
34043 { (char *)"PyLineShape_SetTo", (PyCFunction
) _wrap_PyLineShape_SetTo
, METH_VARARGS
| METH_KEYWORDS
},
34044 { (char *)"PyLineShape_Straighten", (PyCFunction
) _wrap_PyLineShape_Straighten
, METH_VARARGS
| METH_KEYWORDS
},
34045 { (char *)"PyLineShape_Unlink", (PyCFunction
) _wrap_PyLineShape_Unlink
, METH_VARARGS
| METH_KEYWORDS
},
34046 { (char *)"PyLineShape_SetAlignmentOrientation", (PyCFunction
) _wrap_PyLineShape_SetAlignmentOrientation
, METH_VARARGS
| METH_KEYWORDS
},
34047 { (char *)"PyLineShape_SetAlignmentType", (PyCFunction
) _wrap_PyLineShape_SetAlignmentType
, METH_VARARGS
| METH_KEYWORDS
},
34048 { (char *)"PyLineShape_GetAlignmentOrientation", (PyCFunction
) _wrap_PyLineShape_GetAlignmentOrientation
, METH_VARARGS
| METH_KEYWORDS
},
34049 { (char *)"PyLineShape_GetAlignmentType", (PyCFunction
) _wrap_PyLineShape_GetAlignmentType
, METH_VARARGS
| METH_KEYWORDS
},
34050 { (char *)"PyLineShape_GetAlignmentStart", (PyCFunction
) _wrap_PyLineShape_GetAlignmentStart
, METH_VARARGS
| METH_KEYWORDS
},
34051 { (char *)"PyLineShape_GetAlignmentEnd", (PyCFunction
) _wrap_PyLineShape_GetAlignmentEnd
, METH_VARARGS
| METH_KEYWORDS
},
34052 { (char *)"PyLineShape_base_OnDraw", (PyCFunction
) _wrap_PyLineShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
34053 { (char *)"PyLineShape_base_OnDrawContents", (PyCFunction
) _wrap_PyLineShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
34054 { (char *)"PyLineShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyLineShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
34055 { (char *)"PyLineShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyLineShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
34056 { (char *)"PyLineShape_base_OnErase", (PyCFunction
) _wrap_PyLineShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
34057 { (char *)"PyLineShape_base_OnEraseContents", (PyCFunction
) _wrap_PyLineShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
34058 { (char *)"PyLineShape_base_OnHighlight", (PyCFunction
) _wrap_PyLineShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
34059 { (char *)"PyLineShape_base_OnLeftClick", (PyCFunction
) _wrap_PyLineShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
34060 { (char *)"PyLineShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyLineShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
34061 { (char *)"PyLineShape_base_OnRightClick", (PyCFunction
) _wrap_PyLineShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
34062 { (char *)"PyLineShape_base_OnSize", (PyCFunction
) _wrap_PyLineShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
34063 { (char *)"PyLineShape_base_OnMovePre", (PyCFunction
) _wrap_PyLineShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
34064 { (char *)"PyLineShape_base_OnMovePost", (PyCFunction
) _wrap_PyLineShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
34065 { (char *)"PyLineShape_base_OnDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
34066 { (char *)"PyLineShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
34067 { (char *)"PyLineShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
34068 { (char *)"PyLineShape_base_OnDragRight", (PyCFunction
) _wrap_PyLineShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
34069 { (char *)"PyLineShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyLineShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
34070 { (char *)"PyLineShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyLineShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
34071 { (char *)"PyLineShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyLineShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
34072 { (char *)"PyLineShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyLineShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
34073 { (char *)"PyLineShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyLineShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
34074 { (char *)"PyLineShape_base_OnMoveLink", (PyCFunction
) _wrap_PyLineShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
34075 { (char *)"PyLineShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
34076 { (char *)"PyLineShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
34077 { (char *)"PyLineShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
34078 { (char *)"PyLineShape_base_OnBeginSize", (PyCFunction
) _wrap_PyLineShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
34079 { (char *)"PyLineShape_base_OnEndSize", (PyCFunction
) _wrap_PyLineShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
34080 { (char *)"PyLineShape_swigregister", PyLineShape_swigregister
, METH_VARARGS
},
34081 { (char *)"new_PyPolygonShape", (PyCFunction
) _wrap_new_PyPolygonShape
, METH_VARARGS
| METH_KEYWORDS
},
34082 { (char *)"PyPolygonShape__setCallbackInfo", (PyCFunction
) _wrap_PyPolygonShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
34083 { (char *)"PyPolygonShape_Create", (PyCFunction
) _wrap_PyPolygonShape_Create
, METH_VARARGS
| METH_KEYWORDS
},
34084 { (char *)"PyPolygonShape_AddPolygonPoint", (PyCFunction
) _wrap_PyPolygonShape_AddPolygonPoint
, METH_VARARGS
| METH_KEYWORDS
},
34085 { (char *)"PyPolygonShape_CalculatePolygonCentre", (PyCFunction
) _wrap_PyPolygonShape_CalculatePolygonCentre
, METH_VARARGS
| METH_KEYWORDS
},
34086 { (char *)"PyPolygonShape_DeletePolygonPoint", (PyCFunction
) _wrap_PyPolygonShape_DeletePolygonPoint
, METH_VARARGS
| METH_KEYWORDS
},
34087 { (char *)"PyPolygonShape_GetPoints", (PyCFunction
) _wrap_PyPolygonShape_GetPoints
, METH_VARARGS
| METH_KEYWORDS
},
34088 { (char *)"PyPolygonShape_GetOriginalPoints", (PyCFunction
) _wrap_PyPolygonShape_GetOriginalPoints
, METH_VARARGS
| METH_KEYWORDS
},
34089 { (char *)"PyPolygonShape_GetOriginalWidth", (PyCFunction
) _wrap_PyPolygonShape_GetOriginalWidth
, METH_VARARGS
| METH_KEYWORDS
},
34090 { (char *)"PyPolygonShape_GetOriginalHeight", (PyCFunction
) _wrap_PyPolygonShape_GetOriginalHeight
, METH_VARARGS
| METH_KEYWORDS
},
34091 { (char *)"PyPolygonShape_SetOriginalWidth", (PyCFunction
) _wrap_PyPolygonShape_SetOriginalWidth
, METH_VARARGS
| METH_KEYWORDS
},
34092 { (char *)"PyPolygonShape_SetOriginalHeight", (PyCFunction
) _wrap_PyPolygonShape_SetOriginalHeight
, METH_VARARGS
| METH_KEYWORDS
},
34093 { (char *)"PyPolygonShape_UpdateOriginalPoints", (PyCFunction
) _wrap_PyPolygonShape_UpdateOriginalPoints
, METH_VARARGS
| METH_KEYWORDS
},
34094 { (char *)"PyPolygonShape_base_OnDraw", (PyCFunction
) _wrap_PyPolygonShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
34095 { (char *)"PyPolygonShape_base_OnDrawContents", (PyCFunction
) _wrap_PyPolygonShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
34096 { (char *)"PyPolygonShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyPolygonShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
34097 { (char *)"PyPolygonShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyPolygonShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
34098 { (char *)"PyPolygonShape_base_OnErase", (PyCFunction
) _wrap_PyPolygonShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
34099 { (char *)"PyPolygonShape_base_OnEraseContents", (PyCFunction
) _wrap_PyPolygonShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
34100 { (char *)"PyPolygonShape_base_OnHighlight", (PyCFunction
) _wrap_PyPolygonShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
34101 { (char *)"PyPolygonShape_base_OnLeftClick", (PyCFunction
) _wrap_PyPolygonShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
34102 { (char *)"PyPolygonShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyPolygonShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
34103 { (char *)"PyPolygonShape_base_OnRightClick", (PyCFunction
) _wrap_PyPolygonShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
34104 { (char *)"PyPolygonShape_base_OnSize", (PyCFunction
) _wrap_PyPolygonShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
34105 { (char *)"PyPolygonShape_base_OnMovePre", (PyCFunction
) _wrap_PyPolygonShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
34106 { (char *)"PyPolygonShape_base_OnMovePost", (PyCFunction
) _wrap_PyPolygonShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
34107 { (char *)"PyPolygonShape_base_OnDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
34108 { (char *)"PyPolygonShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
34109 { (char *)"PyPolygonShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
34110 { (char *)"PyPolygonShape_base_OnDragRight", (PyCFunction
) _wrap_PyPolygonShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
34111 { (char *)"PyPolygonShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyPolygonShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
34112 { (char *)"PyPolygonShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyPolygonShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
34113 { (char *)"PyPolygonShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyPolygonShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
34114 { (char *)"PyPolygonShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyPolygonShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
34115 { (char *)"PyPolygonShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyPolygonShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
34116 { (char *)"PyPolygonShape_base_OnMoveLink", (PyCFunction
) _wrap_PyPolygonShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
34117 { (char *)"PyPolygonShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
34118 { (char *)"PyPolygonShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
34119 { (char *)"PyPolygonShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
34120 { (char *)"PyPolygonShape_base_OnBeginSize", (PyCFunction
) _wrap_PyPolygonShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
34121 { (char *)"PyPolygonShape_base_OnEndSize", (PyCFunction
) _wrap_PyPolygonShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
34122 { (char *)"PyPolygonShape_swigregister", PyPolygonShape_swigregister
, METH_VARARGS
},
34123 { (char *)"new_PyTextShape", (PyCFunction
) _wrap_new_PyTextShape
, METH_VARARGS
| METH_KEYWORDS
},
34124 { (char *)"PyTextShape__setCallbackInfo", (PyCFunction
) _wrap_PyTextShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
34125 { (char *)"PyTextShape_base_OnDelete", (PyCFunction
) _wrap_PyTextShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
34126 { (char *)"PyTextShape_base_OnDraw", (PyCFunction
) _wrap_PyTextShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
34127 { (char *)"PyTextShape_base_OnDrawContents", (PyCFunction
) _wrap_PyTextShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
34128 { (char *)"PyTextShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyTextShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
34129 { (char *)"PyTextShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyTextShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
34130 { (char *)"PyTextShape_base_OnErase", (PyCFunction
) _wrap_PyTextShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
34131 { (char *)"PyTextShape_base_OnEraseContents", (PyCFunction
) _wrap_PyTextShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
34132 { (char *)"PyTextShape_base_OnHighlight", (PyCFunction
) _wrap_PyTextShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
34133 { (char *)"PyTextShape_base_OnLeftClick", (PyCFunction
) _wrap_PyTextShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
34134 { (char *)"PyTextShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyTextShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
34135 { (char *)"PyTextShape_base_OnRightClick", (PyCFunction
) _wrap_PyTextShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
34136 { (char *)"PyTextShape_base_OnSize", (PyCFunction
) _wrap_PyTextShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
34137 { (char *)"PyTextShape_base_OnMovePre", (PyCFunction
) _wrap_PyTextShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
34138 { (char *)"PyTextShape_base_OnMovePost", (PyCFunction
) _wrap_PyTextShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
34139 { (char *)"PyTextShape_base_OnDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
34140 { (char *)"PyTextShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
34141 { (char *)"PyTextShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
34142 { (char *)"PyTextShape_base_OnDragRight", (PyCFunction
) _wrap_PyTextShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
34143 { (char *)"PyTextShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyTextShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
34144 { (char *)"PyTextShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyTextShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
34145 { (char *)"PyTextShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyTextShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
34146 { (char *)"PyTextShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyTextShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
34147 { (char *)"PyTextShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyTextShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
34148 { (char *)"PyTextShape_base_OnMoveLink", (PyCFunction
) _wrap_PyTextShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
34149 { (char *)"PyTextShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
34150 { (char *)"PyTextShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
34151 { (char *)"PyTextShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
34152 { (char *)"PyTextShape_base_OnBeginSize", (PyCFunction
) _wrap_PyTextShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
34153 { (char *)"PyTextShape_base_OnEndSize", (PyCFunction
) _wrap_PyTextShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
34154 { (char *)"PyTextShape_swigregister", PyTextShape_swigregister
, METH_VARARGS
},
34155 { (char *)"new_Diagram", (PyCFunction
) _wrap_new_Diagram
, METH_VARARGS
| METH_KEYWORDS
},
34156 { (char *)"Diagram_AddShape", (PyCFunction
) _wrap_Diagram_AddShape
, METH_VARARGS
| METH_KEYWORDS
},
34157 { (char *)"Diagram_Clear", (PyCFunction
) _wrap_Diagram_Clear
, METH_VARARGS
| METH_KEYWORDS
},
34158 { (char *)"Diagram_DeleteAllShapes", (PyCFunction
) _wrap_Diagram_DeleteAllShapes
, METH_VARARGS
| METH_KEYWORDS
},
34159 { (char *)"Diagram_DrawOutline", (PyCFunction
) _wrap_Diagram_DrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
34160 { (char *)"Diagram_FindShape", (PyCFunction
) _wrap_Diagram_FindShape
, METH_VARARGS
| METH_KEYWORDS
},
34161 { (char *)"Diagram_GetCanvas", (PyCFunction
) _wrap_Diagram_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
34162 { (char *)"Diagram_GetCount", (PyCFunction
) _wrap_Diagram_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
34163 { (char *)"Diagram_GetGridSpacing", (PyCFunction
) _wrap_Diagram_GetGridSpacing
, METH_VARARGS
| METH_KEYWORDS
},
34164 { (char *)"Diagram_GetMouseTolerance", (PyCFunction
) _wrap_Diagram_GetMouseTolerance
, METH_VARARGS
| METH_KEYWORDS
},
34165 { (char *)"Diagram_GetShapeList", (PyCFunction
) _wrap_Diagram_GetShapeList
, METH_VARARGS
| METH_KEYWORDS
},
34166 { (char *)"Diagram_GetQuickEditMode", (PyCFunction
) _wrap_Diagram_GetQuickEditMode
, METH_VARARGS
| METH_KEYWORDS
},
34167 { (char *)"Diagram_GetSnapToGrid", (PyCFunction
) _wrap_Diagram_GetSnapToGrid
, METH_VARARGS
| METH_KEYWORDS
},
34168 { (char *)"Diagram_InsertShape", (PyCFunction
) _wrap_Diagram_InsertShape
, METH_VARARGS
| METH_KEYWORDS
},
34169 { (char *)"Diagram_RecentreAll", (PyCFunction
) _wrap_Diagram_RecentreAll
, METH_VARARGS
| METH_KEYWORDS
},
34170 { (char *)"Diagram_Redraw", (PyCFunction
) _wrap_Diagram_Redraw
, METH_VARARGS
| METH_KEYWORDS
},
34171 { (char *)"Diagram_RemoveAllShapes", (PyCFunction
) _wrap_Diagram_RemoveAllShapes
, METH_VARARGS
| METH_KEYWORDS
},
34172 { (char *)"Diagram_RemoveShape", (PyCFunction
) _wrap_Diagram_RemoveShape
, METH_VARARGS
| METH_KEYWORDS
},
34173 { (char *)"Diagram_SetCanvas", (PyCFunction
) _wrap_Diagram_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
34174 { (char *)"Diagram_SetGridSpacing", (PyCFunction
) _wrap_Diagram_SetGridSpacing
, METH_VARARGS
| METH_KEYWORDS
},
34175 { (char *)"Diagram_SetMouseTolerance", (PyCFunction
) _wrap_Diagram_SetMouseTolerance
, METH_VARARGS
| METH_KEYWORDS
},
34176 { (char *)"Diagram_SetQuickEditMode", (PyCFunction
) _wrap_Diagram_SetQuickEditMode
, METH_VARARGS
| METH_KEYWORDS
},
34177 { (char *)"Diagram_SetSnapToGrid", (PyCFunction
) _wrap_Diagram_SetSnapToGrid
, METH_VARARGS
| METH_KEYWORDS
},
34178 { (char *)"Diagram_ShowAll", (PyCFunction
) _wrap_Diagram_ShowAll
, METH_VARARGS
| METH_KEYWORDS
},
34179 { (char *)"Diagram_Snap", (PyCFunction
) _wrap_Diagram_Snap
, METH_VARARGS
| METH_KEYWORDS
},
34180 { (char *)"Diagram_swigregister", Diagram_swigregister
, METH_VARARGS
},
34181 { (char *)"new_PyShapeCanvas", (PyCFunction
) _wrap_new_PyShapeCanvas
, METH_VARARGS
| METH_KEYWORDS
},
34182 { (char *)"PyShapeCanvas__setCallbackInfo", (PyCFunction
) _wrap_PyShapeCanvas__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
34183 { (char *)"PyShapeCanvas_AddShape", (PyCFunction
) _wrap_PyShapeCanvas_AddShape
, METH_VARARGS
| METH_KEYWORDS
},
34184 { (char *)"PyShapeCanvas_FindShape", (PyCFunction
) _wrap_PyShapeCanvas_FindShape
, METH_VARARGS
| METH_KEYWORDS
},
34185 { (char *)"PyShapeCanvas_FindFirstSensitiveShape", (PyCFunction
) _wrap_PyShapeCanvas_FindFirstSensitiveShape
, METH_VARARGS
| METH_KEYWORDS
},
34186 { (char *)"PyShapeCanvas_GetDiagram", (PyCFunction
) _wrap_PyShapeCanvas_GetDiagram
, METH_VARARGS
| METH_KEYWORDS
},
34187 { (char *)"PyShapeCanvas_GetQuickEditMode", (PyCFunction
) _wrap_PyShapeCanvas_GetQuickEditMode
, METH_VARARGS
| METH_KEYWORDS
},
34188 { (char *)"PyShapeCanvas_InsertShape", (PyCFunction
) _wrap_PyShapeCanvas_InsertShape
, METH_VARARGS
| METH_KEYWORDS
},
34189 { (char *)"PyShapeCanvas_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyShapeCanvas_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
34190 { (char *)"PyShapeCanvas_base_OnBeginDragRight", (PyCFunction
) _wrap_PyShapeCanvas_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
34191 { (char *)"PyShapeCanvas_base_OnEndDragLeft", (PyCFunction
) _wrap_PyShapeCanvas_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
34192 { (char *)"PyShapeCanvas_base_OnEndDragRight", (PyCFunction
) _wrap_PyShapeCanvas_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
34193 { (char *)"PyShapeCanvas_base_OnDragLeft", (PyCFunction
) _wrap_PyShapeCanvas_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
34194 { (char *)"PyShapeCanvas_base_OnDragRight", (PyCFunction
) _wrap_PyShapeCanvas_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
34195 { (char *)"PyShapeCanvas_base_OnLeftClick", (PyCFunction
) _wrap_PyShapeCanvas_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
34196 { (char *)"PyShapeCanvas_base_OnRightClick", (PyCFunction
) _wrap_PyShapeCanvas_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
34197 { (char *)"PyShapeCanvas_Redraw", (PyCFunction
) _wrap_PyShapeCanvas_Redraw
, METH_VARARGS
| METH_KEYWORDS
},
34198 { (char *)"PyShapeCanvas_RemoveShape", (PyCFunction
) _wrap_PyShapeCanvas_RemoveShape
, METH_VARARGS
| METH_KEYWORDS
},
34199 { (char *)"PyShapeCanvas_SetDiagram", (PyCFunction
) _wrap_PyShapeCanvas_SetDiagram
, METH_VARARGS
| METH_KEYWORDS
},
34200 { (char *)"PyShapeCanvas_Snap", (PyCFunction
) _wrap_PyShapeCanvas_Snap
, METH_VARARGS
| METH_KEYWORDS
},
34201 { (char *)"PyShapeCanvas_swigregister", PyShapeCanvas_swigregister
, METH_VARARGS
},
34202 { (char *)"OGLInitialize", (PyCFunction
) _wrap_OGLInitialize
, METH_VARARGS
| METH_KEYWORDS
},
34203 { (char *)"OGLCleanUp", (PyCFunction
) _wrap_OGLCleanUp
, METH_VARARGS
| METH_KEYWORDS
},
34208 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
34210 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
34211 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
34213 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
34214 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
34216 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
34217 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
34219 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
34220 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
34222 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
34223 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
34225 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
34226 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
34228 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
34229 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
34231 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
34232 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
34234 static void *_p_wxPyShapeCanvasTo_p_wxPanel(void *x
) {
34235 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
34237 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
34238 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
34240 static void *_p_wxPyShapeCanvasTo_p_wxScrolledWindow(void *x
) {
34241 return (void *)((wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
34243 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
34244 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
34246 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
34247 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
34249 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
34250 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
34252 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
34253 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
34255 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
34256 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
34258 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
34259 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
34261 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
34262 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
34264 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
34265 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
34267 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
34268 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
34270 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
34271 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
34273 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
34274 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
34276 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
34277 return (void *)((wxWindow
*) ((wxPanel
*) x
));
34279 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
34280 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
34282 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
34283 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
34285 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
34286 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
34288 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
34289 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
34291 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
34292 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
34294 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
34295 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
34297 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
34298 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
34300 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
34301 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
34303 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
34304 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
34306 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
34307 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
34309 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
34310 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
34312 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
34313 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
34315 static void *_p_wxControlTo_p_wxWindow(void *x
) {
34316 return (void *)((wxWindow
*) ((wxControl
*) x
));
34318 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
34319 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
34321 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
34322 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
34324 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
34325 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
34327 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
34328 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
34330 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
34331 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
34333 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
34334 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
34336 static void *_p_wxPyShapeCanvasTo_p_wxWindow(void *x
) {
34337 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
34339 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
34340 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
34342 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
34343 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
34345 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
34346 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
34348 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
34349 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
34351 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
34352 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
34354 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
34355 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
34357 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
34358 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
34360 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
34361 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
34363 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
34364 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
34366 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
34367 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
34369 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
34370 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
34372 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
34373 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
34375 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
34376 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
34378 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
34379 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
34381 static void *_p_wxPyControlPointTo_p_wxObject(void *x
) {
34382 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyControlPoint
*) x
));
34384 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
34385 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
34387 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
34388 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
34390 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
34391 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
34393 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
34394 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
34396 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
34397 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
34399 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
34400 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
34402 static void *_p_wxOGLConstraintTo_p_wxObject(void *x
) {
34403 return (void *)((wxObject
*) ((wxOGLConstraint
*) x
));
34405 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
34406 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
34408 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
34409 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
34411 static void *_p_wxSizerTo_p_wxObject(void *x
) {
34412 return (void *)((wxObject
*) ((wxSizer
*) x
));
34414 static void *_p_wxPyDrawnShapeTo_p_wxObject(void *x
) {
34415 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyDrawnShape
*) x
));
34417 static void *_p_wxPyDivisionShapeTo_p_wxObject(void *x
) {
34418 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*)(wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
34420 static void *_p_wxPyPolygonShapeTo_p_wxObject(void *x
) {
34421 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*) ((wxPyPolygonShape
*) x
));
34423 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
34424 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
34426 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
34427 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
34429 static void *_p_wxArrowHeadTo_p_wxObject(void *x
) {
34430 return (void *)((wxObject
*) ((wxArrowHead
*) x
));
34432 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
34433 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
34435 static void *_p_wxEventTo_p_wxObject(void *x
) {
34436 return (void *)((wxObject
*) ((wxEvent
*) x
));
34438 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
34439 return (void *)((wxObject
*) ((wxFontData
*) x
));
34441 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
34442 return (void *)((wxObject
*) ((wxPrintData
*) x
));
34444 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
34445 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
34447 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
34448 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
34450 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
34451 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
34453 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
34454 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
34456 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
34457 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
34459 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
34460 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
34462 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
34463 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
34465 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
34466 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
34468 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
34469 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
34471 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
34472 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
34474 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
34475 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
34477 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
34478 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
34480 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
34481 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
34483 static void *_p_wxPyShapeCanvasTo_p_wxObject(void *x
) {
34484 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
34486 static void *_p_wxControlTo_p_wxObject(void *x
) {
34487 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
34489 static void *_p_wxPyEllipseShapeTo_p_wxObject(void *x
) {
34490 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*) ((wxPyEllipseShape
*) x
));
34492 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
34493 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
34495 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
34496 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
34498 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
34499 return (void *)((wxObject
*) ((wxFSFile
*) x
));
34501 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
34502 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
34504 static void *_p_wxPyBitmapShapeTo_p_wxObject(void *x
) {
34505 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyBitmapShape
*) x
));
34507 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
34508 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
34510 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
34511 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
34513 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
34514 return (void *)((wxObject
*) ((wxColourData
*) x
));
34516 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
34517 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
34519 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
34520 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
34522 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
34523 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
34525 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
34526 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
34528 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
34529 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
34531 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
34532 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
34534 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
34535 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
34537 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
34538 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
34540 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
34541 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
34543 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
34544 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
34546 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
34547 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
34549 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
34550 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
34552 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
34553 return (void *)((wxObject
*) ((wxPrinter
*) x
));
34555 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
34556 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
34558 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
34559 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
34561 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
34562 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
34564 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
34565 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
34567 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
34568 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
34570 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
34571 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
34573 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
34574 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
34576 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
34577 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
34579 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
34580 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
34582 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
34583 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
34585 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
34586 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
34588 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
34589 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
34591 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
34592 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
34594 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
34595 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
34597 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
34598 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
34600 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
34601 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
34603 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
34604 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
34606 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
34607 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
34609 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
34610 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
34612 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
34613 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
34615 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
34616 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
34618 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
34619 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
34621 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
34622 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
34624 static void *_p_wxPyShapeEvtHandlerTo_p_wxObject(void *x
) {
34625 return (void *)((wxObject
*) ((wxPyShapeEvtHandler
*) x
));
34627 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
34628 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
34630 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
34631 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
34633 static void *_p_wxPyTextShapeTo_p_wxObject(void *x
) {
34634 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyTextShape
*) x
));
34636 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
34637 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
34639 static void *_p_wxPyDividedShapeTo_p_wxObject(void *x
) {
34640 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyDividedShape
*) x
));
34642 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
34643 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
34645 static void *_p_wxImageTo_p_wxObject(void *x
) {
34646 return (void *)((wxObject
*) ((wxImage
*) x
));
34648 static void *_p_wxFrameTo_p_wxObject(void *x
) {
34649 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
34651 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
34652 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
34654 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
34655 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
34657 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
34658 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
34660 static void *_p_wxDiagramTo_p_wxObject(void *x
) {
34661 return (void *)((wxObject
*) ((wxDiagram
*) x
));
34663 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
34664 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
34666 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
34667 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
34669 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
34670 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
34672 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
34673 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
34675 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
34676 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
34678 static void *_p_wxWindowTo_p_wxObject(void *x
) {
34679 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
34681 static void *_p_wxMenuTo_p_wxObject(void *x
) {
34682 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
34684 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
34685 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
34687 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
34688 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
34690 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
34691 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
34693 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
34694 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
34696 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
34697 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
34699 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
34700 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
34702 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
34703 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
34705 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
34706 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
34708 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
34709 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
34711 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
34712 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
34714 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
34715 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
34717 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
34718 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
34720 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
34721 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
34723 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
34724 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
34726 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
34727 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
34729 static void *_p_wxPanelTo_p_wxObject(void *x
) {
34730 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
34732 static void *_p_wxDialogTo_p_wxObject(void *x
) {
34733 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
34735 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
34736 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
34738 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
34739 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
34741 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
34742 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
34744 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
34745 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
34747 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
34748 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
34750 static void *_p_wxAttachmentPointTo_p_wxObject(void *x
) {
34751 return (void *)((wxObject
*) ((wxAttachmentPoint
*) x
));
34753 static void *_p_wxPyShapeTo_p_wxObject(void *x
) {
34754 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*) ((wxPyShape
*) x
));
34756 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
34757 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
34759 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
34760 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
34762 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
34763 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
34765 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
34766 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
34768 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
34769 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
34771 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
34772 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
34774 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
34775 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
34777 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
34778 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
34780 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
34781 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
34783 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
34784 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
34786 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
34787 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
34789 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
34790 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
34792 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
34793 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
34795 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
34796 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
34798 static void *_p_wxPyRectangleShapeTo_p_wxObject(void *x
) {
34799 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*) ((wxPyRectangleShape
*) x
));
34801 static void *_p_wxPyCompositeShapeTo_p_wxObject(void *x
) {
34802 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyCompositeShape
*) x
));
34804 static void *_p_wxPyCircleShapeTo_p_wxObject(void *x
) {
34805 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyEllipseShape
*) ((wxPyCircleShape
*) x
));
34807 static void *_p_wxPyLineShapeTo_p_wxObject(void *x
) {
34808 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*) ((wxPyLineShape
*) x
));
34810 static void *_p_wxPseudoMetaFileTo_p_wxObject(void *x
) {
34811 return (void *)((wxObject
*) ((wxPseudoMetaFile
*) x
));
34813 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
34814 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
34816 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
34817 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
34819 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
34820 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
34822 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
34823 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
34825 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
34826 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
34828 static void *_p_wxShapeRegionTo_p_wxObject(void *x
) {
34829 return (void *)((wxObject
*) ((wxShapeRegion
*) x
));
34831 static void *_p_wxPyRectangleShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34832 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*) ((wxPyRectangleShape
*) x
));
34834 static void *_p_wxPyBitmapShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34835 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyBitmapShape
*) x
));
34837 static void *_p_wxPyCompositeShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34838 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyCompositeShape
*) x
));
34840 static void *_p_wxPyCircleShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34841 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyEllipseShape
*) ((wxPyCircleShape
*) x
));
34843 static void *_p_wxPyLineShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34844 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*) ((wxPyLineShape
*) x
));
34846 static void *_p_wxPyTextShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34847 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyTextShape
*) x
));
34849 static void *_p_wxPyControlPointTo_p_wxPyShapeEvtHandler(void *x
) {
34850 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyControlPoint
*) x
));
34852 static void *_p_wxPyDrawnShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34853 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyDrawnShape
*) x
));
34855 static void *_p_wxPyDivisionShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34856 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*)(wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
34858 static void *_p_wxPyPolygonShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34859 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*) ((wxPyPolygonShape
*) x
));
34861 static void *_p_wxPyDividedShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34862 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyDividedShape
*) x
));
34864 static void *_p_wxPyShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34865 return (void *)((wxPyShapeEvtHandler
*) ((wxPyShape
*) x
));
34867 static void *_p_wxPyEllipseShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34868 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*) ((wxPyEllipseShape
*) x
));
34870 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
34871 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
34873 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
34874 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
34876 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
34877 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
34879 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
34880 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
34882 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
34883 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
34885 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
34886 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
34888 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
34889 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
34891 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
34892 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
34894 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
34895 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
34897 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
34898 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
34900 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
34901 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
34903 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
34904 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
34906 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
34907 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
34909 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
34910 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
34912 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
34913 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
34915 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
34916 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
34918 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
34919 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
34921 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
34922 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
34924 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
34925 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
34927 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
34928 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
34930 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
34931 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
34933 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
34934 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
34936 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
34937 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
34939 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
34940 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
34942 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
34943 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
34945 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
34946 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
34948 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
34949 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
34951 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
34952 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
34954 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
34955 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
34957 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
34958 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
34960 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
34961 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
34963 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
34964 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
34966 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
34967 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
34969 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
34970 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
34972 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
34973 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
34975 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
34976 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
34978 static void *_p_wxPyShapeCanvasTo_p_wxEvtHandler(void *x
) {
34979 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
34981 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
34982 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
34984 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
34985 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
34987 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
34988 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
34990 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
34991 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
34993 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
34994 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
34996 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
34997 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
34999 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
35000 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
35002 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
35003 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
35005 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
35006 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
35008 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
35009 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
35011 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
35012 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
35014 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
35015 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
35017 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
35018 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
35020 static void *_p_wxPyCircleShapeTo_p_wxPyEllipseShape(void *x
) {
35021 return (void *)((wxPyEllipseShape
*) ((wxPyCircleShape
*) x
));
35023 static void *_p_wxPyRectangleShapeTo_p_wxPyShape(void *x
) {
35024 return (void *)((wxPyShape
*) ((wxPyRectangleShape
*) x
));
35026 static void *_p_wxPyBitmapShapeTo_p_wxPyShape(void *x
) {
35027 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyBitmapShape
*) x
));
35029 static void *_p_wxPyCompositeShapeTo_p_wxPyShape(void *x
) {
35030 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyCompositeShape
*) x
));
35032 static void *_p_wxPyCircleShapeTo_p_wxPyShape(void *x
) {
35033 return (void *)((wxPyShape
*) (wxPyEllipseShape
*) ((wxPyCircleShape
*) x
));
35035 static void *_p_wxPyLineShapeTo_p_wxPyShape(void *x
) {
35036 return (void *)((wxPyShape
*) ((wxPyLineShape
*) x
));
35038 static void *_p_wxPyTextShapeTo_p_wxPyShape(void *x
) {
35039 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyTextShape
*) x
));
35041 static void *_p_wxPyControlPointTo_p_wxPyShape(void *x
) {
35042 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyControlPoint
*) x
));
35044 static void *_p_wxPyDrawnShapeTo_p_wxPyShape(void *x
) {
35045 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyDrawnShape
*) x
));
35047 static void *_p_wxPyDivisionShapeTo_p_wxPyShape(void *x
) {
35048 return (void *)((wxPyShape
*) (wxPyRectangleShape
*)(wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
35050 static void *_p_wxPyPolygonShapeTo_p_wxPyShape(void *x
) {
35051 return (void *)((wxPyShape
*) ((wxPyPolygonShape
*) x
));
35053 static void *_p_wxPyDividedShapeTo_p_wxPyShape(void *x
) {
35054 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyDividedShape
*) x
));
35056 static void *_p_wxPyEllipseShapeTo_p_wxPyShape(void *x
) {
35057 return (void *)((wxPyShape
*) ((wxPyEllipseShape
*) x
));
35059 static void *_p_wxPyBitmapShapeTo_p_wxPyRectangleShape(void *x
) {
35060 return (void *)((wxPyRectangleShape
*) ((wxPyBitmapShape
*) x
));
35062 static void *_p_wxPyCompositeShapeTo_p_wxPyRectangleShape(void *x
) {
35063 return (void *)((wxPyRectangleShape
*) ((wxPyCompositeShape
*) x
));
35065 static void *_p_wxPyTextShapeTo_p_wxPyRectangleShape(void *x
) {
35066 return (void *)((wxPyRectangleShape
*) ((wxPyTextShape
*) x
));
35068 static void *_p_wxPyControlPointTo_p_wxPyRectangleShape(void *x
) {
35069 return (void *)((wxPyRectangleShape
*) ((wxPyControlPoint
*) x
));
35071 static void *_p_wxPyDrawnShapeTo_p_wxPyRectangleShape(void *x
) {
35072 return (void *)((wxPyRectangleShape
*) ((wxPyDrawnShape
*) x
));
35074 static void *_p_wxPyDivisionShapeTo_p_wxPyRectangleShape(void *x
) {
35075 return (void *)((wxPyRectangleShape
*) (wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
35077 static void *_p_wxPyDividedShapeTo_p_wxPyRectangleShape(void *x
) {
35078 return (void *)((wxPyRectangleShape
*) ((wxPyDividedShape
*) x
));
35080 static void *_p_wxPyDivisionShapeTo_p_wxPyCompositeShape(void *x
) {
35081 return (void *)((wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
35083 static swig_type_info _swigt__p_wxOGLConstraint
[] = {{"_p_wxOGLConstraint", 0, "wxOGLConstraint *", 0},{"_p_wxOGLConstraint"},{0}};
35084 static swig_type_info _swigt__p_wxBrush
[] = {{"_p_wxBrush", 0, "wxBrush *", 0},{"_p_wxBrush"},{0}};
35085 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
35086 static swig_type_info _swigt__p_wxShapeRegion
[] = {{"_p_wxShapeRegion", 0, "wxShapeRegion *", 0},{"_p_wxShapeRegion"},{0}};
35087 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
35088 static swig_type_info _swigt__p_wxRealPoint
[] = {{"_p_wxRealPoint", 0, "wxRealPoint *", 0},{"_p_wxRealPoint"},{0}};
35089 static swig_type_info _swigt__p_wxPyControlPoint
[] = {{"_p_wxPyControlPoint", 0, "wxPyControlPoint *", 0},{"_p_wxPyControlPoint"},{0}};
35090 static swig_type_info _swigt__p_wxArrowHead
[] = {{"_p_wxArrowHead", 0, "wxArrowHead *", 0},{"_p_wxArrowHead"},{0}};
35091 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
35092 static swig_type_info _swigt__p_wxStringList
[] = {{"_p_wxStringList", 0, "wxStringList *", 0},{"_p_wxStringList"},{0}};
35093 static swig_type_info _swigt__p_wxPanel
[] = {{"_p_wxPanel", 0, "wxPanel *", 0},{"_p_wxPanel"},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel
},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel
},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel
},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel
},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel
},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel
},{"_p_wxPyShapeCanvas", _p_wxPyShapeCanvasTo_p_wxPanel
},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel
},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel
},{0}};
35094 static swig_type_info _swigt__p_bool
[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
35095 static swig_type_info _swigt__p_wxList
[] = {{"_p_wxList", 0, "wxList *", 0},{"_p_wxList"},{0}};
35096 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
35097 static swig_type_info _swigt__p_wxScrolledWindow
[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0},{"_p_wxScrolledWindow"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow
},{"_p_wxPyShapeCanvas", _p_wxPyShapeCanvasTo_p_wxScrolledWindow
},{0}};
35098 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow
},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow
},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow
},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow
},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow
},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow
},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow
},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow
},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow
},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow
},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow
},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow
},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow
},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow
},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow
},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow
},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow
},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow
},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow
},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow
},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow
},{"_p_wxWindow"},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow
},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow
},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow
},{"_p_wxControl", _p_wxControlTo_p_wxWindow
},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow
},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
},{"_p_wxPyShapeCanvas", _p_wxPyShapeCanvasTo_p_wxWindow
},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow
},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow
},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow
},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow
},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow
},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow
},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow
},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow
},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow
},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow
},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow
},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow
},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow
},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow
},{0}};
35099 static swig_type_info _swigt__p_double
[] = {{"_p_double", 0, "double *", 0},{"_p_double"},{0}};
35100 static swig_type_info _swigt__p_wxPyDrawnShape
[] = {{"_p_wxPyDrawnShape", 0, "wxPyDrawnShape *", 0},{"_p_wxPyDrawnShape"},{0}};
35101 static swig_type_info _swigt__p_wxPyDivisionShape
[] = {{"_p_wxPyDivisionShape", 0, "wxPyDivisionShape *", 0},{"_p_wxPyDivisionShape"},{0}};
35102 static swig_type_info _swigt__p_wxPyPolygonShape
[] = {{"_p_wxPyPolygonShape", 0, "wxPyPolygonShape *", 0},{"_p_wxPyPolygonShape"},{0}};
35103 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
35104 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject
},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
},{"_p_wxPyControlPoint", _p_wxPyControlPointTo_p_wxObject
},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject
},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject
},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
},{"_p_wxOGLConstraint", _p_wxOGLConstraintTo_p_wxObject
},{"_p_wxPyPolygonShape", _p_wxPyPolygonShapeTo_p_wxObject
},{"_p_wxPyDivisionShape", _p_wxPyDivisionShapeTo_p_wxObject
},{"_p_wxPyDrawnShape", _p_wxPyDrawnShapeTo_p_wxObject
},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
},{"_p_wxArrowHead", _p_wxArrowHeadTo_p_wxObject
},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject
},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject
},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject
},{"_p_wxEvent", _p_wxEventTo_p_wxObject
},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxObject
},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject
},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject
},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject
},{"_p_wxPyShapeCanvas", _p_wxPyShapeCanvasTo_p_wxObject
},{"_p_wxControl", _p_wxControlTo_p_wxObject
},{"_p_wxPyEllipseShape", _p_wxPyEllipseShapeTo_p_wxObject
},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject
},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject
},{"_p_wxPyBitmapShape", _p_wxPyBitmapShapeTo_p_wxObject
},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject
},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject
},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject
},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject
},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject
},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject
},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject
},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject
},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject
},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject
},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject
},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject
},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject
},{"_p_wxPyShapeEvtHandler", _p_wxPyShapeEvtHandlerTo_p_wxObject
},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject
},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject
},{"_p_wxPyTextShape", _p_wxPyTextShapeTo_p_wxObject
},{"_p_wxPyDividedShape", _p_wxPyDividedShapeTo_p_wxObject
},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject
},{"_p_wxImage", _p_wxImageTo_p_wxObject
},{"_p_wxFrame", _p_wxFrameTo_p_wxObject
},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject
},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject
},{"_p_wxDiagram", _p_wxDiagramTo_p_wxObject
},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject
},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject
},{"_p_wxObject"},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject
},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject
},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject
},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject
},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject
},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject
},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject
},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject
},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject
},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject
},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject
},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject
},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject
},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject
},{"_p_wxPanel", _p_wxPanelTo_p_wxObject
},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject
},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject
},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject
},{"_p_wxDialog", _p_wxDialogTo_p_wxObject
},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject
},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject
},{"_p_wxPyShape", _p_wxPyShapeTo_p_wxObject
},{"_p_wxAttachmentPoint", _p_wxAttachmentPointTo_p_wxObject
},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject
},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject
},{"_p_wxPyCircleShape", _p_wxPyCircleShapeTo_p_wxObject
},{"_p_wxPyLineShape", _p_wxPyLineShapeTo_p_wxObject
},{"_p_wxPyCompositeShape", _p_wxPyCompositeShapeTo_p_wxObject
},{"_p_wxPyRectangleShape", _p_wxPyRectangleShapeTo_p_wxObject
},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
},{"_p_wxPseudoMetaFile", _p_wxPseudoMetaFileTo_p_wxObject
},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject
},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject
},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
},{"_p_wxShapeRegion", _p_wxShapeRegionTo_p_wxObject
},{0}};
35105 static swig_type_info _swigt__p_wxPyBitmapShape
[] = {{"_p_wxPyBitmapShape", 0, "wxPyBitmapShape *", 0},{"_p_wxPyBitmapShape"},{0}};
35106 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
35107 static swig_type_info _swigt__p_wxPyShapeEvtHandler
[] = {{"_p_wxPyShapeEvtHandler", 0, "wxPyShapeEvtHandler *", 0},{"_p_wxPyControlPoint", _p_wxPyControlPointTo_p_wxPyShapeEvtHandler
},{"_p_wxPyRectangleShape", _p_wxPyRectangleShapeTo_p_wxPyShapeEvtHandler
},{"_p_wxPyCompositeShape", _p_wxPyCompositeShapeTo_p_wxPyShapeEvtHandler
},{"_p_wxPyCircleShape", _p_wxPyCircleShapeTo_p_wxPyShapeEvtHandler
},{"_p_wxPyLineShape", _p_wxPyLineShapeTo_p_wxPyShapeEvtHandler
},{"_p_wxPyDividedShape", _p_wxPyDividedShapeTo_p_wxPyShapeEvtHandler
},{"_p_wxPyEllipseShape", _p_wxPyEllipseShapeTo_p_wxPyShapeEvtHandler
},{"_p_wxPyPolygonShape", _p_wxPyPolygonShapeTo_p_wxPyShapeEvtHandler
},{"_p_wxPyDrawnShape", _p_wxPyDrawnShapeTo_p_wxPyShapeEvtHandler
},{"_p_wxPyDivisionShape", _p_wxPyDivisionShapeTo_p_wxPyShapeEvtHandler
},{"_p_wxPyShape", _p_wxPyShapeTo_p_wxPyShapeEvtHandler
},{"_p_wxPyShapeEvtHandler"},{"_p_wxPyBitmapShape", _p_wxPyBitmapShapeTo_p_wxPyShapeEvtHandler
},{"_p_wxPyTextShape", _p_wxPyTextShapeTo_p_wxPyShapeEvtHandler
},{0}};
35108 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler
},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler
},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler
},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler
},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler
},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler
},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler
},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler
},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler
},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler
},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler
},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler
},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler
},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler
},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler
},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler
},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler
},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler
},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler
},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler
},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler
},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler
},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler
},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler
},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
},{"_p_wxEvtHandler"},{"_p_wxPyShapeCanvas", _p_wxPyShapeCanvasTo_p_wxEvtHandler
},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler
},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler
},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler
},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler
},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler
},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler
},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxEvtHandler
},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler
},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler
},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler
},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler
},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler
},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler
},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler
},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler
},{0}};
35109 static swig_type_info _swigt__p_wxPyEllipseShape
[] = {{"_p_wxPyEllipseShape", 0, "wxPyEllipseShape *", 0},{"_p_wxPyCircleShape", _p_wxPyCircleShapeTo_p_wxPyEllipseShape
},{"_p_wxPyEllipseShape"},{0}};
35110 static swig_type_info _swigt__p_wxPyShapeCanvas
[] = {{"_p_wxPyShapeCanvas", 0, "wxPyShapeCanvas *", 0},{"_p_wxPyShapeCanvas"},{0}};
35111 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
35112 static swig_type_info _swigt__p_wxDiagram
[] = {{"_p_wxDiagram", 0, "wxDiagram *", 0},{"_p_wxDiagram"},{0}};
35113 static swig_type_info _swigt__p_wxPyShape
[] = {{"_p_wxPyShape", 0, "wxPyShape *", 0},{"_p_wxPyRectangleShape", _p_wxPyRectangleShapeTo_p_wxPyShape
},{"_p_wxPyBitmapShape", _p_wxPyBitmapShapeTo_p_wxPyShape
},{"_p_wxPyCompositeShape", _p_wxPyCompositeShapeTo_p_wxPyShape
},{"_p_wxPyCircleShape", _p_wxPyCircleShapeTo_p_wxPyShape
},{"_p_wxPyLineShape", _p_wxPyLineShapeTo_p_wxPyShape
},{"_p_wxPyTextShape", _p_wxPyTextShapeTo_p_wxPyShape
},{"_p_wxPyDivisionShape", _p_wxPyDivisionShapeTo_p_wxPyShape
},{"_p_wxPyControlPoint", _p_wxPyControlPointTo_p_wxPyShape
},{"_p_wxPyDrawnShape", _p_wxPyDrawnShapeTo_p_wxPyShape
},{"_p_wxPyPolygonShape", _p_wxPyPolygonShapeTo_p_wxPyShape
},{"_p_wxPyDividedShape", _p_wxPyDividedShapeTo_p_wxPyShape
},{"_p_wxPyShape"},{"_p_wxPyEllipseShape", _p_wxPyEllipseShapeTo_p_wxPyShape
},{0}};
35114 static swig_type_info _swigt__p_wxAttachmentPoint
[] = {{"_p_wxAttachmentPoint", 0, "wxAttachmentPoint *", 0},{"_p_wxAttachmentPoint"},{0}};
35115 static swig_type_info _swigt__p_wxClassInfo
[] = {{"_p_wxClassInfo", 0, "wxClassInfo *", 0},{"_p_wxClassInfo"},{0}};
35116 static swig_type_info _swigt__p_wxPyLineShape
[] = {{"_p_wxPyLineShape", 0, "wxPyLineShape *", 0},{"_p_wxPyLineShape"},{0}};
35117 static swig_type_info _swigt__p_wxPyRectangleShape
[] = {{"_p_wxPyRectangleShape", 0, "wxPyRectangleShape *", 0},{"_p_wxPyRectangleShape"},{"_p_wxPyBitmapShape", _p_wxPyBitmapShapeTo_p_wxPyRectangleShape
},{"_p_wxPyCompositeShape", _p_wxPyCompositeShapeTo_p_wxPyRectangleShape
},{"_p_wxPyTextShape", _p_wxPyTextShapeTo_p_wxPyRectangleShape
},{"_p_wxPyDivisionShape", _p_wxPyDivisionShapeTo_p_wxPyRectangleShape
},{"_p_wxPyControlPoint", _p_wxPyControlPointTo_p_wxPyRectangleShape
},{"_p_wxPyDrawnShape", _p_wxPyDrawnShapeTo_p_wxPyRectangleShape
},{"_p_wxPyDividedShape", _p_wxPyDividedShapeTo_p_wxPyRectangleShape
},{0}};
35118 static swig_type_info _swigt__p_wxPyCompositeShape
[] = {{"_p_wxPyCompositeShape", 0, "wxPyCompositeShape *", 0},{"_p_wxPyCompositeShape"},{"_p_wxPyDivisionShape", _p_wxPyDivisionShapeTo_p_wxPyCompositeShape
},{0}};
35119 static swig_type_info _swigt__p_wxPyCircleShape
[] = {{"_p_wxPyCircleShape", 0, "wxPyCircleShape *", 0},{"_p_wxPyCircleShape"},{0}};
35120 static swig_type_info _swigt__p_wxPen
[] = {{"_p_wxPen", 0, "wxPen *", 0},{"_p_wxPen"},{0}};
35121 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
35122 static swig_type_info _swigt__p_wxPseudoMetaFile
[] = {{"_p_wxPseudoMetaFile", 0, "wxPseudoMetaFile *", 0},{"_p_wxPseudoMetaFile"},{0}};
35123 static swig_type_info _swigt__p_wxPyTextShape
[] = {{"_p_wxPyTextShape", 0, "wxPyTextShape *", 0},{"_p_wxPyTextShape"},{0}};
35124 static swig_type_info _swigt__p_wxPyDividedShape
[] = {{"_p_wxPyDividedShape", 0, "wxPyDividedShape *", 0},{"_p_wxPyDividedShape"},{0}};
35126 static swig_type_info
*swig_types_initial
[] = {
35127 _swigt__p_wxOGLConstraint
,
35129 _swigt__p_wxColour
,
35130 _swigt__p_wxShapeRegion
,
35132 _swigt__p_wxRealPoint
,
35133 _swigt__p_wxPyControlPoint
,
35134 _swigt__p_wxArrowHead
,
35136 _swigt__p_wxStringList
,
35141 _swigt__p_wxScrolledWindow
,
35142 _swigt__p_wxWindow
,
35144 _swigt__p_wxPyDrawnShape
,
35145 _swigt__p_wxPyDivisionShape
,
35146 _swigt__p_wxPyPolygonShape
,
35147 _swigt__p_wxBitmap
,
35148 _swigt__p_wxObject
,
35149 _swigt__p_wxPyBitmapShape
,
35150 _swigt__p_wxString
,
35151 _swigt__p_wxPyShapeEvtHandler
,
35152 _swigt__p_wxEvtHandler
,
35153 _swigt__p_wxPyEllipseShape
,
35154 _swigt__p_wxPyShapeCanvas
,
35156 _swigt__p_wxDiagram
,
35157 _swigt__p_wxPyShape
,
35158 _swigt__p_wxAttachmentPoint
,
35159 _swigt__p_wxClassInfo
,
35160 _swigt__p_wxPyLineShape
,
35161 _swigt__p_wxPyRectangleShape
,
35162 _swigt__p_wxPyCompositeShape
,
35163 _swigt__p_wxPyCircleShape
,
35166 _swigt__p_wxPseudoMetaFile
,
35167 _swigt__p_wxPyTextShape
,
35168 _swigt__p_wxPyDividedShape
,
35173 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
35175 static swig_const_info swig_const_table
[] = {
35185 SWIGEXPORT(void) SWIG_init(void) {
35186 static PyObject
*SWIG_globals
= 0;
35187 static int typeinit
= 0;
35190 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
35191 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
35192 d
= PyModule_GetDict(m
);
35195 for (i
= 0; swig_types_initial
[i
]; i
++) {
35196 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
35200 SWIG_InstallConstants(d
,swig_const_table
);
35202 PyDict_SetItemString(d
,"oglMETAFLAGS_OUTLINE", SWIG_PyObj_FromInt((int)oglMETAFLAGS_OUTLINE
));
35203 PyDict_SetItemString(d
,"oglMETAFLAGS_ATTACHMENTS", SWIG_PyObj_FromInt((int)oglMETAFLAGS_ATTACHMENTS
));
35204 PyDict_SetItemString(d
,"KEY_SHIFT", SWIG_PyObj_FromInt((int)KEY_SHIFT
));
35205 PyDict_SetItemString(d
,"KEY_CTRL", SWIG_PyObj_FromInt((int)KEY_CTRL
));
35206 PyDict_SetItemString(d
,"ARROW_NONE", SWIG_PyObj_FromInt((int)ARROW_NONE
));
35207 PyDict_SetItemString(d
,"ARROW_END", SWIG_PyObj_FromInt((int)ARROW_END
));
35208 PyDict_SetItemString(d
,"ARROW_BOTH", SWIG_PyObj_FromInt((int)ARROW_BOTH
));
35209 PyDict_SetItemString(d
,"ARROW_MIDDLE", SWIG_PyObj_FromInt((int)ARROW_MIDDLE
));
35210 PyDict_SetItemString(d
,"ARROW_START", SWIG_PyObj_FromInt((int)ARROW_START
));
35211 PyDict_SetItemString(d
,"ARROW_HOLLOW_CIRCLE", SWIG_PyObj_FromInt((int)ARROW_HOLLOW_CIRCLE
));
35212 PyDict_SetItemString(d
,"ARROW_FILLED_CIRCLE", SWIG_PyObj_FromInt((int)ARROW_FILLED_CIRCLE
));
35213 PyDict_SetItemString(d
,"ARROW_ARROW", SWIG_PyObj_FromInt((int)ARROW_ARROW
));
35214 PyDict_SetItemString(d
,"ARROW_SINGLE_OBLIQUE", SWIG_PyObj_FromInt((int)ARROW_SINGLE_OBLIQUE
));
35215 PyDict_SetItemString(d
,"ARROW_DOUBLE_OBLIQUE", SWIG_PyObj_FromInt((int)ARROW_DOUBLE_OBLIQUE
));
35216 PyDict_SetItemString(d
,"ARROW_METAFILE", SWIG_PyObj_FromInt((int)ARROW_METAFILE
));
35217 PyDict_SetItemString(d
,"ARROW_POSITION_END", SWIG_PyObj_FromInt((int)ARROW_POSITION_END
));
35218 PyDict_SetItemString(d
,"ARROW_POSITION_START", SWIG_PyObj_FromInt((int)ARROW_POSITION_START
));
35219 PyDict_SetItemString(d
,"CONTROL_POINT_VERTICAL", SWIG_PyObj_FromInt((int)CONTROL_POINT_VERTICAL
));
35220 PyDict_SetItemString(d
,"CONTROL_POINT_HORIZONTAL", SWIG_PyObj_FromInt((int)CONTROL_POINT_HORIZONTAL
));
35221 PyDict_SetItemString(d
,"CONTROL_POINT_DIAGONAL", SWIG_PyObj_FromInt((int)CONTROL_POINT_DIAGONAL
));
35222 PyDict_SetItemString(d
,"CONTROL_POINT_ENDPOINT_TO", SWIG_PyObj_FromInt((int)CONTROL_POINT_ENDPOINT_TO
));
35223 PyDict_SetItemString(d
,"CONTROL_POINT_ENDPOINT_FROM", SWIG_PyObj_FromInt((int)CONTROL_POINT_ENDPOINT_FROM
));
35224 PyDict_SetItemString(d
,"CONTROL_POINT_LINE", SWIG_PyObj_FromInt((int)CONTROL_POINT_LINE
));
35225 PyDict_SetItemString(d
,"FORMAT_NONE", SWIG_PyObj_FromInt((int)FORMAT_NONE
));
35226 PyDict_SetItemString(d
,"FORMAT_CENTRE_HORIZ", SWIG_PyObj_FromInt((int)FORMAT_CENTRE_HORIZ
));
35227 PyDict_SetItemString(d
,"FORMAT_CENTRE_VERT", SWIG_PyObj_FromInt((int)FORMAT_CENTRE_VERT
));
35228 PyDict_SetItemString(d
,"FORMAT_SIZE_TO_CONTENTS", SWIG_PyObj_FromInt((int)FORMAT_SIZE_TO_CONTENTS
));
35229 PyDict_SetItemString(d
,"LINE_ALIGNMENT_HORIZ", SWIG_PyObj_FromInt((int)LINE_ALIGNMENT_HORIZ
));
35230 PyDict_SetItemString(d
,"LINE_ALIGNMENT_VERT", SWIG_PyObj_FromInt((int)LINE_ALIGNMENT_VERT
));
35231 PyDict_SetItemString(d
,"LINE_ALIGNMENT_TO_NEXT_HANDLE", SWIG_PyObj_FromInt((int)LINE_ALIGNMENT_TO_NEXT_HANDLE
));
35232 PyDict_SetItemString(d
,"LINE_ALIGNMENT_NONE", SWIG_PyObj_FromInt((int)LINE_ALIGNMENT_NONE
));
35233 PyDict_SetItemString(d
,"SHADOW_NONE", SWIG_PyObj_FromInt((int)SHADOW_NONE
));
35234 PyDict_SetItemString(d
,"SHADOW_LEFT", SWIG_PyObj_FromInt((int)SHADOW_LEFT
));
35235 PyDict_SetItemString(d
,"SHADOW_RIGHT", SWIG_PyObj_FromInt((int)SHADOW_RIGHT
));
35236 PyDict_SetItemString(d
,"OP_CLICK_LEFT", SWIG_PyObj_FromInt((int)OP_CLICK_LEFT
));
35237 PyDict_SetItemString(d
,"OP_CLICK_RIGHT", SWIG_PyObj_FromInt((int)OP_CLICK_RIGHT
));
35238 PyDict_SetItemString(d
,"OP_DRAG_LEFT", SWIG_PyObj_FromInt((int)OP_DRAG_LEFT
));
35239 PyDict_SetItemString(d
,"OP_DRAG_RIGHT", SWIG_PyObj_FromInt((int)OP_DRAG_RIGHT
));
35240 PyDict_SetItemString(d
,"OP_ALL", SWIG_PyObj_FromInt((int)OP_ALL
));
35241 PyDict_SetItemString(d
,"ATTACHMENT_MODE_NONE", SWIG_PyObj_FromInt((int)ATTACHMENT_MODE_NONE
));
35242 PyDict_SetItemString(d
,"ATTACHMENT_MODE_EDGE", SWIG_PyObj_FromInt((int)ATTACHMENT_MODE_EDGE
));
35243 PyDict_SetItemString(d
,"ATTACHMENT_MODE_BRANCHING", SWIG_PyObj_FromInt((int)ATTACHMENT_MODE_BRANCHING
));
35244 PyDict_SetItemString(d
,"BRANCHING_ATTACHMENT_NORMAL", SWIG_PyObj_FromInt((int)BRANCHING_ATTACHMENT_NORMAL
));
35245 PyDict_SetItemString(d
,"BRANCHING_ATTACHMENT_BLOB", SWIG_PyObj_FromInt((int)BRANCHING_ATTACHMENT_BLOB
));
35246 PyDict_SetItemString(d
,"gyCONSTRAINT_CENTRED_VERTICALLY", SWIG_PyObj_FromInt((int)gyCONSTRAINT_CENTRED_VERTICALLY
));
35247 PyDict_SetItemString(d
,"gyCONSTRAINT_CENTRED_HORIZONTALLY", SWIG_PyObj_FromInt((int)gyCONSTRAINT_CENTRED_HORIZONTALLY
));
35248 PyDict_SetItemString(d
,"gyCONSTRAINT_CENTRED_BOTH", SWIG_PyObj_FromInt((int)gyCONSTRAINT_CENTRED_BOTH
));
35249 PyDict_SetItemString(d
,"gyCONSTRAINT_LEFT_OF", SWIG_PyObj_FromInt((int)gyCONSTRAINT_LEFT_OF
));
35250 PyDict_SetItemString(d
,"gyCONSTRAINT_RIGHT_OF", SWIG_PyObj_FromInt((int)gyCONSTRAINT_RIGHT_OF
));
35251 PyDict_SetItemString(d
,"gyCONSTRAINT_ABOVE", SWIG_PyObj_FromInt((int)gyCONSTRAINT_ABOVE
));
35252 PyDict_SetItemString(d
,"gyCONSTRAINT_BELOW", SWIG_PyObj_FromInt((int)gyCONSTRAINT_BELOW
));
35253 PyDict_SetItemString(d
,"gyCONSTRAINT_ALIGNED_TOP", SWIG_PyObj_FromInt((int)gyCONSTRAINT_ALIGNED_TOP
));
35254 PyDict_SetItemString(d
,"gyCONSTRAINT_ALIGNED_BOTTOM", SWIG_PyObj_FromInt((int)gyCONSTRAINT_ALIGNED_BOTTOM
));
35255 PyDict_SetItemString(d
,"gyCONSTRAINT_ALIGNED_LEFT", SWIG_PyObj_FromInt((int)gyCONSTRAINT_ALIGNED_LEFT
));
35256 PyDict_SetItemString(d
,"gyCONSTRAINT_ALIGNED_RIGHT", SWIG_PyObj_FromInt((int)gyCONSTRAINT_ALIGNED_RIGHT
));
35257 PyDict_SetItemString(d
,"gyCONSTRAINT_MIDALIGNED_TOP", SWIG_PyObj_FromInt((int)gyCONSTRAINT_MIDALIGNED_TOP
));
35258 PyDict_SetItemString(d
,"gyCONSTRAINT_MIDALIGNED_BOTTOM", SWIG_PyObj_FromInt((int)gyCONSTRAINT_MIDALIGNED_BOTTOM
));
35259 PyDict_SetItemString(d
,"gyCONSTRAINT_MIDALIGNED_LEFT", SWIG_PyObj_FromInt((int)gyCONSTRAINT_MIDALIGNED_LEFT
));
35260 PyDict_SetItemString(d
,"gyCONSTRAINT_MIDALIGNED_RIGHT", SWIG_PyObj_FromInt((int)gyCONSTRAINT_MIDALIGNED_RIGHT
));
35261 PyDict_SetItemString(d
,"DIVISION_SIDE_NONE", SWIG_PyObj_FromInt((int)DIVISION_SIDE_NONE
));
35262 PyDict_SetItemString(d
,"DIVISION_SIDE_LEFT", SWIG_PyObj_FromInt((int)DIVISION_SIDE_LEFT
));
35263 PyDict_SetItemString(d
,"DIVISION_SIDE_TOP", SWIG_PyObj_FromInt((int)DIVISION_SIDE_TOP
));
35264 PyDict_SetItemString(d
,"DIVISION_SIDE_RIGHT", SWIG_PyObj_FromInt((int)DIVISION_SIDE_RIGHT
));
35265 PyDict_SetItemString(d
,"DIVISION_SIDE_BOTTOM", SWIG_PyObj_FromInt((int)DIVISION_SIDE_BOTTOM
));
35268 // initoglbasicc();
35269 // initoglshapesc();
35270 // initoglshapes2c();
35271 // initoglcanvasc();
35274 wxPyPtrTypeMap_Add("wxControlPoint", "wxPyControlPoint");
35275 wxPyPtrTypeMap_Add("wxShapeCanvas", "wxPyShapeCanvas");
35276 wxPyPtrTypeMap_Add("wxShapeEvtHandler", "wxPyShapeEvtHandler");
35277 wxPyPtrTypeMap_Add("wxShape", "wxPyShape");
35278 wxPyPtrTypeMap_Add("wxRectangleShape", "wxPyRectangleShape");
35279 wxPyPtrTypeMap_Add("wxDrawnShape", "wxPyDrawnShape");
35280 wxPyPtrTypeMap_Add("wxCompositeShape", "wxPyCompositeShape");
35281 wxPyPtrTypeMap_Add("wxDividedShape", "wxPyDividedShape");
35282 wxPyPtrTypeMap_Add("wxDivisionShape", "wxPyDivisionShape");
35283 wxPyPtrTypeMap_Add("wxEllipseShape", "wxPyEllipseShape");
35284 wxPyPtrTypeMap_Add("wxCircleShape", "wxPyCircleShape");
35285 wxPyPtrTypeMap_Add("wxLineShape", "wxPyLineShape");
35286 wxPyPtrTypeMap_Add("wxPolygonShape", "wxPyPolygonShape");
35287 wxPyPtrTypeMap_Add("wxTextShape", "wxPyTextShape");