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_wxPyDivisionShape swig_types[17]
251 #define SWIGTYPE_p_wxPyDrawnShape 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_wxPyShapeEvtHandler swig_types[23]
257 #define SWIGTYPE_p_wxEvtHandler swig_types[24]
258 #define SWIGTYPE_p_wxPyEllipseShape swig_types[25]
259 #define SWIGTYPE_p_wxPyShapeCanvas swig_types[26]
260 #define SWIGTYPE_p_wxPoint swig_types[27]
261 #define SWIGTYPE_p_wxDiagram swig_types[28]
262 #define SWIGTYPE_p_wxPyShape swig_types[29]
263 #define SWIGTYPE_p_wxAttachmentPoint swig_types[30]
264 #define SWIGTYPE_p_wxClassInfo swig_types[31]
265 #define SWIGTYPE_p_wxPyLineShape swig_types[32]
266 #define SWIGTYPE_p_wxPyRectangleShape swig_types[33]
267 #define SWIGTYPE_p_wxPyCompositeShape swig_types[34]
268 #define SWIGTYPE_p_wxPyCircleShape swig_types[35]
269 #define SWIGTYPE_p_wxPen swig_types[36]
270 #define SWIGTYPE_p_int swig_types[37]
271 #define SWIGTYPE_p_wxPseudoMetaFile swig_types[38]
272 #define SWIGTYPE_p_wxPyTextShape swig_types[39]
273 #define SWIGTYPE_p_wxPyDividedShape swig_types[40]
274 static swig_type_info
*swig_types
[42];
276 /* -------- TYPES TABLE (END) -------- */
279 /*-----------------------------------------------
281 ------------------------------------------------*/
282 #define SWIG_init init_ogl
284 #define SWIG_name "_ogl"
292 #define SWIGSTATIC(a) static inline a
294 #define SWIGSTATIC(a) static a
300 #ifdef HAVE_NUMERIC_CAST
301 #define numeric_cast(type,a) numeric_cast<type>(a)
303 #define numeric_cast(type,a) static_cast<type>(a)
306 #define numeric_cast(type,a) (type)(a)
312 #define SWIG_PyObj_FromSignedChar PyInt_FromLong
313 #define SWIG_PyObj_FromUnsignedChar PyInt_FromLong
314 #define SWIG_PyObj_FromShort PyInt_FromLong
315 #define SWIG_PyObj_FromUnsignedShort PyInt_FromLong
316 #define SWIG_PyObj_FromInt PyInt_FromLong
317 #define SWIG_PyObj_FromLong PyInt_FromLong
318 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
319 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
320 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
321 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
324 #include "wx/wxPython/wxPython.h"
325 #include "wx/wxPython/pyclasses.h"
326 #include "oglhelpers.h"
329 static const wxString
wxPyEmptyString(wxEmptyString
);
332 SWIG_PyObj_AsDouble(PyObject
*obj
)
334 return (PyFloat_Check(obj
)) ? PyFloat_AsDouble(obj
) :
336 (double)((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLongLong(obj
));
338 (double)((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
));
340 if (PyErr_Occurred()) {
342 PyErr_SetString(PyExc_TypeError
, "a double is expected");
348 SWIG_PyObj_AsInt(PyObject
*obj
)
350 return numeric_cast(int,
351 SWIG_PyObj_AsLongInRange(obj
, "int", INT_MIN
, INT_MAX
));
355 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
361 } else if (target
== Py_None
) {
365 if (!PyTuple_Check(target
)) {
367 target
= PyTuple_New(1);
368 PyTuple_SetItem(target
, 0, o2
);
371 PyTuple_SetItem(o3
, 0, o
);
374 target
= PySequence_Concat(o2
, o3
);
382 WXSHAPE_IMP_CALLBACKS(wxPyShapeEvtHandler
,wxShapeEvtHandler
);
384 void wxPyShapeEvtHandler__setOORInfo(wxPyShapeEvtHandler
*self
,PyObject
*_self
){
385 self
->SetClientObject(new wxPyOORClientData(_self
));
389 SWIG_PyObj_AsBool(PyObject
*obj
)
391 return PyObject_IsTrue(obj
) ? true : false;
395 WXSHAPE_IMP_CALLBACKS(wxPyShape
, wxShape
);
397 PyObject
*wxPyShape_GetChildren(wxPyShape
*self
){
398 wxList
& list
= self
->GetChildren();
399 return wxPy_ConvertShapeList(&list
);
401 PyObject
*wxPyShape_GetLines(wxPyShape
*self
){
402 wxList
& list
= self
->GetLines();
403 return wxPy_ConvertShapeList(&list
);
407 SWIG_PyObj_AsLong(PyObject
* obj
)
409 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
412 PyObject
*wxPyShape_GetRegions(wxPyShape
*self
){
413 wxList
& list
= self
->GetRegions();
414 return wxPy_ConvertList(&list
);
416 PyObject
*wxPyShape_GetAttachments(wxPyShape
*self
){
417 wxList
& list
= self
->GetAttachments();
418 return wxPy_ConvertList(&list
);
420 void wxPyShape_ApplyAttachmentOrdering(wxPyShape
*self
,PyObject
*linesToSort
){
421 wxList
* list
= wxPy_wxListHelper(linesToSort
, wxT("wxPyLineShape"));
422 self
->ApplyAttachmentOrdering(*list
);
426 // Using this macro can sometimes provoke an Internal Compiler Error in MSVC
427 // 6, so instead I'l just expand it out by hand...
428 // WXSHAPE_IMP_CALLBACKS(wxPyRectangleShape, wxRectangleShape);
430 IMP_PYCALLBACK__ (wxPyRectangleShape
, wxRectangleShape
, OnDelete
);
431 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnDraw
);
432 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnDrawContents
);
433 IMP_PYCALLBACK__DCBOOL (wxPyRectangleShape
, wxRectangleShape
, OnDrawBranches
);
434 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnMoveLinks
);
435 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnErase
);
436 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnEraseContents
);
437 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnHighlight
);
438 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnLeftClick
);
439 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnLeftDoubleClick
);
440 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnRightClick
);
441 IMP_PYCALLBACK__2DBL (wxPyRectangleShape
, wxRectangleShape
, OnSize
);
442 IMP_PYCALLBACK_BOOL_DC4DBLBOOL (wxPyRectangleShape
, wxRectangleShape
, OnMovePre
);
443 IMP_PYCALLBACK__DC4DBLBOOL (wxPyRectangleShape
, wxRectangleShape
, OnMovePost
);
444 IMP_PYCALLBACK__BOOL2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnDragLeft
);
445 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnBeginDragLeft
);
446 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnEndDragLeft
);
447 IMP_PYCALLBACK__BOOL2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnDragRight
);
448 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnBeginDragRight
);
449 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnEndDragRight
);
450 IMP_PYCALLBACK__DC4DBL (wxPyRectangleShape
, wxRectangleShape
, OnDrawOutline
);
451 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnDrawControlPoints
);
452 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnEraseControlPoints
);
453 IMP_PYCALLBACK__DCBOOL (wxPyRectangleShape
, wxRectangleShape
, OnMoveLink
);
454 IMP_PYCALLBACK__WXCPBOOL2DBL2INT(wxPyRectangleShape
, wxRectangleShape
, OnSizingDragLeft
);
455 IMP_PYCALLBACK__WXCP2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnSizingBeginDragLeft
);
456 IMP_PYCALLBACK__WXCP2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnSizingEndDragLeft
);
457 IMP_PYCALLBACK__2DBL (wxPyRectangleShape
, wxRectangleShape
, OnBeginSize
);
458 IMP_PYCALLBACK__2DBL (wxPyRectangleShape
, wxRectangleShape
, OnEndSize
)
462 WXSHAPE_IMP_CALLBACKS(wxPyControlPoint
, wxControlPoint
);
465 WXSHAPE_IMP_CALLBACKS(wxPyBitmapShape
, wxBitmapShape
);
468 WXSHAPE_IMP_CALLBACKS(wxPyDrawnShape
, wxDrawnShape
);
470 wxOGLConstraint
*new_wxOGLConstraint(int type
,wxPyShape
*constraining
,PyObject
*constrained
){
471 wxList
* list
= wxPy_wxListHelper(constrained
, wxT("wxPyShape"));
472 wxOGLConstraint
* rv
= new wxOGLConstraint(type
, constraining
, *list
);
477 WXSHAPE_IMP_CALLBACKS(wxPyCompositeShape
, wxCompositeShape
);
479 wxOGLConstraint
*wxPyCompositeShape_AddConstrainedShapes(wxPyCompositeShape
*self
,int type
,wxPyShape
*constraining
,PyObject
*constrained
){
480 wxList
* list
= wxPy_wxListHelper(constrained
, wxT("wxPyShape"));
481 wxOGLConstraint
* rv
= self
->AddConstraint(type
, constraining
, *list
);
485 PyObject
*wxPyCompositeShape_GetConstraints(wxPyCompositeShape
*self
){
486 wxList
& list
= self
->GetConstraints();
487 return wxPy_ConvertList(&list
);
489 PyObject
*wxPyCompositeShape_GetDivisions(wxPyCompositeShape
*self
){
490 wxList
& list
= self
->GetDivisions();
491 return wxPy_ConvertShapeList(&list
);
494 WXSHAPE_IMP_CALLBACKS(wxPyDividedShape
, wxDividedShape
);
497 WXSHAPE_IMP_CALLBACKS(wxPyDivisionShape
, wxDivisionShape
);
500 WXSHAPE_IMP_CALLBACKS(wxPyEllipseShape
, wxEllipseShape
);
503 WXSHAPE_IMP_CALLBACKS(wxPyCircleShape
, wxCircleShape
);
506 WXSHAPE_IMP_CALLBACKS(wxPyLineShape
, wxLineShape
);
508 void wxPyLineShape_AddArrowOrdered(wxPyLineShape
*self
,wxArrowHead
*arrow
,PyObject
*referenceList
,int end
){
509 wxList
* list
= wxPy_wxListHelper(referenceList
, wxT("wxArrowHead"));
510 self
->AddArrowOrdered(arrow
, *list
, end
);
513 PyObject
*wxPyLineShape_GetLineControlPoints(wxPyLineShape
*self
){
514 wxList
* list
= self
->GetLineControlPoints();
515 return wxPy_ConvertShapeList(list
);
518 WXSHAPE_IMP_CALLBACKS(wxPyPolygonShape
, wxPolygonShape
);
520 PyObject
*wxPyPolygonShape_Create(wxPyPolygonShape
*self
,PyObject
*points
){
521 wxList
* list
= wxPy_wxRealPoint_ListHelper(points
);
529 PyObject
*wxPyPolygonShape_GetPoints(wxPyPolygonShape
*self
){
530 wxList
* list
= self
->GetPoints();
534 wxNode
* node
= list
->GetFirst();
536 wxPyBeginBlockThreads();
537 pyList
= PyList_New(0);
539 wxObj
= node
->GetData();
540 pyObj
= wxPyConstructObject(wxObj
, wxT("wxRealPoint"), 0);
541 PyList_Append(pyList
, pyObj
);
542 node
= node
->GetNext();
544 wxPyEndBlockThreads();
547 PyObject
*wxPyPolygonShape_GetOriginalPoints(wxPyPolygonShape
*self
){
548 wxList
* list
= self
->GetOriginalPoints();
552 wxNode
* node
= list
->GetFirst();
554 wxPyBeginBlockThreads();
555 pyList
= PyList_New(0);
557 wxObj
= node
->GetData();
558 pyObj
= wxPyConstructObject(wxObj
, wxT("wxRealPoint"), 0);
559 PyList_Append(pyList
, pyObj
);
560 node
= node
->GetNext();
562 wxPyEndBlockThreads();
566 WXSHAPE_IMP_CALLBACKS(wxPyTextShape
, wxTextShape
);
569 // Put some wx default wxChar* values into wxStrings.
570 DECLARE_DEF_STRING(ShapeCanvasNameStr
);
572 PyObject
*wxDiagram_GetShapeList(wxDiagram
*self
){
573 wxList
* list
= self
->GetShapeList();
574 return wxPy_ConvertShapeList(list
);
577 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnBeginDragLeft
);
578 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnBeginDragRight
);
579 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnEndDragLeft
);
580 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnEndDragRight
);
581 IMP_PYCALLBACK__BOOL2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnDragLeft
);
582 IMP_PYCALLBACK__BOOL2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnDragRight
);
583 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnLeftClick
);
584 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnRightClick
);
587 //---------------------------------------------------------------------------
589 // Convert from a Python list to a list of className objects. This one will
590 // work for any class for the VERY generic cases, but beyond that the helper
591 // needs to know more about the type.
592 wxList
* wxPy_wxListHelper(PyObject
* pyList
, const wxChar
* className
) {
593 wxPyBeginBlockThreads();
594 if (!PyList_Check(pyList
)) {
595 PyErr_SetString(PyExc_TypeError
, "Expected a list object.");
596 wxPyEndBlockThreads();
599 int count
= PyList_Size(pyList
);
600 wxList
* list
= new wxList
;
602 PyErr_SetString(PyExc_MemoryError
, "Unable to allocate wxList object");
603 wxPyEndBlockThreads();
606 for (int x
=0; x
<count
; x
++) {
607 PyObject
* pyo
= PyList_GetItem(pyList
, x
);
608 wxObject
* wxo
= NULL
;
610 if ( !wxPyConvertSwigPtr(pyo
, (void **)&wxo
, className
) ) {
612 errmsg
.Printf(wxT("Type error, expected list of %s objects"), className
);
613 PyErr_SetString(PyExc_TypeError
, errmsg
.mb_str());
614 wxPyEndBlockThreads();
619 wxPyEndBlockThreads();
623 //---------------------------------------------------------------------------
625 wxList
* wxPy_wxRealPoint_ListHelper(PyObject
* pyList
) {
626 wxPyBeginBlockThreads();
627 if (!PyList_Check(pyList
)) {
628 PyErr_SetString(PyExc_TypeError
, "Expected a list object.");
629 wxPyEndBlockThreads();
632 int count
= PyList_Size(pyList
);
633 wxList
* list
= new wxList
;
635 PyErr_SetString(PyExc_MemoryError
, "Unable to allocate wxList object");
636 wxPyEndBlockThreads();
639 for (int x
=0; x
<count
; x
++) {
640 PyObject
* pyo
= PyList_GetItem(pyList
, x
);
642 if (PyTuple_Check(pyo
)) {
643 PyObject
* o1
= PyNumber_Float(PyTuple_GetItem(pyo
, 0));
644 PyObject
* o2
= PyNumber_Float(PyTuple_GetItem(pyo
, 1));
646 double val1
= (o1
? PyFloat_AsDouble(o1
) : 0.0);
647 double val2
= (o2
? PyFloat_AsDouble(o2
) : 0.0);
649 list
->Append((wxObject
*) new wxRealPoint(val1
, val2
));
652 wxRealPoint
* wxo
= NULL
;
653 if (wxPyConvertSwigPtr(pyo
, (void **)&wxo
, wxT("wxRealPoint"))) {
654 PyErr_SetString(PyExc_TypeError
, "Type error, expected list of wxRealPoint objects or 2-tuples");
655 wxPyEndBlockThreads();
658 list
->Append((wxObject
*) new wxRealPoint(*wxo
));
661 wxPyEndBlockThreads();
665 //---------------------------------------------------------------------------
667 PyObject
* wxPyMake_wxShapeEvtHandler(wxShapeEvtHandler
* source
) {
668 PyObject
* target
= NULL
;
670 if (source
&& wxIsKindOf(source
, wxShapeEvtHandler
)) {
671 // If it's derived from wxShapeEvtHandler then there may
672 // already be a pointer to a Python object that we can use
674 wxShapeEvtHandler
* seh
= (wxShapeEvtHandler
*)source
;
675 wxPyOORClientData
* data
= (wxPyOORClientData
*)seh
->GetClientObject();
677 target
= data
->m_obj
;
682 target
= wxPyMake_wxObject2(source
, FALSE
);
683 if (target
!= Py_None
)
684 ((wxShapeEvtHandler
*)source
)->SetClientObject(new wxPyOORClientData(target
));
689 //---------------------------------------------------------------------------
691 PyObject
* wxPy_ConvertShapeList(wxListBase
* listbase
) {
692 wxList
* list
= (wxList
*)listbase
;
696 wxNode
* node
= list
->GetFirst();
698 wxPyBeginBlockThreads();
699 pyList
= PyList_New(0);
701 wxObj
= node
->GetData();
702 pyObj
= wxPyMake_wxShapeEvtHandler((wxShapeEvtHandler
*)wxObj
);
703 PyList_Append(pyList
, pyObj
);
704 node
= node
->GetNext();
706 wxPyEndBlockThreads();
711 //---------------------------------------------------------------------------
713 IMPLEMENT_DYNAMIC_CLASS(wxPyShapeCanvas
, wxShapeCanvas
);
714 IMPLEMENT_DYNAMIC_CLASS(wxPyShapeEvtHandler
, wxShapeEvtHandler
);
715 IMPLEMENT_ABSTRACT_CLASS(wxPyShape
, wxShape
);
716 IMPLEMENT_DYNAMIC_CLASS(wxPyRectangleShape
, wxRectangleShape
);
717 IMPLEMENT_DYNAMIC_CLASS(wxPyControlPoint
, wxControlPoint
);
718 IMPLEMENT_DYNAMIC_CLASS(wxPyBitmapShape
, wxBitmapShape
);
719 IMPLEMENT_DYNAMIC_CLASS(wxPyDrawnShape
, wxDrawnShape
);
720 IMPLEMENT_DYNAMIC_CLASS(wxPyCompositeShape
, wxCompositeShape
);
721 IMPLEMENT_DYNAMIC_CLASS(wxPyDividedShape
, wxDividedShape
);
722 IMPLEMENT_DYNAMIC_CLASS(wxPyDivisionShape
, wxDivisionShape
);
723 IMPLEMENT_DYNAMIC_CLASS(wxPyEllipseShape
, wxEllipseShape
);
724 IMPLEMENT_DYNAMIC_CLASS(wxPyCircleShape
, wxCircleShape
);
725 IMPLEMENT_DYNAMIC_CLASS(wxPyLineShape
, wxLineShape
);
726 IMPLEMENT_DYNAMIC_CLASS(wxPyPolygonShape
, wxPolygonShape
);
727 IMPLEMENT_DYNAMIC_CLASS(wxPyTextShape
, wxTextShape
);
729 //---------------------------------------------------------------------------
731 // extern "C" SWIGEXPORT(void) initoglbasicc();
732 // extern "C" SWIGEXPORT(void) initoglshapesc();
733 // extern "C" SWIGEXPORT(void) initoglshapes2c();
734 // extern "C" SWIGEXPORT(void) initoglcanvasc();
739 static PyObject
*_wrap_new_ShapeRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
741 wxShapeRegion
*result
;
746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ShapeRegion",kwnames
)) goto fail
;
748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
749 result
= (wxShapeRegion
*)new wxShapeRegion();
751 wxPyEndAllowThreads(__tstate
);
752 if (PyErr_Occurred()) SWIG_fail
;
754 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxShapeRegion
, 1);
761 static PyObject
*_wrap_ShapeRegion_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
763 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
766 PyObject
* obj0
= 0 ;
767 PyObject
* obj1
= 0 ;
769 (char *) "self",(char *) "s", NULL
772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
773 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
775 arg2
= wxString_in_helper(obj1
);
776 if (arg2
== NULL
) SWIG_fail
;
780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
781 (arg1
)->SetText((wxString
const &)*arg2
);
783 wxPyEndAllowThreads(__tstate
);
784 if (PyErr_Occurred()) SWIG_fail
;
786 Py_INCREF(Py_None
); resultobj
= Py_None
;
801 static PyObject
*_wrap_ShapeRegion_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
803 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
804 wxFont
*arg2
= (wxFont
*) 0 ;
805 PyObject
* obj0
= 0 ;
806 PyObject
* obj1
= 0 ;
808 (char *) "self",(char *) "f", NULL
811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
812 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
816 if (obj1
== Py_None
) {
819 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxFont"))) {
820 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxFont.");
825 arg2
= wxTheFontList
->FindOrCreateFont(temp
->GetPointSize(),
829 temp
->GetUnderlined(),
831 temp
->GetEncoding());
836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
837 (arg1
)->SetFont(arg2
);
839 wxPyEndAllowThreads(__tstate
);
840 if (PyErr_Occurred()) SWIG_fail
;
842 Py_INCREF(Py_None
); resultobj
= Py_None
;
849 static PyObject
*_wrap_ShapeRegion_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
851 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
854 PyObject
* obj0
= 0 ;
855 PyObject
* obj1
= 0 ;
856 PyObject
* obj2
= 0 ;
858 (char *) "self",(char *) "w",(char *) "h", NULL
861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ShapeRegion_SetMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
862 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
864 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
865 if (PyErr_Occurred()) SWIG_fail
;
868 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
869 if (PyErr_Occurred()) SWIG_fail
;
872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
873 (arg1
)->SetMinSize(arg2
,arg3
);
875 wxPyEndAllowThreads(__tstate
);
876 if (PyErr_Occurred()) SWIG_fail
;
878 Py_INCREF(Py_None
); resultobj
= Py_None
;
885 static PyObject
*_wrap_ShapeRegion_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
887 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
890 PyObject
* obj0
= 0 ;
891 PyObject
* obj1
= 0 ;
892 PyObject
* obj2
= 0 ;
894 (char *) "self",(char *) "w",(char *) "h", NULL
897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ShapeRegion_SetSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
898 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
900 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
901 if (PyErr_Occurred()) SWIG_fail
;
904 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
905 if (PyErr_Occurred()) SWIG_fail
;
908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
909 (arg1
)->SetSize(arg2
,arg3
);
911 wxPyEndAllowThreads(__tstate
);
912 if (PyErr_Occurred()) SWIG_fail
;
914 Py_INCREF(Py_None
); resultobj
= Py_None
;
921 static PyObject
*_wrap_ShapeRegion_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
923 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
926 PyObject
* obj0
= 0 ;
927 PyObject
* obj1
= 0 ;
928 PyObject
* obj2
= 0 ;
930 (char *) "self",(char *) "x",(char *) "y", NULL
933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ShapeRegion_SetPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
934 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
936 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
937 if (PyErr_Occurred()) SWIG_fail
;
940 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
941 if (PyErr_Occurred()) SWIG_fail
;
944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
945 (arg1
)->SetPosition(arg2
,arg3
);
947 wxPyEndAllowThreads(__tstate
);
948 if (PyErr_Occurred()) SWIG_fail
;
950 Py_INCREF(Py_None
); resultobj
= Py_None
;
957 static PyObject
*_wrap_ShapeRegion_SetProportions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
959 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
962 PyObject
* obj0
= 0 ;
963 PyObject
* obj1
= 0 ;
964 PyObject
* obj2
= 0 ;
966 (char *) "self",(char *) "x",(char *) "y", NULL
969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ShapeRegion_SetProportions",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
970 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
972 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
973 if (PyErr_Occurred()) SWIG_fail
;
976 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
977 if (PyErr_Occurred()) SWIG_fail
;
980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
981 (arg1
)->SetProportions(arg2
,arg3
);
983 wxPyEndAllowThreads(__tstate
);
984 if (PyErr_Occurred()) SWIG_fail
;
986 Py_INCREF(Py_None
); resultobj
= Py_None
;
993 static PyObject
*_wrap_ShapeRegion_SetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
995 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
997 PyObject
* obj0
= 0 ;
998 PyObject
* obj1
= 0 ;
1000 (char *) "self",(char *) "mode", NULL
1003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetFormatMode",kwnames
,&obj0
,&obj1
)) goto fail
;
1004 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1006 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1007 if (PyErr_Occurred()) SWIG_fail
;
1010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1011 (arg1
)->SetFormatMode(arg2
);
1013 wxPyEndAllowThreads(__tstate
);
1014 if (PyErr_Occurred()) SWIG_fail
;
1016 Py_INCREF(Py_None
); resultobj
= Py_None
;
1023 static PyObject
*_wrap_ShapeRegion_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1024 PyObject
*resultobj
;
1025 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1026 wxString
*arg2
= 0 ;
1027 bool temp2
= False
;
1028 PyObject
* obj0
= 0 ;
1029 PyObject
* obj1
= 0 ;
1031 (char *) "self",(char *) "s", NULL
1034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
1035 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1037 arg2
= wxString_in_helper(obj1
);
1038 if (arg2
== NULL
) SWIG_fail
;
1042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1043 (arg1
)->SetName((wxString
const &)*arg2
);
1045 wxPyEndAllowThreads(__tstate
);
1046 if (PyErr_Occurred()) SWIG_fail
;
1048 Py_INCREF(Py_None
); resultobj
= Py_None
;
1063 static PyObject
*_wrap_ShapeRegion_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1064 PyObject
*resultobj
;
1065 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1066 wxString
*arg2
= 0 ;
1067 bool temp2
= False
;
1068 PyObject
* obj0
= 0 ;
1069 PyObject
* obj1
= 0 ;
1071 (char *) "self",(char *) "col", NULL
1074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
1075 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1077 arg2
= wxString_in_helper(obj1
);
1078 if (arg2
== NULL
) SWIG_fail
;
1082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1083 (arg1
)->SetColour((wxString
const &)*arg2
);
1085 wxPyEndAllowThreads(__tstate
);
1086 if (PyErr_Occurred()) SWIG_fail
;
1088 Py_INCREF(Py_None
); resultobj
= Py_None
;
1103 static PyObject
*_wrap_ShapeRegion_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1104 PyObject
*resultobj
;
1105 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1107 PyObject
* obj0
= 0 ;
1109 (char *) "self", NULL
1112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetText",kwnames
,&obj0
)) goto fail
;
1113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1116 result
= (arg1
)->GetText();
1118 wxPyEndAllowThreads(__tstate
);
1119 if (PyErr_Occurred()) SWIG_fail
;
1123 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1125 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1134 static PyObject
*_wrap_ShapeRegion_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1135 PyObject
*resultobj
;
1136 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1138 PyObject
* obj0
= 0 ;
1140 (char *) "self", NULL
1143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetFont",kwnames
,&obj0
)) goto fail
;
1144 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1147 result
= (wxFont
*)(arg1
)->GetFont();
1149 wxPyEndAllowThreads(__tstate
);
1150 if (PyErr_Occurred()) SWIG_fail
;
1152 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
1159 static PyObject
*_wrap_ShapeRegion_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1160 PyObject
*resultobj
;
1161 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1162 double *arg2
= (double *) 0 ;
1163 double *arg3
= (double *) 0 ;
1166 PyObject
* obj0
= 0 ;
1168 (char *) "self", NULL
1173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetMinSize",kwnames
,&obj0
)) goto fail
;
1174 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1177 (arg1
)->GetMinSize(arg2
,arg3
);
1179 wxPyEndAllowThreads(__tstate
);
1180 if (PyErr_Occurred()) SWIG_fail
;
1182 Py_INCREF(Py_None
); resultobj
= Py_None
;
1184 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
1185 resultobj
= t_output_helper(resultobj
,o
);
1188 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
1189 resultobj
= t_output_helper(resultobj
,o
);
1197 static PyObject
*_wrap_ShapeRegion_GetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1198 PyObject
*resultobj
;
1199 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1200 double *arg2
= (double *) 0 ;
1201 double *arg3
= (double *) 0 ;
1204 PyObject
* obj0
= 0 ;
1206 (char *) "self", NULL
1211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetProportion",kwnames
,&obj0
)) goto fail
;
1212 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1215 (arg1
)->GetProportion(arg2
,arg3
);
1217 wxPyEndAllowThreads(__tstate
);
1218 if (PyErr_Occurred()) SWIG_fail
;
1220 Py_INCREF(Py_None
); resultobj
= Py_None
;
1222 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
1223 resultobj
= t_output_helper(resultobj
,o
);
1226 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
1227 resultobj
= t_output_helper(resultobj
,o
);
1235 static PyObject
*_wrap_ShapeRegion_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1236 PyObject
*resultobj
;
1237 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1238 double *arg2
= (double *) 0 ;
1239 double *arg3
= (double *) 0 ;
1242 PyObject
* obj0
= 0 ;
1244 (char *) "self", NULL
1249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetSize",kwnames
,&obj0
)) goto fail
;
1250 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1253 (arg1
)->GetSize(arg2
,arg3
);
1255 wxPyEndAllowThreads(__tstate
);
1256 if (PyErr_Occurred()) SWIG_fail
;
1258 Py_INCREF(Py_None
); resultobj
= Py_None
;
1260 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
1261 resultobj
= t_output_helper(resultobj
,o
);
1264 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
1265 resultobj
= t_output_helper(resultobj
,o
);
1273 static PyObject
*_wrap_ShapeRegion_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1274 PyObject
*resultobj
;
1275 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1276 double *arg2
= (double *) 0 ;
1277 double *arg3
= (double *) 0 ;
1280 PyObject
* obj0
= 0 ;
1282 (char *) "self", NULL
1287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetPosition",kwnames
,&obj0
)) goto fail
;
1288 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1291 (arg1
)->GetPosition(arg2
,arg3
);
1293 wxPyEndAllowThreads(__tstate
);
1294 if (PyErr_Occurred()) SWIG_fail
;
1296 Py_INCREF(Py_None
); resultobj
= Py_None
;
1298 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
1299 resultobj
= t_output_helper(resultobj
,o
);
1302 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
1303 resultobj
= t_output_helper(resultobj
,o
);
1311 static PyObject
*_wrap_ShapeRegion_GetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1312 PyObject
*resultobj
;
1313 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1315 PyObject
* obj0
= 0 ;
1317 (char *) "self", NULL
1320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetFormatMode",kwnames
,&obj0
)) goto fail
;
1321 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1324 result
= (int)(arg1
)->GetFormatMode();
1326 wxPyEndAllowThreads(__tstate
);
1327 if (PyErr_Occurred()) SWIG_fail
;
1329 resultobj
= SWIG_PyObj_FromInt((int)result
);
1336 static PyObject
*_wrap_ShapeRegion_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1337 PyObject
*resultobj
;
1338 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1340 PyObject
* obj0
= 0 ;
1342 (char *) "self", NULL
1345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetName",kwnames
,&obj0
)) goto fail
;
1346 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1349 result
= (arg1
)->GetName();
1351 wxPyEndAllowThreads(__tstate
);
1352 if (PyErr_Occurred()) SWIG_fail
;
1356 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1358 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1367 static PyObject
*_wrap_ShapeRegion_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1368 PyObject
*resultobj
;
1369 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1371 PyObject
* obj0
= 0 ;
1373 (char *) "self", NULL
1376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetColour",kwnames
,&obj0
)) goto fail
;
1377 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1380 result
= (arg1
)->GetColour();
1382 wxPyEndAllowThreads(__tstate
);
1383 if (PyErr_Occurred()) SWIG_fail
;
1387 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1389 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1398 static PyObject
*_wrap_ShapeRegion_GetActualColourObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1399 PyObject
*resultobj
;
1400 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1402 PyObject
* obj0
= 0 ;
1404 (char *) "self", NULL
1407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetActualColourObject",kwnames
,&obj0
)) goto fail
;
1408 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1411 result
= (arg1
)->GetActualColourObject();
1413 wxPyEndAllowThreads(__tstate
);
1414 if (PyErr_Occurred()) SWIG_fail
;
1417 wxColour
* resultptr
;
1418 resultptr
= new wxColour((wxColour
&) result
);
1419 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1427 static PyObject
*_wrap_ShapeRegion_GetFormattedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1428 PyObject
*resultobj
;
1429 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1431 PyObject
* obj0
= 0 ;
1433 (char *) "self", NULL
1436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetFormattedText",kwnames
,&obj0
)) goto fail
;
1437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1441 wxList
&_result_ref
= (arg1
)->GetFormattedText();
1442 result
= (wxList
*) &_result_ref
;
1445 wxPyEndAllowThreads(__tstate
);
1446 if (PyErr_Occurred()) SWIG_fail
;
1448 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxList
, 0);
1455 static PyObject
*_wrap_ShapeRegion_GetPenColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1456 PyObject
*resultobj
;
1457 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1459 PyObject
* obj0
= 0 ;
1461 (char *) "self", NULL
1464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetPenColour",kwnames
,&obj0
)) goto fail
;
1465 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1468 result
= (arg1
)->GetPenColour();
1470 wxPyEndAllowThreads(__tstate
);
1471 if (PyErr_Occurred()) SWIG_fail
;
1475 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1477 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1486 static PyObject
*_wrap_ShapeRegion_GetPenStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1487 PyObject
*resultobj
;
1488 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1490 PyObject
* obj0
= 0 ;
1492 (char *) "self", NULL
1495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetPenStyle",kwnames
,&obj0
)) goto fail
;
1496 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1499 result
= (int)(arg1
)->GetPenStyle();
1501 wxPyEndAllowThreads(__tstate
);
1502 if (PyErr_Occurred()) SWIG_fail
;
1504 resultobj
= SWIG_PyObj_FromInt((int)result
);
1511 static PyObject
*_wrap_ShapeRegion_SetPenStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1512 PyObject
*resultobj
;
1513 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1515 PyObject
* obj0
= 0 ;
1516 PyObject
* obj1
= 0 ;
1518 (char *) "self",(char *) "style", NULL
1521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetPenStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
1522 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1524 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1525 if (PyErr_Occurred()) SWIG_fail
;
1528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1529 (arg1
)->SetPenStyle(arg2
);
1531 wxPyEndAllowThreads(__tstate
);
1532 if (PyErr_Occurred()) SWIG_fail
;
1534 Py_INCREF(Py_None
); resultobj
= Py_None
;
1541 static PyObject
*_wrap_ShapeRegion_SetPenColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1542 PyObject
*resultobj
;
1543 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1544 wxString
*arg2
= 0 ;
1545 bool temp2
= False
;
1546 PyObject
* obj0
= 0 ;
1547 PyObject
* obj1
= 0 ;
1549 (char *) "self",(char *) "col", NULL
1552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetPenColour",kwnames
,&obj0
,&obj1
)) goto fail
;
1553 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1555 arg2
= wxString_in_helper(obj1
);
1556 if (arg2
== NULL
) SWIG_fail
;
1560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1561 (arg1
)->SetPenColour((wxString
const &)*arg2
);
1563 wxPyEndAllowThreads(__tstate
);
1564 if (PyErr_Occurred()) SWIG_fail
;
1566 Py_INCREF(Py_None
); resultobj
= Py_None
;
1581 static PyObject
*_wrap_ShapeRegion_GetActualPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1582 PyObject
*resultobj
;
1583 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1585 PyObject
* obj0
= 0 ;
1587 (char *) "self", NULL
1590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetActualPen",kwnames
,&obj0
)) goto fail
;
1591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1594 result
= (wxPen
*)(arg1
)->GetActualPen();
1596 wxPyEndAllowThreads(__tstate
);
1597 if (PyErr_Occurred()) SWIG_fail
;
1599 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPen
, 0);
1606 static PyObject
*_wrap_ShapeRegion_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1607 PyObject
*resultobj
;
1608 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1610 PyObject
* obj0
= 0 ;
1612 (char *) "self", NULL
1615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetWidth",kwnames
,&obj0
)) goto fail
;
1616 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1619 result
= (double)(arg1
)->GetWidth();
1621 wxPyEndAllowThreads(__tstate
);
1622 if (PyErr_Occurred()) SWIG_fail
;
1624 resultobj
= SWIG_PyObj_FromDouble((double)result
);
1631 static PyObject
*_wrap_ShapeRegion_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1632 PyObject
*resultobj
;
1633 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1635 PyObject
* obj0
= 0 ;
1637 (char *) "self", NULL
1640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetHeight",kwnames
,&obj0
)) goto fail
;
1641 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1644 result
= (double)(arg1
)->GetHeight();
1646 wxPyEndAllowThreads(__tstate
);
1647 if (PyErr_Occurred()) SWIG_fail
;
1649 resultobj
= SWIG_PyObj_FromDouble((double)result
);
1656 static PyObject
*_wrap_ShapeRegion_ClearText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1657 PyObject
*resultobj
;
1658 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1659 PyObject
* obj0
= 0 ;
1661 (char *) "self", NULL
1664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_ClearText",kwnames
,&obj0
)) goto fail
;
1665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1668 (arg1
)->ClearText();
1670 wxPyEndAllowThreads(__tstate
);
1671 if (PyErr_Occurred()) SWIG_fail
;
1673 Py_INCREF(Py_None
); resultobj
= Py_None
;
1680 static PyObject
* ShapeRegion_swigregister(PyObject
*self
, PyObject
*args
) {
1682 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1683 SWIG_TypeClientData(SWIGTYPE_p_wxShapeRegion
, obj
);
1685 return Py_BuildValue((char *)"");
1687 static PyObject
*_wrap_new_AttachmentPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1688 PyObject
*resultobj
;
1689 int arg1
= (int) 0 ;
1690 double arg2
= (double) 0.0 ;
1691 double arg3
= (double) 0.0 ;
1692 wxAttachmentPoint
*result
;
1693 PyObject
* obj0
= 0 ;
1694 PyObject
* obj1
= 0 ;
1695 PyObject
* obj2
= 0 ;
1697 (char *) "id",(char *) "x",(char *) "y", NULL
1700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AttachmentPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1703 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
1704 if (PyErr_Occurred()) SWIG_fail
;
1709 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
1710 if (PyErr_Occurred()) SWIG_fail
;
1715 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
1716 if (PyErr_Occurred()) SWIG_fail
;
1720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1721 result
= (wxAttachmentPoint
*)new wxAttachmentPoint(arg1
,arg2
,arg3
);
1723 wxPyEndAllowThreads(__tstate
);
1724 if (PyErr_Occurred()) SWIG_fail
;
1726 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAttachmentPoint
, 1);
1733 static PyObject
*_wrap_AttachmentPoint_m_id_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1734 PyObject
*resultobj
;
1735 wxAttachmentPoint
*arg1
= (wxAttachmentPoint
*) 0 ;
1737 PyObject
* obj0
= 0 ;
1738 PyObject
* obj1
= 0 ;
1740 (char *) "self",(char *) "m_id", NULL
1743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AttachmentPoint_m_id_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1744 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAttachmentPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1746 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1747 if (PyErr_Occurred()) SWIG_fail
;
1749 if (arg1
) (arg1
)->m_id
= arg2
;
1751 Py_INCREF(Py_None
); resultobj
= Py_None
;
1758 static PyObject
*_wrap_AttachmentPoint_m_id_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1759 PyObject
*resultobj
;
1760 wxAttachmentPoint
*arg1
= (wxAttachmentPoint
*) 0 ;
1762 PyObject
* obj0
= 0 ;
1764 (char *) "self", NULL
1767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AttachmentPoint_m_id_get",kwnames
,&obj0
)) goto fail
;
1768 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAttachmentPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1769 result
= (int) ((arg1
)->m_id
);
1771 resultobj
= SWIG_PyObj_FromInt((int)result
);
1778 static PyObject
*_wrap_AttachmentPoint_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1779 PyObject
*resultobj
;
1780 wxAttachmentPoint
*arg1
= (wxAttachmentPoint
*) 0 ;
1782 PyObject
* obj0
= 0 ;
1783 PyObject
* obj1
= 0 ;
1785 (char *) "self",(char *) "m_x", NULL
1788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AttachmentPoint_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAttachmentPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1791 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
1792 if (PyErr_Occurred()) SWIG_fail
;
1794 if (arg1
) (arg1
)->m_x
= arg2
;
1796 Py_INCREF(Py_None
); resultobj
= Py_None
;
1803 static PyObject
*_wrap_AttachmentPoint_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1804 PyObject
*resultobj
;
1805 wxAttachmentPoint
*arg1
= (wxAttachmentPoint
*) 0 ;
1807 PyObject
* obj0
= 0 ;
1809 (char *) "self", NULL
1812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AttachmentPoint_m_x_get",kwnames
,&obj0
)) goto fail
;
1813 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAttachmentPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1814 result
= (double) ((arg1
)->m_x
);
1816 resultobj
= SWIG_PyObj_FromDouble((double)result
);
1823 static PyObject
*_wrap_AttachmentPoint_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1824 PyObject
*resultobj
;
1825 wxAttachmentPoint
*arg1
= (wxAttachmentPoint
*) 0 ;
1827 PyObject
* obj0
= 0 ;
1828 PyObject
* obj1
= 0 ;
1830 (char *) "self",(char *) "m_y", NULL
1833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AttachmentPoint_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1834 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAttachmentPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1836 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
1837 if (PyErr_Occurred()) SWIG_fail
;
1839 if (arg1
) (arg1
)->m_y
= arg2
;
1841 Py_INCREF(Py_None
); resultobj
= Py_None
;
1848 static PyObject
*_wrap_AttachmentPoint_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1849 PyObject
*resultobj
;
1850 wxAttachmentPoint
*arg1
= (wxAttachmentPoint
*) 0 ;
1852 PyObject
* obj0
= 0 ;
1854 (char *) "self", NULL
1857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AttachmentPoint_m_y_get",kwnames
,&obj0
)) goto fail
;
1858 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAttachmentPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1859 result
= (double) ((arg1
)->m_y
);
1861 resultobj
= SWIG_PyObj_FromDouble((double)result
);
1868 static PyObject
* AttachmentPoint_swigregister(PyObject
*self
, PyObject
*args
) {
1870 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1871 SWIG_TypeClientData(SWIGTYPE_p_wxAttachmentPoint
, obj
);
1873 return Py_BuildValue((char *)"");
1875 static PyObject
*_wrap_new_PyShapeEvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1876 PyObject
*resultobj
;
1877 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) NULL
;
1878 wxPyShape
*arg2
= (wxPyShape
*) NULL
;
1879 wxPyShapeEvtHandler
*result
;
1880 PyObject
* obj0
= 0 ;
1881 PyObject
* obj1
= 0 ;
1883 (char *) "prev",(char *) "shape", NULL
1886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyShapeEvtHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
1888 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1891 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1895 result
= (wxPyShapeEvtHandler
*)new wxPyShapeEvtHandler(arg1
,arg2
);
1897 wxPyEndAllowThreads(__tstate
);
1898 if (PyErr_Occurred()) SWIG_fail
;
1901 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
1909 static PyObject
*_wrap_PyShapeEvtHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1910 PyObject
*resultobj
;
1911 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
1912 PyObject
*arg2
= (PyObject
*) 0 ;
1913 PyObject
*arg3
= (PyObject
*) 0 ;
1914 PyObject
* obj0
= 0 ;
1915 PyObject
* obj1
= 0 ;
1916 PyObject
* obj2
= 0 ;
1918 (char *) "self",(char *) "self",(char *) "_class", NULL
1921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeEvtHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1922 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1927 (arg1
)->_setCallbackInfo(arg2
,arg3
);
1929 wxPyEndAllowThreads(__tstate
);
1930 if (PyErr_Occurred()) SWIG_fail
;
1932 Py_INCREF(Py_None
); resultobj
= Py_None
;
1939 static PyObject
*_wrap_PyShapeEvtHandler__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1940 PyObject
*resultobj
;
1941 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
1942 PyObject
*arg2
= (PyObject
*) 0 ;
1943 PyObject
* obj0
= 0 ;
1944 PyObject
* obj1
= 0 ;
1946 (char *) "self",(char *) "_self", NULL
1949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
1950 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1954 wxPyShapeEvtHandler__setOORInfo(arg1
,arg2
);
1956 wxPyEndAllowThreads(__tstate
);
1957 if (PyErr_Occurred()) SWIG_fail
;
1959 Py_INCREF(Py_None
); resultobj
= Py_None
;
1966 static PyObject
*_wrap_PyShapeEvtHandler_SetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1967 PyObject
*resultobj
;
1968 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
1969 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
1970 PyObject
* obj0
= 0 ;
1971 PyObject
* obj1
= 0 ;
1973 (char *) "self",(char *) "sh", NULL
1976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
1977 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1978 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1981 (arg1
)->SetShape(arg2
);
1983 wxPyEndAllowThreads(__tstate
);
1984 if (PyErr_Occurred()) SWIG_fail
;
1986 Py_INCREF(Py_None
); resultobj
= Py_None
;
1993 static PyObject
*_wrap_PyShapeEvtHandler_GetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1994 PyObject
*resultobj
;
1995 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
1997 PyObject
* obj0
= 0 ;
1999 (char *) "self", NULL
2002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeEvtHandler_GetShape",kwnames
,&obj0
)) goto fail
;
2003 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2006 result
= (wxPyShape
*)(arg1
)->GetShape();
2008 wxPyEndAllowThreads(__tstate
);
2009 if (PyErr_Occurred()) SWIG_fail
;
2012 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
2020 static PyObject
*_wrap_PyShapeEvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2021 PyObject
*resultobj
;
2022 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2023 wxPyShapeEvtHandler
*arg2
= (wxPyShapeEvtHandler
*) 0 ;
2024 PyObject
* obj0
= 0 ;
2025 PyObject
* obj1
= 0 ;
2027 (char *) "self",(char *) "handler", NULL
2030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
2031 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2032 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2035 (arg1
)->SetPreviousHandler(arg2
);
2037 wxPyEndAllowThreads(__tstate
);
2038 if (PyErr_Occurred()) SWIG_fail
;
2040 Py_INCREF(Py_None
); resultobj
= Py_None
;
2047 static PyObject
*_wrap_PyShapeEvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2048 PyObject
*resultobj
;
2049 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2050 wxPyShapeEvtHandler
*result
;
2051 PyObject
* obj0
= 0 ;
2053 (char *) "self", NULL
2056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeEvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
2057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2060 result
= (wxPyShapeEvtHandler
*)(arg1
)->GetPreviousHandler();
2062 wxPyEndAllowThreads(__tstate
);
2063 if (PyErr_Occurred()) SWIG_fail
;
2066 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
2074 static PyObject
*_wrap_PyShapeEvtHandler_CreateNewCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2075 PyObject
*resultobj
;
2076 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2077 wxPyShapeEvtHandler
*result
;
2078 PyObject
* obj0
= 0 ;
2080 (char *) "self", NULL
2083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeEvtHandler_CreateNewCopy",kwnames
,&obj0
)) goto fail
;
2084 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2087 result
= (wxPyShapeEvtHandler
*)(arg1
)->CreateNewCopy();
2089 wxPyEndAllowThreads(__tstate
);
2090 if (PyErr_Occurred()) SWIG_fail
;
2093 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
2101 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2102 PyObject
*resultobj
;
2103 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2104 PyObject
* obj0
= 0 ;
2106 (char *) "self", NULL
2109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeEvtHandler_base_OnDelete",kwnames
,&obj0
)) goto fail
;
2110 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2113 (arg1
)->base_OnDelete();
2115 wxPyEndAllowThreads(__tstate
);
2116 if (PyErr_Occurred()) SWIG_fail
;
2118 Py_INCREF(Py_None
); resultobj
= Py_None
;
2125 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2126 PyObject
*resultobj
;
2127 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2129 PyObject
* obj0
= 0 ;
2130 PyObject
* obj1
= 0 ;
2132 (char *) "self",(char *) "dc", NULL
2135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
2136 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2137 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2139 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2143 (arg1
)->base_OnDraw(*arg2
);
2145 wxPyEndAllowThreads(__tstate
);
2146 if (PyErr_Occurred()) SWIG_fail
;
2148 Py_INCREF(Py_None
); resultobj
= Py_None
;
2155 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2156 PyObject
*resultobj
;
2157 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2159 PyObject
* obj0
= 0 ;
2160 PyObject
* obj1
= 0 ;
2162 (char *) "self",(char *) "dc", NULL
2165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
2166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2167 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2169 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2173 (arg1
)->base_OnDrawContents(*arg2
);
2175 wxPyEndAllowThreads(__tstate
);
2176 if (PyErr_Occurred()) SWIG_fail
;
2178 Py_INCREF(Py_None
); resultobj
= Py_None
;
2185 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2186 PyObject
*resultobj
;
2187 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2189 bool arg3
= (bool) False
;
2190 PyObject
* obj0
= 0 ;
2191 PyObject
* obj1
= 0 ;
2192 PyObject
* obj2
= 0 ;
2194 (char *) "self",(char *) "dc",(char *) "erase", NULL
2197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShapeEvtHandler_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2198 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2199 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2201 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2205 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
2206 if (PyErr_Occurred()) SWIG_fail
;
2210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2211 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
2213 wxPyEndAllowThreads(__tstate
);
2214 if (PyErr_Occurred()) SWIG_fail
;
2216 Py_INCREF(Py_None
); resultobj
= Py_None
;
2223 static PyObject
*_wrap_PyShapeEvtHandler_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2224 PyObject
*resultobj
;
2225 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2227 PyObject
* obj0
= 0 ;
2228 PyObject
* obj1
= 0 ;
2230 (char *) "self",(char *) "dc", NULL
2233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
2234 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2235 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2237 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2241 (arg1
)->base_OnMoveLinks(*arg2
);
2243 wxPyEndAllowThreads(__tstate
);
2244 if (PyErr_Occurred()) SWIG_fail
;
2246 Py_INCREF(Py_None
); resultobj
= Py_None
;
2253 static PyObject
*_wrap_PyShapeEvtHandler_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2254 PyObject
*resultobj
;
2255 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2257 PyObject
* obj0
= 0 ;
2258 PyObject
* obj1
= 0 ;
2260 (char *) "self",(char *) "dc", NULL
2263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
2264 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2265 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2267 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2271 (arg1
)->base_OnErase(*arg2
);
2273 wxPyEndAllowThreads(__tstate
);
2274 if (PyErr_Occurred()) SWIG_fail
;
2276 Py_INCREF(Py_None
); resultobj
= Py_None
;
2283 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2284 PyObject
*resultobj
;
2285 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2287 PyObject
* obj0
= 0 ;
2288 PyObject
* obj1
= 0 ;
2290 (char *) "self",(char *) "dc", NULL
2293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
2294 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2295 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2297 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2301 (arg1
)->base_OnEraseContents(*arg2
);
2303 wxPyEndAllowThreads(__tstate
);
2304 if (PyErr_Occurred()) SWIG_fail
;
2306 Py_INCREF(Py_None
); resultobj
= Py_None
;
2313 static PyObject
*_wrap_PyShapeEvtHandler_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2314 PyObject
*resultobj
;
2315 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2317 PyObject
* obj0
= 0 ;
2318 PyObject
* obj1
= 0 ;
2320 (char *) "self",(char *) "dc", NULL
2323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
2324 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2325 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2327 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2331 (arg1
)->base_OnHighlight(*arg2
);
2333 wxPyEndAllowThreads(__tstate
);
2334 if (PyErr_Occurred()) SWIG_fail
;
2336 Py_INCREF(Py_None
); resultobj
= Py_None
;
2343 static PyObject
*_wrap_PyShapeEvtHandler_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2344 PyObject
*resultobj
;
2345 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2348 int arg4
= (int) 0 ;
2349 int arg5
= (int) 0 ;
2350 PyObject
* obj0
= 0 ;
2351 PyObject
* obj1
= 0 ;
2352 PyObject
* obj2
= 0 ;
2353 PyObject
* obj3
= 0 ;
2354 PyObject
* obj4
= 0 ;
2356 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeEvtHandler_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
2360 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2362 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
2363 if (PyErr_Occurred()) SWIG_fail
;
2366 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
2367 if (PyErr_Occurred()) SWIG_fail
;
2371 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
2372 if (PyErr_Occurred()) SWIG_fail
;
2377 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
2378 if (PyErr_Occurred()) SWIG_fail
;
2382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2383 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
2385 wxPyEndAllowThreads(__tstate
);
2386 if (PyErr_Occurred()) SWIG_fail
;
2388 Py_INCREF(Py_None
); resultobj
= Py_None
;
2395 static PyObject
*_wrap_PyShapeEvtHandler_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2396 PyObject
*resultobj
;
2397 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2400 int arg4
= (int) 0 ;
2401 int arg5
= (int) 0 ;
2402 PyObject
* obj0
= 0 ;
2403 PyObject
* obj1
= 0 ;
2404 PyObject
* obj2
= 0 ;
2405 PyObject
* obj3
= 0 ;
2406 PyObject
* obj4
= 0 ;
2408 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeEvtHandler_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
2412 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2414 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
2415 if (PyErr_Occurred()) SWIG_fail
;
2418 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
2419 if (PyErr_Occurred()) SWIG_fail
;
2423 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
2424 if (PyErr_Occurred()) SWIG_fail
;
2429 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
2430 if (PyErr_Occurred()) SWIG_fail
;
2434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2435 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
2437 wxPyEndAllowThreads(__tstate
);
2438 if (PyErr_Occurred()) SWIG_fail
;
2440 Py_INCREF(Py_None
); resultobj
= Py_None
;
2447 static PyObject
*_wrap_PyShapeEvtHandler_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2448 PyObject
*resultobj
;
2449 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2452 int arg4
= (int) 0 ;
2453 int arg5
= (int) 0 ;
2454 PyObject
* obj0
= 0 ;
2455 PyObject
* obj1
= 0 ;
2456 PyObject
* obj2
= 0 ;
2457 PyObject
* obj3
= 0 ;
2458 PyObject
* obj4
= 0 ;
2460 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeEvtHandler_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
2464 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2466 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
2467 if (PyErr_Occurred()) SWIG_fail
;
2470 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
2471 if (PyErr_Occurred()) SWIG_fail
;
2475 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
2476 if (PyErr_Occurred()) SWIG_fail
;
2481 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
2482 if (PyErr_Occurred()) SWIG_fail
;
2486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2487 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
2489 wxPyEndAllowThreads(__tstate
);
2490 if (PyErr_Occurred()) SWIG_fail
;
2492 Py_INCREF(Py_None
); resultobj
= Py_None
;
2499 static PyObject
*_wrap_PyShapeEvtHandler_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2500 PyObject
*resultobj
;
2501 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2504 PyObject
* obj0
= 0 ;
2505 PyObject
* obj1
= 0 ;
2506 PyObject
* obj2
= 0 ;
2508 (char *) "self",(char *) "x",(char *) "y", NULL
2511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeEvtHandler_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2512 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2514 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
2515 if (PyErr_Occurred()) SWIG_fail
;
2518 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
2519 if (PyErr_Occurred()) SWIG_fail
;
2522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2523 (arg1
)->base_OnSize(arg2
,arg3
);
2525 wxPyEndAllowThreads(__tstate
);
2526 if (PyErr_Occurred()) SWIG_fail
;
2528 Py_INCREF(Py_None
); resultobj
= Py_None
;
2535 static PyObject
*_wrap_PyShapeEvtHandler_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2536 PyObject
*resultobj
;
2537 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2543 bool arg7
= (bool) True
;
2545 PyObject
* obj0
= 0 ;
2546 PyObject
* obj1
= 0 ;
2547 PyObject
* obj2
= 0 ;
2548 PyObject
* obj3
= 0 ;
2549 PyObject
* obj4
= 0 ;
2550 PyObject
* obj5
= 0 ;
2551 PyObject
* obj6
= 0 ;
2553 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
2556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyShapeEvtHandler_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2557 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2558 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2560 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2563 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
2564 if (PyErr_Occurred()) SWIG_fail
;
2567 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
2568 if (PyErr_Occurred()) SWIG_fail
;
2571 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
2572 if (PyErr_Occurred()) SWIG_fail
;
2575 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
2576 if (PyErr_Occurred()) SWIG_fail
;
2580 arg7
= (bool) SWIG_PyObj_AsBool(obj6
);
2581 if (PyErr_Occurred()) SWIG_fail
;
2585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2586 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
2588 wxPyEndAllowThreads(__tstate
);
2589 if (PyErr_Occurred()) SWIG_fail
;
2591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2598 static PyObject
*_wrap_PyShapeEvtHandler_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2599 PyObject
*resultobj
;
2600 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2606 bool arg7
= (bool) True
;
2607 PyObject
* obj0
= 0 ;
2608 PyObject
* obj1
= 0 ;
2609 PyObject
* obj2
= 0 ;
2610 PyObject
* obj3
= 0 ;
2611 PyObject
* obj4
= 0 ;
2612 PyObject
* obj5
= 0 ;
2613 PyObject
* obj6
= 0 ;
2615 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
2618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyShapeEvtHandler_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2619 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2620 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2622 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2625 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
2626 if (PyErr_Occurred()) SWIG_fail
;
2629 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
2630 if (PyErr_Occurred()) SWIG_fail
;
2633 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
2634 if (PyErr_Occurred()) SWIG_fail
;
2637 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
2638 if (PyErr_Occurred()) SWIG_fail
;
2642 arg7
= (bool) SWIG_PyObj_AsBool(obj6
);
2643 if (PyErr_Occurred()) SWIG_fail
;
2647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2648 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
2650 wxPyEndAllowThreads(__tstate
);
2651 if (PyErr_Occurred()) SWIG_fail
;
2653 Py_INCREF(Py_None
); resultobj
= Py_None
;
2660 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2661 PyObject
*resultobj
;
2662 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2666 int arg5
= (int) 0 ;
2667 int arg6
= (int) 0 ;
2668 PyObject
* obj0
= 0 ;
2669 PyObject
* obj1
= 0 ;
2670 PyObject
* obj2
= 0 ;
2671 PyObject
* obj3
= 0 ;
2672 PyObject
* obj4
= 0 ;
2673 PyObject
* obj5
= 0 ;
2675 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
2679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2681 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
2682 if (PyErr_Occurred()) SWIG_fail
;
2685 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
2686 if (PyErr_Occurred()) SWIG_fail
;
2689 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
2690 if (PyErr_Occurred()) SWIG_fail
;
2694 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
2695 if (PyErr_Occurred()) SWIG_fail
;
2700 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
2701 if (PyErr_Occurred()) SWIG_fail
;
2705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2706 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
2708 wxPyEndAllowThreads(__tstate
);
2709 if (PyErr_Occurred()) SWIG_fail
;
2711 Py_INCREF(Py_None
); resultobj
= Py_None
;
2718 static PyObject
*_wrap_PyShapeEvtHandler_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2719 PyObject
*resultobj
;
2720 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2723 int arg4
= (int) 0 ;
2724 int arg5
= (int) 0 ;
2725 PyObject
* obj0
= 0 ;
2726 PyObject
* obj1
= 0 ;
2727 PyObject
* obj2
= 0 ;
2728 PyObject
* obj3
= 0 ;
2729 PyObject
* obj4
= 0 ;
2731 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeEvtHandler_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
2735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2737 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
2738 if (PyErr_Occurred()) SWIG_fail
;
2741 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
2742 if (PyErr_Occurred()) SWIG_fail
;
2746 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
2747 if (PyErr_Occurred()) SWIG_fail
;
2752 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
2753 if (PyErr_Occurred()) SWIG_fail
;
2757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2758 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
2760 wxPyEndAllowThreads(__tstate
);
2761 if (PyErr_Occurred()) SWIG_fail
;
2763 Py_INCREF(Py_None
); resultobj
= Py_None
;
2770 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2771 PyObject
*resultobj
;
2772 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2775 int arg4
= (int) 0 ;
2776 int arg5
= (int) 0 ;
2777 PyObject
* obj0
= 0 ;
2778 PyObject
* obj1
= 0 ;
2779 PyObject
* obj2
= 0 ;
2780 PyObject
* obj3
= 0 ;
2781 PyObject
* obj4
= 0 ;
2783 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeEvtHandler_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
2787 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2789 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
2790 if (PyErr_Occurred()) SWIG_fail
;
2793 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
2794 if (PyErr_Occurred()) SWIG_fail
;
2798 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
2799 if (PyErr_Occurred()) SWIG_fail
;
2804 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
2805 if (PyErr_Occurred()) SWIG_fail
;
2809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2810 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
2812 wxPyEndAllowThreads(__tstate
);
2813 if (PyErr_Occurred()) SWIG_fail
;
2815 Py_INCREF(Py_None
); resultobj
= Py_None
;
2822 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2823 PyObject
*resultobj
;
2824 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2828 int arg5
= (int) 0 ;
2829 int arg6
= (int) 0 ;
2830 PyObject
* obj0
= 0 ;
2831 PyObject
* obj1
= 0 ;
2832 PyObject
* obj2
= 0 ;
2833 PyObject
* obj3
= 0 ;
2834 PyObject
* obj4
= 0 ;
2835 PyObject
* obj5
= 0 ;
2837 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
2841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2843 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
2844 if (PyErr_Occurred()) SWIG_fail
;
2847 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
2848 if (PyErr_Occurred()) SWIG_fail
;
2851 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
2852 if (PyErr_Occurred()) SWIG_fail
;
2856 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
2857 if (PyErr_Occurred()) SWIG_fail
;
2862 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
2863 if (PyErr_Occurred()) SWIG_fail
;
2867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2868 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
2870 wxPyEndAllowThreads(__tstate
);
2871 if (PyErr_Occurred()) SWIG_fail
;
2873 Py_INCREF(Py_None
); resultobj
= Py_None
;
2880 static PyObject
*_wrap_PyShapeEvtHandler_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2881 PyObject
*resultobj
;
2882 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2885 int arg4
= (int) 0 ;
2886 int arg5
= (int) 0 ;
2887 PyObject
* obj0
= 0 ;
2888 PyObject
* obj1
= 0 ;
2889 PyObject
* obj2
= 0 ;
2890 PyObject
* obj3
= 0 ;
2891 PyObject
* obj4
= 0 ;
2893 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeEvtHandler_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
2897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2899 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
2900 if (PyErr_Occurred()) SWIG_fail
;
2903 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
2904 if (PyErr_Occurred()) SWIG_fail
;
2908 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
2909 if (PyErr_Occurred()) SWIG_fail
;
2914 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
2915 if (PyErr_Occurred()) SWIG_fail
;
2919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2920 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
2922 wxPyEndAllowThreads(__tstate
);
2923 if (PyErr_Occurred()) SWIG_fail
;
2925 Py_INCREF(Py_None
); resultobj
= Py_None
;
2932 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2933 PyObject
*resultobj
;
2934 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2937 int arg4
= (int) 0 ;
2938 int arg5
= (int) 0 ;
2939 PyObject
* obj0
= 0 ;
2940 PyObject
* obj1
= 0 ;
2941 PyObject
* obj2
= 0 ;
2942 PyObject
* obj3
= 0 ;
2943 PyObject
* obj4
= 0 ;
2945 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeEvtHandler_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
2949 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2951 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
2952 if (PyErr_Occurred()) SWIG_fail
;
2955 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
2956 if (PyErr_Occurred()) SWIG_fail
;
2960 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
2961 if (PyErr_Occurred()) SWIG_fail
;
2966 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
2967 if (PyErr_Occurred()) SWIG_fail
;
2971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2972 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
2974 wxPyEndAllowThreads(__tstate
);
2975 if (PyErr_Occurred()) SWIG_fail
;
2977 Py_INCREF(Py_None
); resultobj
= Py_None
;
2984 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2985 PyObject
*resultobj
;
2986 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2992 PyObject
* obj0
= 0 ;
2993 PyObject
* obj1
= 0 ;
2994 PyObject
* obj2
= 0 ;
2995 PyObject
* obj3
= 0 ;
2996 PyObject
* obj4
= 0 ;
2997 PyObject
* obj5
= 0 ;
2999 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
3002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyShapeEvtHandler_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3003 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3004 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3006 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3009 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
3010 if (PyErr_Occurred()) SWIG_fail
;
3013 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
3014 if (PyErr_Occurred()) SWIG_fail
;
3017 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
3018 if (PyErr_Occurred()) SWIG_fail
;
3021 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
3022 if (PyErr_Occurred()) SWIG_fail
;
3025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3026 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
3028 wxPyEndAllowThreads(__tstate
);
3029 if (PyErr_Occurred()) SWIG_fail
;
3031 Py_INCREF(Py_None
); resultobj
= Py_None
;
3038 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3039 PyObject
*resultobj
;
3040 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3042 PyObject
* obj0
= 0 ;
3043 PyObject
* obj1
= 0 ;
3045 (char *) "self",(char *) "dc", NULL
3048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
3049 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3050 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3052 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3056 (arg1
)->base_OnDrawControlPoints(*arg2
);
3058 wxPyEndAllowThreads(__tstate
);
3059 if (PyErr_Occurred()) SWIG_fail
;
3061 Py_INCREF(Py_None
); resultobj
= Py_None
;
3068 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3069 PyObject
*resultobj
;
3070 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3072 PyObject
* obj0
= 0 ;
3073 PyObject
* obj1
= 0 ;
3075 (char *) "self",(char *) "dc", NULL
3078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
3079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3080 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3082 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3086 (arg1
)->base_OnEraseControlPoints(*arg2
);
3088 wxPyEndAllowThreads(__tstate
);
3089 if (PyErr_Occurred()) SWIG_fail
;
3091 Py_INCREF(Py_None
); resultobj
= Py_None
;
3098 static PyObject
*_wrap_PyShapeEvtHandler_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3099 PyObject
*resultobj
;
3100 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3102 bool arg3
= (bool) True
;
3103 PyObject
* obj0
= 0 ;
3104 PyObject
* obj1
= 0 ;
3105 PyObject
* obj2
= 0 ;
3107 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
3110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShapeEvtHandler_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3112 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3114 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3118 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
3119 if (PyErr_Occurred()) SWIG_fail
;
3123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3124 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
3126 wxPyEndAllowThreads(__tstate
);
3127 if (PyErr_Occurred()) SWIG_fail
;
3129 Py_INCREF(Py_None
); resultobj
= Py_None
;
3136 static PyObject
*_wrap_PyShapeEvtHandler_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3137 PyObject
*resultobj
;
3138 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3139 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
3143 int arg6
= (int) 0 ;
3144 int arg7
= (int) 0 ;
3145 PyObject
* obj0
= 0 ;
3146 PyObject
* obj1
= 0 ;
3147 PyObject
* obj2
= 0 ;
3148 PyObject
* obj3
= 0 ;
3149 PyObject
* obj4
= 0 ;
3150 PyObject
* obj5
= 0 ;
3151 PyObject
* obj6
= 0 ;
3153 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
3156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyShapeEvtHandler_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3157 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3158 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3160 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
3161 if (PyErr_Occurred()) SWIG_fail
;
3164 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
3165 if (PyErr_Occurred()) SWIG_fail
;
3168 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
3169 if (PyErr_Occurred()) SWIG_fail
;
3173 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
3174 if (PyErr_Occurred()) SWIG_fail
;
3179 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
3180 if (PyErr_Occurred()) SWIG_fail
;
3184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3185 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
3187 wxPyEndAllowThreads(__tstate
);
3188 if (PyErr_Occurred()) SWIG_fail
;
3190 Py_INCREF(Py_None
); resultobj
= Py_None
;
3197 static PyObject
*_wrap_PyShapeEvtHandler_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3198 PyObject
*resultobj
;
3199 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3200 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
3203 int arg5
= (int) 0 ;
3204 int arg6
= (int) 0 ;
3205 PyObject
* obj0
= 0 ;
3206 PyObject
* obj1
= 0 ;
3207 PyObject
* obj2
= 0 ;
3208 PyObject
* obj3
= 0 ;
3209 PyObject
* obj4
= 0 ;
3210 PyObject
* obj5
= 0 ;
3212 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
3215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3217 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3219 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
3220 if (PyErr_Occurred()) SWIG_fail
;
3223 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
3224 if (PyErr_Occurred()) SWIG_fail
;
3228 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
3229 if (PyErr_Occurred()) SWIG_fail
;
3234 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
3235 if (PyErr_Occurred()) SWIG_fail
;
3239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3240 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
3242 wxPyEndAllowThreads(__tstate
);
3243 if (PyErr_Occurred()) SWIG_fail
;
3245 Py_INCREF(Py_None
); resultobj
= Py_None
;
3252 static PyObject
*_wrap_PyShapeEvtHandler_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3253 PyObject
*resultobj
;
3254 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3255 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
3258 int arg5
= (int) 0 ;
3259 int arg6
= (int) 0 ;
3260 PyObject
* obj0
= 0 ;
3261 PyObject
* obj1
= 0 ;
3262 PyObject
* obj2
= 0 ;
3263 PyObject
* obj3
= 0 ;
3264 PyObject
* obj4
= 0 ;
3265 PyObject
* obj5
= 0 ;
3267 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
3270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3271 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3272 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3274 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
3275 if (PyErr_Occurred()) SWIG_fail
;
3278 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
3279 if (PyErr_Occurred()) SWIG_fail
;
3283 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
3284 if (PyErr_Occurred()) SWIG_fail
;
3289 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
3290 if (PyErr_Occurred()) SWIG_fail
;
3294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3295 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
3297 wxPyEndAllowThreads(__tstate
);
3298 if (PyErr_Occurred()) SWIG_fail
;
3300 Py_INCREF(Py_None
); resultobj
= Py_None
;
3307 static PyObject
*_wrap_PyShapeEvtHandler_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3308 PyObject
*resultobj
;
3309 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3312 PyObject
* obj0
= 0 ;
3313 PyObject
* obj1
= 0 ;
3314 PyObject
* obj2
= 0 ;
3316 (char *) "self",(char *) "w",(char *) "h", NULL
3319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeEvtHandler_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3320 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3322 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
3323 if (PyErr_Occurred()) SWIG_fail
;
3326 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
3327 if (PyErr_Occurred()) SWIG_fail
;
3330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3331 (arg1
)->base_OnBeginSize(arg2
,arg3
);
3333 wxPyEndAllowThreads(__tstate
);
3334 if (PyErr_Occurred()) SWIG_fail
;
3336 Py_INCREF(Py_None
); resultobj
= Py_None
;
3343 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3344 PyObject
*resultobj
;
3345 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3348 PyObject
* obj0
= 0 ;
3349 PyObject
* obj1
= 0 ;
3350 PyObject
* obj2
= 0 ;
3352 (char *) "self",(char *) "w",(char *) "h", NULL
3355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeEvtHandler_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3358 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
3359 if (PyErr_Occurred()) SWIG_fail
;
3362 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
3363 if (PyErr_Occurred()) SWIG_fail
;
3366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3367 (arg1
)->base_OnEndSize(arg2
,arg3
);
3369 wxPyEndAllowThreads(__tstate
);
3370 if (PyErr_Occurred()) SWIG_fail
;
3372 Py_INCREF(Py_None
); resultobj
= Py_None
;
3379 static PyObject
* PyShapeEvtHandler_swigregister(PyObject
*self
, PyObject
*args
) {
3381 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3382 SWIG_TypeClientData(SWIGTYPE_p_wxPyShapeEvtHandler
, obj
);
3384 return Py_BuildValue((char *)"");
3386 static PyObject
*_wrap_new_PyShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3387 PyObject
*resultobj
;
3388 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) NULL
;
3390 PyObject
* obj0
= 0 ;
3392 (char *) "can", NULL
3395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyShape",kwnames
,&obj0
)) goto fail
;
3397 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3401 result
= (wxPyShape
*)new wxPyShape(arg1
);
3403 wxPyEndAllowThreads(__tstate
);
3404 if (PyErr_Occurred()) SWIG_fail
;
3407 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
3415 static PyObject
*_wrap_PyShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3416 PyObject
*resultobj
;
3417 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3418 PyObject
*arg2
= (PyObject
*) 0 ;
3419 PyObject
*arg3
= (PyObject
*) 0 ;
3420 PyObject
* obj0
= 0 ;
3421 PyObject
* obj1
= 0 ;
3422 PyObject
* obj2
= 0 ;
3424 (char *) "self",(char *) "self",(char *) "_class", NULL
3427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3433 (arg1
)->_setCallbackInfo(arg2
,arg3
);
3435 wxPyEndAllowThreads(__tstate
);
3436 if (PyErr_Occurred()) SWIG_fail
;
3438 Py_INCREF(Py_None
); resultobj
= Py_None
;
3445 static PyObject
*_wrap_PyShape_GetBoundingBoxMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3446 PyObject
*resultobj
;
3447 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3448 double *arg2
= (double *) 0 ;
3449 double *arg3
= (double *) 0 ;
3452 PyObject
* obj0
= 0 ;
3454 (char *) "self", NULL
3459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBoundingBoxMax",kwnames
,&obj0
)) goto fail
;
3460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3463 (arg1
)->GetBoundingBoxMax(arg2
,arg3
);
3465 wxPyEndAllowThreads(__tstate
);
3466 if (PyErr_Occurred()) SWIG_fail
;
3468 Py_INCREF(Py_None
); resultobj
= Py_None
;
3470 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
3471 resultobj
= t_output_helper(resultobj
,o
);
3474 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
3475 resultobj
= t_output_helper(resultobj
,o
);
3483 static PyObject
*_wrap_PyShape_GetBoundingBoxMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3484 PyObject
*resultobj
;
3485 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3486 double *arg2
= (double *) 0 ;
3487 double *arg3
= (double *) 0 ;
3490 PyObject
* obj0
= 0 ;
3492 (char *) "self", NULL
3497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBoundingBoxMin",kwnames
,&obj0
)) goto fail
;
3498 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3501 (arg1
)->GetBoundingBoxMin(arg2
,arg3
);
3503 wxPyEndAllowThreads(__tstate
);
3504 if (PyErr_Occurred()) SWIG_fail
;
3506 Py_INCREF(Py_None
); resultobj
= Py_None
;
3508 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
3509 resultobj
= t_output_helper(resultobj
,o
);
3512 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
3513 resultobj
= t_output_helper(resultobj
,o
);
3521 static PyObject
*_wrap_PyShape_GetPerimeterPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3522 PyObject
*resultobj
;
3523 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3528 double *arg6
= (double *) 0 ;
3529 double *arg7
= (double *) 0 ;
3533 PyObject
* obj0
= 0 ;
3534 PyObject
* obj1
= 0 ;
3535 PyObject
* obj2
= 0 ;
3536 PyObject
* obj3
= 0 ;
3537 PyObject
* obj4
= 0 ;
3539 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
3544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyShape_GetPerimeterPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3547 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
3548 if (PyErr_Occurred()) SWIG_fail
;
3551 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
3552 if (PyErr_Occurred()) SWIG_fail
;
3555 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
3556 if (PyErr_Occurred()) SWIG_fail
;
3559 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
3560 if (PyErr_Occurred()) SWIG_fail
;
3563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3564 result
= (bool)(arg1
)->GetPerimeterPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
3566 wxPyEndAllowThreads(__tstate
);
3567 if (PyErr_Occurred()) SWIG_fail
;
3569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3571 PyObject
*o
= PyFloat_FromDouble((double) (*arg6
));
3572 resultobj
= t_output_helper(resultobj
,o
);
3575 PyObject
*o
= PyFloat_FromDouble((double) (*arg7
));
3576 resultobj
= t_output_helper(resultobj
,o
);
3584 static PyObject
*_wrap_PyShape_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3585 PyObject
*resultobj
;
3586 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3587 wxPyShapeCanvas
*result
;
3588 PyObject
* obj0
= 0 ;
3590 (char *) "self", NULL
3593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetCanvas",kwnames
,&obj0
)) goto fail
;
3594 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3597 result
= (wxPyShapeCanvas
*)(arg1
)->GetCanvas();
3599 wxPyEndAllowThreads(__tstate
);
3600 if (PyErr_Occurred()) SWIG_fail
;
3603 resultobj
= wxPyMake_wxObject(result
);
3611 static PyObject
*_wrap_PyShape_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3612 PyObject
*resultobj
;
3613 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3614 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
3615 PyObject
* obj0
= 0 ;
3616 PyObject
* obj1
= 0 ;
3618 (char *) "self",(char *) "the_canvas", NULL
3621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
3622 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3623 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3626 (arg1
)->SetCanvas(arg2
);
3628 wxPyEndAllowThreads(__tstate
);
3629 if (PyErr_Occurred()) SWIG_fail
;
3631 Py_INCREF(Py_None
); resultobj
= Py_None
;
3638 static PyObject
*_wrap_PyShape_AddToCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3639 PyObject
*resultobj
;
3640 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3641 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
3642 wxPyShape
*arg3
= (wxPyShape
*) NULL
;
3643 PyObject
* obj0
= 0 ;
3644 PyObject
* obj1
= 0 ;
3645 PyObject
* obj2
= 0 ;
3647 (char *) "self",(char *) "the_canvas",(char *) "addAfter", NULL
3650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_AddToCanvas",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3651 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3652 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3654 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3658 (arg1
)->AddToCanvas(arg2
,arg3
);
3660 wxPyEndAllowThreads(__tstate
);
3661 if (PyErr_Occurred()) SWIG_fail
;
3663 Py_INCREF(Py_None
); resultobj
= Py_None
;
3670 static PyObject
*_wrap_PyShape_InsertInCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3671 PyObject
*resultobj
;
3672 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3673 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
3674 PyObject
* obj0
= 0 ;
3675 PyObject
* obj1
= 0 ;
3677 (char *) "self",(char *) "the_canvas", NULL
3680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_InsertInCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
3681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3682 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3685 (arg1
)->InsertInCanvas(arg2
);
3687 wxPyEndAllowThreads(__tstate
);
3688 if (PyErr_Occurred()) SWIG_fail
;
3690 Py_INCREF(Py_None
); resultobj
= Py_None
;
3697 static PyObject
*_wrap_PyShape_RemoveFromCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3698 PyObject
*resultobj
;
3699 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3700 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
3701 PyObject
* obj0
= 0 ;
3702 PyObject
* obj1
= 0 ;
3704 (char *) "self",(char *) "the_canvas", NULL
3707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_RemoveFromCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
3708 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3709 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3712 (arg1
)->RemoveFromCanvas(arg2
);
3714 wxPyEndAllowThreads(__tstate
);
3715 if (PyErr_Occurred()) SWIG_fail
;
3717 Py_INCREF(Py_None
); resultobj
= Py_None
;
3724 static PyObject
*_wrap_PyShape_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3725 PyObject
*resultobj
;
3726 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3728 PyObject
* obj0
= 0 ;
3730 (char *) "self", NULL
3733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetX",kwnames
,&obj0
)) goto fail
;
3734 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3737 result
= (double)(arg1
)->GetX();
3739 wxPyEndAllowThreads(__tstate
);
3740 if (PyErr_Occurred()) SWIG_fail
;
3742 resultobj
= SWIG_PyObj_FromDouble((double)result
);
3749 static PyObject
*_wrap_PyShape_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3750 PyObject
*resultobj
;
3751 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3753 PyObject
* obj0
= 0 ;
3755 (char *) "self", NULL
3758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetY",kwnames
,&obj0
)) goto fail
;
3759 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3762 result
= (double)(arg1
)->GetY();
3764 wxPyEndAllowThreads(__tstate
);
3765 if (PyErr_Occurred()) SWIG_fail
;
3767 resultobj
= SWIG_PyObj_FromDouble((double)result
);
3774 static PyObject
*_wrap_PyShape_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3775 PyObject
*resultobj
;
3776 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3778 PyObject
* obj0
= 0 ;
3779 PyObject
* obj1
= 0 ;
3781 (char *) "self",(char *) "x", NULL
3784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
3785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3787 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
3788 if (PyErr_Occurred()) SWIG_fail
;
3791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3794 wxPyEndAllowThreads(__tstate
);
3795 if (PyErr_Occurred()) SWIG_fail
;
3797 Py_INCREF(Py_None
); resultobj
= Py_None
;
3804 static PyObject
*_wrap_PyShape_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3805 PyObject
*resultobj
;
3806 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3808 PyObject
* obj0
= 0 ;
3809 PyObject
* obj1
= 0 ;
3811 (char *) "self",(char *) "y", NULL
3814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
3815 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3817 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
3818 if (PyErr_Occurred()) SWIG_fail
;
3821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3824 wxPyEndAllowThreads(__tstate
);
3825 if (PyErr_Occurred()) SWIG_fail
;
3827 Py_INCREF(Py_None
); resultobj
= Py_None
;
3834 static PyObject
*_wrap_PyShape_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3835 PyObject
*resultobj
;
3836 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3838 PyObject
* obj0
= 0 ;
3840 (char *) "self", NULL
3843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetParent",kwnames
,&obj0
)) goto fail
;
3844 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3847 result
= (wxPyShape
*)(arg1
)->GetParent();
3849 wxPyEndAllowThreads(__tstate
);
3850 if (PyErr_Occurred()) SWIG_fail
;
3853 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
3861 static PyObject
*_wrap_PyShape_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3862 PyObject
*resultobj
;
3863 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3864 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
3865 PyObject
* obj0
= 0 ;
3866 PyObject
* obj1
= 0 ;
3868 (char *) "self",(char *) "p", NULL
3871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
3872 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3873 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3876 (arg1
)->SetParent(arg2
);
3878 wxPyEndAllowThreads(__tstate
);
3879 if (PyErr_Occurred()) SWIG_fail
;
3881 Py_INCREF(Py_None
); resultobj
= Py_None
;
3888 static PyObject
*_wrap_PyShape_GetTopAncestor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3889 PyObject
*resultobj
;
3890 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3892 PyObject
* obj0
= 0 ;
3894 (char *) "self", NULL
3897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetTopAncestor",kwnames
,&obj0
)) goto fail
;
3898 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3901 result
= (wxPyShape
*)(arg1
)->GetTopAncestor();
3903 wxPyEndAllowThreads(__tstate
);
3904 if (PyErr_Occurred()) SWIG_fail
;
3907 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
3915 static PyObject
*_wrap_PyShape_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3916 PyObject
*resultobj
;
3917 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3919 PyObject
* obj0
= 0 ;
3921 (char *) "self", NULL
3924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetChildren",kwnames
,&obj0
)) goto fail
;
3925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3928 result
= (PyObject
*)wxPyShape_GetChildren(arg1
);
3930 wxPyEndAllowThreads(__tstate
);
3931 if (PyErr_Occurred()) SWIG_fail
;
3940 static PyObject
*_wrap_PyShape_Unlink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3941 PyObject
*resultobj
;
3942 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3943 PyObject
* obj0
= 0 ;
3945 (char *) "self", NULL
3948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Unlink",kwnames
,&obj0
)) goto fail
;
3949 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3954 wxPyEndAllowThreads(__tstate
);
3955 if (PyErr_Occurred()) SWIG_fail
;
3957 Py_INCREF(Py_None
); resultobj
= Py_None
;
3964 static PyObject
*_wrap_PyShape_SetDrawHandles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3965 PyObject
*resultobj
;
3966 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3968 PyObject
* obj0
= 0 ;
3969 PyObject
* obj1
= 0 ;
3971 (char *) "self",(char *) "drawH", NULL
3974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetDrawHandles",kwnames
,&obj0
,&obj1
)) goto fail
;
3975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3977 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
3978 if (PyErr_Occurred()) SWIG_fail
;
3981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3982 (arg1
)->SetDrawHandles(arg2
);
3984 wxPyEndAllowThreads(__tstate
);
3985 if (PyErr_Occurred()) SWIG_fail
;
3987 Py_INCREF(Py_None
); resultobj
= Py_None
;
3994 static PyObject
*_wrap_PyShape_GetDrawHandles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3995 PyObject
*resultobj
;
3996 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3998 PyObject
* obj0
= 0 ;
4000 (char *) "self", NULL
4003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetDrawHandles",kwnames
,&obj0
)) goto fail
;
4004 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4007 result
= (bool)(arg1
)->GetDrawHandles();
4009 wxPyEndAllowThreads(__tstate
);
4010 if (PyErr_Occurred()) SWIG_fail
;
4012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4019 static PyObject
*_wrap_PyShape_MakeControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4020 PyObject
*resultobj
;
4021 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4022 PyObject
* obj0
= 0 ;
4024 (char *) "self", NULL
4027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_MakeControlPoints",kwnames
,&obj0
)) goto fail
;
4028 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4031 (arg1
)->MakeControlPoints();
4033 wxPyEndAllowThreads(__tstate
);
4034 if (PyErr_Occurred()) SWIG_fail
;
4036 Py_INCREF(Py_None
); resultobj
= Py_None
;
4043 static PyObject
*_wrap_PyShape_DeleteControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4044 PyObject
*resultobj
;
4045 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4046 wxDC
*arg2
= (wxDC
*) NULL
;
4047 PyObject
* obj0
= 0 ;
4048 PyObject
* obj1
= 0 ;
4050 (char *) "self",(char *) "dc", NULL
4053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyShape_DeleteControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
4054 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4056 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4060 (arg1
)->DeleteControlPoints(arg2
);
4062 wxPyEndAllowThreads(__tstate
);
4063 if (PyErr_Occurred()) SWIG_fail
;
4065 Py_INCREF(Py_None
); resultobj
= Py_None
;
4072 static PyObject
*_wrap_PyShape_ResetControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4073 PyObject
*resultobj
;
4074 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4075 PyObject
* obj0
= 0 ;
4077 (char *) "self", NULL
4080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_ResetControlPoints",kwnames
,&obj0
)) goto fail
;
4081 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4084 (arg1
)->ResetControlPoints();
4086 wxPyEndAllowThreads(__tstate
);
4087 if (PyErr_Occurred()) SWIG_fail
;
4089 Py_INCREF(Py_None
); resultobj
= Py_None
;
4096 static PyObject
*_wrap_PyShape_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4097 PyObject
*resultobj
;
4098 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4099 wxPyShapeEvtHandler
*result
;
4100 PyObject
* obj0
= 0 ;
4102 (char *) "self", NULL
4105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetEventHandler",kwnames
,&obj0
)) goto fail
;
4106 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4109 result
= (wxPyShapeEvtHandler
*)(arg1
)->GetEventHandler();
4111 wxPyEndAllowThreads(__tstate
);
4112 if (PyErr_Occurred()) SWIG_fail
;
4115 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
4123 static PyObject
*_wrap_PyShape_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4124 PyObject
*resultobj
;
4125 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4126 wxPyShapeEvtHandler
*arg2
= (wxPyShapeEvtHandler
*) 0 ;
4127 PyObject
* obj0
= 0 ;
4128 PyObject
* obj1
= 0 ;
4130 (char *) "self",(char *) "handler", NULL
4133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
4134 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4135 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4138 (arg1
)->SetEventHandler(arg2
);
4140 wxPyEndAllowThreads(__tstate
);
4141 if (PyErr_Occurred()) SWIG_fail
;
4143 Py_INCREF(Py_None
); resultobj
= Py_None
;
4150 static PyObject
*_wrap_PyShape_MakeMandatoryControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4151 PyObject
*resultobj
;
4152 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4153 PyObject
* obj0
= 0 ;
4155 (char *) "self", NULL
4158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_MakeMandatoryControlPoints",kwnames
,&obj0
)) goto fail
;
4159 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4162 (arg1
)->MakeMandatoryControlPoints();
4164 wxPyEndAllowThreads(__tstate
);
4165 if (PyErr_Occurred()) SWIG_fail
;
4167 Py_INCREF(Py_None
); resultobj
= Py_None
;
4174 static PyObject
*_wrap_PyShape_ResetMandatoryControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4175 PyObject
*resultobj
;
4176 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4177 PyObject
* obj0
= 0 ;
4179 (char *) "self", NULL
4182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_ResetMandatoryControlPoints",kwnames
,&obj0
)) goto fail
;
4183 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4186 (arg1
)->ResetMandatoryControlPoints();
4188 wxPyEndAllowThreads(__tstate
);
4189 if (PyErr_Occurred()) SWIG_fail
;
4191 Py_INCREF(Py_None
); resultobj
= Py_None
;
4198 static PyObject
*_wrap_PyShape_Recompute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4199 PyObject
*resultobj
;
4200 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4202 PyObject
* obj0
= 0 ;
4204 (char *) "self", NULL
4207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Recompute",kwnames
,&obj0
)) goto fail
;
4208 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4211 result
= (bool)(arg1
)->Recompute();
4213 wxPyEndAllowThreads(__tstate
);
4214 if (PyErr_Occurred()) SWIG_fail
;
4216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4223 static PyObject
*_wrap_PyShape_CalculateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4224 PyObject
*resultobj
;
4225 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4226 PyObject
* obj0
= 0 ;
4228 (char *) "self", NULL
4231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_CalculateSize",kwnames
,&obj0
)) goto fail
;
4232 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4235 (arg1
)->CalculateSize();
4237 wxPyEndAllowThreads(__tstate
);
4238 if (PyErr_Occurred()) SWIG_fail
;
4240 Py_INCREF(Py_None
); resultobj
= Py_None
;
4247 static PyObject
*_wrap_PyShape_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4248 PyObject
*resultobj
;
4249 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4250 bool arg2
= (bool) True
;
4251 wxDC
*arg3
= (wxDC
*) NULL
;
4252 PyObject
* obj0
= 0 ;
4253 PyObject
* obj1
= 0 ;
4254 PyObject
* obj2
= 0 ;
4256 (char *) "self",(char *) "select",(char *) "dc", NULL
4259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyShape_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4260 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4263 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
4264 if (PyErr_Occurred()) SWIG_fail
;
4268 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4272 (arg1
)->Select(arg2
,arg3
);
4274 wxPyEndAllowThreads(__tstate
);
4275 if (PyErr_Occurred()) SWIG_fail
;
4277 Py_INCREF(Py_None
); resultobj
= Py_None
;
4284 static PyObject
*_wrap_PyShape_SetHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4285 PyObject
*resultobj
;
4286 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4287 bool arg2
= (bool) True
;
4288 bool arg3
= (bool) False
;
4289 PyObject
* obj0
= 0 ;
4290 PyObject
* obj1
= 0 ;
4291 PyObject
* obj2
= 0 ;
4293 (char *) "self",(char *) "hi",(char *) "recurse", NULL
4296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyShape_SetHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4297 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4300 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
4301 if (PyErr_Occurred()) SWIG_fail
;
4306 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
4307 if (PyErr_Occurred()) SWIG_fail
;
4311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4312 (arg1
)->SetHighlight(arg2
,arg3
);
4314 wxPyEndAllowThreads(__tstate
);
4315 if (PyErr_Occurred()) SWIG_fail
;
4317 Py_INCREF(Py_None
); resultobj
= Py_None
;
4324 static PyObject
*_wrap_PyShape_IsHighlighted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4325 PyObject
*resultobj
;
4326 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4328 PyObject
* obj0
= 0 ;
4330 (char *) "self", NULL
4333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_IsHighlighted",kwnames
,&obj0
)) goto fail
;
4334 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4337 result
= (bool)(arg1
)->IsHighlighted();
4339 wxPyEndAllowThreads(__tstate
);
4340 if (PyErr_Occurred()) SWIG_fail
;
4342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4349 static PyObject
*_wrap_PyShape_Selected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4350 PyObject
*resultobj
;
4351 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4353 PyObject
* obj0
= 0 ;
4355 (char *) "self", NULL
4358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Selected",kwnames
,&obj0
)) goto fail
;
4359 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4362 result
= (bool)(arg1
)->Selected();
4364 wxPyEndAllowThreads(__tstate
);
4365 if (PyErr_Occurred()) SWIG_fail
;
4367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4374 static PyObject
*_wrap_PyShape_AncestorSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4375 PyObject
*resultobj
;
4376 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4378 PyObject
* obj0
= 0 ;
4380 (char *) "self", NULL
4383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_AncestorSelected",kwnames
,&obj0
)) goto fail
;
4384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4387 result
= (bool)(arg1
)->AncestorSelected();
4389 wxPyEndAllowThreads(__tstate
);
4390 if (PyErr_Occurred()) SWIG_fail
;
4392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4399 static PyObject
*_wrap_PyShape_SetSensitivityFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4400 PyObject
*resultobj
;
4401 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4402 int arg2
= (int) OP_ALL
;
4403 bool arg3
= (bool) False
;
4404 PyObject
* obj0
= 0 ;
4405 PyObject
* obj1
= 0 ;
4406 PyObject
* obj2
= 0 ;
4408 (char *) "self",(char *) "sens",(char *) "recursive", NULL
4411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyShape_SetSensitivityFilter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4412 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4415 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4416 if (PyErr_Occurred()) SWIG_fail
;
4421 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
4422 if (PyErr_Occurred()) SWIG_fail
;
4426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4427 (arg1
)->SetSensitivityFilter(arg2
,arg3
);
4429 wxPyEndAllowThreads(__tstate
);
4430 if (PyErr_Occurred()) SWIG_fail
;
4432 Py_INCREF(Py_None
); resultobj
= Py_None
;
4439 static PyObject
*_wrap_PyShape_GetSensitivityFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4440 PyObject
*resultobj
;
4441 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4443 PyObject
* obj0
= 0 ;
4445 (char *) "self", NULL
4448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetSensitivityFilter",kwnames
,&obj0
)) goto fail
;
4449 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4452 result
= (int)(arg1
)->GetSensitivityFilter();
4454 wxPyEndAllowThreads(__tstate
);
4455 if (PyErr_Occurred()) SWIG_fail
;
4457 resultobj
= SWIG_PyObj_FromInt((int)result
);
4464 static PyObject
*_wrap_PyShape_SetDraggable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4465 PyObject
*resultobj
;
4466 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4468 bool arg3
= (bool) False
;
4469 PyObject
* obj0
= 0 ;
4470 PyObject
* obj1
= 0 ;
4471 PyObject
* obj2
= 0 ;
4473 (char *) "self",(char *) "drag",(char *) "recursive", NULL
4476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_SetDraggable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4477 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4479 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
4480 if (PyErr_Occurred()) SWIG_fail
;
4484 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
4485 if (PyErr_Occurred()) SWIG_fail
;
4489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4490 (arg1
)->SetDraggable(arg2
,arg3
);
4492 wxPyEndAllowThreads(__tstate
);
4493 if (PyErr_Occurred()) SWIG_fail
;
4495 Py_INCREF(Py_None
); resultobj
= Py_None
;
4502 static PyObject
*_wrap_PyShape_SetFixedSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4503 PyObject
*resultobj
;
4504 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4507 PyObject
* obj0
= 0 ;
4508 PyObject
* obj1
= 0 ;
4509 PyObject
* obj2
= 0 ;
4511 (char *) "self",(char *) "x",(char *) "y", NULL
4514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape_SetFixedSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4515 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4517 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
4518 if (PyErr_Occurred()) SWIG_fail
;
4521 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
4522 if (PyErr_Occurred()) SWIG_fail
;
4525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4526 (arg1
)->SetFixedSize(arg2
,arg3
);
4528 wxPyEndAllowThreads(__tstate
);
4529 if (PyErr_Occurred()) SWIG_fail
;
4531 Py_INCREF(Py_None
); resultobj
= Py_None
;
4538 static PyObject
*_wrap_PyShape_GetFixedSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4539 PyObject
*resultobj
;
4540 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4541 bool *arg2
= (bool *) 0 ;
4542 bool *arg3
= (bool *) 0 ;
4545 PyObject
* obj0
= 0 ;
4547 (char *) "self", NULL
4552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetFixedSize",kwnames
,&obj0
)) goto fail
;
4553 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4556 (arg1
)->GetFixedSize(arg2
,arg3
);
4558 wxPyEndAllowThreads(__tstate
);
4559 if (PyErr_Occurred()) SWIG_fail
;
4561 Py_INCREF(Py_None
); resultobj
= Py_None
;
4563 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4564 resultobj
= t_output_helper(resultobj
,o
);
4567 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4568 resultobj
= t_output_helper(resultobj
,o
);
4576 static PyObject
*_wrap_PyShape_GetFixedWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4577 PyObject
*resultobj
;
4578 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4580 PyObject
* obj0
= 0 ;
4582 (char *) "self", NULL
4585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetFixedWidth",kwnames
,&obj0
)) goto fail
;
4586 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4589 result
= (bool)(arg1
)->GetFixedWidth();
4591 wxPyEndAllowThreads(__tstate
);
4592 if (PyErr_Occurred()) SWIG_fail
;
4594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4601 static PyObject
*_wrap_PyShape_GetFixedHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4602 PyObject
*resultobj
;
4603 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4605 PyObject
* obj0
= 0 ;
4607 (char *) "self", NULL
4610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetFixedHeight",kwnames
,&obj0
)) goto fail
;
4611 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4614 result
= (bool)(arg1
)->GetFixedHeight();
4616 wxPyEndAllowThreads(__tstate
);
4617 if (PyErr_Occurred()) SWIG_fail
;
4619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4626 static PyObject
*_wrap_PyShape_SetSpaceAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4627 PyObject
*resultobj
;
4628 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4630 PyObject
* obj0
= 0 ;
4631 PyObject
* obj1
= 0 ;
4633 (char *) "self",(char *) "sp", NULL
4636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetSpaceAttachments",kwnames
,&obj0
,&obj1
)) goto fail
;
4637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4639 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
4640 if (PyErr_Occurred()) SWIG_fail
;
4643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4644 (arg1
)->SetSpaceAttachments(arg2
);
4646 wxPyEndAllowThreads(__tstate
);
4647 if (PyErr_Occurred()) SWIG_fail
;
4649 Py_INCREF(Py_None
); resultobj
= Py_None
;
4656 static PyObject
*_wrap_PyShape_GetSpaceAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4657 PyObject
*resultobj
;
4658 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4660 PyObject
* obj0
= 0 ;
4662 (char *) "self", NULL
4665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetSpaceAttachments",kwnames
,&obj0
)) goto fail
;
4666 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4669 result
= (bool)(arg1
)->GetSpaceAttachments();
4671 wxPyEndAllowThreads(__tstate
);
4672 if (PyErr_Occurred()) SWIG_fail
;
4674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4681 static PyObject
*_wrap_PyShape_SetShadowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4682 PyObject
*resultobj
;
4683 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4685 bool arg3
= (bool) False
;
4686 PyObject
* obj0
= 0 ;
4687 PyObject
* obj1
= 0 ;
4688 PyObject
* obj2
= 0 ;
4690 (char *) "self",(char *) "mode",(char *) "redraw", NULL
4693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_SetShadowMode",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4694 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4696 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4697 if (PyErr_Occurred()) SWIG_fail
;
4701 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
4702 if (PyErr_Occurred()) SWIG_fail
;
4706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4707 (arg1
)->SetShadowMode(arg2
,arg3
);
4709 wxPyEndAllowThreads(__tstate
);
4710 if (PyErr_Occurred()) SWIG_fail
;
4712 Py_INCREF(Py_None
); resultobj
= Py_None
;
4719 static PyObject
*_wrap_PyShape_GetShadowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4720 PyObject
*resultobj
;
4721 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4723 PyObject
* obj0
= 0 ;
4725 (char *) "self", NULL
4728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetShadowMode",kwnames
,&obj0
)) goto fail
;
4729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4732 result
= (int)(arg1
)->GetShadowMode();
4734 wxPyEndAllowThreads(__tstate
);
4735 if (PyErr_Occurred()) SWIG_fail
;
4737 resultobj
= SWIG_PyObj_FromInt((int)result
);
4744 static PyObject
*_wrap_PyShape_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4745 PyObject
*resultobj
;
4746 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4749 int *arg4
= (int *) 0 ;
4750 double *arg5
= (double *) 0 ;
4754 PyObject
* obj0
= 0 ;
4755 PyObject
* obj1
= 0 ;
4756 PyObject
* obj2
= 0 ;
4758 (char *) "self",(char *) "x",(char *) "y", NULL
4763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape_HitTest",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4764 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4766 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
4767 if (PyErr_Occurred()) SWIG_fail
;
4770 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
4771 if (PyErr_Occurred()) SWIG_fail
;
4774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4775 result
= (bool)(arg1
)->HitTest(arg2
,arg3
,arg4
,arg5
);
4777 wxPyEndAllowThreads(__tstate
);
4778 if (PyErr_Occurred()) SWIG_fail
;
4780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4782 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
4783 resultobj
= t_output_helper(resultobj
,o
);
4786 PyObject
*o
= PyFloat_FromDouble((double) (*arg5
));
4787 resultobj
= t_output_helper(resultobj
,o
);
4795 static PyObject
*_wrap_PyShape_SetCentreResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4796 PyObject
*resultobj
;
4797 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4799 PyObject
* obj0
= 0 ;
4800 PyObject
* obj1
= 0 ;
4802 (char *) "self",(char *) "cr", NULL
4805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetCentreResize",kwnames
,&obj0
,&obj1
)) goto fail
;
4806 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4808 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
4809 if (PyErr_Occurred()) SWIG_fail
;
4812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4813 (arg1
)->SetCentreResize(arg2
);
4815 wxPyEndAllowThreads(__tstate
);
4816 if (PyErr_Occurred()) SWIG_fail
;
4818 Py_INCREF(Py_None
); resultobj
= Py_None
;
4825 static PyObject
*_wrap_PyShape_GetCentreResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4826 PyObject
*resultobj
;
4827 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4829 PyObject
* obj0
= 0 ;
4831 (char *) "self", NULL
4834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetCentreResize",kwnames
,&obj0
)) goto fail
;
4835 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4838 result
= (bool)(arg1
)->GetCentreResize();
4840 wxPyEndAllowThreads(__tstate
);
4841 if (PyErr_Occurred()) SWIG_fail
;
4843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4850 static PyObject
*_wrap_PyShape_SetMaintainAspectRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4851 PyObject
*resultobj
;
4852 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4854 PyObject
* obj0
= 0 ;
4855 PyObject
* obj1
= 0 ;
4857 (char *) "self",(char *) "ar", NULL
4860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetMaintainAspectRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
4861 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4863 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
4864 if (PyErr_Occurred()) SWIG_fail
;
4867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4868 (arg1
)->SetMaintainAspectRatio(arg2
);
4870 wxPyEndAllowThreads(__tstate
);
4871 if (PyErr_Occurred()) SWIG_fail
;
4873 Py_INCREF(Py_None
); resultobj
= Py_None
;
4880 static PyObject
*_wrap_PyShape_GetMaintainAspectRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4881 PyObject
*resultobj
;
4882 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4884 PyObject
* obj0
= 0 ;
4886 (char *) "self", NULL
4889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetMaintainAspectRatio",kwnames
,&obj0
)) goto fail
;
4890 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4893 result
= (bool)(arg1
)->GetMaintainAspectRatio();
4895 wxPyEndAllowThreads(__tstate
);
4896 if (PyErr_Occurred()) SWIG_fail
;
4898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4905 static PyObject
*_wrap_PyShape_GetLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4906 PyObject
*resultobj
;
4907 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4909 PyObject
* obj0
= 0 ;
4911 (char *) "self", NULL
4914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetLines",kwnames
,&obj0
)) goto fail
;
4915 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4918 result
= (PyObject
*)wxPyShape_GetLines(arg1
);
4920 wxPyEndAllowThreads(__tstate
);
4921 if (PyErr_Occurred()) SWIG_fail
;
4930 static PyObject
*_wrap_PyShape_SetDisableLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4931 PyObject
*resultobj
;
4932 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4934 PyObject
* obj0
= 0 ;
4935 PyObject
* obj1
= 0 ;
4937 (char *) "self",(char *) "flag", NULL
4940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetDisableLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
4941 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4943 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
4944 if (PyErr_Occurred()) SWIG_fail
;
4947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4948 (arg1
)->SetDisableLabel(arg2
);
4950 wxPyEndAllowThreads(__tstate
);
4951 if (PyErr_Occurred()) SWIG_fail
;
4953 Py_INCREF(Py_None
); resultobj
= Py_None
;
4960 static PyObject
*_wrap_PyShape_GetDisableLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4961 PyObject
*resultobj
;
4962 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4964 PyObject
* obj0
= 0 ;
4966 (char *) "self", NULL
4969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetDisableLabel",kwnames
,&obj0
)) goto fail
;
4970 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4973 result
= (bool)(arg1
)->GetDisableLabel();
4975 wxPyEndAllowThreads(__tstate
);
4976 if (PyErr_Occurred()) SWIG_fail
;
4978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4985 static PyObject
*_wrap_PyShape_SetAttachmentMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4986 PyObject
*resultobj
;
4987 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4989 PyObject
* obj0
= 0 ;
4990 PyObject
* obj1
= 0 ;
4992 (char *) "self",(char *) "mode", NULL
4995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetAttachmentMode",kwnames
,&obj0
,&obj1
)) goto fail
;
4996 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4998 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4999 if (PyErr_Occurred()) SWIG_fail
;
5002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5003 (arg1
)->SetAttachmentMode(arg2
);
5005 wxPyEndAllowThreads(__tstate
);
5006 if (PyErr_Occurred()) SWIG_fail
;
5008 Py_INCREF(Py_None
); resultobj
= Py_None
;
5015 static PyObject
*_wrap_PyShape_GetAttachmentMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5016 PyObject
*resultobj
;
5017 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5019 PyObject
* obj0
= 0 ;
5021 (char *) "self", NULL
5024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetAttachmentMode",kwnames
,&obj0
)) goto fail
;
5025 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5028 result
= (int)(arg1
)->GetAttachmentMode();
5030 wxPyEndAllowThreads(__tstate
);
5031 if (PyErr_Occurred()) SWIG_fail
;
5033 resultobj
= SWIG_PyObj_FromInt((int)result
);
5040 static PyObject
*_wrap_PyShape_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5041 PyObject
*resultobj
;
5042 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5044 PyObject
* obj0
= 0 ;
5045 PyObject
* obj1
= 0 ;
5047 (char *) "self",(char *) "i", NULL
5050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
5051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5053 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
5054 if (PyErr_Occurred()) SWIG_fail
;
5057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5058 (arg1
)->SetId(arg2
);
5060 wxPyEndAllowThreads(__tstate
);
5061 if (PyErr_Occurred()) SWIG_fail
;
5063 Py_INCREF(Py_None
); resultobj
= Py_None
;
5070 static PyObject
*_wrap_PyShape_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5071 PyObject
*resultobj
;
5072 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5074 PyObject
* obj0
= 0 ;
5076 (char *) "self", NULL
5079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetId",kwnames
,&obj0
)) goto fail
;
5080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5083 result
= (long)(arg1
)->GetId();
5085 wxPyEndAllowThreads(__tstate
);
5086 if (PyErr_Occurred()) SWIG_fail
;
5088 resultobj
= SWIG_PyObj_FromLong((long)result
);
5095 static PyObject
*_wrap_PyShape_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5096 PyObject
*resultobj
;
5097 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5098 wxPen
*arg2
= (wxPen
*) 0 ;
5099 PyObject
* obj0
= 0 ;
5100 PyObject
* obj1
= 0 ;
5102 (char *) "self",(char *) "pen", NULL
5105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
5106 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5110 if (obj1
== Py_None
) {
5113 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
5114 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
5119 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
5126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5127 (arg1
)->SetPen(arg2
);
5129 wxPyEndAllowThreads(__tstate
);
5130 if (PyErr_Occurred()) SWIG_fail
;
5132 Py_INCREF(Py_None
); resultobj
= Py_None
;
5139 static PyObject
*_wrap_PyShape_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5140 PyObject
*resultobj
;
5141 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5142 wxBrush
*arg2
= (wxBrush
*) 0 ;
5143 PyObject
* obj0
= 0 ;
5144 PyObject
* obj1
= 0 ;
5146 (char *) "self",(char *) "brush", NULL
5149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
5150 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5154 if (obj1
== Py_None
) {
5157 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxBrush"))) {
5158 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxBrush.");
5163 arg2
= wxTheBrushList
->FindOrCreateBrush(temp
->GetColour(), temp
->GetStyle());
5168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5169 (arg1
)->SetBrush(arg2
);
5171 wxPyEndAllowThreads(__tstate
);
5172 if (PyErr_Occurred()) SWIG_fail
;
5174 Py_INCREF(Py_None
); resultobj
= Py_None
;
5181 static PyObject
*_wrap_PyShape_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5182 PyObject
*resultobj
;
5183 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5185 PyObject
* obj0
= 0 ;
5186 PyObject
* obj1
= 0 ;
5188 (char *) "self",(char *) "show", NULL
5191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
5192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5194 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
5195 if (PyErr_Occurred()) SWIG_fail
;
5198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5201 wxPyEndAllowThreads(__tstate
);
5202 if (PyErr_Occurred()) SWIG_fail
;
5204 Py_INCREF(Py_None
); resultobj
= Py_None
;
5211 static PyObject
*_wrap_PyShape_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5212 PyObject
*resultobj
;
5213 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5215 PyObject
* obj0
= 0 ;
5217 (char *) "self", NULL
5220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_IsShown",kwnames
,&obj0
)) goto fail
;
5221 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5224 result
= (bool)(arg1
)->IsShown();
5226 wxPyEndAllowThreads(__tstate
);
5227 if (PyErr_Occurred()) SWIG_fail
;
5229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5236 static PyObject
*_wrap_PyShape_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5237 PyObject
*resultobj
;
5238 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5242 bool arg5
= (bool) True
;
5243 PyObject
* obj0
= 0 ;
5244 PyObject
* obj1
= 0 ;
5245 PyObject
* obj2
= 0 ;
5246 PyObject
* obj3
= 0 ;
5247 PyObject
* obj4
= 0 ;
5249 (char *) "self",(char *) "dc",(char *) "x1",(char *) "y1",(char *) "display", NULL
5252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyShape_Move",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5253 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5254 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5256 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5259 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
5260 if (PyErr_Occurred()) SWIG_fail
;
5263 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
5264 if (PyErr_Occurred()) SWIG_fail
;
5268 arg5
= (bool) SWIG_PyObj_AsBool(obj4
);
5269 if (PyErr_Occurred()) SWIG_fail
;
5273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5274 (arg1
)->Move(*arg2
,arg3
,arg4
,arg5
);
5276 wxPyEndAllowThreads(__tstate
);
5277 if (PyErr_Occurred()) SWIG_fail
;
5279 Py_INCREF(Py_None
); resultobj
= Py_None
;
5286 static PyObject
*_wrap_PyShape_Erase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5287 PyObject
*resultobj
;
5288 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5290 PyObject
* obj0
= 0 ;
5291 PyObject
* obj1
= 0 ;
5293 (char *) "self",(char *) "dc", NULL
5296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Erase",kwnames
,&obj0
,&obj1
)) goto fail
;
5297 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5298 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5300 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5304 (arg1
)->Erase(*arg2
);
5306 wxPyEndAllowThreads(__tstate
);
5307 if (PyErr_Occurred()) SWIG_fail
;
5309 Py_INCREF(Py_None
); resultobj
= Py_None
;
5316 static PyObject
*_wrap_PyShape_EraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5317 PyObject
*resultobj
;
5318 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5320 PyObject
* obj0
= 0 ;
5321 PyObject
* obj1
= 0 ;
5323 (char *) "self",(char *) "dc", NULL
5326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_EraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
5327 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5328 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5330 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5334 (arg1
)->EraseContents(*arg2
);
5336 wxPyEndAllowThreads(__tstate
);
5337 if (PyErr_Occurred()) SWIG_fail
;
5339 Py_INCREF(Py_None
); resultobj
= Py_None
;
5346 static PyObject
*_wrap_PyShape_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5347 PyObject
*resultobj
;
5348 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5350 PyObject
* obj0
= 0 ;
5351 PyObject
* obj1
= 0 ;
5353 (char *) "self",(char *) "dc", NULL
5356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Draw",kwnames
,&obj0
,&obj1
)) goto fail
;
5357 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5358 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5360 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5364 (arg1
)->Draw(*arg2
);
5366 wxPyEndAllowThreads(__tstate
);
5367 if (PyErr_Occurred()) SWIG_fail
;
5369 Py_INCREF(Py_None
); resultobj
= Py_None
;
5376 static PyObject
*_wrap_PyShape_Flash(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5377 PyObject
*resultobj
;
5378 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5379 PyObject
* obj0
= 0 ;
5381 (char *) "self", NULL
5384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Flash",kwnames
,&obj0
)) goto fail
;
5385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5390 wxPyEndAllowThreads(__tstate
);
5391 if (PyErr_Occurred()) SWIG_fail
;
5393 Py_INCREF(Py_None
); resultobj
= Py_None
;
5400 static PyObject
*_wrap_PyShape_MoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5401 PyObject
*resultobj
;
5402 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5404 PyObject
* obj0
= 0 ;
5405 PyObject
* obj1
= 0 ;
5407 (char *) "self",(char *) "dc", NULL
5410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_MoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
5411 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5412 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5414 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5418 (arg1
)->MoveLinks(*arg2
);
5420 wxPyEndAllowThreads(__tstate
);
5421 if (PyErr_Occurred()) SWIG_fail
;
5423 Py_INCREF(Py_None
); resultobj
= Py_None
;
5430 static PyObject
*_wrap_PyShape_DrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5431 PyObject
*resultobj
;
5432 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5434 PyObject
* obj0
= 0 ;
5435 PyObject
* obj1
= 0 ;
5437 (char *) "self",(char *) "dc", NULL
5440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_DrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
5441 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5442 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5444 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5448 (arg1
)->DrawContents(*arg2
);
5450 wxPyEndAllowThreads(__tstate
);
5451 if (PyErr_Occurred()) SWIG_fail
;
5453 Py_INCREF(Py_None
); resultobj
= Py_None
;
5460 static PyObject
*_wrap_PyShape_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5461 PyObject
*resultobj
;
5462 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5465 bool arg4
= (bool) True
;
5466 PyObject
* obj0
= 0 ;
5467 PyObject
* obj1
= 0 ;
5468 PyObject
* obj2
= 0 ;
5469 PyObject
* obj3
= 0 ;
5471 (char *) "self",(char *) "x",(char *) "y",(char *) "recursive", NULL
5474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShape_SetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5475 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5477 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
5478 if (PyErr_Occurred()) SWIG_fail
;
5481 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
5482 if (PyErr_Occurred()) SWIG_fail
;
5486 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
5487 if (PyErr_Occurred()) SWIG_fail
;
5491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5492 (arg1
)->SetSize(arg2
,arg3
,arg4
);
5494 wxPyEndAllowThreads(__tstate
);
5495 if (PyErr_Occurred()) SWIG_fail
;
5497 Py_INCREF(Py_None
); resultobj
= Py_None
;
5504 static PyObject
*_wrap_PyShape_SetAttachmentSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5505 PyObject
*resultobj
;
5506 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5509 PyObject
* obj0
= 0 ;
5510 PyObject
* obj1
= 0 ;
5511 PyObject
* obj2
= 0 ;
5513 (char *) "self",(char *) "x",(char *) "y", NULL
5516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape_SetAttachmentSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5517 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5519 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
5520 if (PyErr_Occurred()) SWIG_fail
;
5523 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
5524 if (PyErr_Occurred()) SWIG_fail
;
5527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5528 (arg1
)->SetAttachmentSize(arg2
,arg3
);
5530 wxPyEndAllowThreads(__tstate
);
5531 if (PyErr_Occurred()) SWIG_fail
;
5533 Py_INCREF(Py_None
); resultobj
= Py_None
;
5540 static PyObject
*_wrap_PyShape_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5541 PyObject
*resultobj
;
5542 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5543 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
5544 PyObject
* obj0
= 0 ;
5545 PyObject
* obj1
= 0 ;
5547 (char *) "self",(char *) "can", NULL
5550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
5551 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5552 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5555 (arg1
)->Attach(arg2
);
5557 wxPyEndAllowThreads(__tstate
);
5558 if (PyErr_Occurred()) SWIG_fail
;
5560 Py_INCREF(Py_None
); resultobj
= Py_None
;
5567 static PyObject
*_wrap_PyShape_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5568 PyObject
*resultobj
;
5569 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5570 PyObject
* obj0
= 0 ;
5572 (char *) "self", NULL
5575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Detach",kwnames
,&obj0
)) goto fail
;
5576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5581 wxPyEndAllowThreads(__tstate
);
5582 if (PyErr_Occurred()) SWIG_fail
;
5584 Py_INCREF(Py_None
); resultobj
= Py_None
;
5591 static PyObject
*_wrap_PyShape_Constrain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5592 PyObject
*resultobj
;
5593 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5595 PyObject
* obj0
= 0 ;
5597 (char *) "self", NULL
5600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Constrain",kwnames
,&obj0
)) goto fail
;
5601 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5604 result
= (bool)(arg1
)->Constrain();
5606 wxPyEndAllowThreads(__tstate
);
5607 if (PyErr_Occurred()) SWIG_fail
;
5609 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5616 static PyObject
*_wrap_PyShape_AddLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5617 PyObject
*resultobj
;
5618 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5619 wxPyLineShape
*arg2
= (wxPyLineShape
*) 0 ;
5620 wxPyShape
*arg3
= (wxPyShape
*) 0 ;
5621 int arg4
= (int) 0 ;
5622 int arg5
= (int) 0 ;
5623 int arg6
= (int) -1 ;
5624 int arg7
= (int) -1 ;
5625 PyObject
* obj0
= 0 ;
5626 PyObject
* obj1
= 0 ;
5627 PyObject
* obj2
= 0 ;
5628 PyObject
* obj3
= 0 ;
5629 PyObject
* obj4
= 0 ;
5630 PyObject
* obj5
= 0 ;
5631 PyObject
* obj6
= 0 ;
5633 (char *) "self",(char *) "line",(char *) "other",(char *) "attachFrom",(char *) "attachTo",(char *) "positionFrom",(char *) "positionTo", NULL
5636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:PyShape_AddLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5638 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5639 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5642 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
5643 if (PyErr_Occurred()) SWIG_fail
;
5648 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
5649 if (PyErr_Occurred()) SWIG_fail
;
5654 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
5655 if (PyErr_Occurred()) SWIG_fail
;
5660 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
5661 if (PyErr_Occurred()) SWIG_fail
;
5665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5666 (arg1
)->AddLine(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
5668 wxPyEndAllowThreads(__tstate
);
5669 if (PyErr_Occurred()) SWIG_fail
;
5671 Py_INCREF(Py_None
); resultobj
= Py_None
;
5678 static PyObject
*_wrap_PyShape_GetLinePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5679 PyObject
*resultobj
;
5680 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5681 wxPyLineShape
*arg2
= (wxPyLineShape
*) 0 ;
5683 PyObject
* obj0
= 0 ;
5684 PyObject
* obj1
= 0 ;
5686 (char *) "self",(char *) "line", NULL
5689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_GetLinePosition",kwnames
,&obj0
,&obj1
)) goto fail
;
5690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5691 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5694 result
= (int)(arg1
)->GetLinePosition(arg2
);
5696 wxPyEndAllowThreads(__tstate
);
5697 if (PyErr_Occurred()) SWIG_fail
;
5699 resultobj
= SWIG_PyObj_FromInt((int)result
);
5706 static PyObject
*_wrap_PyShape_AddText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5707 PyObject
*resultobj
;
5708 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5709 wxString
*arg2
= 0 ;
5710 bool temp2
= False
;
5711 PyObject
* obj0
= 0 ;
5712 PyObject
* obj1
= 0 ;
5714 (char *) "self",(char *) "string", NULL
5717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_AddText",kwnames
,&obj0
,&obj1
)) goto fail
;
5718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5720 arg2
= wxString_in_helper(obj1
);
5721 if (arg2
== NULL
) SWIG_fail
;
5725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5726 (arg1
)->AddText((wxString
const &)*arg2
);
5728 wxPyEndAllowThreads(__tstate
);
5729 if (PyErr_Occurred()) SWIG_fail
;
5731 Py_INCREF(Py_None
); resultobj
= Py_None
;
5746 static PyObject
*_wrap_PyShape_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5747 PyObject
*resultobj
;
5748 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5750 PyObject
* obj0
= 0 ;
5752 (char *) "self", NULL
5755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetPen",kwnames
,&obj0
)) goto fail
;
5756 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5759 result
= (wxPen
*)(arg1
)->GetPen();
5761 wxPyEndAllowThreads(__tstate
);
5762 if (PyErr_Occurred()) SWIG_fail
;
5764 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPen
, 0);
5771 static PyObject
*_wrap_PyShape_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5772 PyObject
*resultobj
;
5773 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5775 PyObject
* obj0
= 0 ;
5777 (char *) "self", NULL
5780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBrush",kwnames
,&obj0
)) goto fail
;
5781 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5784 result
= (wxBrush
*)(arg1
)->GetBrush();
5786 wxPyEndAllowThreads(__tstate
);
5787 if (PyErr_Occurred()) SWIG_fail
;
5789 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBrush
, 0);
5796 static PyObject
*_wrap_PyShape_SetDefaultRegionSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5797 PyObject
*resultobj
;
5798 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5799 PyObject
* obj0
= 0 ;
5801 (char *) "self", NULL
5804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_SetDefaultRegionSize",kwnames
,&obj0
)) goto fail
;
5805 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5808 (arg1
)->SetDefaultRegionSize();
5810 wxPyEndAllowThreads(__tstate
);
5811 if (PyErr_Occurred()) SWIG_fail
;
5813 Py_INCREF(Py_None
); resultobj
= Py_None
;
5820 static PyObject
*_wrap_PyShape_FormatText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5821 PyObject
*resultobj
;
5822 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5824 wxString
*arg3
= 0 ;
5825 int arg4
= (int) 0 ;
5826 bool temp3
= False
;
5827 PyObject
* obj0
= 0 ;
5828 PyObject
* obj1
= 0 ;
5829 PyObject
* obj2
= 0 ;
5830 PyObject
* obj3
= 0 ;
5832 (char *) "self",(char *) "dc",(char *) "s",(char *) "regionId", NULL
5835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShape_FormatText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5836 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5837 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5839 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5842 arg3
= wxString_in_helper(obj2
);
5843 if (arg3
== NULL
) SWIG_fail
;
5848 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
5849 if (PyErr_Occurred()) SWIG_fail
;
5853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5854 (arg1
)->FormatText(*arg2
,(wxString
const &)*arg3
,arg4
);
5856 wxPyEndAllowThreads(__tstate
);
5857 if (PyErr_Occurred()) SWIG_fail
;
5859 Py_INCREF(Py_None
); resultobj
= Py_None
;
5874 static PyObject
*_wrap_PyShape_SetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5875 PyObject
*resultobj
;
5876 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5878 int arg3
= (int) 0 ;
5879 PyObject
* obj0
= 0 ;
5880 PyObject
* obj1
= 0 ;
5881 PyObject
* obj2
= 0 ;
5883 (char *) "self",(char *) "mode",(char *) "regionId", NULL
5886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_SetFormatMode",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5889 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5890 if (PyErr_Occurred()) SWIG_fail
;
5894 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5895 if (PyErr_Occurred()) SWIG_fail
;
5899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5900 (arg1
)->SetFormatMode(arg2
,arg3
);
5902 wxPyEndAllowThreads(__tstate
);
5903 if (PyErr_Occurred()) SWIG_fail
;
5905 Py_INCREF(Py_None
); resultobj
= Py_None
;
5912 static PyObject
*_wrap_PyShape_GetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5913 PyObject
*resultobj
;
5914 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5915 int arg2
= (int) 0 ;
5917 PyObject
* obj0
= 0 ;
5918 PyObject
* obj1
= 0 ;
5920 (char *) "self",(char *) "regionId", NULL
5923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyShape_GetFormatMode",kwnames
,&obj0
,&obj1
)) goto fail
;
5924 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5927 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5928 if (PyErr_Occurred()) SWIG_fail
;
5932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5933 result
= (int)(arg1
)->GetFormatMode(arg2
);
5935 wxPyEndAllowThreads(__tstate
);
5936 if (PyErr_Occurred()) SWIG_fail
;
5938 resultobj
= SWIG_PyObj_FromInt((int)result
);
5945 static PyObject
*_wrap_PyShape_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5946 PyObject
*resultobj
;
5947 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5948 wxFont
*arg2
= (wxFont
*) 0 ;
5949 int arg3
= (int) 0 ;
5950 PyObject
* obj0
= 0 ;
5951 PyObject
* obj1
= 0 ;
5952 PyObject
* obj2
= 0 ;
5954 (char *) "self",(char *) "font",(char *) "regionId", NULL
5957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5958 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5962 if (obj1
== Py_None
) {
5965 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxFont"))) {
5966 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxFont.");
5971 arg2
= wxTheFontList
->FindOrCreateFont(temp
->GetPointSize(),
5975 temp
->GetUnderlined(),
5976 temp
->GetFaceName(),
5977 temp
->GetEncoding());
5983 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5984 if (PyErr_Occurred()) SWIG_fail
;
5988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5989 (arg1
)->SetFont(arg2
,arg3
);
5991 wxPyEndAllowThreads(__tstate
);
5992 if (PyErr_Occurred()) SWIG_fail
;
5994 Py_INCREF(Py_None
); resultobj
= Py_None
;
6001 static PyObject
*_wrap_PyShape_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6002 PyObject
*resultobj
;
6003 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6004 int arg2
= (int) 0 ;
6006 PyObject
* obj0
= 0 ;
6007 PyObject
* obj1
= 0 ;
6009 (char *) "self",(char *) "regionId", NULL
6012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyShape_GetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
6013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6016 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6017 if (PyErr_Occurred()) SWIG_fail
;
6021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6022 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
6024 wxPyEndAllowThreads(__tstate
);
6025 if (PyErr_Occurred()) SWIG_fail
;
6027 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
6034 static PyObject
*_wrap_PyShape_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6035 PyObject
*resultobj
;
6036 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6037 wxString
*arg2
= 0 ;
6038 int arg3
= (int) 0 ;
6039 bool temp2
= False
;
6040 PyObject
* obj0
= 0 ;
6041 PyObject
* obj1
= 0 ;
6042 PyObject
* obj2
= 0 ;
6044 (char *) "self",(char *) "colour",(char *) "regionId", NULL
6047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_SetTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6048 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6050 arg2
= wxString_in_helper(obj1
);
6051 if (arg2
== NULL
) SWIG_fail
;
6056 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6057 if (PyErr_Occurred()) SWIG_fail
;
6061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6062 (arg1
)->SetTextColour((wxString
const &)*arg2
,arg3
);
6064 wxPyEndAllowThreads(__tstate
);
6065 if (PyErr_Occurred()) SWIG_fail
;
6067 Py_INCREF(Py_None
); resultobj
= Py_None
;
6082 static PyObject
*_wrap_PyShape_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6083 PyObject
*resultobj
;
6084 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6085 int arg2
= (int) 0 ;
6087 PyObject
* obj0
= 0 ;
6088 PyObject
* obj1
= 0 ;
6090 (char *) "self",(char *) "regionId", NULL
6093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyShape_GetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6097 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6098 if (PyErr_Occurred()) SWIG_fail
;
6102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6103 result
= (arg1
)->GetTextColour(arg2
);
6105 wxPyEndAllowThreads(__tstate
);
6106 if (PyErr_Occurred()) SWIG_fail
;
6110 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6112 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6121 static PyObject
*_wrap_PyShape_GetNumberOfTextRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6122 PyObject
*resultobj
;
6123 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6125 PyObject
* obj0
= 0 ;
6127 (char *) "self", NULL
6130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetNumberOfTextRegions",kwnames
,&obj0
)) goto fail
;
6131 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6134 result
= (int)(arg1
)->GetNumberOfTextRegions();
6136 wxPyEndAllowThreads(__tstate
);
6137 if (PyErr_Occurred()) SWIG_fail
;
6139 resultobj
= SWIG_PyObj_FromInt((int)result
);
6146 static PyObject
*_wrap_PyShape_SetRegionName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6147 PyObject
*resultobj
;
6148 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6149 wxString
*arg2
= 0 ;
6150 int arg3
= (int) 0 ;
6151 bool temp2
= False
;
6152 PyObject
* obj0
= 0 ;
6153 PyObject
* obj1
= 0 ;
6154 PyObject
* obj2
= 0 ;
6156 (char *) "self",(char *) "name",(char *) "regionId", NULL
6159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_SetRegionName",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6160 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6162 arg2
= wxString_in_helper(obj1
);
6163 if (arg2
== NULL
) SWIG_fail
;
6168 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6169 if (PyErr_Occurred()) SWIG_fail
;
6173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6174 (arg1
)->SetRegionName((wxString
const &)*arg2
,arg3
);
6176 wxPyEndAllowThreads(__tstate
);
6177 if (PyErr_Occurred()) SWIG_fail
;
6179 Py_INCREF(Py_None
); resultobj
= Py_None
;
6194 static PyObject
*_wrap_PyShape_GetRegionName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6195 PyObject
*resultobj
;
6196 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6199 PyObject
* obj0
= 0 ;
6200 PyObject
* obj1
= 0 ;
6202 (char *) "self",(char *) "regionId", NULL
6205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_GetRegionName",kwnames
,&obj0
,&obj1
)) goto fail
;
6206 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6208 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6209 if (PyErr_Occurred()) SWIG_fail
;
6212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6213 result
= (arg1
)->GetRegionName(arg2
);
6215 wxPyEndAllowThreads(__tstate
);
6216 if (PyErr_Occurred()) SWIG_fail
;
6220 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6222 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6231 static PyObject
*_wrap_PyShape_GetRegionId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6232 PyObject
*resultobj
;
6233 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6234 wxString
*arg2
= 0 ;
6236 bool temp2
= False
;
6237 PyObject
* obj0
= 0 ;
6238 PyObject
* obj1
= 0 ;
6240 (char *) "self",(char *) "name", NULL
6243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_GetRegionId",kwnames
,&obj0
,&obj1
)) goto fail
;
6244 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6246 arg2
= wxString_in_helper(obj1
);
6247 if (arg2
== NULL
) SWIG_fail
;
6251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6252 result
= (int)(arg1
)->GetRegionId((wxString
const &)*arg2
);
6254 wxPyEndAllowThreads(__tstate
);
6255 if (PyErr_Occurred()) SWIG_fail
;
6257 resultobj
= SWIG_PyObj_FromInt((int)result
);
6272 static PyObject
*_wrap_PyShape_NameRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6273 PyObject
*resultobj
;
6274 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6275 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6276 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6277 bool temp2
= False
;
6278 PyObject
* obj0
= 0 ;
6279 PyObject
* obj1
= 0 ;
6281 (char *) "self",(char *) "parentName", NULL
6284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyShape_NameRegions",kwnames
,&obj0
,&obj1
)) goto fail
;
6285 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6288 arg2
= wxString_in_helper(obj1
);
6289 if (arg2
== NULL
) SWIG_fail
;
6294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6295 (arg1
)->NameRegions((wxString
const &)*arg2
);
6297 wxPyEndAllowThreads(__tstate
);
6298 if (PyErr_Occurred()) SWIG_fail
;
6300 Py_INCREF(Py_None
); resultobj
= Py_None
;
6315 static PyObject
*_wrap_PyShape_GetRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6316 PyObject
*resultobj
;
6317 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6319 PyObject
* obj0
= 0 ;
6321 (char *) "self", NULL
6324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetRegions",kwnames
,&obj0
)) goto fail
;
6325 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6328 result
= (PyObject
*)wxPyShape_GetRegions(arg1
);
6330 wxPyEndAllowThreads(__tstate
);
6331 if (PyErr_Occurred()) SWIG_fail
;
6340 static PyObject
*_wrap_PyShape_AddRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6341 PyObject
*resultobj
;
6342 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6343 wxShapeRegion
*arg2
= (wxShapeRegion
*) 0 ;
6344 PyObject
* obj0
= 0 ;
6345 PyObject
* obj1
= 0 ;
6347 (char *) "self",(char *) "region", NULL
6350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_AddRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
6351 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6352 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6355 (arg1
)->AddRegion(arg2
);
6357 wxPyEndAllowThreads(__tstate
);
6358 if (PyErr_Occurred()) SWIG_fail
;
6360 Py_INCREF(Py_None
); resultobj
= Py_None
;
6367 static PyObject
*_wrap_PyShape_ClearRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6368 PyObject
*resultobj
;
6369 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6370 PyObject
* obj0
= 0 ;
6372 (char *) "self", NULL
6375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_ClearRegions",kwnames
,&obj0
)) goto fail
;
6376 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6379 (arg1
)->ClearRegions();
6381 wxPyEndAllowThreads(__tstate
);
6382 if (PyErr_Occurred()) SWIG_fail
;
6384 Py_INCREF(Py_None
); resultobj
= Py_None
;
6391 static PyObject
*_wrap_PyShape_AssignNewIds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6392 PyObject
*resultobj
;
6393 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6394 PyObject
* obj0
= 0 ;
6396 (char *) "self", NULL
6399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_AssignNewIds",kwnames
,&obj0
)) goto fail
;
6400 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6403 (arg1
)->AssignNewIds();
6405 wxPyEndAllowThreads(__tstate
);
6406 if (PyErr_Occurred()) SWIG_fail
;
6408 Py_INCREF(Py_None
); resultobj
= Py_None
;
6415 static PyObject
*_wrap_PyShape_FindRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6416 PyObject
*resultobj
;
6417 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6418 wxString
*arg2
= 0 ;
6419 int *arg3
= (int *) 0 ;
6421 bool temp2
= False
;
6423 PyObject
* obj0
= 0 ;
6424 PyObject
* obj1
= 0 ;
6426 (char *) "self",(char *) "regionName", NULL
6430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_FindRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
6431 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6433 arg2
= wxString_in_helper(obj1
);
6434 if (arg2
== NULL
) SWIG_fail
;
6438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6439 result
= (wxPyShape
*)(arg1
)->FindRegion((wxString
const &)*arg2
,arg3
);
6441 wxPyEndAllowThreads(__tstate
);
6442 if (PyErr_Occurred()) SWIG_fail
;
6445 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
6448 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
6449 resultobj
= t_output_helper(resultobj
,o
);
6465 static PyObject
*_wrap_PyShape_FindRegionNames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6466 PyObject
*resultobj
;
6467 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6468 wxStringList
*arg2
= 0 ;
6469 PyObject
* obj0
= 0 ;
6470 PyObject
* obj1
= 0 ;
6472 (char *) "self",(char *) "list", NULL
6475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_FindRegionNames",kwnames
,&obj0
,&obj1
)) goto fail
;
6476 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6477 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxStringList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6479 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6483 (arg1
)->FindRegionNames(*arg2
);
6485 wxPyEndAllowThreads(__tstate
);
6486 if (PyErr_Occurred()) SWIG_fail
;
6488 Py_INCREF(Py_None
); resultobj
= Py_None
;
6495 static PyObject
*_wrap_PyShape_ClearText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6496 PyObject
*resultobj
;
6497 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6498 int arg2
= (int) 0 ;
6499 PyObject
* obj0
= 0 ;
6500 PyObject
* obj1
= 0 ;
6502 (char *) "self",(char *) "regionId", NULL
6505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyShape_ClearText",kwnames
,&obj0
,&obj1
)) goto fail
;
6506 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6509 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6510 if (PyErr_Occurred()) SWIG_fail
;
6514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6515 (arg1
)->ClearText(arg2
);
6517 wxPyEndAllowThreads(__tstate
);
6518 if (PyErr_Occurred()) SWIG_fail
;
6520 Py_INCREF(Py_None
); resultobj
= Py_None
;
6527 static PyObject
*_wrap_PyShape_RemoveLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6528 PyObject
*resultobj
;
6529 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6530 wxPyLineShape
*arg2
= (wxPyLineShape
*) 0 ;
6531 PyObject
* obj0
= 0 ;
6532 PyObject
* obj1
= 0 ;
6534 (char *) "self",(char *) "line", NULL
6537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_RemoveLine",kwnames
,&obj0
,&obj1
)) goto fail
;
6538 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6539 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6542 (arg1
)->RemoveLine(arg2
);
6544 wxPyEndAllowThreads(__tstate
);
6545 if (PyErr_Occurred()) SWIG_fail
;
6547 Py_INCREF(Py_None
); resultobj
= Py_None
;
6554 static PyObject
*_wrap_PyShape_GetAttachmentPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6555 PyObject
*resultobj
;
6556 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6558 double *arg3
= (double *) 0 ;
6559 double *arg4
= (double *) 0 ;
6560 int arg5
= (int) 0 ;
6561 int arg6
= (int) 1 ;
6562 wxPyLineShape
*arg7
= (wxPyLineShape
*) NULL
;
6566 PyObject
* obj0
= 0 ;
6567 PyObject
* obj1
= 0 ;
6568 PyObject
* obj2
= 0 ;
6569 PyObject
* obj3
= 0 ;
6570 PyObject
* obj4
= 0 ;
6572 (char *) "self",(char *) "attachment",(char *) "nth",(char *) "no_arcs",(char *) "line", NULL
6577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PyShape_GetAttachmentPosition",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6578 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6580 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6581 if (PyErr_Occurred()) SWIG_fail
;
6585 arg5
= (int) SWIG_PyObj_AsInt(obj2
);
6586 if (PyErr_Occurred()) SWIG_fail
;
6591 arg6
= (int) SWIG_PyObj_AsInt(obj3
);
6592 if (PyErr_Occurred()) SWIG_fail
;
6596 if ((SWIG_ConvertPtr(obj4
,(void **) &arg7
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6600 result
= (bool)(arg1
)->GetAttachmentPosition(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
6602 wxPyEndAllowThreads(__tstate
);
6603 if (PyErr_Occurred()) SWIG_fail
;
6605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6607 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
6608 resultobj
= t_output_helper(resultobj
,o
);
6611 PyObject
*o
= PyFloat_FromDouble((double) (*arg4
));
6612 resultobj
= t_output_helper(resultobj
,o
);
6620 static PyObject
*_wrap_PyShape_GetNumberOfAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6621 PyObject
*resultobj
;
6622 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6624 PyObject
* obj0
= 0 ;
6626 (char *) "self", NULL
6629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetNumberOfAttachments",kwnames
,&obj0
)) goto fail
;
6630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6633 result
= (int)(arg1
)->GetNumberOfAttachments();
6635 wxPyEndAllowThreads(__tstate
);
6636 if (PyErr_Occurred()) SWIG_fail
;
6638 resultobj
= SWIG_PyObj_FromInt((int)result
);
6645 static PyObject
*_wrap_PyShape_AttachmentIsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6646 PyObject
*resultobj
;
6647 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6650 PyObject
* obj0
= 0 ;
6651 PyObject
* obj1
= 0 ;
6653 (char *) "self",(char *) "attachment", NULL
6656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_AttachmentIsValid",kwnames
,&obj0
,&obj1
)) goto fail
;
6657 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6659 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6660 if (PyErr_Occurred()) SWIG_fail
;
6663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6664 result
= (bool)(arg1
)->AttachmentIsValid(arg2
);
6666 wxPyEndAllowThreads(__tstate
);
6667 if (PyErr_Occurred()) SWIG_fail
;
6669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6676 static PyObject
*_wrap_PyShape_GetAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6677 PyObject
*resultobj
;
6678 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6680 PyObject
* obj0
= 0 ;
6682 (char *) "self", NULL
6685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetAttachments",kwnames
,&obj0
)) goto fail
;
6686 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6689 result
= (PyObject
*)wxPyShape_GetAttachments(arg1
);
6691 wxPyEndAllowThreads(__tstate
);
6692 if (PyErr_Occurred()) SWIG_fail
;
6701 static PyObject
*_wrap_PyShape_GetAttachmentPositionEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6702 PyObject
*resultobj
;
6703 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6705 double *arg3
= (double *) 0 ;
6706 double *arg4
= (double *) 0 ;
6707 int arg5
= (int) 0 ;
6708 int arg6
= (int) 1 ;
6709 wxPyLineShape
*arg7
= (wxPyLineShape
*) NULL
;
6713 PyObject
* obj0
= 0 ;
6714 PyObject
* obj1
= 0 ;
6715 PyObject
* obj2
= 0 ;
6716 PyObject
* obj3
= 0 ;
6717 PyObject
* obj4
= 0 ;
6719 (char *) "self",(char *) "attachment",(char *) "nth",(char *) "no_arcs",(char *) "line", NULL
6724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PyShape_GetAttachmentPositionEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6727 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6728 if (PyErr_Occurred()) SWIG_fail
;
6732 arg5
= (int) SWIG_PyObj_AsInt(obj2
);
6733 if (PyErr_Occurred()) SWIG_fail
;
6738 arg6
= (int) SWIG_PyObj_AsInt(obj3
);
6739 if (PyErr_Occurred()) SWIG_fail
;
6743 if ((SWIG_ConvertPtr(obj4
,(void **) &arg7
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6747 result
= (bool)(arg1
)->GetAttachmentPositionEdge(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
6749 wxPyEndAllowThreads(__tstate
);
6750 if (PyErr_Occurred()) SWIG_fail
;
6752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6754 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
6755 resultobj
= t_output_helper(resultobj
,o
);
6758 PyObject
*o
= PyFloat_FromDouble((double) (*arg4
));
6759 resultobj
= t_output_helper(resultobj
,o
);
6767 static PyObject
*_wrap_PyShape_CalcSimpleAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6768 PyObject
*resultobj
;
6769 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6770 wxRealPoint
*arg2
= 0 ;
6771 wxRealPoint
*arg3
= 0 ;
6774 wxPyLineShape
*arg6
= (wxPyLineShape
*) 0 ;
6778 PyObject
* obj0
= 0 ;
6779 PyObject
* obj1
= 0 ;
6780 PyObject
* obj2
= 0 ;
6781 PyObject
* obj3
= 0 ;
6782 PyObject
* obj4
= 0 ;
6783 PyObject
* obj5
= 0 ;
6785 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "nth",(char *) "noArcs",(char *) "line", NULL
6788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyShape_CalcSimpleAttachment",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6792 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6796 if ( ! wxRealPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6799 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
6800 if (PyErr_Occurred()) SWIG_fail
;
6803 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
6804 if (PyErr_Occurred()) SWIG_fail
;
6806 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6809 result
= (arg1
)->CalcSimpleAttachment((wxRealPoint
const &)*arg2
,(wxRealPoint
const &)*arg3
,arg4
,arg5
,arg6
);
6811 wxPyEndAllowThreads(__tstate
);
6812 if (PyErr_Occurred()) SWIG_fail
;
6815 wxRealPoint
* resultptr
;
6816 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
6817 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRealPoint
, 1);
6825 static PyObject
*_wrap_PyShape_AttachmentSortTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6826 PyObject
*resultobj
;
6827 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6829 wxRealPoint
*arg3
= 0 ;
6830 wxRealPoint
*arg4
= 0 ;
6834 PyObject
* obj0
= 0 ;
6835 PyObject
* obj1
= 0 ;
6836 PyObject
* obj2
= 0 ;
6837 PyObject
* obj3
= 0 ;
6839 (char *) "self",(char *) "attachmentPoint",(char *) "pt1",(char *) "pt2", NULL
6842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyShape_AttachmentSortTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6845 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6846 if (PyErr_Occurred()) SWIG_fail
;
6850 if ( ! wxRealPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6854 if ( ! wxRealPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6858 result
= (bool)(arg1
)->AttachmentSortTest(arg2
,(wxRealPoint
const &)*arg3
,(wxRealPoint
const &)*arg4
);
6860 wxPyEndAllowThreads(__tstate
);
6861 if (PyErr_Occurred()) SWIG_fail
;
6863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6870 static PyObject
*_wrap_PyShape_EraseLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6871 PyObject
*resultobj
;
6872 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6874 int arg3
= (int) -1 ;
6875 bool arg4
= (bool) False
;
6876 PyObject
* obj0
= 0 ;
6877 PyObject
* obj1
= 0 ;
6878 PyObject
* obj2
= 0 ;
6879 PyObject
* obj3
= 0 ;
6881 (char *) "self",(char *) "dc",(char *) "attachment",(char *) "recurse", NULL
6884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PyShape_EraseLinks",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6886 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6888 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6892 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6893 if (PyErr_Occurred()) SWIG_fail
;
6898 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
6899 if (PyErr_Occurred()) SWIG_fail
;
6903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6904 (arg1
)->EraseLinks(*arg2
,arg3
,arg4
);
6906 wxPyEndAllowThreads(__tstate
);
6907 if (PyErr_Occurred()) SWIG_fail
;
6909 Py_INCREF(Py_None
); resultobj
= Py_None
;
6916 static PyObject
*_wrap_PyShape_DrawLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6917 PyObject
*resultobj
;
6918 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6920 int arg3
= (int) -1 ;
6921 bool arg4
= (bool) False
;
6922 PyObject
* obj0
= 0 ;
6923 PyObject
* obj1
= 0 ;
6924 PyObject
* obj2
= 0 ;
6925 PyObject
* obj3
= 0 ;
6927 (char *) "self",(char *) "dc",(char *) "attachment",(char *) "recurse", NULL
6930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PyShape_DrawLinks",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6931 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6932 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6934 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6938 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6939 if (PyErr_Occurred()) SWIG_fail
;
6944 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
6945 if (PyErr_Occurred()) SWIG_fail
;
6949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6950 (arg1
)->DrawLinks(*arg2
,arg3
,arg4
);
6952 wxPyEndAllowThreads(__tstate
);
6953 if (PyErr_Occurred()) SWIG_fail
;
6955 Py_INCREF(Py_None
); resultobj
= Py_None
;
6962 static PyObject
*_wrap_PyShape_MoveLineToNewAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6963 PyObject
*resultobj
;
6964 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6966 wxPyLineShape
*arg3
= (wxPyLineShape
*) 0 ;
6970 PyObject
* obj0
= 0 ;
6971 PyObject
* obj1
= 0 ;
6972 PyObject
* obj2
= 0 ;
6973 PyObject
* obj3
= 0 ;
6974 PyObject
* obj4
= 0 ;
6976 (char *) "self",(char *) "dc",(char *) "to_move",(char *) "x",(char *) "y", NULL
6979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyShape_MoveLineToNewAttachment",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6980 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6981 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6983 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6985 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6987 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
6988 if (PyErr_Occurred()) SWIG_fail
;
6991 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
6992 if (PyErr_Occurred()) SWIG_fail
;
6995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6996 result
= (bool)(arg1
)->MoveLineToNewAttachment(*arg2
,arg3
,arg4
,arg5
);
6998 wxPyEndAllowThreads(__tstate
);
6999 if (PyErr_Occurred()) SWIG_fail
;
7001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7008 static PyObject
*_wrap_PyShape_ApplyAttachmentOrdering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7009 PyObject
*resultobj
;
7010 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7011 PyObject
*arg2
= (PyObject
*) 0 ;
7012 PyObject
* obj0
= 0 ;
7013 PyObject
* obj1
= 0 ;
7015 (char *) "self",(char *) "linesToSort", NULL
7018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_ApplyAttachmentOrdering",kwnames
,&obj0
,&obj1
)) goto fail
;
7019 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7023 wxPyShape_ApplyAttachmentOrdering(arg1
,arg2
);
7025 wxPyEndAllowThreads(__tstate
);
7026 if (PyErr_Occurred()) SWIG_fail
;
7028 Py_INCREF(Py_None
); resultobj
= Py_None
;
7035 static PyObject
*_wrap_PyShape_GetBranchingAttachmentRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7036 PyObject
*resultobj
;
7037 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7040 PyObject
* obj0
= 0 ;
7041 PyObject
* obj1
= 0 ;
7043 (char *) "self",(char *) "attachment", NULL
7046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_GetBranchingAttachmentRoot",kwnames
,&obj0
,&obj1
)) goto fail
;
7047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7049 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7050 if (PyErr_Occurred()) SWIG_fail
;
7053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7054 result
= (arg1
)->GetBranchingAttachmentRoot(arg2
);
7056 wxPyEndAllowThreads(__tstate
);
7057 if (PyErr_Occurred()) SWIG_fail
;
7060 wxRealPoint
* resultptr
;
7061 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
7062 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRealPoint
, 1);
7070 static PyObject
*_wrap_PyShape_GetBranchingAttachmentInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7071 PyObject
*resultobj
;
7072 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7074 wxRealPoint
*arg3
= 0 ;
7075 wxRealPoint
*arg4
= 0 ;
7076 wxRealPoint
*arg5
= 0 ;
7077 wxRealPoint
*arg6
= 0 ;
7083 PyObject
* obj0
= 0 ;
7084 PyObject
* obj1
= 0 ;
7085 PyObject
* obj2
= 0 ;
7086 PyObject
* obj3
= 0 ;
7087 PyObject
* obj4
= 0 ;
7088 PyObject
* obj5
= 0 ;
7090 (char *) "self",(char *) "attachment",(char *) "root",(char *) "neck",(char *) "shoulder1",(char *) "shoulder2", NULL
7093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyShape_GetBranchingAttachmentInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7096 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7097 if (PyErr_Occurred()) SWIG_fail
;
7101 if ( ! wxRealPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7105 if ( ! wxRealPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7109 if ( ! wxRealPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7113 if ( ! wxRealPoint_helper(obj5
, &arg6
)) SWIG_fail
;
7116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7117 result
= (bool)(arg1
)->GetBranchingAttachmentInfo(arg2
,*arg3
,*arg4
,*arg5
,*arg6
);
7119 wxPyEndAllowThreads(__tstate
);
7120 if (PyErr_Occurred()) SWIG_fail
;
7122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7129 static PyObject
*_wrap_PyShape_GetBranchingAttachmentPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7130 PyObject
*resultobj
;
7131 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7134 wxRealPoint
*arg4
= 0 ;
7135 wxRealPoint
*arg5
= 0 ;
7139 PyObject
* obj0
= 0 ;
7140 PyObject
* obj1
= 0 ;
7141 PyObject
* obj2
= 0 ;
7142 PyObject
* obj3
= 0 ;
7143 PyObject
* obj4
= 0 ;
7145 (char *) "self",(char *) "attachment",(char *) "n",(char *) "attachmentPoint",(char *) "stemPoint", NULL
7148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyShape_GetBranchingAttachmentPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7149 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7151 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7152 if (PyErr_Occurred()) SWIG_fail
;
7155 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7156 if (PyErr_Occurred()) SWIG_fail
;
7160 if ( ! wxRealPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7164 if ( ! wxRealPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7168 result
= (bool)(arg1
)->GetBranchingAttachmentPoint(arg2
,arg3
,*arg4
,*arg5
);
7170 wxPyEndAllowThreads(__tstate
);
7171 if (PyErr_Occurred()) SWIG_fail
;
7173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7180 static PyObject
*_wrap_PyShape_GetAttachmentLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7181 PyObject
*resultobj
;
7182 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7185 PyObject
* obj0
= 0 ;
7186 PyObject
* obj1
= 0 ;
7188 (char *) "self",(char *) "attachment", NULL
7191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_GetAttachmentLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
7192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7194 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7195 if (PyErr_Occurred()) SWIG_fail
;
7198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7199 result
= (int)(arg1
)->GetAttachmentLineCount(arg2
);
7201 wxPyEndAllowThreads(__tstate
);
7202 if (PyErr_Occurred()) SWIG_fail
;
7204 resultobj
= SWIG_PyObj_FromInt((int)result
);
7211 static PyObject
*_wrap_PyShape_SetBranchNeckLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7212 PyObject
*resultobj
;
7213 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7215 PyObject
* obj0
= 0 ;
7216 PyObject
* obj1
= 0 ;
7218 (char *) "self",(char *) "len", NULL
7221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetBranchNeckLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7222 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7224 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7225 if (PyErr_Occurred()) SWIG_fail
;
7228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7229 (arg1
)->SetBranchNeckLength(arg2
);
7231 wxPyEndAllowThreads(__tstate
);
7232 if (PyErr_Occurred()) SWIG_fail
;
7234 Py_INCREF(Py_None
); resultobj
= Py_None
;
7241 static PyObject
*_wrap_PyShape_GetBranchNeckLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7242 PyObject
*resultobj
;
7243 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7245 PyObject
* obj0
= 0 ;
7247 (char *) "self", NULL
7250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBranchNeckLength",kwnames
,&obj0
)) goto fail
;
7251 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7254 result
= (int)(arg1
)->GetBranchNeckLength();
7256 wxPyEndAllowThreads(__tstate
);
7257 if (PyErr_Occurred()) SWIG_fail
;
7259 resultobj
= SWIG_PyObj_FromInt((int)result
);
7266 static PyObject
*_wrap_PyShape_SetBranchStemLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7267 PyObject
*resultobj
;
7268 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7270 PyObject
* obj0
= 0 ;
7271 PyObject
* obj1
= 0 ;
7273 (char *) "self",(char *) "len", NULL
7276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetBranchStemLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7277 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7279 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7280 if (PyErr_Occurred()) SWIG_fail
;
7283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7284 (arg1
)->SetBranchStemLength(arg2
);
7286 wxPyEndAllowThreads(__tstate
);
7287 if (PyErr_Occurred()) SWIG_fail
;
7289 Py_INCREF(Py_None
); resultobj
= Py_None
;
7296 static PyObject
*_wrap_PyShape_GetBranchStemLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7297 PyObject
*resultobj
;
7298 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7300 PyObject
* obj0
= 0 ;
7302 (char *) "self", NULL
7305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBranchStemLength",kwnames
,&obj0
)) goto fail
;
7306 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7309 result
= (int)(arg1
)->GetBranchStemLength();
7311 wxPyEndAllowThreads(__tstate
);
7312 if (PyErr_Occurred()) SWIG_fail
;
7314 resultobj
= SWIG_PyObj_FromInt((int)result
);
7321 static PyObject
*_wrap_PyShape_SetBranchSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7322 PyObject
*resultobj
;
7323 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7325 PyObject
* obj0
= 0 ;
7326 PyObject
* obj1
= 0 ;
7328 (char *) "self",(char *) "len", NULL
7331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetBranchSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
7332 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7334 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7335 if (PyErr_Occurred()) SWIG_fail
;
7338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7339 (arg1
)->SetBranchSpacing(arg2
);
7341 wxPyEndAllowThreads(__tstate
);
7342 if (PyErr_Occurred()) SWIG_fail
;
7344 Py_INCREF(Py_None
); resultobj
= Py_None
;
7351 static PyObject
*_wrap_PyShape_GetBranchSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7352 PyObject
*resultobj
;
7353 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7355 PyObject
* obj0
= 0 ;
7357 (char *) "self", NULL
7360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBranchSpacing",kwnames
,&obj0
)) goto fail
;
7361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7364 result
= (int)(arg1
)->GetBranchSpacing();
7366 wxPyEndAllowThreads(__tstate
);
7367 if (PyErr_Occurred()) SWIG_fail
;
7369 resultobj
= SWIG_PyObj_FromInt((int)result
);
7376 static PyObject
*_wrap_PyShape_SetBranchStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7377 PyObject
*resultobj
;
7378 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7380 PyObject
* obj0
= 0 ;
7381 PyObject
* obj1
= 0 ;
7383 (char *) "self",(char *) "style", NULL
7386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetBranchStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
7387 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7389 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
7390 if (PyErr_Occurred()) SWIG_fail
;
7393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7394 (arg1
)->SetBranchStyle(arg2
);
7396 wxPyEndAllowThreads(__tstate
);
7397 if (PyErr_Occurred()) SWIG_fail
;
7399 Py_INCREF(Py_None
); resultobj
= Py_None
;
7406 static PyObject
*_wrap_PyShape_GetBranchStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7407 PyObject
*resultobj
;
7408 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7410 PyObject
* obj0
= 0 ;
7412 (char *) "self", NULL
7415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBranchStyle",kwnames
,&obj0
)) goto fail
;
7416 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7419 result
= (long)(arg1
)->GetBranchStyle();
7421 wxPyEndAllowThreads(__tstate
);
7422 if (PyErr_Occurred()) SWIG_fail
;
7424 resultobj
= SWIG_PyObj_FromLong((long)result
);
7431 static PyObject
*_wrap_PyShape_PhysicalToLogicalAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7432 PyObject
*resultobj
;
7433 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7436 PyObject
* obj0
= 0 ;
7437 PyObject
* obj1
= 0 ;
7439 (char *) "self",(char *) "physicalAttachment", NULL
7442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_PhysicalToLogicalAttachment",kwnames
,&obj0
,&obj1
)) goto fail
;
7443 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7445 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7446 if (PyErr_Occurred()) SWIG_fail
;
7449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7450 result
= (int)(arg1
)->PhysicalToLogicalAttachment(arg2
);
7452 wxPyEndAllowThreads(__tstate
);
7453 if (PyErr_Occurred()) SWIG_fail
;
7455 resultobj
= SWIG_PyObj_FromInt((int)result
);
7462 static PyObject
*_wrap_PyShape_LogicalToPhysicalAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7463 PyObject
*resultobj
;
7464 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7467 PyObject
* obj0
= 0 ;
7468 PyObject
* obj1
= 0 ;
7470 (char *) "self",(char *) "logicalAttachment", NULL
7473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_LogicalToPhysicalAttachment",kwnames
,&obj0
,&obj1
)) goto fail
;
7474 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7476 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7477 if (PyErr_Occurred()) SWIG_fail
;
7480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7481 result
= (int)(arg1
)->LogicalToPhysicalAttachment(arg2
);
7483 wxPyEndAllowThreads(__tstate
);
7484 if (PyErr_Occurred()) SWIG_fail
;
7486 resultobj
= SWIG_PyObj_FromInt((int)result
);
7493 static PyObject
*_wrap_PyShape_Draggable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7494 PyObject
*resultobj
;
7495 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7497 PyObject
* obj0
= 0 ;
7499 (char *) "self", NULL
7502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Draggable",kwnames
,&obj0
)) goto fail
;
7503 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7506 result
= (bool)(arg1
)->Draggable();
7508 wxPyEndAllowThreads(__tstate
);
7509 if (PyErr_Occurred()) SWIG_fail
;
7511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7518 static PyObject
*_wrap_PyShape_HasDescendant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7519 PyObject
*resultobj
;
7520 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7521 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
7523 PyObject
* obj0
= 0 ;
7524 PyObject
* obj1
= 0 ;
7526 (char *) "self",(char *) "image", NULL
7529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_HasDescendant",kwnames
,&obj0
,&obj1
)) goto fail
;
7530 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7531 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7534 result
= (bool)(arg1
)->HasDescendant(arg2
);
7536 wxPyEndAllowThreads(__tstate
);
7537 if (PyErr_Occurred()) SWIG_fail
;
7539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7546 static PyObject
*_wrap_PyShape_CreateNewCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7547 PyObject
*resultobj
;
7548 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7549 bool arg2
= (bool) True
;
7550 bool arg3
= (bool) True
;
7552 PyObject
* obj0
= 0 ;
7553 PyObject
* obj1
= 0 ;
7554 PyObject
* obj2
= 0 ;
7556 (char *) "self",(char *) "resetMapping",(char *) "recompute", NULL
7559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyShape_CreateNewCopy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7560 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7563 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
7564 if (PyErr_Occurred()) SWIG_fail
;
7569 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
7570 if (PyErr_Occurred()) SWIG_fail
;
7574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7575 result
= (wxPyShape
*)(arg1
)->CreateNewCopy(arg2
,arg3
);
7577 wxPyEndAllowThreads(__tstate
);
7578 if (PyErr_Occurred()) SWIG_fail
;
7581 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
7589 static PyObject
*_wrap_PyShape_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7590 PyObject
*resultobj
;
7591 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7592 wxPyShape
*arg2
= 0 ;
7593 PyObject
* obj0
= 0 ;
7594 PyObject
* obj1
= 0 ;
7596 (char *) "self",(char *) "copy", NULL
7599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Copy",kwnames
,&obj0
,&obj1
)) goto fail
;
7600 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7601 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7603 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7607 (arg1
)->Copy(*arg2
);
7609 wxPyEndAllowThreads(__tstate
);
7610 if (PyErr_Occurred()) SWIG_fail
;
7612 Py_INCREF(Py_None
); resultobj
= Py_None
;
7619 static PyObject
*_wrap_PyShape_CopyWithHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7620 PyObject
*resultobj
;
7621 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7622 wxPyShape
*arg2
= 0 ;
7623 PyObject
* obj0
= 0 ;
7624 PyObject
* obj1
= 0 ;
7626 (char *) "self",(char *) "copy", NULL
7629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_CopyWithHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
7630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7631 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7633 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7637 (arg1
)->CopyWithHandler(*arg2
);
7639 wxPyEndAllowThreads(__tstate
);
7640 if (PyErr_Occurred()) SWIG_fail
;
7642 Py_INCREF(Py_None
); resultobj
= Py_None
;
7649 static PyObject
*_wrap_PyShape_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7650 PyObject
*resultobj
;
7651 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7655 PyObject
* obj0
= 0 ;
7656 PyObject
* obj1
= 0 ;
7657 PyObject
* obj2
= 0 ;
7658 PyObject
* obj3
= 0 ;
7660 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
7663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyShape_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7666 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
7667 if (PyErr_Occurred()) SWIG_fail
;
7670 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
7671 if (PyErr_Occurred()) SWIG_fail
;
7674 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
7675 if (PyErr_Occurred()) SWIG_fail
;
7678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7679 (arg1
)->Rotate(arg2
,arg3
,arg4
);
7681 wxPyEndAllowThreads(__tstate
);
7682 if (PyErr_Occurred()) SWIG_fail
;
7684 Py_INCREF(Py_None
); resultobj
= Py_None
;
7691 static PyObject
*_wrap_PyShape_GetRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7692 PyObject
*resultobj
;
7693 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7695 PyObject
* obj0
= 0 ;
7697 (char *) "self", NULL
7700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetRotation",kwnames
,&obj0
)) goto fail
;
7701 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7704 result
= (double)(arg1
)->GetRotation();
7706 wxPyEndAllowThreads(__tstate
);
7707 if (PyErr_Occurred()) SWIG_fail
;
7709 resultobj
= SWIG_PyObj_FromDouble((double)result
);
7716 static PyObject
*_wrap_PyShape_SetRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7717 PyObject
*resultobj
;
7718 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7720 PyObject
* obj0
= 0 ;
7721 PyObject
* obj1
= 0 ;
7723 (char *) "self",(char *) "rotation", NULL
7726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetRotation",kwnames
,&obj0
,&obj1
)) goto fail
;
7727 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7729 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
7730 if (PyErr_Occurred()) SWIG_fail
;
7733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7734 (arg1
)->SetRotation(arg2
);
7736 wxPyEndAllowThreads(__tstate
);
7737 if (PyErr_Occurred()) SWIG_fail
;
7739 Py_INCREF(Py_None
); resultobj
= Py_None
;
7746 static PyObject
*_wrap_PyShape_ClearAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7747 PyObject
*resultobj
;
7748 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7749 PyObject
* obj0
= 0 ;
7751 (char *) "self", NULL
7754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_ClearAttachments",kwnames
,&obj0
)) goto fail
;
7755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7758 (arg1
)->ClearAttachments();
7760 wxPyEndAllowThreads(__tstate
);
7761 if (PyErr_Occurred()) SWIG_fail
;
7763 Py_INCREF(Py_None
); resultobj
= Py_None
;
7770 static PyObject
*_wrap_PyShape_Recentre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7771 PyObject
*resultobj
;
7772 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7774 PyObject
* obj0
= 0 ;
7775 PyObject
* obj1
= 0 ;
7777 (char *) "self",(char *) "dc", NULL
7780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Recentre",kwnames
,&obj0
,&obj1
)) goto fail
;
7781 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7782 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7784 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7788 (arg1
)->Recentre(*arg2
);
7790 wxPyEndAllowThreads(__tstate
);
7791 if (PyErr_Occurred()) SWIG_fail
;
7793 Py_INCREF(Py_None
); resultobj
= Py_None
;
7800 static PyObject
*_wrap_PyShape_ClearPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7801 PyObject
*resultobj
;
7802 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7804 PyObject
* obj0
= 0 ;
7805 PyObject
* obj1
= 0 ;
7807 (char *) "self",(char *) "list", NULL
7810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_ClearPointList",kwnames
,&obj0
,&obj1
)) goto fail
;
7811 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7812 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7814 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7818 (arg1
)->ClearPointList(*arg2
);
7820 wxPyEndAllowThreads(__tstate
);
7821 if (PyErr_Occurred()) SWIG_fail
;
7823 Py_INCREF(Py_None
); resultobj
= Py_None
;
7830 static PyObject
*_wrap_PyShape_GetBackgroundPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7831 PyObject
*resultobj
;
7832 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7834 PyObject
* obj0
= 0 ;
7836 (char *) "self", NULL
7839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBackgroundPen",kwnames
,&obj0
)) goto fail
;
7840 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7843 result
= (arg1
)->GetBackgroundPen();
7845 wxPyEndAllowThreads(__tstate
);
7846 if (PyErr_Occurred()) SWIG_fail
;
7850 resultptr
= new wxPen((wxPen
&) result
);
7851 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPen
, 1);
7859 static PyObject
*_wrap_PyShape_GetBackgroundBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7860 PyObject
*resultobj
;
7861 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7863 PyObject
* obj0
= 0 ;
7865 (char *) "self", NULL
7868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBackgroundBrush",kwnames
,&obj0
)) goto fail
;
7869 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7872 result
= (arg1
)->GetBackgroundBrush();
7874 wxPyEndAllowThreads(__tstate
);
7875 if (PyErr_Occurred()) SWIG_fail
;
7878 wxBrush
* resultptr
;
7879 resultptr
= new wxBrush((wxBrush
&) result
);
7880 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBrush
, 1);
7888 static PyObject
*_wrap_PyShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7889 PyObject
*resultobj
;
7890 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7891 PyObject
* obj0
= 0 ;
7893 (char *) "self", NULL
7896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
7897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7900 (arg1
)->base_OnDelete();
7902 wxPyEndAllowThreads(__tstate
);
7903 if (PyErr_Occurred()) SWIG_fail
;
7905 Py_INCREF(Py_None
); resultobj
= Py_None
;
7912 static PyObject
*_wrap_PyShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7913 PyObject
*resultobj
;
7914 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7916 PyObject
* obj0
= 0 ;
7917 PyObject
* obj1
= 0 ;
7919 (char *) "self",(char *) "dc", NULL
7922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
7923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7924 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7926 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7930 (arg1
)->base_OnDraw(*arg2
);
7932 wxPyEndAllowThreads(__tstate
);
7933 if (PyErr_Occurred()) SWIG_fail
;
7935 Py_INCREF(Py_None
); resultobj
= Py_None
;
7942 static PyObject
*_wrap_PyShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7943 PyObject
*resultobj
;
7944 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7946 PyObject
* obj0
= 0 ;
7947 PyObject
* obj1
= 0 ;
7949 (char *) "self",(char *) "dc", NULL
7952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
7953 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7954 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7956 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7960 (arg1
)->base_OnDrawContents(*arg2
);
7962 wxPyEndAllowThreads(__tstate
);
7963 if (PyErr_Occurred()) SWIG_fail
;
7965 Py_INCREF(Py_None
); resultobj
= Py_None
;
7972 static PyObject
*_wrap_PyShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7973 PyObject
*resultobj
;
7974 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7976 bool arg3
= (bool) False
;
7977 PyObject
* obj0
= 0 ;
7978 PyObject
* obj1
= 0 ;
7979 PyObject
* obj2
= 0 ;
7981 (char *) "self",(char *) "dc",(char *) "erase", NULL
7984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7985 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7986 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7988 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7992 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
7993 if (PyErr_Occurred()) SWIG_fail
;
7997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7998 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
8000 wxPyEndAllowThreads(__tstate
);
8001 if (PyErr_Occurred()) SWIG_fail
;
8003 Py_INCREF(Py_None
); resultobj
= Py_None
;
8010 static PyObject
*_wrap_PyShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8011 PyObject
*resultobj
;
8012 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8014 PyObject
* obj0
= 0 ;
8015 PyObject
* obj1
= 0 ;
8017 (char *) "self",(char *) "dc", NULL
8020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
8021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8022 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8024 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8028 (arg1
)->base_OnMoveLinks(*arg2
);
8030 wxPyEndAllowThreads(__tstate
);
8031 if (PyErr_Occurred()) SWIG_fail
;
8033 Py_INCREF(Py_None
); resultobj
= Py_None
;
8040 static PyObject
*_wrap_PyShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8041 PyObject
*resultobj
;
8042 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8044 PyObject
* obj0
= 0 ;
8045 PyObject
* obj1
= 0 ;
8047 (char *) "self",(char *) "dc", NULL
8050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
8051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8052 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8054 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8058 (arg1
)->base_OnErase(*arg2
);
8060 wxPyEndAllowThreads(__tstate
);
8061 if (PyErr_Occurred()) SWIG_fail
;
8063 Py_INCREF(Py_None
); resultobj
= Py_None
;
8070 static PyObject
*_wrap_PyShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8071 PyObject
*resultobj
;
8072 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8074 PyObject
* obj0
= 0 ;
8075 PyObject
* obj1
= 0 ;
8077 (char *) "self",(char *) "dc", NULL
8080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
8081 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8082 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8084 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8088 (arg1
)->base_OnEraseContents(*arg2
);
8090 wxPyEndAllowThreads(__tstate
);
8091 if (PyErr_Occurred()) SWIG_fail
;
8093 Py_INCREF(Py_None
); resultobj
= Py_None
;
8100 static PyObject
*_wrap_PyShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8101 PyObject
*resultobj
;
8102 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8104 PyObject
* obj0
= 0 ;
8105 PyObject
* obj1
= 0 ;
8107 (char *) "self",(char *) "dc", NULL
8110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
8111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8112 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8114 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8118 (arg1
)->base_OnHighlight(*arg2
);
8120 wxPyEndAllowThreads(__tstate
);
8121 if (PyErr_Occurred()) SWIG_fail
;
8123 Py_INCREF(Py_None
); resultobj
= Py_None
;
8130 static PyObject
*_wrap_PyShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8131 PyObject
*resultobj
;
8132 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8135 int arg4
= (int) 0 ;
8136 int arg5
= (int) 0 ;
8137 PyObject
* obj0
= 0 ;
8138 PyObject
* obj1
= 0 ;
8139 PyObject
* obj2
= 0 ;
8140 PyObject
* obj3
= 0 ;
8141 PyObject
* obj4
= 0 ;
8143 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8147 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8149 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
8150 if (PyErr_Occurred()) SWIG_fail
;
8153 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
8154 if (PyErr_Occurred()) SWIG_fail
;
8158 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
8159 if (PyErr_Occurred()) SWIG_fail
;
8164 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
8165 if (PyErr_Occurred()) SWIG_fail
;
8169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8170 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
8172 wxPyEndAllowThreads(__tstate
);
8173 if (PyErr_Occurred()) SWIG_fail
;
8175 Py_INCREF(Py_None
); resultobj
= Py_None
;
8182 static PyObject
*_wrap_PyShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8183 PyObject
*resultobj
;
8184 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8187 int arg4
= (int) 0 ;
8188 int arg5
= (int) 0 ;
8189 PyObject
* obj0
= 0 ;
8190 PyObject
* obj1
= 0 ;
8191 PyObject
* obj2
= 0 ;
8192 PyObject
* obj3
= 0 ;
8193 PyObject
* obj4
= 0 ;
8195 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8199 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8201 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
8202 if (PyErr_Occurred()) SWIG_fail
;
8205 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
8206 if (PyErr_Occurred()) SWIG_fail
;
8210 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
8211 if (PyErr_Occurred()) SWIG_fail
;
8216 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
8217 if (PyErr_Occurred()) SWIG_fail
;
8221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8222 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
8224 wxPyEndAllowThreads(__tstate
);
8225 if (PyErr_Occurred()) SWIG_fail
;
8227 Py_INCREF(Py_None
); resultobj
= Py_None
;
8234 static PyObject
*_wrap_PyShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8235 PyObject
*resultobj
;
8236 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8239 int arg4
= (int) 0 ;
8240 int arg5
= (int) 0 ;
8241 PyObject
* obj0
= 0 ;
8242 PyObject
* obj1
= 0 ;
8243 PyObject
* obj2
= 0 ;
8244 PyObject
* obj3
= 0 ;
8245 PyObject
* obj4
= 0 ;
8247 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8251 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8253 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
8254 if (PyErr_Occurred()) SWIG_fail
;
8257 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
8258 if (PyErr_Occurred()) SWIG_fail
;
8262 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
8263 if (PyErr_Occurred()) SWIG_fail
;
8268 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
8269 if (PyErr_Occurred()) SWIG_fail
;
8273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8274 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
8276 wxPyEndAllowThreads(__tstate
);
8277 if (PyErr_Occurred()) SWIG_fail
;
8279 Py_INCREF(Py_None
); resultobj
= Py_None
;
8286 static PyObject
*_wrap_PyShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8287 PyObject
*resultobj
;
8288 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8291 PyObject
* obj0
= 0 ;
8292 PyObject
* obj1
= 0 ;
8293 PyObject
* obj2
= 0 ;
8295 (char *) "self",(char *) "x",(char *) "y", NULL
8298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8301 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
8302 if (PyErr_Occurred()) SWIG_fail
;
8305 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
8306 if (PyErr_Occurred()) SWIG_fail
;
8309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8310 (arg1
)->base_OnSize(arg2
,arg3
);
8312 wxPyEndAllowThreads(__tstate
);
8313 if (PyErr_Occurred()) SWIG_fail
;
8315 Py_INCREF(Py_None
); resultobj
= Py_None
;
8322 static PyObject
*_wrap_PyShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8323 PyObject
*resultobj
;
8324 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8330 bool arg7
= (bool) True
;
8332 PyObject
* obj0
= 0 ;
8333 PyObject
* obj1
= 0 ;
8334 PyObject
* obj2
= 0 ;
8335 PyObject
* obj3
= 0 ;
8336 PyObject
* obj4
= 0 ;
8337 PyObject
* obj5
= 0 ;
8338 PyObject
* obj6
= 0 ;
8340 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
8343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8345 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8347 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8350 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
8351 if (PyErr_Occurred()) SWIG_fail
;
8354 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
8355 if (PyErr_Occurred()) SWIG_fail
;
8358 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
8359 if (PyErr_Occurred()) SWIG_fail
;
8362 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
8363 if (PyErr_Occurred()) SWIG_fail
;
8367 arg7
= (bool) SWIG_PyObj_AsBool(obj6
);
8368 if (PyErr_Occurred()) SWIG_fail
;
8372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8373 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8375 wxPyEndAllowThreads(__tstate
);
8376 if (PyErr_Occurred()) SWIG_fail
;
8378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8385 static PyObject
*_wrap_PyShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8386 PyObject
*resultobj
;
8387 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8393 bool arg7
= (bool) True
;
8394 PyObject
* obj0
= 0 ;
8395 PyObject
* obj1
= 0 ;
8396 PyObject
* obj2
= 0 ;
8397 PyObject
* obj3
= 0 ;
8398 PyObject
* obj4
= 0 ;
8399 PyObject
* obj5
= 0 ;
8400 PyObject
* obj6
= 0 ;
8402 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
8405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8406 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8407 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8409 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8412 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
8413 if (PyErr_Occurred()) SWIG_fail
;
8416 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
8417 if (PyErr_Occurred()) SWIG_fail
;
8420 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
8421 if (PyErr_Occurred()) SWIG_fail
;
8424 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
8425 if (PyErr_Occurred()) SWIG_fail
;
8429 arg7
= (bool) SWIG_PyObj_AsBool(obj6
);
8430 if (PyErr_Occurred()) SWIG_fail
;
8434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8435 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8437 wxPyEndAllowThreads(__tstate
);
8438 if (PyErr_Occurred()) SWIG_fail
;
8440 Py_INCREF(Py_None
); resultobj
= Py_None
;
8447 static PyObject
*_wrap_PyShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8448 PyObject
*resultobj
;
8449 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8453 int arg5
= (int) 0 ;
8454 int arg6
= (int) 0 ;
8455 PyObject
* obj0
= 0 ;
8456 PyObject
* obj1
= 0 ;
8457 PyObject
* obj2
= 0 ;
8458 PyObject
* obj3
= 0 ;
8459 PyObject
* obj4
= 0 ;
8460 PyObject
* obj5
= 0 ;
8462 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8466 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8468 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
8469 if (PyErr_Occurred()) SWIG_fail
;
8472 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
8473 if (PyErr_Occurred()) SWIG_fail
;
8476 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
8477 if (PyErr_Occurred()) SWIG_fail
;
8481 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
8482 if (PyErr_Occurred()) SWIG_fail
;
8487 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
8488 if (PyErr_Occurred()) SWIG_fail
;
8492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8493 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
8495 wxPyEndAllowThreads(__tstate
);
8496 if (PyErr_Occurred()) SWIG_fail
;
8498 Py_INCREF(Py_None
); resultobj
= Py_None
;
8505 static PyObject
*_wrap_PyShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8506 PyObject
*resultobj
;
8507 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8510 int arg4
= (int) 0 ;
8511 int arg5
= (int) 0 ;
8512 PyObject
* obj0
= 0 ;
8513 PyObject
* obj1
= 0 ;
8514 PyObject
* obj2
= 0 ;
8515 PyObject
* obj3
= 0 ;
8516 PyObject
* obj4
= 0 ;
8518 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8522 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8524 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
8525 if (PyErr_Occurred()) SWIG_fail
;
8528 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
8529 if (PyErr_Occurred()) SWIG_fail
;
8533 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
8534 if (PyErr_Occurred()) SWIG_fail
;
8539 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
8540 if (PyErr_Occurred()) SWIG_fail
;
8544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8545 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
8547 wxPyEndAllowThreads(__tstate
);
8548 if (PyErr_Occurred()) SWIG_fail
;
8550 Py_INCREF(Py_None
); resultobj
= Py_None
;
8557 static PyObject
*_wrap_PyShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8558 PyObject
*resultobj
;
8559 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8562 int arg4
= (int) 0 ;
8563 int arg5
= (int) 0 ;
8564 PyObject
* obj0
= 0 ;
8565 PyObject
* obj1
= 0 ;
8566 PyObject
* obj2
= 0 ;
8567 PyObject
* obj3
= 0 ;
8568 PyObject
* obj4
= 0 ;
8570 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8576 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
8577 if (PyErr_Occurred()) SWIG_fail
;
8580 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
8581 if (PyErr_Occurred()) SWIG_fail
;
8585 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
8586 if (PyErr_Occurred()) SWIG_fail
;
8591 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
8592 if (PyErr_Occurred()) SWIG_fail
;
8596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8597 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
8599 wxPyEndAllowThreads(__tstate
);
8600 if (PyErr_Occurred()) SWIG_fail
;
8602 Py_INCREF(Py_None
); resultobj
= Py_None
;
8609 static PyObject
*_wrap_PyShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8610 PyObject
*resultobj
;
8611 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8615 int arg5
= (int) 0 ;
8616 int arg6
= (int) 0 ;
8617 PyObject
* obj0
= 0 ;
8618 PyObject
* obj1
= 0 ;
8619 PyObject
* obj2
= 0 ;
8620 PyObject
* obj3
= 0 ;
8621 PyObject
* obj4
= 0 ;
8622 PyObject
* obj5
= 0 ;
8624 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8628 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8630 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
8631 if (PyErr_Occurred()) SWIG_fail
;
8634 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
8635 if (PyErr_Occurred()) SWIG_fail
;
8638 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
8639 if (PyErr_Occurred()) SWIG_fail
;
8643 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
8644 if (PyErr_Occurred()) SWIG_fail
;
8649 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
8650 if (PyErr_Occurred()) SWIG_fail
;
8654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8655 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
8657 wxPyEndAllowThreads(__tstate
);
8658 if (PyErr_Occurred()) SWIG_fail
;
8660 Py_INCREF(Py_None
); resultobj
= Py_None
;
8667 static PyObject
*_wrap_PyShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8668 PyObject
*resultobj
;
8669 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8672 int arg4
= (int) 0 ;
8673 int arg5
= (int) 0 ;
8674 PyObject
* obj0
= 0 ;
8675 PyObject
* obj1
= 0 ;
8676 PyObject
* obj2
= 0 ;
8677 PyObject
* obj3
= 0 ;
8678 PyObject
* obj4
= 0 ;
8680 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8686 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
8687 if (PyErr_Occurred()) SWIG_fail
;
8690 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
8691 if (PyErr_Occurred()) SWIG_fail
;
8695 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
8696 if (PyErr_Occurred()) SWIG_fail
;
8701 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
8702 if (PyErr_Occurred()) SWIG_fail
;
8706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8707 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
8709 wxPyEndAllowThreads(__tstate
);
8710 if (PyErr_Occurred()) SWIG_fail
;
8712 Py_INCREF(Py_None
); resultobj
= Py_None
;
8719 static PyObject
*_wrap_PyShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8720 PyObject
*resultobj
;
8721 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8724 int arg4
= (int) 0 ;
8725 int arg5
= (int) 0 ;
8726 PyObject
* obj0
= 0 ;
8727 PyObject
* obj1
= 0 ;
8728 PyObject
* obj2
= 0 ;
8729 PyObject
* obj3
= 0 ;
8730 PyObject
* obj4
= 0 ;
8732 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8736 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8738 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
8739 if (PyErr_Occurred()) SWIG_fail
;
8742 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
8743 if (PyErr_Occurred()) SWIG_fail
;
8747 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
8748 if (PyErr_Occurred()) SWIG_fail
;
8753 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
8754 if (PyErr_Occurred()) SWIG_fail
;
8758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8759 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
8761 wxPyEndAllowThreads(__tstate
);
8762 if (PyErr_Occurred()) SWIG_fail
;
8764 Py_INCREF(Py_None
); resultobj
= Py_None
;
8771 static PyObject
*_wrap_PyShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8772 PyObject
*resultobj
;
8773 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8779 PyObject
* obj0
= 0 ;
8780 PyObject
* obj1
= 0 ;
8781 PyObject
* obj2
= 0 ;
8782 PyObject
* obj3
= 0 ;
8783 PyObject
* obj4
= 0 ;
8784 PyObject
* obj5
= 0 ;
8786 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
8789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8790 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8791 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8793 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8796 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
8797 if (PyErr_Occurred()) SWIG_fail
;
8800 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
8801 if (PyErr_Occurred()) SWIG_fail
;
8804 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
8805 if (PyErr_Occurred()) SWIG_fail
;
8808 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
8809 if (PyErr_Occurred()) SWIG_fail
;
8812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8813 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
8815 wxPyEndAllowThreads(__tstate
);
8816 if (PyErr_Occurred()) SWIG_fail
;
8818 Py_INCREF(Py_None
); resultobj
= Py_None
;
8825 static PyObject
*_wrap_PyShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8826 PyObject
*resultobj
;
8827 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8829 PyObject
* obj0
= 0 ;
8830 PyObject
* obj1
= 0 ;
8832 (char *) "self",(char *) "dc", NULL
8835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
8836 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8837 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8839 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8843 (arg1
)->base_OnDrawControlPoints(*arg2
);
8845 wxPyEndAllowThreads(__tstate
);
8846 if (PyErr_Occurred()) SWIG_fail
;
8848 Py_INCREF(Py_None
); resultobj
= Py_None
;
8855 static PyObject
*_wrap_PyShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8856 PyObject
*resultobj
;
8857 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8859 PyObject
* obj0
= 0 ;
8860 PyObject
* obj1
= 0 ;
8862 (char *) "self",(char *) "dc", NULL
8865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
8866 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8867 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8869 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8873 (arg1
)->base_OnEraseControlPoints(*arg2
);
8875 wxPyEndAllowThreads(__tstate
);
8876 if (PyErr_Occurred()) SWIG_fail
;
8878 Py_INCREF(Py_None
); resultobj
= Py_None
;
8885 static PyObject
*_wrap_PyShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8886 PyObject
*resultobj
;
8887 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8889 bool arg3
= (bool) True
;
8890 PyObject
* obj0
= 0 ;
8891 PyObject
* obj1
= 0 ;
8892 PyObject
* obj2
= 0 ;
8894 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
8897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8898 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8899 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8901 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8905 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
8906 if (PyErr_Occurred()) SWIG_fail
;
8910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8911 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
8913 wxPyEndAllowThreads(__tstate
);
8914 if (PyErr_Occurred()) SWIG_fail
;
8916 Py_INCREF(Py_None
); resultobj
= Py_None
;
8923 static PyObject
*_wrap_PyShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8924 PyObject
*resultobj
;
8925 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8926 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
8930 int arg6
= (int) 0 ;
8931 int arg7
= (int) 0 ;
8932 PyObject
* obj0
= 0 ;
8933 PyObject
* obj1
= 0 ;
8934 PyObject
* obj2
= 0 ;
8935 PyObject
* obj3
= 0 ;
8936 PyObject
* obj4
= 0 ;
8937 PyObject
* obj5
= 0 ;
8938 PyObject
* obj6
= 0 ;
8940 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8944 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8945 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8947 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
8948 if (PyErr_Occurred()) SWIG_fail
;
8951 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
8952 if (PyErr_Occurred()) SWIG_fail
;
8955 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
8956 if (PyErr_Occurred()) SWIG_fail
;
8960 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
8961 if (PyErr_Occurred()) SWIG_fail
;
8966 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
8967 if (PyErr_Occurred()) SWIG_fail
;
8971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8972 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8974 wxPyEndAllowThreads(__tstate
);
8975 if (PyErr_Occurred()) SWIG_fail
;
8977 Py_INCREF(Py_None
); resultobj
= Py_None
;
8984 static PyObject
*_wrap_PyShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8985 PyObject
*resultobj
;
8986 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8987 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
8990 int arg5
= (int) 0 ;
8991 int arg6
= (int) 0 ;
8992 PyObject
* obj0
= 0 ;
8993 PyObject
* obj1
= 0 ;
8994 PyObject
* obj2
= 0 ;
8995 PyObject
* obj3
= 0 ;
8996 PyObject
* obj4
= 0 ;
8997 PyObject
* obj5
= 0 ;
8999 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9003 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9004 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9006 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
9007 if (PyErr_Occurred()) SWIG_fail
;
9010 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
9011 if (PyErr_Occurred()) SWIG_fail
;
9015 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
9016 if (PyErr_Occurred()) SWIG_fail
;
9021 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
9022 if (PyErr_Occurred()) SWIG_fail
;
9026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9027 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
9029 wxPyEndAllowThreads(__tstate
);
9030 if (PyErr_Occurred()) SWIG_fail
;
9032 Py_INCREF(Py_None
); resultobj
= Py_None
;
9039 static PyObject
*_wrap_PyShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9040 PyObject
*resultobj
;
9041 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
9042 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
9045 int arg5
= (int) 0 ;
9046 int arg6
= (int) 0 ;
9047 PyObject
* obj0
= 0 ;
9048 PyObject
* obj1
= 0 ;
9049 PyObject
* obj2
= 0 ;
9050 PyObject
* obj3
= 0 ;
9051 PyObject
* obj4
= 0 ;
9052 PyObject
* obj5
= 0 ;
9054 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9059 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9061 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
9062 if (PyErr_Occurred()) SWIG_fail
;
9065 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
9066 if (PyErr_Occurred()) SWIG_fail
;
9070 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
9071 if (PyErr_Occurred()) SWIG_fail
;
9076 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
9077 if (PyErr_Occurred()) SWIG_fail
;
9081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9082 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
9084 wxPyEndAllowThreads(__tstate
);
9085 if (PyErr_Occurred()) SWIG_fail
;
9087 Py_INCREF(Py_None
); resultobj
= Py_None
;
9094 static PyObject
*_wrap_PyShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9095 PyObject
*resultobj
;
9096 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
9099 PyObject
* obj0
= 0 ;
9100 PyObject
* obj1
= 0 ;
9101 PyObject
* obj2
= 0 ;
9103 (char *) "self",(char *) "w",(char *) "h", NULL
9106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9107 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9109 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
9110 if (PyErr_Occurred()) SWIG_fail
;
9113 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
9114 if (PyErr_Occurred()) SWIG_fail
;
9117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9118 (arg1
)->base_OnBeginSize(arg2
,arg3
);
9120 wxPyEndAllowThreads(__tstate
);
9121 if (PyErr_Occurred()) SWIG_fail
;
9123 Py_INCREF(Py_None
); resultobj
= Py_None
;
9130 static PyObject
*_wrap_PyShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9131 PyObject
*resultobj
;
9132 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
9135 PyObject
* obj0
= 0 ;
9136 PyObject
* obj1
= 0 ;
9137 PyObject
* obj2
= 0 ;
9139 (char *) "self",(char *) "w",(char *) "h", NULL
9142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9143 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9145 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
9146 if (PyErr_Occurred()) SWIG_fail
;
9149 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
9150 if (PyErr_Occurred()) SWIG_fail
;
9153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9154 (arg1
)->base_OnEndSize(arg2
,arg3
);
9156 wxPyEndAllowThreads(__tstate
);
9157 if (PyErr_Occurred()) SWIG_fail
;
9159 Py_INCREF(Py_None
); resultobj
= Py_None
;
9166 static PyObject
* PyShape_swigregister(PyObject
*self
, PyObject
*args
) {
9168 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9169 SWIG_TypeClientData(SWIGTYPE_p_wxPyShape
, obj
);
9171 return Py_BuildValue((char *)"");
9173 static PyObject
*_wrap_new_PseudoMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9174 PyObject
*resultobj
;
9175 wxPseudoMetaFile
*result
;
9180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PseudoMetaFile",kwnames
)) goto fail
;
9182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9183 result
= (wxPseudoMetaFile
*)new wxPseudoMetaFile();
9185 wxPyEndAllowThreads(__tstate
);
9186 if (PyErr_Occurred()) SWIG_fail
;
9189 resultobj
= wxPyMake_wxObject(result
);
9197 static PyObject
*_wrap_delete_PseudoMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9198 PyObject
*resultobj
;
9199 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9200 PyObject
* obj0
= 0 ;
9202 (char *) "self", NULL
9205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PseudoMetaFile",kwnames
,&obj0
)) goto fail
;
9206 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9211 wxPyEndAllowThreads(__tstate
);
9212 if (PyErr_Occurred()) SWIG_fail
;
9214 Py_INCREF(Py_None
); resultobj
= Py_None
;
9221 static PyObject
*_wrap_PseudoMetaFile_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9222 PyObject
*resultobj
;
9223 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9227 PyObject
* obj0
= 0 ;
9228 PyObject
* obj1
= 0 ;
9229 PyObject
* obj2
= 0 ;
9230 PyObject
* obj3
= 0 ;
9232 (char *) "self",(char *) "dc",(char *) "xoffset",(char *) "yoffset", NULL
9235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoMetaFile_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9237 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9239 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9242 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
9243 if (PyErr_Occurred()) SWIG_fail
;
9246 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
9247 if (PyErr_Occurred()) SWIG_fail
;
9250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9251 (arg1
)->Draw(*arg2
,arg3
,arg4
);
9253 wxPyEndAllowThreads(__tstate
);
9254 if (PyErr_Occurred()) SWIG_fail
;
9256 Py_INCREF(Py_None
); resultobj
= Py_None
;
9263 static PyObject
*_wrap_PseudoMetaFile_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9264 PyObject
*resultobj
;
9265 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9266 PyObject
* obj0
= 0 ;
9268 (char *) "self", NULL
9271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_Clear",kwnames
,&obj0
)) goto fail
;
9272 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9277 wxPyEndAllowThreads(__tstate
);
9278 if (PyErr_Occurred()) SWIG_fail
;
9280 Py_INCREF(Py_None
); resultobj
= Py_None
;
9287 static PyObject
*_wrap_PseudoMetaFile_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9288 PyObject
*resultobj
;
9289 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9290 wxPseudoMetaFile
*arg2
= 0 ;
9291 PyObject
* obj0
= 0 ;
9292 PyObject
* obj1
= 0 ;
9294 (char *) "self",(char *) "copy", NULL
9297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_Copy",kwnames
,&obj0
,&obj1
)) goto fail
;
9298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9299 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9301 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9305 (arg1
)->Copy(*arg2
);
9307 wxPyEndAllowThreads(__tstate
);
9308 if (PyErr_Occurred()) SWIG_fail
;
9310 Py_INCREF(Py_None
); resultobj
= Py_None
;
9317 static PyObject
*_wrap_PseudoMetaFile_Scale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9318 PyObject
*resultobj
;
9319 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9322 PyObject
* obj0
= 0 ;
9323 PyObject
* obj1
= 0 ;
9324 PyObject
* obj2
= 0 ;
9326 (char *) "self",(char *) "sx",(char *) "sy", NULL
9329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9330 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9332 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
9333 if (PyErr_Occurred()) SWIG_fail
;
9336 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
9337 if (PyErr_Occurred()) SWIG_fail
;
9340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9341 (arg1
)->Scale(arg2
,arg3
);
9343 wxPyEndAllowThreads(__tstate
);
9344 if (PyErr_Occurred()) SWIG_fail
;
9346 Py_INCREF(Py_None
); resultobj
= Py_None
;
9353 static PyObject
*_wrap_PseudoMetaFile_ScaleTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9354 PyObject
*resultobj
;
9355 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9358 PyObject
* obj0
= 0 ;
9359 PyObject
* obj1
= 0 ;
9360 PyObject
* obj2
= 0 ;
9362 (char *) "self",(char *) "w",(char *) "h", NULL
9365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_ScaleTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9368 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
9369 if (PyErr_Occurred()) SWIG_fail
;
9372 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
9373 if (PyErr_Occurred()) SWIG_fail
;
9376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9377 (arg1
)->ScaleTo(arg2
,arg3
);
9379 wxPyEndAllowThreads(__tstate
);
9380 if (PyErr_Occurred()) SWIG_fail
;
9382 Py_INCREF(Py_None
); resultobj
= Py_None
;
9389 static PyObject
*_wrap_PseudoMetaFile_Translate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9390 PyObject
*resultobj
;
9391 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9394 PyObject
* obj0
= 0 ;
9395 PyObject
* obj1
= 0 ;
9396 PyObject
* obj2
= 0 ;
9398 (char *) "self",(char *) "x",(char *) "y", NULL
9401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9402 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9404 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
9405 if (PyErr_Occurred()) SWIG_fail
;
9408 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
9409 if (PyErr_Occurred()) SWIG_fail
;
9412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9413 (arg1
)->Translate(arg2
,arg3
);
9415 wxPyEndAllowThreads(__tstate
);
9416 if (PyErr_Occurred()) SWIG_fail
;
9418 Py_INCREF(Py_None
); resultobj
= Py_None
;
9425 static PyObject
*_wrap_PseudoMetaFile_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9426 PyObject
*resultobj
;
9427 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9431 PyObject
* obj0
= 0 ;
9432 PyObject
* obj1
= 0 ;
9433 PyObject
* obj2
= 0 ;
9434 PyObject
* obj3
= 0 ;
9436 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
9439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoMetaFile_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9440 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9442 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
9443 if (PyErr_Occurred()) SWIG_fail
;
9446 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
9447 if (PyErr_Occurred()) SWIG_fail
;
9450 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
9451 if (PyErr_Occurred()) SWIG_fail
;
9454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9455 (arg1
)->Rotate(arg2
,arg3
,arg4
);
9457 wxPyEndAllowThreads(__tstate
);
9458 if (PyErr_Occurred()) SWIG_fail
;
9460 Py_INCREF(Py_None
); resultobj
= Py_None
;
9467 static PyObject
*_wrap_PseudoMetaFile_LoadFromMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9468 PyObject
*resultobj
;
9469 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9470 wxString
*arg2
= 0 ;
9471 double *arg3
= (double *) 0 ;
9472 double *arg4
= (double *) 0 ;
9474 bool temp2
= False
;
9475 PyObject
* obj0
= 0 ;
9476 PyObject
* obj1
= 0 ;
9477 PyObject
* obj2
= 0 ;
9478 PyObject
* obj3
= 0 ;
9480 (char *) "self",(char *) "filename",(char *) "width",(char *) "height", NULL
9483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoMetaFile_LoadFromMetaFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9484 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9486 arg2
= wxString_in_helper(obj1
);
9487 if (arg2
== NULL
) SWIG_fail
;
9490 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_double
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9491 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_double
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9494 result
= (bool)(arg1
)->LoadFromMetaFile((wxString
const &)*arg2
,arg3
,arg4
);
9496 wxPyEndAllowThreads(__tstate
);
9497 if (PyErr_Occurred()) SWIG_fail
;
9499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9514 static PyObject
*_wrap_PseudoMetaFile_GetBounds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9515 PyObject
*resultobj
;
9516 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9517 double *arg2
= (double *) 0 ;
9518 double *arg3
= (double *) 0 ;
9519 double *arg4
= (double *) 0 ;
9520 double *arg5
= (double *) 0 ;
9521 PyObject
* obj0
= 0 ;
9522 PyObject
* obj1
= 0 ;
9523 PyObject
* obj2
= 0 ;
9524 PyObject
* obj3
= 0 ;
9525 PyObject
* obj4
= 0 ;
9527 (char *) "self",(char *) "minX",(char *) "minY",(char *) "maxX",(char *) "maxY", NULL
9530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoMetaFile_GetBounds",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9531 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9532 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_double
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9533 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_double
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9534 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_double
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9535 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_double
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9538 (arg1
)->GetBounds(arg2
,arg3
,arg4
,arg5
);
9540 wxPyEndAllowThreads(__tstate
);
9541 if (PyErr_Occurred()) SWIG_fail
;
9543 Py_INCREF(Py_None
); resultobj
= Py_None
;
9550 static PyObject
*_wrap_PseudoMetaFile_CalculateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9551 PyObject
*resultobj
;
9552 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9553 wxPyDrawnShape
*arg2
= (wxPyDrawnShape
*) 0 ;
9554 PyObject
* obj0
= 0 ;
9555 PyObject
* obj1
= 0 ;
9557 (char *) "self",(char *) "shape", NULL
9560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_CalculateSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9561 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9562 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9565 (arg1
)->CalculateSize(arg2
);
9567 wxPyEndAllowThreads(__tstate
);
9568 if (PyErr_Occurred()) SWIG_fail
;
9570 Py_INCREF(Py_None
); resultobj
= Py_None
;
9577 static PyObject
*_wrap_PseudoMetaFile_SetRotateable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9578 PyObject
*resultobj
;
9579 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9581 PyObject
* obj0
= 0 ;
9582 PyObject
* obj1
= 0 ;
9584 (char *) "self",(char *) "rot", NULL
9587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetRotateable",kwnames
,&obj0
,&obj1
)) goto fail
;
9588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9590 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
9591 if (PyErr_Occurred()) SWIG_fail
;
9594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9595 (arg1
)->SetRotateable(arg2
);
9597 wxPyEndAllowThreads(__tstate
);
9598 if (PyErr_Occurred()) SWIG_fail
;
9600 Py_INCREF(Py_None
); resultobj
= Py_None
;
9607 static PyObject
*_wrap_PseudoMetaFile_GetRotateable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9608 PyObject
*resultobj
;
9609 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9611 PyObject
* obj0
= 0 ;
9613 (char *) "self", NULL
9616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_GetRotateable",kwnames
,&obj0
)) goto fail
;
9617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9620 result
= (bool)(arg1
)->GetRotateable();
9622 wxPyEndAllowThreads(__tstate
);
9623 if (PyErr_Occurred()) SWIG_fail
;
9625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9632 static PyObject
*_wrap_PseudoMetaFile_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9633 PyObject
*resultobj
;
9634 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9637 PyObject
* obj0
= 0 ;
9638 PyObject
* obj1
= 0 ;
9639 PyObject
* obj2
= 0 ;
9641 (char *) "self",(char *) "w",(char *) "h", NULL
9644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_SetSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9645 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9647 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
9648 if (PyErr_Occurred()) SWIG_fail
;
9651 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
9652 if (PyErr_Occurred()) SWIG_fail
;
9655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9656 (arg1
)->SetSize(arg2
,arg3
);
9658 wxPyEndAllowThreads(__tstate
);
9659 if (PyErr_Occurred()) SWIG_fail
;
9661 Py_INCREF(Py_None
); resultobj
= Py_None
;
9668 static PyObject
*_wrap_PseudoMetaFile_SetFillBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9669 PyObject
*resultobj
;
9670 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9671 wxBrush
*arg2
= (wxBrush
*) 0 ;
9672 PyObject
* obj0
= 0 ;
9673 PyObject
* obj1
= 0 ;
9675 (char *) "self",(char *) "brush", NULL
9678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetFillBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
9679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9683 if (obj1
== Py_None
) {
9686 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxBrush"))) {
9687 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxBrush.");
9692 arg2
= wxTheBrushList
->FindOrCreateBrush(temp
->GetColour(), temp
->GetStyle());
9697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9698 (arg1
)->SetFillBrush(arg2
);
9700 wxPyEndAllowThreads(__tstate
);
9701 if (PyErr_Occurred()) SWIG_fail
;
9703 Py_INCREF(Py_None
); resultobj
= Py_None
;
9710 static PyObject
*_wrap_PseudoMetaFile_GetFillBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9711 PyObject
*resultobj
;
9712 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9714 PyObject
* obj0
= 0 ;
9716 (char *) "self", NULL
9719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_GetFillBrush",kwnames
,&obj0
)) goto fail
;
9720 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9723 result
= (wxBrush
*)(arg1
)->GetFillBrush();
9725 wxPyEndAllowThreads(__tstate
);
9726 if (PyErr_Occurred()) SWIG_fail
;
9728 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBrush
, 0);
9735 static PyObject
*_wrap_PseudoMetaFile_SetOutlinePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9736 PyObject
*resultobj
;
9737 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9738 wxPen
*arg2
= (wxPen
*) 0 ;
9739 PyObject
* obj0
= 0 ;
9740 PyObject
* obj1
= 0 ;
9742 (char *) "self",(char *) "pen", NULL
9745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetOutlinePen",kwnames
,&obj0
,&obj1
)) goto fail
;
9746 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9750 if (obj1
== Py_None
) {
9753 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
9754 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
9759 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
9766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9767 (arg1
)->SetOutlinePen(arg2
);
9769 wxPyEndAllowThreads(__tstate
);
9770 if (PyErr_Occurred()) SWIG_fail
;
9772 Py_INCREF(Py_None
); resultobj
= Py_None
;
9779 static PyObject
*_wrap_PseudoMetaFile_GetOutlinePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9780 PyObject
*resultobj
;
9781 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9783 PyObject
* obj0
= 0 ;
9785 (char *) "self", NULL
9788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_GetOutlinePen",kwnames
,&obj0
)) goto fail
;
9789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9792 result
= (wxPen
*)(arg1
)->GetOutlinePen();
9794 wxPyEndAllowThreads(__tstate
);
9795 if (PyErr_Occurred()) SWIG_fail
;
9797 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPen
, 0);
9804 static PyObject
*_wrap_PseudoMetaFile_SetOutlineOp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9805 PyObject
*resultobj
;
9806 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9808 PyObject
* obj0
= 0 ;
9809 PyObject
* obj1
= 0 ;
9811 (char *) "self",(char *) "op", NULL
9814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetOutlineOp",kwnames
,&obj0
,&obj1
)) goto fail
;
9815 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9817 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9818 if (PyErr_Occurred()) SWIG_fail
;
9821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9822 (arg1
)->SetOutlineOp(arg2
);
9824 wxPyEndAllowThreads(__tstate
);
9825 if (PyErr_Occurred()) SWIG_fail
;
9827 Py_INCREF(Py_None
); resultobj
= Py_None
;
9834 static PyObject
*_wrap_PseudoMetaFile_GetOutlineOp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9835 PyObject
*resultobj
;
9836 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9838 PyObject
* obj0
= 0 ;
9840 (char *) "self", NULL
9843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_GetOutlineOp",kwnames
,&obj0
)) goto fail
;
9844 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9847 result
= (int)(arg1
)->GetOutlineOp();
9849 wxPyEndAllowThreads(__tstate
);
9850 if (PyErr_Occurred()) SWIG_fail
;
9852 resultobj
= SWIG_PyObj_FromInt((int)result
);
9859 static PyObject
*_wrap_PseudoMetaFile_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9860 PyObject
*resultobj
;
9861 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9863 PyObject
* obj0
= 0 ;
9865 (char *) "self", NULL
9868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_IsValid",kwnames
,&obj0
)) goto fail
;
9869 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9872 result
= (bool)(arg1
)->IsValid();
9874 wxPyEndAllowThreads(__tstate
);
9875 if (PyErr_Occurred()) SWIG_fail
;
9877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9884 static PyObject
*_wrap_PseudoMetaFile_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9885 PyObject
*resultobj
;
9886 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9891 PyObject
* obj0
= 0 ;
9892 PyObject
* obj1
= 0 ;
9893 PyObject
* obj2
= 0 ;
9895 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
9898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9899 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9902 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9906 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9910 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
9912 wxPyEndAllowThreads(__tstate
);
9913 if (PyErr_Occurred()) SWIG_fail
;
9915 Py_INCREF(Py_None
); resultobj
= Py_None
;
9922 static PyObject
*_wrap_PseudoMetaFile_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9923 PyObject
*resultobj
;
9924 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9927 PyObject
* obj0
= 0 ;
9928 PyObject
* obj1
= 0 ;
9930 (char *) "self",(char *) "rect", NULL
9933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_DrawRectangle",kwnames
,&obj0
,&obj1
)) goto fail
;
9934 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9937 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9941 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
9943 wxPyEndAllowThreads(__tstate
);
9944 if (PyErr_Occurred()) SWIG_fail
;
9946 Py_INCREF(Py_None
); resultobj
= Py_None
;
9953 static PyObject
*_wrap_PseudoMetaFile_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9954 PyObject
*resultobj
;
9955 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9959 PyObject
* obj0
= 0 ;
9960 PyObject
* obj1
= 0 ;
9961 PyObject
* obj2
= 0 ;
9963 (char *) "self",(char *) "rect",(char *) "radius", NULL
9966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9967 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9970 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9973 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
9974 if (PyErr_Occurred()) SWIG_fail
;
9977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9978 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
9980 wxPyEndAllowThreads(__tstate
);
9981 if (PyErr_Occurred()) SWIG_fail
;
9983 Py_INCREF(Py_None
); resultobj
= Py_None
;
9990 static PyObject
*_wrap_PseudoMetaFile_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9991 PyObject
*resultobj
;
9992 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9999 PyObject
* obj0
= 0 ;
10000 PyObject
* obj1
= 0 ;
10001 PyObject
* obj2
= 0 ;
10002 PyObject
* obj3
= 0 ;
10003 char *kwnames
[] = {
10004 (char *) "self",(char *) "centrePt",(char *) "startPt",(char *) "endPt", NULL
10007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoMetaFile_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10008 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10011 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10015 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10019 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10023 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
10025 wxPyEndAllowThreads(__tstate
);
10026 if (PyErr_Occurred()) SWIG_fail
;
10028 Py_INCREF(Py_None
); resultobj
= Py_None
;
10035 static PyObject
*_wrap_PseudoMetaFile_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10036 PyObject
*resultobj
;
10037 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10042 PyObject
* obj0
= 0 ;
10043 PyObject
* obj1
= 0 ;
10044 PyObject
* obj2
= 0 ;
10045 PyObject
* obj3
= 0 ;
10046 char *kwnames
[] = {
10047 (char *) "self",(char *) "rect",(char *) "startAngle",(char *) "endAngle", NULL
10050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoMetaFile_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10054 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10057 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
10058 if (PyErr_Occurred()) SWIG_fail
;
10061 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
10062 if (PyErr_Occurred()) SWIG_fail
;
10065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10066 (arg1
)->DrawEllipticArc((wxRect
const &)*arg2
,arg3
,arg4
);
10068 wxPyEndAllowThreads(__tstate
);
10069 if (PyErr_Occurred()) SWIG_fail
;
10071 Py_INCREF(Py_None
); resultobj
= Py_None
;
10078 static PyObject
*_wrap_PseudoMetaFile_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10079 PyObject
*resultobj
;
10080 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10083 PyObject
* obj0
= 0 ;
10084 PyObject
* obj1
= 0 ;
10085 char *kwnames
[] = {
10086 (char *) "self",(char *) "rect", NULL
10089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_DrawEllipse",kwnames
,&obj0
,&obj1
)) goto fail
;
10090 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10093 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10097 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
10099 wxPyEndAllowThreads(__tstate
);
10100 if (PyErr_Occurred()) SWIG_fail
;
10102 Py_INCREF(Py_None
); resultobj
= Py_None
;
10109 static PyObject
*_wrap_PseudoMetaFile_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10110 PyObject
*resultobj
;
10111 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10112 wxPoint
*arg2
= 0 ;
10114 PyObject
* obj0
= 0 ;
10115 PyObject
* obj1
= 0 ;
10116 char *kwnames
[] = {
10117 (char *) "self",(char *) "pt", NULL
10120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_DrawPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
10121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10124 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10128 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
10130 wxPyEndAllowThreads(__tstate
);
10131 if (PyErr_Occurred()) SWIG_fail
;
10133 Py_INCREF(Py_None
); resultobj
= Py_None
;
10140 static PyObject
*_wrap_PseudoMetaFile_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10141 PyObject
*resultobj
;
10142 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10143 wxString
*arg2
= 0 ;
10144 wxPoint
*arg3
= 0 ;
10145 bool temp2
= False
;
10147 PyObject
* obj0
= 0 ;
10148 PyObject
* obj1
= 0 ;
10149 PyObject
* obj2
= 0 ;
10150 char *kwnames
[] = {
10151 (char *) "self",(char *) "text",(char *) "pt", NULL
10154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_DrawText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10155 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10157 arg2
= wxString_in_helper(obj1
);
10158 if (arg2
== NULL
) SWIG_fail
;
10163 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10167 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
10169 wxPyEndAllowThreads(__tstate
);
10170 if (PyErr_Occurred()) SWIG_fail
;
10172 Py_INCREF(Py_None
); resultobj
= Py_None
;
10187 static PyObject
*_wrap_PseudoMetaFile_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10188 PyObject
*resultobj
;
10189 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10191 wxPoint
*arg3
= (wxPoint
*) 0 ;
10192 PyObject
* obj0
= 0 ;
10193 PyObject
* obj1
= 0 ;
10194 PyObject
* obj2
= 0 ;
10195 char *kwnames
[] = {
10196 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
10199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10200 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10202 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10203 if (PyErr_Occurred()) SWIG_fail
;
10205 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10208 (arg1
)->DrawLines(arg2
,arg3
);
10210 wxPyEndAllowThreads(__tstate
);
10211 if (PyErr_Occurred()) SWIG_fail
;
10213 Py_INCREF(Py_None
); resultobj
= Py_None
;
10220 static PyObject
*_wrap_PseudoMetaFile_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10221 PyObject
*resultobj
;
10222 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10224 wxPoint
*arg3
= (wxPoint
*) 0 ;
10225 int arg4
= (int) 0 ;
10226 PyObject
* obj0
= 0 ;
10227 PyObject
* obj1
= 0 ;
10228 PyObject
* obj2
= 0 ;
10229 PyObject
* obj3
= 0 ;
10230 char *kwnames
[] = {
10231 (char *) "self",(char *) "PCOUNT",(char *) "points",(char *) "flags", NULL
10234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoMetaFile_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10235 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10237 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10238 if (PyErr_Occurred()) SWIG_fail
;
10240 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10243 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
10244 if (PyErr_Occurred()) SWIG_fail
;
10248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10249 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
);
10251 wxPyEndAllowThreads(__tstate
);
10252 if (PyErr_Occurred()) SWIG_fail
;
10254 Py_INCREF(Py_None
); resultobj
= Py_None
;
10261 static PyObject
*_wrap_PseudoMetaFile_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10262 PyObject
*resultobj
;
10263 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10265 wxPoint
*arg3
= (wxPoint
*) 0 ;
10266 PyObject
* obj0
= 0 ;
10267 PyObject
* obj1
= 0 ;
10268 PyObject
* obj2
= 0 ;
10269 char *kwnames
[] = {
10270 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
10273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_DrawSpline",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10274 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10276 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10277 if (PyErr_Occurred()) SWIG_fail
;
10279 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10282 (arg1
)->DrawSpline(arg2
,arg3
);
10284 wxPyEndAllowThreads(__tstate
);
10285 if (PyErr_Occurred()) SWIG_fail
;
10287 Py_INCREF(Py_None
); resultobj
= Py_None
;
10294 static PyObject
*_wrap_PseudoMetaFile_SetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10295 PyObject
*resultobj
;
10296 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10299 PyObject
* obj0
= 0 ;
10300 PyObject
* obj1
= 0 ;
10301 char *kwnames
[] = {
10302 (char *) "self",(char *) "rect", NULL
10305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10306 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10309 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10313 (arg1
)->SetClippingRect((wxRect
const &)*arg2
);
10315 wxPyEndAllowThreads(__tstate
);
10316 if (PyErr_Occurred()) SWIG_fail
;
10318 Py_INCREF(Py_None
); resultobj
= Py_None
;
10325 static PyObject
*_wrap_PseudoMetaFile_DestroyClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10326 PyObject
*resultobj
;
10327 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10328 PyObject
* obj0
= 0 ;
10329 char *kwnames
[] = {
10330 (char *) "self", NULL
10333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_DestroyClippingRect",kwnames
,&obj0
)) goto fail
;
10334 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10337 (arg1
)->DestroyClippingRect();
10339 wxPyEndAllowThreads(__tstate
);
10340 if (PyErr_Occurred()) SWIG_fail
;
10342 Py_INCREF(Py_None
); resultobj
= Py_None
;
10349 static PyObject
*_wrap_PseudoMetaFile_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10350 PyObject
*resultobj
;
10351 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10352 wxPen
*arg2
= (wxPen
*) 0 ;
10353 bool arg3
= (bool) FALSE
;
10354 PyObject
* obj0
= 0 ;
10355 PyObject
* obj1
= 0 ;
10356 PyObject
* obj2
= 0 ;
10357 char *kwnames
[] = {
10358 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
10361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoMetaFile_SetPen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10362 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10366 if (obj1
== Py_None
) {
10369 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
10370 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
10375 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
10383 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
10384 if (PyErr_Occurred()) SWIG_fail
;
10388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10389 (arg1
)->SetPen(arg2
,arg3
);
10391 wxPyEndAllowThreads(__tstate
);
10392 if (PyErr_Occurred()) SWIG_fail
;
10394 Py_INCREF(Py_None
); resultobj
= Py_None
;
10401 static PyObject
*_wrap_PseudoMetaFile_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10402 PyObject
*resultobj
;
10403 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10404 wxBrush
*arg2
= (wxBrush
*) 0 ;
10405 bool arg3
= (bool) FALSE
;
10406 PyObject
* obj0
= 0 ;
10407 PyObject
* obj1
= 0 ;
10408 PyObject
* obj2
= 0 ;
10409 char *kwnames
[] = {
10410 (char *) "self",(char *) "brush",(char *) "isFill", NULL
10413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoMetaFile_SetBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10418 if (obj1
== Py_None
) {
10421 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxBrush"))) {
10422 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxBrush.");
10427 arg2
= wxTheBrushList
->FindOrCreateBrush(temp
->GetColour(), temp
->GetStyle());
10433 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
10434 if (PyErr_Occurred()) SWIG_fail
;
10438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10439 (arg1
)->SetBrush(arg2
,arg3
);
10441 wxPyEndAllowThreads(__tstate
);
10442 if (PyErr_Occurred()) SWIG_fail
;
10444 Py_INCREF(Py_None
); resultobj
= Py_None
;
10451 static PyObject
*_wrap_PseudoMetaFile_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10452 PyObject
*resultobj
;
10453 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10454 wxFont
*arg2
= (wxFont
*) 0 ;
10455 PyObject
* obj0
= 0 ;
10456 PyObject
* obj1
= 0 ;
10457 char *kwnames
[] = {
10458 (char *) "self",(char *) "font", NULL
10461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
10462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10466 if (obj1
== Py_None
) {
10469 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxFont"))) {
10470 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxFont.");
10475 arg2
= wxTheFontList
->FindOrCreateFont(temp
->GetPointSize(),
10479 temp
->GetUnderlined(),
10480 temp
->GetFaceName(),
10481 temp
->GetEncoding());
10486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10487 (arg1
)->SetFont(arg2
);
10489 wxPyEndAllowThreads(__tstate
);
10490 if (PyErr_Occurred()) SWIG_fail
;
10492 Py_INCREF(Py_None
); resultobj
= Py_None
;
10499 static PyObject
*_wrap_PseudoMetaFile_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10500 PyObject
*resultobj
;
10501 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10502 wxColour
*arg2
= 0 ;
10504 PyObject
* obj0
= 0 ;
10505 PyObject
* obj1
= 0 ;
10506 char *kwnames
[] = {
10507 (char *) "self",(char *) "colour", NULL
10510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10511 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10514 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10518 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
10520 wxPyEndAllowThreads(__tstate
);
10521 if (PyErr_Occurred()) SWIG_fail
;
10523 Py_INCREF(Py_None
); resultobj
= Py_None
;
10530 static PyObject
*_wrap_PseudoMetaFile_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10531 PyObject
*resultobj
;
10532 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10533 wxColour
*arg2
= 0 ;
10535 PyObject
* obj0
= 0 ;
10536 PyObject
* obj1
= 0 ;
10537 char *kwnames
[] = {
10538 (char *) "self",(char *) "colour", NULL
10541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10545 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10549 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
10551 wxPyEndAllowThreads(__tstate
);
10552 if (PyErr_Occurred()) SWIG_fail
;
10554 Py_INCREF(Py_None
); resultobj
= Py_None
;
10561 static PyObject
*_wrap_PseudoMetaFile_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10562 PyObject
*resultobj
;
10563 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10565 PyObject
* obj0
= 0 ;
10566 PyObject
* obj1
= 0 ;
10567 char *kwnames
[] = {
10568 (char *) "self",(char *) "mode", NULL
10571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
10572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10574 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10575 if (PyErr_Occurred()) SWIG_fail
;
10578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10579 (arg1
)->SetBackgroundMode(arg2
);
10581 wxPyEndAllowThreads(__tstate
);
10582 if (PyErr_Occurred()) SWIG_fail
;
10584 Py_INCREF(Py_None
); resultobj
= Py_None
;
10591 static PyObject
* PseudoMetaFile_swigregister(PyObject
*self
, PyObject
*args
) {
10593 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10594 SWIG_TypeClientData(SWIGTYPE_p_wxPseudoMetaFile
, obj
);
10596 return Py_BuildValue((char *)"");
10598 static PyObject
*_wrap_new_PyRectangleShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10599 PyObject
*resultobj
;
10600 double arg1
= (double) 0.0 ;
10601 double arg2
= (double) 0.0 ;
10602 wxPyRectangleShape
*result
;
10603 PyObject
* obj0
= 0 ;
10604 PyObject
* obj1
= 0 ;
10605 char *kwnames
[] = {
10606 (char *) "width",(char *) "height", NULL
10609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyRectangleShape",kwnames
,&obj0
,&obj1
)) goto fail
;
10612 arg1
= (double) SWIG_PyObj_AsDouble(obj0
);
10613 if (PyErr_Occurred()) SWIG_fail
;
10618 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
10619 if (PyErr_Occurred()) SWIG_fail
;
10623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10624 result
= (wxPyRectangleShape
*)new wxPyRectangleShape(arg1
,arg2
);
10626 wxPyEndAllowThreads(__tstate
);
10627 if (PyErr_Occurred()) SWIG_fail
;
10629 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyRectangleShape
, 1);
10636 static PyObject
*_wrap_PyRectangleShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10637 PyObject
*resultobj
;
10638 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10639 PyObject
*arg2
= (PyObject
*) 0 ;
10640 PyObject
*arg3
= (PyObject
*) 0 ;
10641 PyObject
* obj0
= 0 ;
10642 PyObject
* obj1
= 0 ;
10643 PyObject
* obj2
= 0 ;
10644 char *kwnames
[] = {
10645 (char *) "self",(char *) "self",(char *) "_class", NULL
10648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyRectangleShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10654 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10656 wxPyEndAllowThreads(__tstate
);
10657 if (PyErr_Occurred()) SWIG_fail
;
10659 Py_INCREF(Py_None
); resultobj
= Py_None
;
10666 static PyObject
*_wrap_PyRectangleShape_SetCornerRadius(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10667 PyObject
*resultobj
;
10668 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10670 PyObject
* obj0
= 0 ;
10671 PyObject
* obj1
= 0 ;
10672 char *kwnames
[] = {
10673 (char *) "self",(char *) "radius", NULL
10676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_SetCornerRadius",kwnames
,&obj0
,&obj1
)) goto fail
;
10677 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10679 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
10680 if (PyErr_Occurred()) SWIG_fail
;
10683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10684 (arg1
)->SetCornerRadius(arg2
);
10686 wxPyEndAllowThreads(__tstate
);
10687 if (PyErr_Occurred()) SWIG_fail
;
10689 Py_INCREF(Py_None
); resultobj
= Py_None
;
10696 static PyObject
*_wrap_PyRectangleShape_GetCornerRadius(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10697 PyObject
*resultobj
;
10698 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10700 PyObject
* obj0
= 0 ;
10701 char *kwnames
[] = {
10702 (char *) "self", NULL
10705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyRectangleShape_GetCornerRadius",kwnames
,&obj0
)) goto fail
;
10706 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10709 result
= (double)(arg1
)->GetCornerRadius();
10711 wxPyEndAllowThreads(__tstate
);
10712 if (PyErr_Occurred()) SWIG_fail
;
10714 resultobj
= SWIG_PyObj_FromDouble((double)result
);
10721 static PyObject
*_wrap_PyRectangleShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10722 PyObject
*resultobj
;
10723 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10724 PyObject
* obj0
= 0 ;
10725 char *kwnames
[] = {
10726 (char *) "self", NULL
10729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyRectangleShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
10730 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10733 (arg1
)->base_OnDelete();
10735 wxPyEndAllowThreads(__tstate
);
10736 if (PyErr_Occurred()) SWIG_fail
;
10738 Py_INCREF(Py_None
); resultobj
= Py_None
;
10745 static PyObject
*_wrap_PyRectangleShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10746 PyObject
*resultobj
;
10747 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10749 PyObject
* obj0
= 0 ;
10750 PyObject
* obj1
= 0 ;
10751 char *kwnames
[] = {
10752 (char *) "self",(char *) "dc", NULL
10755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
10756 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10757 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10758 if (arg2
== NULL
) {
10759 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10763 (arg1
)->base_OnDraw(*arg2
);
10765 wxPyEndAllowThreads(__tstate
);
10766 if (PyErr_Occurred()) SWIG_fail
;
10768 Py_INCREF(Py_None
); resultobj
= Py_None
;
10775 static PyObject
*_wrap_PyRectangleShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10776 PyObject
*resultobj
;
10777 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10779 PyObject
* obj0
= 0 ;
10780 PyObject
* obj1
= 0 ;
10781 char *kwnames
[] = {
10782 (char *) "self",(char *) "dc", NULL
10785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
10786 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10787 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10788 if (arg2
== NULL
) {
10789 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10793 (arg1
)->base_OnDrawContents(*arg2
);
10795 wxPyEndAllowThreads(__tstate
);
10796 if (PyErr_Occurred()) SWIG_fail
;
10798 Py_INCREF(Py_None
); resultobj
= Py_None
;
10805 static PyObject
*_wrap_PyRectangleShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10806 PyObject
*resultobj
;
10807 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10809 bool arg3
= (bool) FALSE
;
10810 PyObject
* obj0
= 0 ;
10811 PyObject
* obj1
= 0 ;
10812 PyObject
* obj2
= 0 ;
10813 char *kwnames
[] = {
10814 (char *) "self",(char *) "dc",(char *) "erase", NULL
10817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyRectangleShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10819 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10820 if (arg2
== NULL
) {
10821 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10825 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
10826 if (PyErr_Occurred()) SWIG_fail
;
10830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10831 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
10833 wxPyEndAllowThreads(__tstate
);
10834 if (PyErr_Occurred()) SWIG_fail
;
10836 Py_INCREF(Py_None
); resultobj
= Py_None
;
10843 static PyObject
*_wrap_PyRectangleShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10844 PyObject
*resultobj
;
10845 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10847 PyObject
* obj0
= 0 ;
10848 PyObject
* obj1
= 0 ;
10849 char *kwnames
[] = {
10850 (char *) "self",(char *) "dc", NULL
10853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
10854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10855 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10856 if (arg2
== NULL
) {
10857 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10861 (arg1
)->base_OnMoveLinks(*arg2
);
10863 wxPyEndAllowThreads(__tstate
);
10864 if (PyErr_Occurred()) SWIG_fail
;
10866 Py_INCREF(Py_None
); resultobj
= Py_None
;
10873 static PyObject
*_wrap_PyRectangleShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10874 PyObject
*resultobj
;
10875 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10877 PyObject
* obj0
= 0 ;
10878 PyObject
* obj1
= 0 ;
10879 char *kwnames
[] = {
10880 (char *) "self",(char *) "dc", NULL
10883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
10884 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10885 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10886 if (arg2
== NULL
) {
10887 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10891 (arg1
)->base_OnErase(*arg2
);
10893 wxPyEndAllowThreads(__tstate
);
10894 if (PyErr_Occurred()) SWIG_fail
;
10896 Py_INCREF(Py_None
); resultobj
= Py_None
;
10903 static PyObject
*_wrap_PyRectangleShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10904 PyObject
*resultobj
;
10905 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10907 PyObject
* obj0
= 0 ;
10908 PyObject
* obj1
= 0 ;
10909 char *kwnames
[] = {
10910 (char *) "self",(char *) "dc", NULL
10913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
10914 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10915 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10916 if (arg2
== NULL
) {
10917 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10921 (arg1
)->base_OnEraseContents(*arg2
);
10923 wxPyEndAllowThreads(__tstate
);
10924 if (PyErr_Occurred()) SWIG_fail
;
10926 Py_INCREF(Py_None
); resultobj
= Py_None
;
10933 static PyObject
*_wrap_PyRectangleShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10934 PyObject
*resultobj
;
10935 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10937 PyObject
* obj0
= 0 ;
10938 PyObject
* obj1
= 0 ;
10939 char *kwnames
[] = {
10940 (char *) "self",(char *) "dc", NULL
10943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
10944 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10945 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10946 if (arg2
== NULL
) {
10947 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10951 (arg1
)->base_OnHighlight(*arg2
);
10953 wxPyEndAllowThreads(__tstate
);
10954 if (PyErr_Occurred()) SWIG_fail
;
10956 Py_INCREF(Py_None
); resultobj
= Py_None
;
10963 static PyObject
*_wrap_PyRectangleShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10964 PyObject
*resultobj
;
10965 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10968 int arg4
= (int) 0 ;
10969 int arg5
= (int) 0 ;
10970 PyObject
* obj0
= 0 ;
10971 PyObject
* obj1
= 0 ;
10972 PyObject
* obj2
= 0 ;
10973 PyObject
* obj3
= 0 ;
10974 PyObject
* obj4
= 0 ;
10975 char *kwnames
[] = {
10976 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10980 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10982 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
10983 if (PyErr_Occurred()) SWIG_fail
;
10986 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
10987 if (PyErr_Occurred()) SWIG_fail
;
10991 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
10992 if (PyErr_Occurred()) SWIG_fail
;
10997 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
10998 if (PyErr_Occurred()) SWIG_fail
;
11002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11003 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
11005 wxPyEndAllowThreads(__tstate
);
11006 if (PyErr_Occurred()) SWIG_fail
;
11008 Py_INCREF(Py_None
); resultobj
= Py_None
;
11015 static PyObject
*_wrap_PyRectangleShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11016 PyObject
*resultobj
;
11017 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11020 int arg4
= (int) 0 ;
11021 int arg5
= (int) 0 ;
11022 PyObject
* obj0
= 0 ;
11023 PyObject
* obj1
= 0 ;
11024 PyObject
* obj2
= 0 ;
11025 PyObject
* obj3
= 0 ;
11026 PyObject
* obj4
= 0 ;
11027 char *kwnames
[] = {
11028 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11032 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11034 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
11035 if (PyErr_Occurred()) SWIG_fail
;
11038 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
11039 if (PyErr_Occurred()) SWIG_fail
;
11043 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11044 if (PyErr_Occurred()) SWIG_fail
;
11049 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
11050 if (PyErr_Occurred()) SWIG_fail
;
11054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11055 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
11057 wxPyEndAllowThreads(__tstate
);
11058 if (PyErr_Occurred()) SWIG_fail
;
11060 Py_INCREF(Py_None
); resultobj
= Py_None
;
11067 static PyObject
*_wrap_PyRectangleShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11068 PyObject
*resultobj
;
11069 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11072 int arg4
= (int) 0 ;
11073 int arg5
= (int) 0 ;
11074 PyObject
* obj0
= 0 ;
11075 PyObject
* obj1
= 0 ;
11076 PyObject
* obj2
= 0 ;
11077 PyObject
* obj3
= 0 ;
11078 PyObject
* obj4
= 0 ;
11079 char *kwnames
[] = {
11080 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11084 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11086 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
11087 if (PyErr_Occurred()) SWIG_fail
;
11090 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
11091 if (PyErr_Occurred()) SWIG_fail
;
11095 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11096 if (PyErr_Occurred()) SWIG_fail
;
11101 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
11102 if (PyErr_Occurred()) SWIG_fail
;
11106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11107 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
11109 wxPyEndAllowThreads(__tstate
);
11110 if (PyErr_Occurred()) SWIG_fail
;
11112 Py_INCREF(Py_None
); resultobj
= Py_None
;
11119 static PyObject
*_wrap_PyRectangleShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11120 PyObject
*resultobj
;
11121 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11124 PyObject
* obj0
= 0 ;
11125 PyObject
* obj1
= 0 ;
11126 PyObject
* obj2
= 0 ;
11127 char *kwnames
[] = {
11128 (char *) "self",(char *) "x",(char *) "y", NULL
11131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyRectangleShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11132 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11134 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
11135 if (PyErr_Occurred()) SWIG_fail
;
11138 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
11139 if (PyErr_Occurred()) SWIG_fail
;
11142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11143 (arg1
)->base_OnSize(arg2
,arg3
);
11145 wxPyEndAllowThreads(__tstate
);
11146 if (PyErr_Occurred()) SWIG_fail
;
11148 Py_INCREF(Py_None
); resultobj
= Py_None
;
11155 static PyObject
*_wrap_PyRectangleShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11156 PyObject
*resultobj
;
11157 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11163 bool arg7
= (bool) True
;
11165 PyObject
* obj0
= 0 ;
11166 PyObject
* obj1
= 0 ;
11167 PyObject
* obj2
= 0 ;
11168 PyObject
* obj3
= 0 ;
11169 PyObject
* obj4
= 0 ;
11170 PyObject
* obj5
= 0 ;
11171 PyObject
* obj6
= 0 ;
11172 char *kwnames
[] = {
11173 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
11176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyRectangleShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11178 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11179 if (arg2
== NULL
) {
11180 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11183 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
11184 if (PyErr_Occurred()) SWIG_fail
;
11187 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
11188 if (PyErr_Occurred()) SWIG_fail
;
11191 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
11192 if (PyErr_Occurred()) SWIG_fail
;
11195 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
11196 if (PyErr_Occurred()) SWIG_fail
;
11200 arg7
= (bool) SWIG_PyObj_AsBool(obj6
);
11201 if (PyErr_Occurred()) SWIG_fail
;
11205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11206 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11208 wxPyEndAllowThreads(__tstate
);
11209 if (PyErr_Occurred()) SWIG_fail
;
11211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11218 static PyObject
*_wrap_PyRectangleShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11219 PyObject
*resultobj
;
11220 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11226 bool arg7
= (bool) True
;
11227 PyObject
* obj0
= 0 ;
11228 PyObject
* obj1
= 0 ;
11229 PyObject
* obj2
= 0 ;
11230 PyObject
* obj3
= 0 ;
11231 PyObject
* obj4
= 0 ;
11232 PyObject
* obj5
= 0 ;
11233 PyObject
* obj6
= 0 ;
11234 char *kwnames
[] = {
11235 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
11238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyRectangleShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11239 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11240 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11241 if (arg2
== NULL
) {
11242 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11245 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
11246 if (PyErr_Occurred()) SWIG_fail
;
11249 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
11250 if (PyErr_Occurred()) SWIG_fail
;
11253 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
11254 if (PyErr_Occurred()) SWIG_fail
;
11257 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
11258 if (PyErr_Occurred()) SWIG_fail
;
11262 arg7
= (bool) SWIG_PyObj_AsBool(obj6
);
11263 if (PyErr_Occurred()) SWIG_fail
;
11267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11268 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11270 wxPyEndAllowThreads(__tstate
);
11271 if (PyErr_Occurred()) SWIG_fail
;
11273 Py_INCREF(Py_None
); resultobj
= Py_None
;
11280 static PyObject
*_wrap_PyRectangleShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11281 PyObject
*resultobj
;
11282 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11286 int arg5
= (int) 0 ;
11287 int arg6
= (int) 0 ;
11288 PyObject
* obj0
= 0 ;
11289 PyObject
* obj1
= 0 ;
11290 PyObject
* obj2
= 0 ;
11291 PyObject
* obj3
= 0 ;
11292 PyObject
* obj4
= 0 ;
11293 PyObject
* obj5
= 0 ;
11294 char *kwnames
[] = {
11295 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyRectangleShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11301 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
11302 if (PyErr_Occurred()) SWIG_fail
;
11305 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
11306 if (PyErr_Occurred()) SWIG_fail
;
11309 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
11310 if (PyErr_Occurred()) SWIG_fail
;
11314 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
11315 if (PyErr_Occurred()) SWIG_fail
;
11320 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
11321 if (PyErr_Occurred()) SWIG_fail
;
11325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11326 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
11328 wxPyEndAllowThreads(__tstate
);
11329 if (PyErr_Occurred()) SWIG_fail
;
11331 Py_INCREF(Py_None
); resultobj
= Py_None
;
11338 static PyObject
*_wrap_PyRectangleShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11339 PyObject
*resultobj
;
11340 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11343 int arg4
= (int) 0 ;
11344 int arg5
= (int) 0 ;
11345 PyObject
* obj0
= 0 ;
11346 PyObject
* obj1
= 0 ;
11347 PyObject
* obj2
= 0 ;
11348 PyObject
* obj3
= 0 ;
11349 PyObject
* obj4
= 0 ;
11350 char *kwnames
[] = {
11351 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11357 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
11358 if (PyErr_Occurred()) SWIG_fail
;
11361 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
11362 if (PyErr_Occurred()) SWIG_fail
;
11366 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11367 if (PyErr_Occurred()) SWIG_fail
;
11372 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
11373 if (PyErr_Occurred()) SWIG_fail
;
11377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11378 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
11380 wxPyEndAllowThreads(__tstate
);
11381 if (PyErr_Occurred()) SWIG_fail
;
11383 Py_INCREF(Py_None
); resultobj
= Py_None
;
11390 static PyObject
*_wrap_PyRectangleShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11391 PyObject
*resultobj
;
11392 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11395 int arg4
= (int) 0 ;
11396 int arg5
= (int) 0 ;
11397 PyObject
* obj0
= 0 ;
11398 PyObject
* obj1
= 0 ;
11399 PyObject
* obj2
= 0 ;
11400 PyObject
* obj3
= 0 ;
11401 PyObject
* obj4
= 0 ;
11402 char *kwnames
[] = {
11403 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11407 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11409 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
11410 if (PyErr_Occurred()) SWIG_fail
;
11413 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
11414 if (PyErr_Occurred()) SWIG_fail
;
11418 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11419 if (PyErr_Occurred()) SWIG_fail
;
11424 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
11425 if (PyErr_Occurred()) SWIG_fail
;
11429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11430 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
11432 wxPyEndAllowThreads(__tstate
);
11433 if (PyErr_Occurred()) SWIG_fail
;
11435 Py_INCREF(Py_None
); resultobj
= Py_None
;
11442 static PyObject
*_wrap_PyRectangleShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11443 PyObject
*resultobj
;
11444 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11448 int arg5
= (int) 0 ;
11449 int arg6
= (int) 0 ;
11450 PyObject
* obj0
= 0 ;
11451 PyObject
* obj1
= 0 ;
11452 PyObject
* obj2
= 0 ;
11453 PyObject
* obj3
= 0 ;
11454 PyObject
* obj4
= 0 ;
11455 PyObject
* obj5
= 0 ;
11456 char *kwnames
[] = {
11457 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyRectangleShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11461 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11463 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
11464 if (PyErr_Occurred()) SWIG_fail
;
11467 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
11468 if (PyErr_Occurred()) SWIG_fail
;
11471 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
11472 if (PyErr_Occurred()) SWIG_fail
;
11476 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
11477 if (PyErr_Occurred()) SWIG_fail
;
11482 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
11483 if (PyErr_Occurred()) SWIG_fail
;
11487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11488 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
11490 wxPyEndAllowThreads(__tstate
);
11491 if (PyErr_Occurred()) SWIG_fail
;
11493 Py_INCREF(Py_None
); resultobj
= Py_None
;
11500 static PyObject
*_wrap_PyRectangleShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11501 PyObject
*resultobj
;
11502 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11505 int arg4
= (int) 0 ;
11506 int arg5
= (int) 0 ;
11507 PyObject
* obj0
= 0 ;
11508 PyObject
* obj1
= 0 ;
11509 PyObject
* obj2
= 0 ;
11510 PyObject
* obj3
= 0 ;
11511 PyObject
* obj4
= 0 ;
11512 char *kwnames
[] = {
11513 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11517 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11519 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
11520 if (PyErr_Occurred()) SWIG_fail
;
11523 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
11524 if (PyErr_Occurred()) SWIG_fail
;
11528 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11529 if (PyErr_Occurred()) SWIG_fail
;
11534 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
11535 if (PyErr_Occurred()) SWIG_fail
;
11539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11540 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
11542 wxPyEndAllowThreads(__tstate
);
11543 if (PyErr_Occurred()) SWIG_fail
;
11545 Py_INCREF(Py_None
); resultobj
= Py_None
;
11552 static PyObject
*_wrap_PyRectangleShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11553 PyObject
*resultobj
;
11554 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11557 int arg4
= (int) 0 ;
11558 int arg5
= (int) 0 ;
11559 PyObject
* obj0
= 0 ;
11560 PyObject
* obj1
= 0 ;
11561 PyObject
* obj2
= 0 ;
11562 PyObject
* obj3
= 0 ;
11563 PyObject
* obj4
= 0 ;
11564 char *kwnames
[] = {
11565 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11569 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11571 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
11572 if (PyErr_Occurred()) SWIG_fail
;
11575 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
11576 if (PyErr_Occurred()) SWIG_fail
;
11580 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11581 if (PyErr_Occurred()) SWIG_fail
;
11586 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
11587 if (PyErr_Occurred()) SWIG_fail
;
11591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11592 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
11594 wxPyEndAllowThreads(__tstate
);
11595 if (PyErr_Occurred()) SWIG_fail
;
11597 Py_INCREF(Py_None
); resultobj
= Py_None
;
11604 static PyObject
*_wrap_PyRectangleShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11605 PyObject
*resultobj
;
11606 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11612 PyObject
* obj0
= 0 ;
11613 PyObject
* obj1
= 0 ;
11614 PyObject
* obj2
= 0 ;
11615 PyObject
* obj3
= 0 ;
11616 PyObject
* obj4
= 0 ;
11617 PyObject
* obj5
= 0 ;
11618 char *kwnames
[] = {
11619 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
11622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyRectangleShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11623 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11624 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11625 if (arg2
== NULL
) {
11626 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11629 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
11630 if (PyErr_Occurred()) SWIG_fail
;
11633 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
11634 if (PyErr_Occurred()) SWIG_fail
;
11637 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
11638 if (PyErr_Occurred()) SWIG_fail
;
11641 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
11642 if (PyErr_Occurred()) SWIG_fail
;
11645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11646 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
11648 wxPyEndAllowThreads(__tstate
);
11649 if (PyErr_Occurred()) SWIG_fail
;
11651 Py_INCREF(Py_None
); resultobj
= Py_None
;
11658 static PyObject
*_wrap_PyRectangleShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11659 PyObject
*resultobj
;
11660 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11662 PyObject
* obj0
= 0 ;
11663 PyObject
* obj1
= 0 ;
11664 char *kwnames
[] = {
11665 (char *) "self",(char *) "dc", NULL
11668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
11669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11670 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11671 if (arg2
== NULL
) {
11672 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11676 (arg1
)->base_OnDrawControlPoints(*arg2
);
11678 wxPyEndAllowThreads(__tstate
);
11679 if (PyErr_Occurred()) SWIG_fail
;
11681 Py_INCREF(Py_None
); resultobj
= Py_None
;
11688 static PyObject
*_wrap_PyRectangleShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11689 PyObject
*resultobj
;
11690 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11692 PyObject
* obj0
= 0 ;
11693 PyObject
* obj1
= 0 ;
11694 char *kwnames
[] = {
11695 (char *) "self",(char *) "dc", NULL
11698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
11699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11700 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11701 if (arg2
== NULL
) {
11702 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11706 (arg1
)->base_OnEraseControlPoints(*arg2
);
11708 wxPyEndAllowThreads(__tstate
);
11709 if (PyErr_Occurred()) SWIG_fail
;
11711 Py_INCREF(Py_None
); resultobj
= Py_None
;
11718 static PyObject
*_wrap_PyRectangleShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11719 PyObject
*resultobj
;
11720 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11722 bool arg3
= (bool) True
;
11723 PyObject
* obj0
= 0 ;
11724 PyObject
* obj1
= 0 ;
11725 PyObject
* obj2
= 0 ;
11726 char *kwnames
[] = {
11727 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
11730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyRectangleShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11732 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11733 if (arg2
== NULL
) {
11734 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11738 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
11739 if (PyErr_Occurred()) SWIG_fail
;
11743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11744 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
11746 wxPyEndAllowThreads(__tstate
);
11747 if (PyErr_Occurred()) SWIG_fail
;
11749 Py_INCREF(Py_None
); resultobj
= Py_None
;
11756 static PyObject
*_wrap_PyRectangleShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11757 PyObject
*resultobj
;
11758 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11759 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
11763 int arg6
= (int) 0 ;
11764 int arg7
= (int) 0 ;
11765 PyObject
* obj0
= 0 ;
11766 PyObject
* obj1
= 0 ;
11767 PyObject
* obj2
= 0 ;
11768 PyObject
* obj3
= 0 ;
11769 PyObject
* obj4
= 0 ;
11770 PyObject
* obj5
= 0 ;
11771 PyObject
* obj6
= 0 ;
11772 char *kwnames
[] = {
11773 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyRectangleShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11778 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11780 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
11781 if (PyErr_Occurred()) SWIG_fail
;
11784 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
11785 if (PyErr_Occurred()) SWIG_fail
;
11788 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
11789 if (PyErr_Occurred()) SWIG_fail
;
11793 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
11794 if (PyErr_Occurred()) SWIG_fail
;
11799 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
11800 if (PyErr_Occurred()) SWIG_fail
;
11804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11805 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11807 wxPyEndAllowThreads(__tstate
);
11808 if (PyErr_Occurred()) SWIG_fail
;
11810 Py_INCREF(Py_None
); resultobj
= Py_None
;
11817 static PyObject
*_wrap_PyRectangleShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11818 PyObject
*resultobj
;
11819 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11820 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
11823 int arg5
= (int) 0 ;
11824 int arg6
= (int) 0 ;
11825 PyObject
* obj0
= 0 ;
11826 PyObject
* obj1
= 0 ;
11827 PyObject
* obj2
= 0 ;
11828 PyObject
* obj3
= 0 ;
11829 PyObject
* obj4
= 0 ;
11830 PyObject
* obj5
= 0 ;
11831 char *kwnames
[] = {
11832 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyRectangleShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11836 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11837 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11839 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
11840 if (PyErr_Occurred()) SWIG_fail
;
11843 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
11844 if (PyErr_Occurred()) SWIG_fail
;
11848 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
11849 if (PyErr_Occurred()) SWIG_fail
;
11854 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
11855 if (PyErr_Occurred()) SWIG_fail
;
11859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11860 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
11862 wxPyEndAllowThreads(__tstate
);
11863 if (PyErr_Occurred()) SWIG_fail
;
11865 Py_INCREF(Py_None
); resultobj
= Py_None
;
11872 static PyObject
*_wrap_PyRectangleShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11873 PyObject
*resultobj
;
11874 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11875 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
11878 int arg5
= (int) 0 ;
11879 int arg6
= (int) 0 ;
11880 PyObject
* obj0
= 0 ;
11881 PyObject
* obj1
= 0 ;
11882 PyObject
* obj2
= 0 ;
11883 PyObject
* obj3
= 0 ;
11884 PyObject
* obj4
= 0 ;
11885 PyObject
* obj5
= 0 ;
11886 char *kwnames
[] = {
11887 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyRectangleShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11891 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11892 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11894 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
11895 if (PyErr_Occurred()) SWIG_fail
;
11898 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
11899 if (PyErr_Occurred()) SWIG_fail
;
11903 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
11904 if (PyErr_Occurred()) SWIG_fail
;
11909 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
11910 if (PyErr_Occurred()) SWIG_fail
;
11914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11915 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
11917 wxPyEndAllowThreads(__tstate
);
11918 if (PyErr_Occurred()) SWIG_fail
;
11920 Py_INCREF(Py_None
); resultobj
= Py_None
;
11927 static PyObject
*_wrap_PyRectangleShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11928 PyObject
*resultobj
;
11929 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11932 PyObject
* obj0
= 0 ;
11933 PyObject
* obj1
= 0 ;
11934 PyObject
* obj2
= 0 ;
11935 char *kwnames
[] = {
11936 (char *) "self",(char *) "w",(char *) "h", NULL
11939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyRectangleShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11942 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
11943 if (PyErr_Occurred()) SWIG_fail
;
11946 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
11947 if (PyErr_Occurred()) SWIG_fail
;
11950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11951 (arg1
)->base_OnBeginSize(arg2
,arg3
);
11953 wxPyEndAllowThreads(__tstate
);
11954 if (PyErr_Occurred()) SWIG_fail
;
11956 Py_INCREF(Py_None
); resultobj
= Py_None
;
11963 static PyObject
*_wrap_PyRectangleShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11964 PyObject
*resultobj
;
11965 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11968 PyObject
* obj0
= 0 ;
11969 PyObject
* obj1
= 0 ;
11970 PyObject
* obj2
= 0 ;
11971 char *kwnames
[] = {
11972 (char *) "self",(char *) "w",(char *) "h", NULL
11975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyRectangleShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11976 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11978 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
11979 if (PyErr_Occurred()) SWIG_fail
;
11982 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
11983 if (PyErr_Occurred()) SWIG_fail
;
11986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11987 (arg1
)->base_OnEndSize(arg2
,arg3
);
11989 wxPyEndAllowThreads(__tstate
);
11990 if (PyErr_Occurred()) SWIG_fail
;
11992 Py_INCREF(Py_None
); resultobj
= Py_None
;
11999 static PyObject
* PyRectangleShape_swigregister(PyObject
*self
, PyObject
*args
) {
12001 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12002 SWIG_TypeClientData(SWIGTYPE_p_wxPyRectangleShape
, obj
);
12004 return Py_BuildValue((char *)"");
12006 static PyObject
*_wrap_new_PyControlPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12007 PyObject
*resultobj
;
12008 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) NULL
;
12009 wxPyShape
*arg2
= (wxPyShape
*) NULL
;
12010 double arg3
= (double) 0.0 ;
12011 double arg4
= (double) 0.0 ;
12012 double arg5
= (double) 0.0 ;
12013 int arg6
= (int) 0 ;
12014 wxPyControlPoint
*result
;
12015 PyObject
* obj0
= 0 ;
12016 PyObject
* obj1
= 0 ;
12017 PyObject
* obj2
= 0 ;
12018 PyObject
* obj3
= 0 ;
12019 PyObject
* obj4
= 0 ;
12020 PyObject
* obj5
= 0 ;
12021 char *kwnames
[] = {
12022 (char *) "the_canvas",(char *) "object",(char *) "size",(char *) "the_xoffset",(char *) "the_yoffset",(char *) "the_type", NULL
12025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_PyControlPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12030 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12034 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
12035 if (PyErr_Occurred()) SWIG_fail
;
12040 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
12041 if (PyErr_Occurred()) SWIG_fail
;
12046 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
12047 if (PyErr_Occurred()) SWIG_fail
;
12052 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
12053 if (PyErr_Occurred()) SWIG_fail
;
12057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12058 result
= (wxPyControlPoint
*)new wxPyControlPoint(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
12060 wxPyEndAllowThreads(__tstate
);
12061 if (PyErr_Occurred()) SWIG_fail
;
12063 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyControlPoint
, 1);
12070 static PyObject
*_wrap_PyControlPoint__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12071 PyObject
*resultobj
;
12072 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12073 PyObject
*arg2
= (PyObject
*) 0 ;
12074 PyObject
*arg3
= (PyObject
*) 0 ;
12075 PyObject
* obj0
= 0 ;
12076 PyObject
* obj1
= 0 ;
12077 PyObject
* obj2
= 0 ;
12078 char *kwnames
[] = {
12079 (char *) "self",(char *) "self",(char *) "_class", NULL
12082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControlPoint__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12083 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12088 (arg1
)->_setCallbackInfo(arg2
,arg3
);
12090 wxPyEndAllowThreads(__tstate
);
12091 if (PyErr_Occurred()) SWIG_fail
;
12093 Py_INCREF(Py_None
); resultobj
= Py_None
;
12100 static PyObject
*_wrap_PyControlPoint_SetCornerRadius(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12101 PyObject
*resultobj
;
12102 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12104 PyObject
* obj0
= 0 ;
12105 PyObject
* obj1
= 0 ;
12106 char *kwnames
[] = {
12107 (char *) "self",(char *) "radius", NULL
12110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_SetCornerRadius",kwnames
,&obj0
,&obj1
)) goto fail
;
12111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12113 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
12114 if (PyErr_Occurred()) SWIG_fail
;
12117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12118 (arg1
)->SetCornerRadius(arg2
);
12120 wxPyEndAllowThreads(__tstate
);
12121 if (PyErr_Occurred()) SWIG_fail
;
12123 Py_INCREF(Py_None
); resultobj
= Py_None
;
12130 static PyObject
*_wrap_PyControlPoint_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12131 PyObject
*resultobj
;
12132 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12133 PyObject
* obj0
= 0 ;
12134 char *kwnames
[] = {
12135 (char *) "self", NULL
12138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControlPoint_base_OnDelete",kwnames
,&obj0
)) goto fail
;
12139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12142 (arg1
)->base_OnDelete();
12144 wxPyEndAllowThreads(__tstate
);
12145 if (PyErr_Occurred()) SWIG_fail
;
12147 Py_INCREF(Py_None
); resultobj
= Py_None
;
12154 static PyObject
*_wrap_PyControlPoint_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12155 PyObject
*resultobj
;
12156 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12158 PyObject
* obj0
= 0 ;
12159 PyObject
* obj1
= 0 ;
12160 char *kwnames
[] = {
12161 (char *) "self",(char *) "dc", NULL
12164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
12165 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12166 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12167 if (arg2
== NULL
) {
12168 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12172 (arg1
)->base_OnDraw(*arg2
);
12174 wxPyEndAllowThreads(__tstate
);
12175 if (PyErr_Occurred()) SWIG_fail
;
12177 Py_INCREF(Py_None
); resultobj
= Py_None
;
12184 static PyObject
*_wrap_PyControlPoint_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12185 PyObject
*resultobj
;
12186 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12188 PyObject
* obj0
= 0 ;
12189 PyObject
* obj1
= 0 ;
12190 char *kwnames
[] = {
12191 (char *) "self",(char *) "dc", NULL
12194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
12195 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12196 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12197 if (arg2
== NULL
) {
12198 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12202 (arg1
)->base_OnDrawContents(*arg2
);
12204 wxPyEndAllowThreads(__tstate
);
12205 if (PyErr_Occurred()) SWIG_fail
;
12207 Py_INCREF(Py_None
); resultobj
= Py_None
;
12214 static PyObject
*_wrap_PyControlPoint_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12215 PyObject
*resultobj
;
12216 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12218 bool arg3
= (bool) FALSE
;
12219 PyObject
* obj0
= 0 ;
12220 PyObject
* obj1
= 0 ;
12221 PyObject
* obj2
= 0 ;
12222 char *kwnames
[] = {
12223 (char *) "self",(char *) "dc",(char *) "erase", NULL
12226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyControlPoint_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12227 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12228 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12229 if (arg2
== NULL
) {
12230 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12234 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
12235 if (PyErr_Occurred()) SWIG_fail
;
12239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12240 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
12242 wxPyEndAllowThreads(__tstate
);
12243 if (PyErr_Occurred()) SWIG_fail
;
12245 Py_INCREF(Py_None
); resultobj
= Py_None
;
12252 static PyObject
*_wrap_PyControlPoint_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12253 PyObject
*resultobj
;
12254 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12256 PyObject
* obj0
= 0 ;
12257 PyObject
* obj1
= 0 ;
12258 char *kwnames
[] = {
12259 (char *) "self",(char *) "dc", NULL
12262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
12263 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12264 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12265 if (arg2
== NULL
) {
12266 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12270 (arg1
)->base_OnMoveLinks(*arg2
);
12272 wxPyEndAllowThreads(__tstate
);
12273 if (PyErr_Occurred()) SWIG_fail
;
12275 Py_INCREF(Py_None
); resultobj
= Py_None
;
12282 static PyObject
*_wrap_PyControlPoint_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12283 PyObject
*resultobj
;
12284 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12286 PyObject
* obj0
= 0 ;
12287 PyObject
* obj1
= 0 ;
12288 char *kwnames
[] = {
12289 (char *) "self",(char *) "dc", NULL
12292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
12293 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12294 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12295 if (arg2
== NULL
) {
12296 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12300 (arg1
)->base_OnErase(*arg2
);
12302 wxPyEndAllowThreads(__tstate
);
12303 if (PyErr_Occurred()) SWIG_fail
;
12305 Py_INCREF(Py_None
); resultobj
= Py_None
;
12312 static PyObject
*_wrap_PyControlPoint_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12313 PyObject
*resultobj
;
12314 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12316 PyObject
* obj0
= 0 ;
12317 PyObject
* obj1
= 0 ;
12318 char *kwnames
[] = {
12319 (char *) "self",(char *) "dc", NULL
12322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
12323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12324 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12325 if (arg2
== NULL
) {
12326 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12330 (arg1
)->base_OnEraseContents(*arg2
);
12332 wxPyEndAllowThreads(__tstate
);
12333 if (PyErr_Occurred()) SWIG_fail
;
12335 Py_INCREF(Py_None
); resultobj
= Py_None
;
12342 static PyObject
*_wrap_PyControlPoint_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12343 PyObject
*resultobj
;
12344 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12346 PyObject
* obj0
= 0 ;
12347 PyObject
* obj1
= 0 ;
12348 char *kwnames
[] = {
12349 (char *) "self",(char *) "dc", NULL
12352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
12353 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12354 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12355 if (arg2
== NULL
) {
12356 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12360 (arg1
)->base_OnHighlight(*arg2
);
12362 wxPyEndAllowThreads(__tstate
);
12363 if (PyErr_Occurred()) SWIG_fail
;
12365 Py_INCREF(Py_None
); resultobj
= Py_None
;
12372 static PyObject
*_wrap_PyControlPoint_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12373 PyObject
*resultobj
;
12374 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12377 int arg4
= (int) 0 ;
12378 int arg5
= (int) 0 ;
12379 PyObject
* obj0
= 0 ;
12380 PyObject
* obj1
= 0 ;
12381 PyObject
* obj2
= 0 ;
12382 PyObject
* obj3
= 0 ;
12383 PyObject
* obj4
= 0 ;
12384 char *kwnames
[] = {
12385 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12391 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
12392 if (PyErr_Occurred()) SWIG_fail
;
12395 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
12396 if (PyErr_Occurred()) SWIG_fail
;
12400 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
12401 if (PyErr_Occurred()) SWIG_fail
;
12406 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
12407 if (PyErr_Occurred()) SWIG_fail
;
12411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12412 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
12414 wxPyEndAllowThreads(__tstate
);
12415 if (PyErr_Occurred()) SWIG_fail
;
12417 Py_INCREF(Py_None
); resultobj
= Py_None
;
12424 static PyObject
*_wrap_PyControlPoint_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12425 PyObject
*resultobj
;
12426 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12429 int arg4
= (int) 0 ;
12430 int arg5
= (int) 0 ;
12431 PyObject
* obj0
= 0 ;
12432 PyObject
* obj1
= 0 ;
12433 PyObject
* obj2
= 0 ;
12434 PyObject
* obj3
= 0 ;
12435 PyObject
* obj4
= 0 ;
12436 char *kwnames
[] = {
12437 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12441 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12443 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
12444 if (PyErr_Occurred()) SWIG_fail
;
12447 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
12448 if (PyErr_Occurred()) SWIG_fail
;
12452 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
12453 if (PyErr_Occurred()) SWIG_fail
;
12458 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
12459 if (PyErr_Occurred()) SWIG_fail
;
12463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12464 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
12466 wxPyEndAllowThreads(__tstate
);
12467 if (PyErr_Occurred()) SWIG_fail
;
12469 Py_INCREF(Py_None
); resultobj
= Py_None
;
12476 static PyObject
*_wrap_PyControlPoint_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12477 PyObject
*resultobj
;
12478 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12481 int arg4
= (int) 0 ;
12482 int arg5
= (int) 0 ;
12483 PyObject
* obj0
= 0 ;
12484 PyObject
* obj1
= 0 ;
12485 PyObject
* obj2
= 0 ;
12486 PyObject
* obj3
= 0 ;
12487 PyObject
* obj4
= 0 ;
12488 char *kwnames
[] = {
12489 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12493 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12495 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
12496 if (PyErr_Occurred()) SWIG_fail
;
12499 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
12500 if (PyErr_Occurred()) SWIG_fail
;
12504 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
12505 if (PyErr_Occurred()) SWIG_fail
;
12510 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
12511 if (PyErr_Occurred()) SWIG_fail
;
12515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12516 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
12518 wxPyEndAllowThreads(__tstate
);
12519 if (PyErr_Occurred()) SWIG_fail
;
12521 Py_INCREF(Py_None
); resultobj
= Py_None
;
12528 static PyObject
*_wrap_PyControlPoint_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12529 PyObject
*resultobj
;
12530 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12533 PyObject
* obj0
= 0 ;
12534 PyObject
* obj1
= 0 ;
12535 PyObject
* obj2
= 0 ;
12536 char *kwnames
[] = {
12537 (char *) "self",(char *) "x",(char *) "y", NULL
12540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControlPoint_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12541 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12543 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
12544 if (PyErr_Occurred()) SWIG_fail
;
12547 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
12548 if (PyErr_Occurred()) SWIG_fail
;
12551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12552 (arg1
)->base_OnSize(arg2
,arg3
);
12554 wxPyEndAllowThreads(__tstate
);
12555 if (PyErr_Occurred()) SWIG_fail
;
12557 Py_INCREF(Py_None
); resultobj
= Py_None
;
12564 static PyObject
*_wrap_PyControlPoint_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12565 PyObject
*resultobj
;
12566 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12572 bool arg7
= (bool) True
;
12574 PyObject
* obj0
= 0 ;
12575 PyObject
* obj1
= 0 ;
12576 PyObject
* obj2
= 0 ;
12577 PyObject
* obj3
= 0 ;
12578 PyObject
* obj4
= 0 ;
12579 PyObject
* obj5
= 0 ;
12580 PyObject
* obj6
= 0 ;
12581 char *kwnames
[] = {
12582 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
12585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyControlPoint_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12586 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12587 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12588 if (arg2
== NULL
) {
12589 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12592 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
12593 if (PyErr_Occurred()) SWIG_fail
;
12596 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
12597 if (PyErr_Occurred()) SWIG_fail
;
12600 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
12601 if (PyErr_Occurred()) SWIG_fail
;
12604 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
12605 if (PyErr_Occurred()) SWIG_fail
;
12609 arg7
= (bool) SWIG_PyObj_AsBool(obj6
);
12610 if (PyErr_Occurred()) SWIG_fail
;
12614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12615 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12617 wxPyEndAllowThreads(__tstate
);
12618 if (PyErr_Occurred()) SWIG_fail
;
12620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12627 static PyObject
*_wrap_PyControlPoint_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12628 PyObject
*resultobj
;
12629 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12635 bool arg7
= (bool) True
;
12636 PyObject
* obj0
= 0 ;
12637 PyObject
* obj1
= 0 ;
12638 PyObject
* obj2
= 0 ;
12639 PyObject
* obj3
= 0 ;
12640 PyObject
* obj4
= 0 ;
12641 PyObject
* obj5
= 0 ;
12642 PyObject
* obj6
= 0 ;
12643 char *kwnames
[] = {
12644 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
12647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyControlPoint_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12648 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12649 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12650 if (arg2
== NULL
) {
12651 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12654 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
12655 if (PyErr_Occurred()) SWIG_fail
;
12658 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
12659 if (PyErr_Occurred()) SWIG_fail
;
12662 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
12663 if (PyErr_Occurred()) SWIG_fail
;
12666 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
12667 if (PyErr_Occurred()) SWIG_fail
;
12671 arg7
= (bool) SWIG_PyObj_AsBool(obj6
);
12672 if (PyErr_Occurred()) SWIG_fail
;
12676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12677 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12679 wxPyEndAllowThreads(__tstate
);
12680 if (PyErr_Occurred()) SWIG_fail
;
12682 Py_INCREF(Py_None
); resultobj
= Py_None
;
12689 static PyObject
*_wrap_PyControlPoint_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12690 PyObject
*resultobj
;
12691 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12695 int arg5
= (int) 0 ;
12696 int arg6
= (int) 0 ;
12697 PyObject
* obj0
= 0 ;
12698 PyObject
* obj1
= 0 ;
12699 PyObject
* obj2
= 0 ;
12700 PyObject
* obj3
= 0 ;
12701 PyObject
* obj4
= 0 ;
12702 PyObject
* obj5
= 0 ;
12703 char *kwnames
[] = {
12704 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyControlPoint_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12708 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12710 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
12711 if (PyErr_Occurred()) SWIG_fail
;
12714 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
12715 if (PyErr_Occurred()) SWIG_fail
;
12718 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
12719 if (PyErr_Occurred()) SWIG_fail
;
12723 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
12724 if (PyErr_Occurred()) SWIG_fail
;
12729 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
12730 if (PyErr_Occurred()) SWIG_fail
;
12734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12735 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
12737 wxPyEndAllowThreads(__tstate
);
12738 if (PyErr_Occurred()) SWIG_fail
;
12740 Py_INCREF(Py_None
); resultobj
= Py_None
;
12747 static PyObject
*_wrap_PyControlPoint_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12748 PyObject
*resultobj
;
12749 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12752 int arg4
= (int) 0 ;
12753 int arg5
= (int) 0 ;
12754 PyObject
* obj0
= 0 ;
12755 PyObject
* obj1
= 0 ;
12756 PyObject
* obj2
= 0 ;
12757 PyObject
* obj3
= 0 ;
12758 PyObject
* obj4
= 0 ;
12759 char *kwnames
[] = {
12760 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12764 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12766 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
12767 if (PyErr_Occurred()) SWIG_fail
;
12770 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
12771 if (PyErr_Occurred()) SWIG_fail
;
12775 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
12776 if (PyErr_Occurred()) SWIG_fail
;
12781 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
12782 if (PyErr_Occurred()) SWIG_fail
;
12786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12787 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
12789 wxPyEndAllowThreads(__tstate
);
12790 if (PyErr_Occurred()) SWIG_fail
;
12792 Py_INCREF(Py_None
); resultobj
= Py_None
;
12799 static PyObject
*_wrap_PyControlPoint_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12800 PyObject
*resultobj
;
12801 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12804 int arg4
= (int) 0 ;
12805 int arg5
= (int) 0 ;
12806 PyObject
* obj0
= 0 ;
12807 PyObject
* obj1
= 0 ;
12808 PyObject
* obj2
= 0 ;
12809 PyObject
* obj3
= 0 ;
12810 PyObject
* obj4
= 0 ;
12811 char *kwnames
[] = {
12812 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12818 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
12819 if (PyErr_Occurred()) SWIG_fail
;
12822 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
12823 if (PyErr_Occurred()) SWIG_fail
;
12827 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
12828 if (PyErr_Occurred()) SWIG_fail
;
12833 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
12834 if (PyErr_Occurred()) SWIG_fail
;
12838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12839 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
12841 wxPyEndAllowThreads(__tstate
);
12842 if (PyErr_Occurred()) SWIG_fail
;
12844 Py_INCREF(Py_None
); resultobj
= Py_None
;
12851 static PyObject
*_wrap_PyControlPoint_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12852 PyObject
*resultobj
;
12853 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12857 int arg5
= (int) 0 ;
12858 int arg6
= (int) 0 ;
12859 PyObject
* obj0
= 0 ;
12860 PyObject
* obj1
= 0 ;
12861 PyObject
* obj2
= 0 ;
12862 PyObject
* obj3
= 0 ;
12863 PyObject
* obj4
= 0 ;
12864 PyObject
* obj5
= 0 ;
12865 char *kwnames
[] = {
12866 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyControlPoint_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12870 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12872 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
12873 if (PyErr_Occurred()) SWIG_fail
;
12876 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
12877 if (PyErr_Occurred()) SWIG_fail
;
12880 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
12881 if (PyErr_Occurred()) SWIG_fail
;
12885 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
12886 if (PyErr_Occurred()) SWIG_fail
;
12891 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
12892 if (PyErr_Occurred()) SWIG_fail
;
12896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12897 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
12899 wxPyEndAllowThreads(__tstate
);
12900 if (PyErr_Occurred()) SWIG_fail
;
12902 Py_INCREF(Py_None
); resultobj
= Py_None
;
12909 static PyObject
*_wrap_PyControlPoint_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12910 PyObject
*resultobj
;
12911 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12914 int arg4
= (int) 0 ;
12915 int arg5
= (int) 0 ;
12916 PyObject
* obj0
= 0 ;
12917 PyObject
* obj1
= 0 ;
12918 PyObject
* obj2
= 0 ;
12919 PyObject
* obj3
= 0 ;
12920 PyObject
* obj4
= 0 ;
12921 char *kwnames
[] = {
12922 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12926 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12928 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
12929 if (PyErr_Occurred()) SWIG_fail
;
12932 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
12933 if (PyErr_Occurred()) SWIG_fail
;
12937 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
12938 if (PyErr_Occurred()) SWIG_fail
;
12943 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
12944 if (PyErr_Occurred()) SWIG_fail
;
12948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12949 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
12951 wxPyEndAllowThreads(__tstate
);
12952 if (PyErr_Occurred()) SWIG_fail
;
12954 Py_INCREF(Py_None
); resultobj
= Py_None
;
12961 static PyObject
*_wrap_PyControlPoint_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12962 PyObject
*resultobj
;
12963 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12966 int arg4
= (int) 0 ;
12967 int arg5
= (int) 0 ;
12968 PyObject
* obj0
= 0 ;
12969 PyObject
* obj1
= 0 ;
12970 PyObject
* obj2
= 0 ;
12971 PyObject
* obj3
= 0 ;
12972 PyObject
* obj4
= 0 ;
12973 char *kwnames
[] = {
12974 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12978 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12980 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
12981 if (PyErr_Occurred()) SWIG_fail
;
12984 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
12985 if (PyErr_Occurred()) SWIG_fail
;
12989 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
12990 if (PyErr_Occurred()) SWIG_fail
;
12995 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
12996 if (PyErr_Occurred()) SWIG_fail
;
13000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13001 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
13003 wxPyEndAllowThreads(__tstate
);
13004 if (PyErr_Occurred()) SWIG_fail
;
13006 Py_INCREF(Py_None
); resultobj
= Py_None
;
13013 static PyObject
*_wrap_PyControlPoint_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13014 PyObject
*resultobj
;
13015 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13021 PyObject
* obj0
= 0 ;
13022 PyObject
* obj1
= 0 ;
13023 PyObject
* obj2
= 0 ;
13024 PyObject
* obj3
= 0 ;
13025 PyObject
* obj4
= 0 ;
13026 PyObject
* obj5
= 0 ;
13027 char *kwnames
[] = {
13028 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
13031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyControlPoint_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13032 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13033 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13034 if (arg2
== NULL
) {
13035 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13038 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
13039 if (PyErr_Occurred()) SWIG_fail
;
13042 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
13043 if (PyErr_Occurred()) SWIG_fail
;
13046 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
13047 if (PyErr_Occurred()) SWIG_fail
;
13050 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
13051 if (PyErr_Occurred()) SWIG_fail
;
13054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13055 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
13057 wxPyEndAllowThreads(__tstate
);
13058 if (PyErr_Occurred()) SWIG_fail
;
13060 Py_INCREF(Py_None
); resultobj
= Py_None
;
13067 static PyObject
*_wrap_PyControlPoint_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13068 PyObject
*resultobj
;
13069 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13071 PyObject
* obj0
= 0 ;
13072 PyObject
* obj1
= 0 ;
13073 char *kwnames
[] = {
13074 (char *) "self",(char *) "dc", NULL
13077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
13078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13079 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13080 if (arg2
== NULL
) {
13081 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13085 (arg1
)->base_OnDrawControlPoints(*arg2
);
13087 wxPyEndAllowThreads(__tstate
);
13088 if (PyErr_Occurred()) SWIG_fail
;
13090 Py_INCREF(Py_None
); resultobj
= Py_None
;
13097 static PyObject
*_wrap_PyControlPoint_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13098 PyObject
*resultobj
;
13099 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13101 PyObject
* obj0
= 0 ;
13102 PyObject
* obj1
= 0 ;
13103 char *kwnames
[] = {
13104 (char *) "self",(char *) "dc", NULL
13107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
13108 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13109 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13110 if (arg2
== NULL
) {
13111 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13115 (arg1
)->base_OnEraseControlPoints(*arg2
);
13117 wxPyEndAllowThreads(__tstate
);
13118 if (PyErr_Occurred()) SWIG_fail
;
13120 Py_INCREF(Py_None
); resultobj
= Py_None
;
13127 static PyObject
*_wrap_PyControlPoint_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13128 PyObject
*resultobj
;
13129 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13131 bool arg3
= (bool) True
;
13132 PyObject
* obj0
= 0 ;
13133 PyObject
* obj1
= 0 ;
13134 PyObject
* obj2
= 0 ;
13135 char *kwnames
[] = {
13136 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
13139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyControlPoint_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13140 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13141 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13142 if (arg2
== NULL
) {
13143 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13147 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
13148 if (PyErr_Occurred()) SWIG_fail
;
13152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13153 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
13155 wxPyEndAllowThreads(__tstate
);
13156 if (PyErr_Occurred()) SWIG_fail
;
13158 Py_INCREF(Py_None
); resultobj
= Py_None
;
13165 static PyObject
*_wrap_PyControlPoint_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13166 PyObject
*resultobj
;
13167 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13168 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
13172 int arg6
= (int) 0 ;
13173 int arg7
= (int) 0 ;
13174 PyObject
* obj0
= 0 ;
13175 PyObject
* obj1
= 0 ;
13176 PyObject
* obj2
= 0 ;
13177 PyObject
* obj3
= 0 ;
13178 PyObject
* obj4
= 0 ;
13179 PyObject
* obj5
= 0 ;
13180 PyObject
* obj6
= 0 ;
13181 char *kwnames
[] = {
13182 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyControlPoint_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13186 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13187 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13189 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
13190 if (PyErr_Occurred()) SWIG_fail
;
13193 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
13194 if (PyErr_Occurred()) SWIG_fail
;
13197 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
13198 if (PyErr_Occurred()) SWIG_fail
;
13202 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
13203 if (PyErr_Occurred()) SWIG_fail
;
13208 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
13209 if (PyErr_Occurred()) SWIG_fail
;
13213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13214 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13216 wxPyEndAllowThreads(__tstate
);
13217 if (PyErr_Occurred()) SWIG_fail
;
13219 Py_INCREF(Py_None
); resultobj
= Py_None
;
13226 static PyObject
*_wrap_PyControlPoint_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13227 PyObject
*resultobj
;
13228 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13229 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
13232 int arg5
= (int) 0 ;
13233 int arg6
= (int) 0 ;
13234 PyObject
* obj0
= 0 ;
13235 PyObject
* obj1
= 0 ;
13236 PyObject
* obj2
= 0 ;
13237 PyObject
* obj3
= 0 ;
13238 PyObject
* obj4
= 0 ;
13239 PyObject
* obj5
= 0 ;
13240 char *kwnames
[] = {
13241 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyControlPoint_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13246 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13248 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
13249 if (PyErr_Occurred()) SWIG_fail
;
13252 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
13253 if (PyErr_Occurred()) SWIG_fail
;
13257 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
13258 if (PyErr_Occurred()) SWIG_fail
;
13263 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
13264 if (PyErr_Occurred()) SWIG_fail
;
13268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13269 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
13271 wxPyEndAllowThreads(__tstate
);
13272 if (PyErr_Occurred()) SWIG_fail
;
13274 Py_INCREF(Py_None
); resultobj
= Py_None
;
13281 static PyObject
*_wrap_PyControlPoint_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13282 PyObject
*resultobj
;
13283 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13284 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
13287 int arg5
= (int) 0 ;
13288 int arg6
= (int) 0 ;
13289 PyObject
* obj0
= 0 ;
13290 PyObject
* obj1
= 0 ;
13291 PyObject
* obj2
= 0 ;
13292 PyObject
* obj3
= 0 ;
13293 PyObject
* obj4
= 0 ;
13294 PyObject
* obj5
= 0 ;
13295 char *kwnames
[] = {
13296 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyControlPoint_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13300 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13301 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13303 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
13304 if (PyErr_Occurred()) SWIG_fail
;
13307 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
13308 if (PyErr_Occurred()) SWIG_fail
;
13312 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
13313 if (PyErr_Occurred()) SWIG_fail
;
13318 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
13319 if (PyErr_Occurred()) SWIG_fail
;
13323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13324 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
13326 wxPyEndAllowThreads(__tstate
);
13327 if (PyErr_Occurred()) SWIG_fail
;
13329 Py_INCREF(Py_None
); resultobj
= Py_None
;
13336 static PyObject
*_wrap_PyControlPoint_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13337 PyObject
*resultobj
;
13338 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13341 PyObject
* obj0
= 0 ;
13342 PyObject
* obj1
= 0 ;
13343 PyObject
* obj2
= 0 ;
13344 char *kwnames
[] = {
13345 (char *) "self",(char *) "w",(char *) "h", NULL
13348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControlPoint_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13349 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13351 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
13352 if (PyErr_Occurred()) SWIG_fail
;
13355 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
13356 if (PyErr_Occurred()) SWIG_fail
;
13359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13360 (arg1
)->base_OnBeginSize(arg2
,arg3
);
13362 wxPyEndAllowThreads(__tstate
);
13363 if (PyErr_Occurred()) SWIG_fail
;
13365 Py_INCREF(Py_None
); resultobj
= Py_None
;
13372 static PyObject
*_wrap_PyControlPoint_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13373 PyObject
*resultobj
;
13374 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13377 PyObject
* obj0
= 0 ;
13378 PyObject
* obj1
= 0 ;
13379 PyObject
* obj2
= 0 ;
13380 char *kwnames
[] = {
13381 (char *) "self",(char *) "w",(char *) "h", NULL
13384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControlPoint_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13387 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
13388 if (PyErr_Occurred()) SWIG_fail
;
13391 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
13392 if (PyErr_Occurred()) SWIG_fail
;
13395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13396 (arg1
)->base_OnEndSize(arg2
,arg3
);
13398 wxPyEndAllowThreads(__tstate
);
13399 if (PyErr_Occurred()) SWIG_fail
;
13401 Py_INCREF(Py_None
); resultobj
= Py_None
;
13408 static PyObject
* PyControlPoint_swigregister(PyObject
*self
, PyObject
*args
) {
13410 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13411 SWIG_TypeClientData(SWIGTYPE_p_wxPyControlPoint
, obj
);
13413 return Py_BuildValue((char *)"");
13415 static PyObject
*_wrap_new_PyBitmapShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13416 PyObject
*resultobj
;
13417 wxPyBitmapShape
*result
;
13418 char *kwnames
[] = {
13422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyBitmapShape",kwnames
)) goto fail
;
13424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13425 result
= (wxPyBitmapShape
*)new wxPyBitmapShape();
13427 wxPyEndAllowThreads(__tstate
);
13428 if (PyErr_Occurred()) SWIG_fail
;
13430 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyBitmapShape
, 1);
13437 static PyObject
*_wrap_PyBitmapShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13438 PyObject
*resultobj
;
13439 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13440 PyObject
*arg2
= (PyObject
*) 0 ;
13441 PyObject
*arg3
= (PyObject
*) 0 ;
13442 PyObject
* obj0
= 0 ;
13443 PyObject
* obj1
= 0 ;
13444 PyObject
* obj2
= 0 ;
13445 char *kwnames
[] = {
13446 (char *) "self",(char *) "self",(char *) "_class", NULL
13449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13450 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13455 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13457 wxPyEndAllowThreads(__tstate
);
13458 if (PyErr_Occurred()) SWIG_fail
;
13460 Py_INCREF(Py_None
); resultobj
= Py_None
;
13467 static PyObject
*_wrap_PyBitmapShape_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13468 PyObject
*resultobj
;
13469 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13471 PyObject
* obj0
= 0 ;
13472 char *kwnames
[] = {
13473 (char *) "self", NULL
13476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyBitmapShape_GetBitmap",kwnames
,&obj0
)) goto fail
;
13477 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13481 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
13482 result
= (wxBitmap
*) &_result_ref
;
13485 wxPyEndAllowThreads(__tstate
);
13486 if (PyErr_Occurred()) SWIG_fail
;
13488 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
13495 static PyObject
*_wrap_PyBitmapShape_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13496 PyObject
*resultobj
;
13497 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13499 PyObject
* obj0
= 0 ;
13500 char *kwnames
[] = {
13501 (char *) "self", NULL
13504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyBitmapShape_GetFilename",kwnames
,&obj0
)) goto fail
;
13505 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13508 result
= (arg1
)->GetFilename();
13510 wxPyEndAllowThreads(__tstate
);
13511 if (PyErr_Occurred()) SWIG_fail
;
13515 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13517 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13526 static PyObject
*_wrap_PyBitmapShape_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13527 PyObject
*resultobj
;
13528 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13529 wxBitmap
*arg2
= 0 ;
13530 PyObject
* obj0
= 0 ;
13531 PyObject
* obj1
= 0 ;
13532 char *kwnames
[] = {
13533 (char *) "self",(char *) "bitmap", NULL
13536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
13537 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13538 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13539 if (arg2
== NULL
) {
13540 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13544 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
13546 wxPyEndAllowThreads(__tstate
);
13547 if (PyErr_Occurred()) SWIG_fail
;
13549 Py_INCREF(Py_None
); resultobj
= Py_None
;
13556 static PyObject
*_wrap_PyBitmapShape_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13557 PyObject
*resultobj
;
13558 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13559 wxString
*arg2
= 0 ;
13560 bool temp2
= False
;
13561 PyObject
* obj0
= 0 ;
13562 PyObject
* obj1
= 0 ;
13563 char *kwnames
[] = {
13564 (char *) "self",(char *) "filename", NULL
13567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
13568 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13570 arg2
= wxString_in_helper(obj1
);
13571 if (arg2
== NULL
) SWIG_fail
;
13575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13576 (arg1
)->SetFilename((wxString
const &)*arg2
);
13578 wxPyEndAllowThreads(__tstate
);
13579 if (PyErr_Occurred()) SWIG_fail
;
13581 Py_INCREF(Py_None
); resultobj
= Py_None
;
13596 static PyObject
*_wrap_PyBitmapShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13597 PyObject
*resultobj
;
13598 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13599 PyObject
* obj0
= 0 ;
13600 char *kwnames
[] = {
13601 (char *) "self", NULL
13604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyBitmapShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
13605 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13608 (arg1
)->base_OnDelete();
13610 wxPyEndAllowThreads(__tstate
);
13611 if (PyErr_Occurred()) SWIG_fail
;
13613 Py_INCREF(Py_None
); resultobj
= Py_None
;
13620 static PyObject
*_wrap_PyBitmapShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13621 PyObject
*resultobj
;
13622 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13624 PyObject
* obj0
= 0 ;
13625 PyObject
* obj1
= 0 ;
13626 char *kwnames
[] = {
13627 (char *) "self",(char *) "dc", NULL
13630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
13631 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13632 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13633 if (arg2
== NULL
) {
13634 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13638 (arg1
)->base_OnDraw(*arg2
);
13640 wxPyEndAllowThreads(__tstate
);
13641 if (PyErr_Occurred()) SWIG_fail
;
13643 Py_INCREF(Py_None
); resultobj
= Py_None
;
13650 static PyObject
*_wrap_PyBitmapShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13651 PyObject
*resultobj
;
13652 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13654 PyObject
* obj0
= 0 ;
13655 PyObject
* obj1
= 0 ;
13656 char *kwnames
[] = {
13657 (char *) "self",(char *) "dc", NULL
13660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
13661 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13662 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13663 if (arg2
== NULL
) {
13664 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13668 (arg1
)->base_OnDrawContents(*arg2
);
13670 wxPyEndAllowThreads(__tstate
);
13671 if (PyErr_Occurred()) SWIG_fail
;
13673 Py_INCREF(Py_None
); resultobj
= Py_None
;
13680 static PyObject
*_wrap_PyBitmapShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13681 PyObject
*resultobj
;
13682 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13684 bool arg3
= (bool) FALSE
;
13685 PyObject
* obj0
= 0 ;
13686 PyObject
* obj1
= 0 ;
13687 PyObject
* obj2
= 0 ;
13688 char *kwnames
[] = {
13689 (char *) "self",(char *) "dc",(char *) "erase", NULL
13692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyBitmapShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13693 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13694 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13695 if (arg2
== NULL
) {
13696 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13700 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
13701 if (PyErr_Occurred()) SWIG_fail
;
13705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13706 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
13708 wxPyEndAllowThreads(__tstate
);
13709 if (PyErr_Occurred()) SWIG_fail
;
13711 Py_INCREF(Py_None
); resultobj
= Py_None
;
13718 static PyObject
*_wrap_PyBitmapShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13719 PyObject
*resultobj
;
13720 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13722 PyObject
* obj0
= 0 ;
13723 PyObject
* obj1
= 0 ;
13724 char *kwnames
[] = {
13725 (char *) "self",(char *) "dc", NULL
13728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
13729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13730 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13731 if (arg2
== NULL
) {
13732 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13736 (arg1
)->base_OnMoveLinks(*arg2
);
13738 wxPyEndAllowThreads(__tstate
);
13739 if (PyErr_Occurred()) SWIG_fail
;
13741 Py_INCREF(Py_None
); resultobj
= Py_None
;
13748 static PyObject
*_wrap_PyBitmapShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13749 PyObject
*resultobj
;
13750 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13752 PyObject
* obj0
= 0 ;
13753 PyObject
* obj1
= 0 ;
13754 char *kwnames
[] = {
13755 (char *) "self",(char *) "dc", NULL
13758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
13759 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13760 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13761 if (arg2
== NULL
) {
13762 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13766 (arg1
)->base_OnErase(*arg2
);
13768 wxPyEndAllowThreads(__tstate
);
13769 if (PyErr_Occurred()) SWIG_fail
;
13771 Py_INCREF(Py_None
); resultobj
= Py_None
;
13778 static PyObject
*_wrap_PyBitmapShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13779 PyObject
*resultobj
;
13780 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13782 PyObject
* obj0
= 0 ;
13783 PyObject
* obj1
= 0 ;
13784 char *kwnames
[] = {
13785 (char *) "self",(char *) "dc", NULL
13788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
13789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13790 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13791 if (arg2
== NULL
) {
13792 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13796 (arg1
)->base_OnEraseContents(*arg2
);
13798 wxPyEndAllowThreads(__tstate
);
13799 if (PyErr_Occurred()) SWIG_fail
;
13801 Py_INCREF(Py_None
); resultobj
= Py_None
;
13808 static PyObject
*_wrap_PyBitmapShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13809 PyObject
*resultobj
;
13810 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13812 PyObject
* obj0
= 0 ;
13813 PyObject
* obj1
= 0 ;
13814 char *kwnames
[] = {
13815 (char *) "self",(char *) "dc", NULL
13818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
13819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13820 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13821 if (arg2
== NULL
) {
13822 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13826 (arg1
)->base_OnHighlight(*arg2
);
13828 wxPyEndAllowThreads(__tstate
);
13829 if (PyErr_Occurred()) SWIG_fail
;
13831 Py_INCREF(Py_None
); resultobj
= Py_None
;
13838 static PyObject
*_wrap_PyBitmapShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13839 PyObject
*resultobj
;
13840 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13843 int arg4
= (int) 0 ;
13844 int arg5
= (int) 0 ;
13845 PyObject
* obj0
= 0 ;
13846 PyObject
* obj1
= 0 ;
13847 PyObject
* obj2
= 0 ;
13848 PyObject
* obj3
= 0 ;
13849 PyObject
* obj4
= 0 ;
13850 char *kwnames
[] = {
13851 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13855 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13857 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
13858 if (PyErr_Occurred()) SWIG_fail
;
13861 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
13862 if (PyErr_Occurred()) SWIG_fail
;
13866 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
13867 if (PyErr_Occurred()) SWIG_fail
;
13872 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
13873 if (PyErr_Occurred()) SWIG_fail
;
13877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13878 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
13880 wxPyEndAllowThreads(__tstate
);
13881 if (PyErr_Occurred()) SWIG_fail
;
13883 Py_INCREF(Py_None
); resultobj
= Py_None
;
13890 static PyObject
*_wrap_PyBitmapShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13891 PyObject
*resultobj
;
13892 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13895 int arg4
= (int) 0 ;
13896 int arg5
= (int) 0 ;
13897 PyObject
* obj0
= 0 ;
13898 PyObject
* obj1
= 0 ;
13899 PyObject
* obj2
= 0 ;
13900 PyObject
* obj3
= 0 ;
13901 PyObject
* obj4
= 0 ;
13902 char *kwnames
[] = {
13903 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13907 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13909 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
13910 if (PyErr_Occurred()) SWIG_fail
;
13913 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
13914 if (PyErr_Occurred()) SWIG_fail
;
13918 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
13919 if (PyErr_Occurred()) SWIG_fail
;
13924 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
13925 if (PyErr_Occurred()) SWIG_fail
;
13929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13930 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
13932 wxPyEndAllowThreads(__tstate
);
13933 if (PyErr_Occurred()) SWIG_fail
;
13935 Py_INCREF(Py_None
); resultobj
= Py_None
;
13942 static PyObject
*_wrap_PyBitmapShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13943 PyObject
*resultobj
;
13944 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13947 int arg4
= (int) 0 ;
13948 int arg5
= (int) 0 ;
13949 PyObject
* obj0
= 0 ;
13950 PyObject
* obj1
= 0 ;
13951 PyObject
* obj2
= 0 ;
13952 PyObject
* obj3
= 0 ;
13953 PyObject
* obj4
= 0 ;
13954 char *kwnames
[] = {
13955 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13959 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13961 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
13962 if (PyErr_Occurred()) SWIG_fail
;
13965 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
13966 if (PyErr_Occurred()) SWIG_fail
;
13970 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
13971 if (PyErr_Occurred()) SWIG_fail
;
13976 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
13977 if (PyErr_Occurred()) SWIG_fail
;
13981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13982 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
13984 wxPyEndAllowThreads(__tstate
);
13985 if (PyErr_Occurred()) SWIG_fail
;
13987 Py_INCREF(Py_None
); resultobj
= Py_None
;
13994 static PyObject
*_wrap_PyBitmapShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13995 PyObject
*resultobj
;
13996 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13999 PyObject
* obj0
= 0 ;
14000 PyObject
* obj1
= 0 ;
14001 PyObject
* obj2
= 0 ;
14002 char *kwnames
[] = {
14003 (char *) "self",(char *) "x",(char *) "y", NULL
14006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14009 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
14010 if (PyErr_Occurred()) SWIG_fail
;
14013 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
14014 if (PyErr_Occurred()) SWIG_fail
;
14017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14018 (arg1
)->base_OnSize(arg2
,arg3
);
14020 wxPyEndAllowThreads(__tstate
);
14021 if (PyErr_Occurred()) SWIG_fail
;
14023 Py_INCREF(Py_None
); resultobj
= Py_None
;
14030 static PyObject
*_wrap_PyBitmapShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14031 PyObject
*resultobj
;
14032 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14038 bool arg7
= (bool) True
;
14040 PyObject
* obj0
= 0 ;
14041 PyObject
* obj1
= 0 ;
14042 PyObject
* obj2
= 0 ;
14043 PyObject
* obj3
= 0 ;
14044 PyObject
* obj4
= 0 ;
14045 PyObject
* obj5
= 0 ;
14046 PyObject
* obj6
= 0 ;
14047 char *kwnames
[] = {
14048 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
14051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyBitmapShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14052 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14053 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14054 if (arg2
== NULL
) {
14055 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14058 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
14059 if (PyErr_Occurred()) SWIG_fail
;
14062 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
14063 if (PyErr_Occurred()) SWIG_fail
;
14066 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
14067 if (PyErr_Occurred()) SWIG_fail
;
14070 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
14071 if (PyErr_Occurred()) SWIG_fail
;
14075 arg7
= (bool) SWIG_PyObj_AsBool(obj6
);
14076 if (PyErr_Occurred()) SWIG_fail
;
14080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14081 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
14083 wxPyEndAllowThreads(__tstate
);
14084 if (PyErr_Occurred()) SWIG_fail
;
14086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14093 static PyObject
*_wrap_PyBitmapShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14094 PyObject
*resultobj
;
14095 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14101 bool arg7
= (bool) True
;
14102 PyObject
* obj0
= 0 ;
14103 PyObject
* obj1
= 0 ;
14104 PyObject
* obj2
= 0 ;
14105 PyObject
* obj3
= 0 ;
14106 PyObject
* obj4
= 0 ;
14107 PyObject
* obj5
= 0 ;
14108 PyObject
* obj6
= 0 ;
14109 char *kwnames
[] = {
14110 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
14113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyBitmapShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14114 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14115 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14116 if (arg2
== NULL
) {
14117 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14120 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
14121 if (PyErr_Occurred()) SWIG_fail
;
14124 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
14125 if (PyErr_Occurred()) SWIG_fail
;
14128 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
14129 if (PyErr_Occurred()) SWIG_fail
;
14132 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
14133 if (PyErr_Occurred()) SWIG_fail
;
14137 arg7
= (bool) SWIG_PyObj_AsBool(obj6
);
14138 if (PyErr_Occurred()) SWIG_fail
;
14142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14143 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
14145 wxPyEndAllowThreads(__tstate
);
14146 if (PyErr_Occurred()) SWIG_fail
;
14148 Py_INCREF(Py_None
); resultobj
= Py_None
;
14155 static PyObject
*_wrap_PyBitmapShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14156 PyObject
*resultobj
;
14157 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14161 int arg5
= (int) 0 ;
14162 int arg6
= (int) 0 ;
14163 PyObject
* obj0
= 0 ;
14164 PyObject
* obj1
= 0 ;
14165 PyObject
* obj2
= 0 ;
14166 PyObject
* obj3
= 0 ;
14167 PyObject
* obj4
= 0 ;
14168 PyObject
* obj5
= 0 ;
14169 char *kwnames
[] = {
14170 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyBitmapShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14174 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14176 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14177 if (PyErr_Occurred()) SWIG_fail
;
14180 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
14181 if (PyErr_Occurred()) SWIG_fail
;
14184 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
14185 if (PyErr_Occurred()) SWIG_fail
;
14189 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
14190 if (PyErr_Occurred()) SWIG_fail
;
14195 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
14196 if (PyErr_Occurred()) SWIG_fail
;
14200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14201 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
14203 wxPyEndAllowThreads(__tstate
);
14204 if (PyErr_Occurred()) SWIG_fail
;
14206 Py_INCREF(Py_None
); resultobj
= Py_None
;
14213 static PyObject
*_wrap_PyBitmapShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14214 PyObject
*resultobj
;
14215 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14218 int arg4
= (int) 0 ;
14219 int arg5
= (int) 0 ;
14220 PyObject
* obj0
= 0 ;
14221 PyObject
* obj1
= 0 ;
14222 PyObject
* obj2
= 0 ;
14223 PyObject
* obj3
= 0 ;
14224 PyObject
* obj4
= 0 ;
14225 char *kwnames
[] = {
14226 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14230 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14232 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
14233 if (PyErr_Occurred()) SWIG_fail
;
14236 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
14237 if (PyErr_Occurred()) SWIG_fail
;
14241 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
14242 if (PyErr_Occurred()) SWIG_fail
;
14247 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
14248 if (PyErr_Occurred()) SWIG_fail
;
14252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14253 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
14255 wxPyEndAllowThreads(__tstate
);
14256 if (PyErr_Occurred()) SWIG_fail
;
14258 Py_INCREF(Py_None
); resultobj
= Py_None
;
14265 static PyObject
*_wrap_PyBitmapShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14266 PyObject
*resultobj
;
14267 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14270 int arg4
= (int) 0 ;
14271 int arg5
= (int) 0 ;
14272 PyObject
* obj0
= 0 ;
14273 PyObject
* obj1
= 0 ;
14274 PyObject
* obj2
= 0 ;
14275 PyObject
* obj3
= 0 ;
14276 PyObject
* obj4
= 0 ;
14277 char *kwnames
[] = {
14278 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14282 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14284 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
14285 if (PyErr_Occurred()) SWIG_fail
;
14288 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
14289 if (PyErr_Occurred()) SWIG_fail
;
14293 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
14294 if (PyErr_Occurred()) SWIG_fail
;
14299 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
14300 if (PyErr_Occurred()) SWIG_fail
;
14304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14305 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
14307 wxPyEndAllowThreads(__tstate
);
14308 if (PyErr_Occurred()) SWIG_fail
;
14310 Py_INCREF(Py_None
); resultobj
= Py_None
;
14317 static PyObject
*_wrap_PyBitmapShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14318 PyObject
*resultobj
;
14319 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14323 int arg5
= (int) 0 ;
14324 int arg6
= (int) 0 ;
14325 PyObject
* obj0
= 0 ;
14326 PyObject
* obj1
= 0 ;
14327 PyObject
* obj2
= 0 ;
14328 PyObject
* obj3
= 0 ;
14329 PyObject
* obj4
= 0 ;
14330 PyObject
* obj5
= 0 ;
14331 char *kwnames
[] = {
14332 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyBitmapShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14336 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14338 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14339 if (PyErr_Occurred()) SWIG_fail
;
14342 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
14343 if (PyErr_Occurred()) SWIG_fail
;
14346 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
14347 if (PyErr_Occurred()) SWIG_fail
;
14351 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
14352 if (PyErr_Occurred()) SWIG_fail
;
14357 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
14358 if (PyErr_Occurred()) SWIG_fail
;
14362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14363 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
14365 wxPyEndAllowThreads(__tstate
);
14366 if (PyErr_Occurred()) SWIG_fail
;
14368 Py_INCREF(Py_None
); resultobj
= Py_None
;
14375 static PyObject
*_wrap_PyBitmapShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14376 PyObject
*resultobj
;
14377 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14380 int arg4
= (int) 0 ;
14381 int arg5
= (int) 0 ;
14382 PyObject
* obj0
= 0 ;
14383 PyObject
* obj1
= 0 ;
14384 PyObject
* obj2
= 0 ;
14385 PyObject
* obj3
= 0 ;
14386 PyObject
* obj4
= 0 ;
14387 char *kwnames
[] = {
14388 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14392 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14394 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
14395 if (PyErr_Occurred()) SWIG_fail
;
14398 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
14399 if (PyErr_Occurred()) SWIG_fail
;
14403 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
14404 if (PyErr_Occurred()) SWIG_fail
;
14409 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
14410 if (PyErr_Occurred()) SWIG_fail
;
14414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14415 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
14417 wxPyEndAllowThreads(__tstate
);
14418 if (PyErr_Occurred()) SWIG_fail
;
14420 Py_INCREF(Py_None
); resultobj
= Py_None
;
14427 static PyObject
*_wrap_PyBitmapShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14428 PyObject
*resultobj
;
14429 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14432 int arg4
= (int) 0 ;
14433 int arg5
= (int) 0 ;
14434 PyObject
* obj0
= 0 ;
14435 PyObject
* obj1
= 0 ;
14436 PyObject
* obj2
= 0 ;
14437 PyObject
* obj3
= 0 ;
14438 PyObject
* obj4
= 0 ;
14439 char *kwnames
[] = {
14440 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14444 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14446 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
14447 if (PyErr_Occurred()) SWIG_fail
;
14450 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
14451 if (PyErr_Occurred()) SWIG_fail
;
14455 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
14456 if (PyErr_Occurred()) SWIG_fail
;
14461 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
14462 if (PyErr_Occurred()) SWIG_fail
;
14466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14467 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
14469 wxPyEndAllowThreads(__tstate
);
14470 if (PyErr_Occurred()) SWIG_fail
;
14472 Py_INCREF(Py_None
); resultobj
= Py_None
;
14479 static PyObject
*_wrap_PyBitmapShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14480 PyObject
*resultobj
;
14481 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14487 PyObject
* obj0
= 0 ;
14488 PyObject
* obj1
= 0 ;
14489 PyObject
* obj2
= 0 ;
14490 PyObject
* obj3
= 0 ;
14491 PyObject
* obj4
= 0 ;
14492 PyObject
* obj5
= 0 ;
14493 char *kwnames
[] = {
14494 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
14497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyBitmapShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14498 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14499 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14500 if (arg2
== NULL
) {
14501 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14504 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
14505 if (PyErr_Occurred()) SWIG_fail
;
14508 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
14509 if (PyErr_Occurred()) SWIG_fail
;
14512 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
14513 if (PyErr_Occurred()) SWIG_fail
;
14516 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
14517 if (PyErr_Occurred()) SWIG_fail
;
14520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14521 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
14523 wxPyEndAllowThreads(__tstate
);
14524 if (PyErr_Occurred()) SWIG_fail
;
14526 Py_INCREF(Py_None
); resultobj
= Py_None
;
14533 static PyObject
*_wrap_PyBitmapShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14534 PyObject
*resultobj
;
14535 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14537 PyObject
* obj0
= 0 ;
14538 PyObject
* obj1
= 0 ;
14539 char *kwnames
[] = {
14540 (char *) "self",(char *) "dc", NULL
14543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
14544 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14545 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14546 if (arg2
== NULL
) {
14547 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14551 (arg1
)->base_OnDrawControlPoints(*arg2
);
14553 wxPyEndAllowThreads(__tstate
);
14554 if (PyErr_Occurred()) SWIG_fail
;
14556 Py_INCREF(Py_None
); resultobj
= Py_None
;
14563 static PyObject
*_wrap_PyBitmapShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14564 PyObject
*resultobj
;
14565 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14567 PyObject
* obj0
= 0 ;
14568 PyObject
* obj1
= 0 ;
14569 char *kwnames
[] = {
14570 (char *) "self",(char *) "dc", NULL
14573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
14574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14575 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14576 if (arg2
== NULL
) {
14577 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14581 (arg1
)->base_OnEraseControlPoints(*arg2
);
14583 wxPyEndAllowThreads(__tstate
);
14584 if (PyErr_Occurred()) SWIG_fail
;
14586 Py_INCREF(Py_None
); resultobj
= Py_None
;
14593 static PyObject
*_wrap_PyBitmapShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14594 PyObject
*resultobj
;
14595 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14597 bool arg3
= (bool) True
;
14598 PyObject
* obj0
= 0 ;
14599 PyObject
* obj1
= 0 ;
14600 PyObject
* obj2
= 0 ;
14601 char *kwnames
[] = {
14602 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
14605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyBitmapShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14607 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14608 if (arg2
== NULL
) {
14609 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14613 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
14614 if (PyErr_Occurred()) SWIG_fail
;
14618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14619 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
14621 wxPyEndAllowThreads(__tstate
);
14622 if (PyErr_Occurred()) SWIG_fail
;
14624 Py_INCREF(Py_None
); resultobj
= Py_None
;
14631 static PyObject
*_wrap_PyBitmapShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14632 PyObject
*resultobj
;
14633 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14634 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
14638 int arg6
= (int) 0 ;
14639 int arg7
= (int) 0 ;
14640 PyObject
* obj0
= 0 ;
14641 PyObject
* obj1
= 0 ;
14642 PyObject
* obj2
= 0 ;
14643 PyObject
* obj3
= 0 ;
14644 PyObject
* obj4
= 0 ;
14645 PyObject
* obj5
= 0 ;
14646 PyObject
* obj6
= 0 ;
14647 char *kwnames
[] = {
14648 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyBitmapShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14652 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14653 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14655 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
14656 if (PyErr_Occurred()) SWIG_fail
;
14659 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
14660 if (PyErr_Occurred()) SWIG_fail
;
14663 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
14664 if (PyErr_Occurred()) SWIG_fail
;
14668 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
14669 if (PyErr_Occurred()) SWIG_fail
;
14674 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
14675 if (PyErr_Occurred()) SWIG_fail
;
14679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14680 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
14682 wxPyEndAllowThreads(__tstate
);
14683 if (PyErr_Occurred()) SWIG_fail
;
14685 Py_INCREF(Py_None
); resultobj
= Py_None
;
14692 static PyObject
*_wrap_PyBitmapShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14693 PyObject
*resultobj
;
14694 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14695 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
14698 int arg5
= (int) 0 ;
14699 int arg6
= (int) 0 ;
14700 PyObject
* obj0
= 0 ;
14701 PyObject
* obj1
= 0 ;
14702 PyObject
* obj2
= 0 ;
14703 PyObject
* obj3
= 0 ;
14704 PyObject
* obj4
= 0 ;
14705 PyObject
* obj5
= 0 ;
14706 char *kwnames
[] = {
14707 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyBitmapShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14712 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14714 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
14715 if (PyErr_Occurred()) SWIG_fail
;
14718 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
14719 if (PyErr_Occurred()) SWIG_fail
;
14723 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
14724 if (PyErr_Occurred()) SWIG_fail
;
14729 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
14730 if (PyErr_Occurred()) SWIG_fail
;
14734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14735 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
14737 wxPyEndAllowThreads(__tstate
);
14738 if (PyErr_Occurred()) SWIG_fail
;
14740 Py_INCREF(Py_None
); resultobj
= Py_None
;
14747 static PyObject
*_wrap_PyBitmapShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14748 PyObject
*resultobj
;
14749 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14750 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
14753 int arg5
= (int) 0 ;
14754 int arg6
= (int) 0 ;
14755 PyObject
* obj0
= 0 ;
14756 PyObject
* obj1
= 0 ;
14757 PyObject
* obj2
= 0 ;
14758 PyObject
* obj3
= 0 ;
14759 PyObject
* obj4
= 0 ;
14760 PyObject
* obj5
= 0 ;
14761 char *kwnames
[] = {
14762 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyBitmapShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14766 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14767 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14769 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
14770 if (PyErr_Occurred()) SWIG_fail
;
14773 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
14774 if (PyErr_Occurred()) SWIG_fail
;
14778 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
14779 if (PyErr_Occurred()) SWIG_fail
;
14784 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
14785 if (PyErr_Occurred()) SWIG_fail
;
14789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14790 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
14792 wxPyEndAllowThreads(__tstate
);
14793 if (PyErr_Occurred()) SWIG_fail
;
14795 Py_INCREF(Py_None
); resultobj
= Py_None
;
14802 static PyObject
*_wrap_PyBitmapShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14803 PyObject
*resultobj
;
14804 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14807 PyObject
* obj0
= 0 ;
14808 PyObject
* obj1
= 0 ;
14809 PyObject
* obj2
= 0 ;
14810 char *kwnames
[] = {
14811 (char *) "self",(char *) "w",(char *) "h", NULL
14814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14815 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14817 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
14818 if (PyErr_Occurred()) SWIG_fail
;
14821 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
14822 if (PyErr_Occurred()) SWIG_fail
;
14825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14826 (arg1
)->base_OnBeginSize(arg2
,arg3
);
14828 wxPyEndAllowThreads(__tstate
);
14829 if (PyErr_Occurred()) SWIG_fail
;
14831 Py_INCREF(Py_None
); resultobj
= Py_None
;
14838 static PyObject
*_wrap_PyBitmapShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14839 PyObject
*resultobj
;
14840 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14843 PyObject
* obj0
= 0 ;
14844 PyObject
* obj1
= 0 ;
14845 PyObject
* obj2
= 0 ;
14846 char *kwnames
[] = {
14847 (char *) "self",(char *) "w",(char *) "h", NULL
14850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14851 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14853 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
14854 if (PyErr_Occurred()) SWIG_fail
;
14857 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
14858 if (PyErr_Occurred()) SWIG_fail
;
14861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14862 (arg1
)->base_OnEndSize(arg2
,arg3
);
14864 wxPyEndAllowThreads(__tstate
);
14865 if (PyErr_Occurred()) SWIG_fail
;
14867 Py_INCREF(Py_None
); resultobj
= Py_None
;
14874 static PyObject
* PyBitmapShape_swigregister(PyObject
*self
, PyObject
*args
) {
14876 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14877 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapShape
, obj
);
14879 return Py_BuildValue((char *)"");
14881 static PyObject
*_wrap_new_PyDrawnShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14882 PyObject
*resultobj
;
14883 wxPyDrawnShape
*result
;
14884 char *kwnames
[] = {
14888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyDrawnShape",kwnames
)) goto fail
;
14890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14891 result
= (wxPyDrawnShape
*)new wxPyDrawnShape();
14893 wxPyEndAllowThreads(__tstate
);
14894 if (PyErr_Occurred()) SWIG_fail
;
14896 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyDrawnShape
, 1);
14903 static PyObject
*_wrap_PyDrawnShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14904 PyObject
*resultobj
;
14905 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14906 PyObject
*arg2
= (PyObject
*) 0 ;
14907 PyObject
*arg3
= (PyObject
*) 0 ;
14908 PyObject
* obj0
= 0 ;
14909 PyObject
* obj1
= 0 ;
14910 PyObject
* obj2
= 0 ;
14911 char *kwnames
[] = {
14912 (char *) "self",(char *) "self",(char *) "_class", NULL
14915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14916 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14921 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14923 wxPyEndAllowThreads(__tstate
);
14924 if (PyErr_Occurred()) SWIG_fail
;
14926 Py_INCREF(Py_None
); resultobj
= Py_None
;
14933 static PyObject
*_wrap_PyDrawnShape_CalculateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14934 PyObject
*resultobj
;
14935 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14936 PyObject
* obj0
= 0 ;
14937 char *kwnames
[] = {
14938 (char *) "self", NULL
14941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_CalculateSize",kwnames
,&obj0
)) goto fail
;
14942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14945 (arg1
)->CalculateSize();
14947 wxPyEndAllowThreads(__tstate
);
14948 if (PyErr_Occurred()) SWIG_fail
;
14950 Py_INCREF(Py_None
); resultobj
= Py_None
;
14957 static PyObject
*_wrap_PyDrawnShape_DestroyClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14958 PyObject
*resultobj
;
14959 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14960 PyObject
* obj0
= 0 ;
14961 char *kwnames
[] = {
14962 (char *) "self", NULL
14965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_DestroyClippingRect",kwnames
,&obj0
)) goto fail
;
14966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14969 (arg1
)->DestroyClippingRect();
14971 wxPyEndAllowThreads(__tstate
);
14972 if (PyErr_Occurred()) SWIG_fail
;
14974 Py_INCREF(Py_None
); resultobj
= Py_None
;
14981 static PyObject
*_wrap_PyDrawnShape_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14982 PyObject
*resultobj
;
14983 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14984 wxPoint
*arg2
= 0 ;
14985 wxPoint
*arg3
= 0 ;
14986 wxPoint
*arg4
= 0 ;
14990 PyObject
* obj0
= 0 ;
14991 PyObject
* obj1
= 0 ;
14992 PyObject
* obj2
= 0 ;
14993 PyObject
* obj3
= 0 ;
14994 char *kwnames
[] = {
14995 (char *) "self",(char *) "centrePoint",(char *) "startPoint",(char *) "endPoint", NULL
14998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyDrawnShape_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14999 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15002 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15006 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15010 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15014 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
15016 wxPyEndAllowThreads(__tstate
);
15017 if (PyErr_Occurred()) SWIG_fail
;
15019 Py_INCREF(Py_None
); resultobj
= Py_None
;
15026 static PyObject
*_wrap_PyDrawnShape_DrawAtAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15027 PyObject
*resultobj
;
15028 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15030 PyObject
* obj0
= 0 ;
15031 PyObject
* obj1
= 0 ;
15032 char *kwnames
[] = {
15033 (char *) "self",(char *) "angle", NULL
15036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_DrawAtAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
15037 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15039 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15040 if (PyErr_Occurred()) SWIG_fail
;
15043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15044 (arg1
)->DrawAtAngle(arg2
);
15046 wxPyEndAllowThreads(__tstate
);
15047 if (PyErr_Occurred()) SWIG_fail
;
15049 Py_INCREF(Py_None
); resultobj
= Py_None
;
15056 static PyObject
*_wrap_PyDrawnShape_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15057 PyObject
*resultobj
;
15058 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15063 PyObject
* obj0
= 0 ;
15064 PyObject
* obj1
= 0 ;
15065 PyObject
* obj2
= 0 ;
15066 PyObject
* obj3
= 0 ;
15067 char *kwnames
[] = {
15068 (char *) "self",(char *) "rect",(char *) "startAngle",(char *) "endAngle", NULL
15071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyDrawnShape_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15075 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15078 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
15079 if (PyErr_Occurred()) SWIG_fail
;
15082 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
15083 if (PyErr_Occurred()) SWIG_fail
;
15086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15087 (arg1
)->DrawEllipticArc((wxRect
const &)*arg2
,arg3
,arg4
);
15089 wxPyEndAllowThreads(__tstate
);
15090 if (PyErr_Occurred()) SWIG_fail
;
15092 Py_INCREF(Py_None
); resultobj
= Py_None
;
15099 static PyObject
*_wrap_PyDrawnShape_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15100 PyObject
*resultobj
;
15101 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15102 wxPoint
*arg2
= 0 ;
15103 wxPoint
*arg3
= 0 ;
15106 PyObject
* obj0
= 0 ;
15107 PyObject
* obj1
= 0 ;
15108 PyObject
* obj2
= 0 ;
15109 char *kwnames
[] = {
15110 (char *) "self",(char *) "point1",(char *) "point2", NULL
15113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15114 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15117 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15121 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15125 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
15127 wxPyEndAllowThreads(__tstate
);
15128 if (PyErr_Occurred()) SWIG_fail
;
15130 Py_INCREF(Py_None
); resultobj
= Py_None
;
15137 static PyObject
*_wrap_PyDrawnShape_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15138 PyObject
*resultobj
;
15139 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15141 wxPoint
*arg3
= (wxPoint
*) 0 ;
15142 PyObject
* obj0
= 0 ;
15143 PyObject
* obj1
= 0 ;
15144 PyObject
* obj2
= 0 ;
15145 char *kwnames
[] = {
15146 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
15149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15150 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15152 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15153 if (PyErr_Occurred()) SWIG_fail
;
15155 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15158 (arg1
)->DrawLines(arg2
,arg3
);
15160 wxPyEndAllowThreads(__tstate
);
15161 if (PyErr_Occurred()) SWIG_fail
;
15163 Py_INCREF(Py_None
); resultobj
= Py_None
;
15170 static PyObject
*_wrap_PyDrawnShape_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15171 PyObject
*resultobj
;
15172 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15173 wxPoint
*arg2
= 0 ;
15175 PyObject
* obj0
= 0 ;
15176 PyObject
* obj1
= 0 ;
15177 char *kwnames
[] = {
15178 (char *) "self",(char *) "point", NULL
15181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_DrawPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
15182 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15185 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15189 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
15191 wxPyEndAllowThreads(__tstate
);
15192 if (PyErr_Occurred()) SWIG_fail
;
15194 Py_INCREF(Py_None
); resultobj
= Py_None
;
15201 static PyObject
*_wrap_PyDrawnShape_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15202 PyObject
*resultobj
;
15203 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15205 wxPoint
*arg3
= (wxPoint
*) 0 ;
15206 int arg4
= (int) 0 ;
15207 PyObject
* obj0
= 0 ;
15208 PyObject
* obj1
= 0 ;
15209 PyObject
* obj2
= 0 ;
15210 PyObject
* obj3
= 0 ;
15211 char *kwnames
[] = {
15212 (char *) "self",(char *) "PCOUNT",(char *) "points",(char *) "flags", NULL
15215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyDrawnShape_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15218 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15219 if (PyErr_Occurred()) SWIG_fail
;
15221 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15224 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
15225 if (PyErr_Occurred()) SWIG_fail
;
15229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15230 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
);
15232 wxPyEndAllowThreads(__tstate
);
15233 if (PyErr_Occurred()) SWIG_fail
;
15235 Py_INCREF(Py_None
); resultobj
= Py_None
;
15242 static PyObject
*_wrap_PyDrawnShape_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15243 PyObject
*resultobj
;
15244 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15247 PyObject
* obj0
= 0 ;
15248 PyObject
* obj1
= 0 ;
15249 char *kwnames
[] = {
15250 (char *) "self",(char *) "rect", NULL
15253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_DrawRectangle",kwnames
,&obj0
,&obj1
)) goto fail
;
15254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15257 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15261 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
15263 wxPyEndAllowThreads(__tstate
);
15264 if (PyErr_Occurred()) SWIG_fail
;
15266 Py_INCREF(Py_None
); resultobj
= Py_None
;
15273 static PyObject
*_wrap_PyDrawnShape_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15274 PyObject
*resultobj
;
15275 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15279 PyObject
* obj0
= 0 ;
15280 PyObject
* obj1
= 0 ;
15281 PyObject
* obj2
= 0 ;
15282 char *kwnames
[] = {
15283 (char *) "self",(char *) "rect",(char *) "radius", NULL
15286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15290 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15293 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
15294 if (PyErr_Occurred()) SWIG_fail
;
15297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15298 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
15300 wxPyEndAllowThreads(__tstate
);
15301 if (PyErr_Occurred()) SWIG_fail
;
15303 Py_INCREF(Py_None
); resultobj
= Py_None
;
15310 static PyObject
*_wrap_PyDrawnShape_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15311 PyObject
*resultobj
;
15312 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15314 wxPoint
*arg3
= (wxPoint
*) 0 ;
15315 PyObject
* obj0
= 0 ;
15316 PyObject
* obj1
= 0 ;
15317 PyObject
* obj2
= 0 ;
15318 char *kwnames
[] = {
15319 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
15322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_DrawSpline",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15325 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15326 if (PyErr_Occurred()) SWIG_fail
;
15328 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15331 (arg1
)->DrawSpline(arg2
,arg3
);
15333 wxPyEndAllowThreads(__tstate
);
15334 if (PyErr_Occurred()) SWIG_fail
;
15336 Py_INCREF(Py_None
); resultobj
= Py_None
;
15343 static PyObject
*_wrap_PyDrawnShape_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15344 PyObject
*resultobj
;
15345 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15346 wxString
*arg2
= 0 ;
15347 wxPoint
*arg3
= 0 ;
15348 bool temp2
= False
;
15350 PyObject
* obj0
= 0 ;
15351 PyObject
* obj1
= 0 ;
15352 PyObject
* obj2
= 0 ;
15353 char *kwnames
[] = {
15354 (char *) "self",(char *) "text",(char *) "point", NULL
15357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_DrawText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15358 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15360 arg2
= wxString_in_helper(obj1
);
15361 if (arg2
== NULL
) SWIG_fail
;
15366 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15370 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
15372 wxPyEndAllowThreads(__tstate
);
15373 if (PyErr_Occurred()) SWIG_fail
;
15375 Py_INCREF(Py_None
); resultobj
= Py_None
;
15390 static PyObject
*_wrap_PyDrawnShape_GetAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15391 PyObject
*resultobj
;
15392 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15394 PyObject
* obj0
= 0 ;
15395 char *kwnames
[] = {
15396 (char *) "self", NULL
15399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_GetAngle",kwnames
,&obj0
)) goto fail
;
15400 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15403 result
= (int)(arg1
)->GetAngle();
15405 wxPyEndAllowThreads(__tstate
);
15406 if (PyErr_Occurred()) SWIG_fail
;
15408 resultobj
= SWIG_PyObj_FromInt((int)result
);
15415 static PyObject
*_wrap_PyDrawnShape_GetMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15416 PyObject
*resultobj
;
15417 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15418 wxPseudoMetaFile
*result
;
15419 PyObject
* obj0
= 0 ;
15420 char *kwnames
[] = {
15421 (char *) "self", NULL
15424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_GetMetaFile",kwnames
,&obj0
)) goto fail
;
15425 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15429 wxPseudoMetaFile
&_result_ref
= (arg1
)->GetMetaFile();
15430 result
= (wxPseudoMetaFile
*) &_result_ref
;
15433 wxPyEndAllowThreads(__tstate
);
15434 if (PyErr_Occurred()) SWIG_fail
;
15436 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPseudoMetaFile
, 0);
15443 static PyObject
*_wrap_PyDrawnShape_GetRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15444 PyObject
*resultobj
;
15445 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15447 PyObject
* obj0
= 0 ;
15448 char *kwnames
[] = {
15449 (char *) "self", NULL
15452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_GetRotation",kwnames
,&obj0
)) goto fail
;
15453 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15456 result
= (double)(arg1
)->GetRotation();
15458 wxPyEndAllowThreads(__tstate
);
15459 if (PyErr_Occurred()) SWIG_fail
;
15461 resultobj
= SWIG_PyObj_FromDouble((double)result
);
15468 static PyObject
*_wrap_PyDrawnShape_LoadFromMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15469 PyObject
*resultobj
;
15470 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15471 wxString
*arg2
= 0 ;
15473 bool temp2
= False
;
15474 PyObject
* obj0
= 0 ;
15475 PyObject
* obj1
= 0 ;
15476 char *kwnames
[] = {
15477 (char *) "self",(char *) "filename", NULL
15480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_LoadFromMetaFile",kwnames
,&obj0
,&obj1
)) goto fail
;
15481 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15483 arg2
= wxString_in_helper(obj1
);
15484 if (arg2
== NULL
) SWIG_fail
;
15488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15489 result
= (bool)(arg1
)->LoadFromMetaFile((wxString
const &)*arg2
);
15491 wxPyEndAllowThreads(__tstate
);
15492 if (PyErr_Occurred()) SWIG_fail
;
15494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15509 static PyObject
*_wrap_PyDrawnShape_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15510 PyObject
*resultobj
;
15511 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15515 PyObject
* obj0
= 0 ;
15516 PyObject
* obj1
= 0 ;
15517 PyObject
* obj2
= 0 ;
15518 PyObject
* obj3
= 0 ;
15519 char *kwnames
[] = {
15520 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
15523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyDrawnShape_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15524 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15526 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
15527 if (PyErr_Occurred()) SWIG_fail
;
15530 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
15531 if (PyErr_Occurred()) SWIG_fail
;
15534 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
15535 if (PyErr_Occurred()) SWIG_fail
;
15538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15539 (arg1
)->Rotate(arg2
,arg3
,arg4
);
15541 wxPyEndAllowThreads(__tstate
);
15542 if (PyErr_Occurred()) SWIG_fail
;
15544 Py_INCREF(Py_None
); resultobj
= Py_None
;
15551 static PyObject
*_wrap_PyDrawnShape_SetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15552 PyObject
*resultobj
;
15553 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15556 PyObject
* obj0
= 0 ;
15557 PyObject
* obj1
= 0 ;
15558 char *kwnames
[] = {
15559 (char *) "self",(char *) "rect", NULL
15562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
15563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15566 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15570 (arg1
)->SetClippingRect((wxRect
const &)*arg2
);
15572 wxPyEndAllowThreads(__tstate
);
15573 if (PyErr_Occurred()) SWIG_fail
;
15575 Py_INCREF(Py_None
); resultobj
= Py_None
;
15582 static PyObject
*_wrap_PyDrawnShape_SetDrawnBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15583 PyObject
*resultobj
;
15584 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15585 wxColour
*arg2
= 0 ;
15587 PyObject
* obj0
= 0 ;
15588 PyObject
* obj1
= 0 ;
15589 char *kwnames
[] = {
15590 (char *) "self",(char *) "colour", NULL
15593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetDrawnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15594 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15597 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15601 (arg1
)->SetDrawnBackgroundColour((wxColour
const &)*arg2
);
15603 wxPyEndAllowThreads(__tstate
);
15604 if (PyErr_Occurred()) SWIG_fail
;
15606 Py_INCREF(Py_None
); resultobj
= Py_None
;
15613 static PyObject
*_wrap_PyDrawnShape_SetDrawnBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15614 PyObject
*resultobj
;
15615 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15617 PyObject
* obj0
= 0 ;
15618 PyObject
* obj1
= 0 ;
15619 char *kwnames
[] = {
15620 (char *) "self",(char *) "mode", NULL
15623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetDrawnBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
15624 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15626 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15627 if (PyErr_Occurred()) SWIG_fail
;
15630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15631 (arg1
)->SetDrawnBackgroundMode(arg2
);
15633 wxPyEndAllowThreads(__tstate
);
15634 if (PyErr_Occurred()) SWIG_fail
;
15636 Py_INCREF(Py_None
); resultobj
= Py_None
;
15643 static PyObject
*_wrap_PyDrawnShape_SetDrawnBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15644 PyObject
*resultobj
;
15645 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15646 wxBrush
*arg2
= (wxBrush
*) 0 ;
15647 bool arg3
= (bool) FALSE
;
15648 PyObject
* obj0
= 0 ;
15649 PyObject
* obj1
= 0 ;
15650 PyObject
* obj2
= 0 ;
15651 char *kwnames
[] = {
15652 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
15655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDrawnShape_SetDrawnBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15660 if (obj1
== Py_None
) {
15663 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxBrush"))) {
15664 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxBrush.");
15669 arg2
= wxTheBrushList
->FindOrCreateBrush(temp
->GetColour(), temp
->GetStyle());
15675 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
15676 if (PyErr_Occurred()) SWIG_fail
;
15680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15681 (arg1
)->SetDrawnBrush(arg2
,arg3
);
15683 wxPyEndAllowThreads(__tstate
);
15684 if (PyErr_Occurred()) SWIG_fail
;
15686 Py_INCREF(Py_None
); resultobj
= Py_None
;
15693 static PyObject
*_wrap_PyDrawnShape_SetDrawnFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15694 PyObject
*resultobj
;
15695 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15696 wxFont
*arg2
= (wxFont
*) 0 ;
15697 PyObject
* obj0
= 0 ;
15698 PyObject
* obj1
= 0 ;
15699 char *kwnames
[] = {
15700 (char *) "self",(char *) "font", NULL
15703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetDrawnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15704 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15708 if (obj1
== Py_None
) {
15711 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxFont"))) {
15712 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxFont.");
15717 arg2
= wxTheFontList
->FindOrCreateFont(temp
->GetPointSize(),
15721 temp
->GetUnderlined(),
15722 temp
->GetFaceName(),
15723 temp
->GetEncoding());
15728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15729 (arg1
)->SetDrawnFont(arg2
);
15731 wxPyEndAllowThreads(__tstate
);
15732 if (PyErr_Occurred()) SWIG_fail
;
15734 Py_INCREF(Py_None
); resultobj
= Py_None
;
15741 static PyObject
*_wrap_PyDrawnShape_SetDrawnPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15742 PyObject
*resultobj
;
15743 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15744 wxPen
*arg2
= (wxPen
*) 0 ;
15745 bool arg3
= (bool) FALSE
;
15746 PyObject
* obj0
= 0 ;
15747 PyObject
* obj1
= 0 ;
15748 PyObject
* obj2
= 0 ;
15749 char *kwnames
[] = {
15750 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
15753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDrawnShape_SetDrawnPen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15754 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15758 if (obj1
== Py_None
) {
15761 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
15762 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
15767 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
15775 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
15776 if (PyErr_Occurred()) SWIG_fail
;
15780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15781 (arg1
)->SetDrawnPen(arg2
,arg3
);
15783 wxPyEndAllowThreads(__tstate
);
15784 if (PyErr_Occurred()) SWIG_fail
;
15786 Py_INCREF(Py_None
); resultobj
= Py_None
;
15793 static PyObject
*_wrap_PyDrawnShape_SetDrawnTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15794 PyObject
*resultobj
;
15795 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15796 wxColour
*arg2
= 0 ;
15798 PyObject
* obj0
= 0 ;
15799 PyObject
* obj1
= 0 ;
15800 char *kwnames
[] = {
15801 (char *) "self",(char *) "colour", NULL
15804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetDrawnTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15805 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15808 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15812 (arg1
)->SetDrawnTextColour((wxColour
const &)*arg2
);
15814 wxPyEndAllowThreads(__tstate
);
15815 if (PyErr_Occurred()) SWIG_fail
;
15817 Py_INCREF(Py_None
); resultobj
= Py_None
;
15824 static PyObject
*_wrap_PyDrawnShape_Scale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15825 PyObject
*resultobj
;
15826 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15829 PyObject
* obj0
= 0 ;
15830 PyObject
* obj1
= 0 ;
15831 PyObject
* obj2
= 0 ;
15832 char *kwnames
[] = {
15833 (char *) "self",(char *) "sx",(char *) "sy", NULL
15836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15837 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15839 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
15840 if (PyErr_Occurred()) SWIG_fail
;
15843 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
15844 if (PyErr_Occurred()) SWIG_fail
;
15847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15848 (arg1
)->Scale(arg2
,arg3
);
15850 wxPyEndAllowThreads(__tstate
);
15851 if (PyErr_Occurred()) SWIG_fail
;
15853 Py_INCREF(Py_None
); resultobj
= Py_None
;
15860 static PyObject
*_wrap_PyDrawnShape_SetSaveToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15861 PyObject
*resultobj
;
15862 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15864 PyObject
* obj0
= 0 ;
15865 PyObject
* obj1
= 0 ;
15866 char *kwnames
[] = {
15867 (char *) "self",(char *) "save", NULL
15870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetSaveToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
15871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15873 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
15874 if (PyErr_Occurred()) SWIG_fail
;
15877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15878 (arg1
)->SetSaveToFile(arg2
);
15880 wxPyEndAllowThreads(__tstate
);
15881 if (PyErr_Occurred()) SWIG_fail
;
15883 Py_INCREF(Py_None
); resultobj
= Py_None
;
15890 static PyObject
*_wrap_PyDrawnShape_Translate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15891 PyObject
*resultobj
;
15892 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15895 PyObject
* obj0
= 0 ;
15896 PyObject
* obj1
= 0 ;
15897 PyObject
* obj2
= 0 ;
15898 char *kwnames
[] = {
15899 (char *) "self",(char *) "x",(char *) "y", NULL
15902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15903 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15905 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
15906 if (PyErr_Occurred()) SWIG_fail
;
15909 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
15910 if (PyErr_Occurred()) SWIG_fail
;
15913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15914 (arg1
)->Translate(arg2
,arg3
);
15916 wxPyEndAllowThreads(__tstate
);
15917 if (PyErr_Occurred()) SWIG_fail
;
15919 Py_INCREF(Py_None
); resultobj
= Py_None
;
15926 static PyObject
*_wrap_PyDrawnShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15927 PyObject
*resultobj
;
15928 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15929 PyObject
* obj0
= 0 ;
15930 char *kwnames
[] = {
15931 (char *) "self", NULL
15934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
15935 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15938 (arg1
)->base_OnDelete();
15940 wxPyEndAllowThreads(__tstate
);
15941 if (PyErr_Occurred()) SWIG_fail
;
15943 Py_INCREF(Py_None
); resultobj
= Py_None
;
15950 static PyObject
*_wrap_PyDrawnShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15951 PyObject
*resultobj
;
15952 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15954 PyObject
* obj0
= 0 ;
15955 PyObject
* obj1
= 0 ;
15956 char *kwnames
[] = {
15957 (char *) "self",(char *) "dc", NULL
15960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
15961 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15962 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15963 if (arg2
== NULL
) {
15964 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15968 (arg1
)->base_OnDraw(*arg2
);
15970 wxPyEndAllowThreads(__tstate
);
15971 if (PyErr_Occurred()) SWIG_fail
;
15973 Py_INCREF(Py_None
); resultobj
= Py_None
;
15980 static PyObject
*_wrap_PyDrawnShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15981 PyObject
*resultobj
;
15982 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15984 PyObject
* obj0
= 0 ;
15985 PyObject
* obj1
= 0 ;
15986 char *kwnames
[] = {
15987 (char *) "self",(char *) "dc", NULL
15990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
15991 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15992 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15993 if (arg2
== NULL
) {
15994 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15998 (arg1
)->base_OnDrawContents(*arg2
);
16000 wxPyEndAllowThreads(__tstate
);
16001 if (PyErr_Occurred()) SWIG_fail
;
16003 Py_INCREF(Py_None
); resultobj
= Py_None
;
16010 static PyObject
*_wrap_PyDrawnShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16011 PyObject
*resultobj
;
16012 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16014 bool arg3
= (bool) FALSE
;
16015 PyObject
* obj0
= 0 ;
16016 PyObject
* obj1
= 0 ;
16017 PyObject
* obj2
= 0 ;
16018 char *kwnames
[] = {
16019 (char *) "self",(char *) "dc",(char *) "erase", NULL
16022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDrawnShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16023 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16024 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16025 if (arg2
== NULL
) {
16026 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16030 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
16031 if (PyErr_Occurred()) SWIG_fail
;
16035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16036 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
16038 wxPyEndAllowThreads(__tstate
);
16039 if (PyErr_Occurred()) SWIG_fail
;
16041 Py_INCREF(Py_None
); resultobj
= Py_None
;
16048 static PyObject
*_wrap_PyDrawnShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16049 PyObject
*resultobj
;
16050 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16052 PyObject
* obj0
= 0 ;
16053 PyObject
* obj1
= 0 ;
16054 char *kwnames
[] = {
16055 (char *) "self",(char *) "dc", NULL
16058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
16059 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16060 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16061 if (arg2
== NULL
) {
16062 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16066 (arg1
)->base_OnMoveLinks(*arg2
);
16068 wxPyEndAllowThreads(__tstate
);
16069 if (PyErr_Occurred()) SWIG_fail
;
16071 Py_INCREF(Py_None
); resultobj
= Py_None
;
16078 static PyObject
*_wrap_PyDrawnShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16079 PyObject
*resultobj
;
16080 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16082 PyObject
* obj0
= 0 ;
16083 PyObject
* obj1
= 0 ;
16084 char *kwnames
[] = {
16085 (char *) "self",(char *) "dc", NULL
16088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
16089 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16090 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16091 if (arg2
== NULL
) {
16092 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16096 (arg1
)->base_OnErase(*arg2
);
16098 wxPyEndAllowThreads(__tstate
);
16099 if (PyErr_Occurred()) SWIG_fail
;
16101 Py_INCREF(Py_None
); resultobj
= Py_None
;
16108 static PyObject
*_wrap_PyDrawnShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16109 PyObject
*resultobj
;
16110 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16112 PyObject
* obj0
= 0 ;
16113 PyObject
* obj1
= 0 ;
16114 char *kwnames
[] = {
16115 (char *) "self",(char *) "dc", NULL
16118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
16119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16120 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16121 if (arg2
== NULL
) {
16122 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16126 (arg1
)->base_OnEraseContents(*arg2
);
16128 wxPyEndAllowThreads(__tstate
);
16129 if (PyErr_Occurred()) SWIG_fail
;
16131 Py_INCREF(Py_None
); resultobj
= Py_None
;
16138 static PyObject
*_wrap_PyDrawnShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16139 PyObject
*resultobj
;
16140 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16142 PyObject
* obj0
= 0 ;
16143 PyObject
* obj1
= 0 ;
16144 char *kwnames
[] = {
16145 (char *) "self",(char *) "dc", NULL
16148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
16149 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16150 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16151 if (arg2
== NULL
) {
16152 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16156 (arg1
)->base_OnHighlight(*arg2
);
16158 wxPyEndAllowThreads(__tstate
);
16159 if (PyErr_Occurred()) SWIG_fail
;
16161 Py_INCREF(Py_None
); resultobj
= Py_None
;
16168 static PyObject
*_wrap_PyDrawnShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16169 PyObject
*resultobj
;
16170 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16173 int arg4
= (int) 0 ;
16174 int arg5
= (int) 0 ;
16175 PyObject
* obj0
= 0 ;
16176 PyObject
* obj1
= 0 ;
16177 PyObject
* obj2
= 0 ;
16178 PyObject
* obj3
= 0 ;
16179 PyObject
* obj4
= 0 ;
16180 char *kwnames
[] = {
16181 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16185 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16187 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
16188 if (PyErr_Occurred()) SWIG_fail
;
16191 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
16192 if (PyErr_Occurred()) SWIG_fail
;
16196 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
16197 if (PyErr_Occurred()) SWIG_fail
;
16202 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
16203 if (PyErr_Occurred()) SWIG_fail
;
16207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16208 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
16210 wxPyEndAllowThreads(__tstate
);
16211 if (PyErr_Occurred()) SWIG_fail
;
16213 Py_INCREF(Py_None
); resultobj
= Py_None
;
16220 static PyObject
*_wrap_PyDrawnShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16221 PyObject
*resultobj
;
16222 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16225 int arg4
= (int) 0 ;
16226 int arg5
= (int) 0 ;
16227 PyObject
* obj0
= 0 ;
16228 PyObject
* obj1
= 0 ;
16229 PyObject
* obj2
= 0 ;
16230 PyObject
* obj3
= 0 ;
16231 PyObject
* obj4
= 0 ;
16232 char *kwnames
[] = {
16233 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16237 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16239 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
16240 if (PyErr_Occurred()) SWIG_fail
;
16243 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
16244 if (PyErr_Occurred()) SWIG_fail
;
16248 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
16249 if (PyErr_Occurred()) SWIG_fail
;
16254 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
16255 if (PyErr_Occurred()) SWIG_fail
;
16259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16260 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
16262 wxPyEndAllowThreads(__tstate
);
16263 if (PyErr_Occurred()) SWIG_fail
;
16265 Py_INCREF(Py_None
); resultobj
= Py_None
;
16272 static PyObject
*_wrap_PyDrawnShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16273 PyObject
*resultobj
;
16274 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16277 int arg4
= (int) 0 ;
16278 int arg5
= (int) 0 ;
16279 PyObject
* obj0
= 0 ;
16280 PyObject
* obj1
= 0 ;
16281 PyObject
* obj2
= 0 ;
16282 PyObject
* obj3
= 0 ;
16283 PyObject
* obj4
= 0 ;
16284 char *kwnames
[] = {
16285 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16289 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16291 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
16292 if (PyErr_Occurred()) SWIG_fail
;
16295 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
16296 if (PyErr_Occurred()) SWIG_fail
;
16300 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
16301 if (PyErr_Occurred()) SWIG_fail
;
16306 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
16307 if (PyErr_Occurred()) SWIG_fail
;
16311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16312 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
16314 wxPyEndAllowThreads(__tstate
);
16315 if (PyErr_Occurred()) SWIG_fail
;
16317 Py_INCREF(Py_None
); resultobj
= Py_None
;
16324 static PyObject
*_wrap_PyDrawnShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16325 PyObject
*resultobj
;
16326 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16329 PyObject
* obj0
= 0 ;
16330 PyObject
* obj1
= 0 ;
16331 PyObject
* obj2
= 0 ;
16332 char *kwnames
[] = {
16333 (char *) "self",(char *) "x",(char *) "y", NULL
16336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16337 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16339 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
16340 if (PyErr_Occurred()) SWIG_fail
;
16343 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
16344 if (PyErr_Occurred()) SWIG_fail
;
16347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16348 (arg1
)->base_OnSize(arg2
,arg3
);
16350 wxPyEndAllowThreads(__tstate
);
16351 if (PyErr_Occurred()) SWIG_fail
;
16353 Py_INCREF(Py_None
); resultobj
= Py_None
;
16360 static PyObject
*_wrap_PyDrawnShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16361 PyObject
*resultobj
;
16362 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16368 bool arg7
= (bool) True
;
16370 PyObject
* obj0
= 0 ;
16371 PyObject
* obj1
= 0 ;
16372 PyObject
* obj2
= 0 ;
16373 PyObject
* obj3
= 0 ;
16374 PyObject
* obj4
= 0 ;
16375 PyObject
* obj5
= 0 ;
16376 PyObject
* obj6
= 0 ;
16377 char *kwnames
[] = {
16378 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
16381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyDrawnShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16383 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16384 if (arg2
== NULL
) {
16385 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16388 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
16389 if (PyErr_Occurred()) SWIG_fail
;
16392 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
16393 if (PyErr_Occurred()) SWIG_fail
;
16396 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
16397 if (PyErr_Occurred()) SWIG_fail
;
16400 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
16401 if (PyErr_Occurred()) SWIG_fail
;
16405 arg7
= (bool) SWIG_PyObj_AsBool(obj6
);
16406 if (PyErr_Occurred()) SWIG_fail
;
16410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16411 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
16413 wxPyEndAllowThreads(__tstate
);
16414 if (PyErr_Occurred()) SWIG_fail
;
16416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16423 static PyObject
*_wrap_PyDrawnShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16424 PyObject
*resultobj
;
16425 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16431 bool arg7
= (bool) True
;
16432 PyObject
* obj0
= 0 ;
16433 PyObject
* obj1
= 0 ;
16434 PyObject
* obj2
= 0 ;
16435 PyObject
* obj3
= 0 ;
16436 PyObject
* obj4
= 0 ;
16437 PyObject
* obj5
= 0 ;
16438 PyObject
* obj6
= 0 ;
16439 char *kwnames
[] = {
16440 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
16443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyDrawnShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16444 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16445 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16446 if (arg2
== NULL
) {
16447 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16450 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
16451 if (PyErr_Occurred()) SWIG_fail
;
16454 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
16455 if (PyErr_Occurred()) SWIG_fail
;
16458 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
16459 if (PyErr_Occurred()) SWIG_fail
;
16462 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
16463 if (PyErr_Occurred()) SWIG_fail
;
16467 arg7
= (bool) SWIG_PyObj_AsBool(obj6
);
16468 if (PyErr_Occurred()) SWIG_fail
;
16472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16473 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
16475 wxPyEndAllowThreads(__tstate
);
16476 if (PyErr_Occurred()) SWIG_fail
;
16478 Py_INCREF(Py_None
); resultobj
= Py_None
;
16485 static PyObject
*_wrap_PyDrawnShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16486 PyObject
*resultobj
;
16487 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16491 int arg5
= (int) 0 ;
16492 int arg6
= (int) 0 ;
16493 PyObject
* obj0
= 0 ;
16494 PyObject
* obj1
= 0 ;
16495 PyObject
* obj2
= 0 ;
16496 PyObject
* obj3
= 0 ;
16497 PyObject
* obj4
= 0 ;
16498 PyObject
* obj5
= 0 ;
16499 char *kwnames
[] = {
16500 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDrawnShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16504 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16506 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
16507 if (PyErr_Occurred()) SWIG_fail
;
16510 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
16511 if (PyErr_Occurred()) SWIG_fail
;
16514 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
16515 if (PyErr_Occurred()) SWIG_fail
;
16519 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
16520 if (PyErr_Occurred()) SWIG_fail
;
16525 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
16526 if (PyErr_Occurred()) SWIG_fail
;
16530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16531 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
16533 wxPyEndAllowThreads(__tstate
);
16534 if (PyErr_Occurred()) SWIG_fail
;
16536 Py_INCREF(Py_None
); resultobj
= Py_None
;
16543 static PyObject
*_wrap_PyDrawnShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16544 PyObject
*resultobj
;
16545 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16548 int arg4
= (int) 0 ;
16549 int arg5
= (int) 0 ;
16550 PyObject
* obj0
= 0 ;
16551 PyObject
* obj1
= 0 ;
16552 PyObject
* obj2
= 0 ;
16553 PyObject
* obj3
= 0 ;
16554 PyObject
* obj4
= 0 ;
16555 char *kwnames
[] = {
16556 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16560 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16562 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
16563 if (PyErr_Occurred()) SWIG_fail
;
16566 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
16567 if (PyErr_Occurred()) SWIG_fail
;
16571 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
16572 if (PyErr_Occurred()) SWIG_fail
;
16577 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
16578 if (PyErr_Occurred()) SWIG_fail
;
16582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16583 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
16585 wxPyEndAllowThreads(__tstate
);
16586 if (PyErr_Occurred()) SWIG_fail
;
16588 Py_INCREF(Py_None
); resultobj
= Py_None
;
16595 static PyObject
*_wrap_PyDrawnShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16596 PyObject
*resultobj
;
16597 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16600 int arg4
= (int) 0 ;
16601 int arg5
= (int) 0 ;
16602 PyObject
* obj0
= 0 ;
16603 PyObject
* obj1
= 0 ;
16604 PyObject
* obj2
= 0 ;
16605 PyObject
* obj3
= 0 ;
16606 PyObject
* obj4
= 0 ;
16607 char *kwnames
[] = {
16608 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16612 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16614 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
16615 if (PyErr_Occurred()) SWIG_fail
;
16618 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
16619 if (PyErr_Occurred()) SWIG_fail
;
16623 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
16624 if (PyErr_Occurred()) SWIG_fail
;
16629 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
16630 if (PyErr_Occurred()) SWIG_fail
;
16634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16635 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
16637 wxPyEndAllowThreads(__tstate
);
16638 if (PyErr_Occurred()) SWIG_fail
;
16640 Py_INCREF(Py_None
); resultobj
= Py_None
;
16647 static PyObject
*_wrap_PyDrawnShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16648 PyObject
*resultobj
;
16649 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16653 int arg5
= (int) 0 ;
16654 int arg6
= (int) 0 ;
16655 PyObject
* obj0
= 0 ;
16656 PyObject
* obj1
= 0 ;
16657 PyObject
* obj2
= 0 ;
16658 PyObject
* obj3
= 0 ;
16659 PyObject
* obj4
= 0 ;
16660 PyObject
* obj5
= 0 ;
16661 char *kwnames
[] = {
16662 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDrawnShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16666 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16668 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
16669 if (PyErr_Occurred()) SWIG_fail
;
16672 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
16673 if (PyErr_Occurred()) SWIG_fail
;
16676 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
16677 if (PyErr_Occurred()) SWIG_fail
;
16681 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
16682 if (PyErr_Occurred()) SWIG_fail
;
16687 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
16688 if (PyErr_Occurred()) SWIG_fail
;
16692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16693 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
16695 wxPyEndAllowThreads(__tstate
);
16696 if (PyErr_Occurred()) SWIG_fail
;
16698 Py_INCREF(Py_None
); resultobj
= Py_None
;
16705 static PyObject
*_wrap_PyDrawnShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16706 PyObject
*resultobj
;
16707 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16710 int arg4
= (int) 0 ;
16711 int arg5
= (int) 0 ;
16712 PyObject
* obj0
= 0 ;
16713 PyObject
* obj1
= 0 ;
16714 PyObject
* obj2
= 0 ;
16715 PyObject
* obj3
= 0 ;
16716 PyObject
* obj4
= 0 ;
16717 char *kwnames
[] = {
16718 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16724 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
16725 if (PyErr_Occurred()) SWIG_fail
;
16728 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
16729 if (PyErr_Occurred()) SWIG_fail
;
16733 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
16734 if (PyErr_Occurred()) SWIG_fail
;
16739 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
16740 if (PyErr_Occurred()) SWIG_fail
;
16744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16745 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
16747 wxPyEndAllowThreads(__tstate
);
16748 if (PyErr_Occurred()) SWIG_fail
;
16750 Py_INCREF(Py_None
); resultobj
= Py_None
;
16757 static PyObject
*_wrap_PyDrawnShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16758 PyObject
*resultobj
;
16759 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16762 int arg4
= (int) 0 ;
16763 int arg5
= (int) 0 ;
16764 PyObject
* obj0
= 0 ;
16765 PyObject
* obj1
= 0 ;
16766 PyObject
* obj2
= 0 ;
16767 PyObject
* obj3
= 0 ;
16768 PyObject
* obj4
= 0 ;
16769 char *kwnames
[] = {
16770 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16776 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
16777 if (PyErr_Occurred()) SWIG_fail
;
16780 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
16781 if (PyErr_Occurred()) SWIG_fail
;
16785 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
16786 if (PyErr_Occurred()) SWIG_fail
;
16791 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
16792 if (PyErr_Occurred()) SWIG_fail
;
16796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16797 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
16799 wxPyEndAllowThreads(__tstate
);
16800 if (PyErr_Occurred()) SWIG_fail
;
16802 Py_INCREF(Py_None
); resultobj
= Py_None
;
16809 static PyObject
*_wrap_PyDrawnShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16810 PyObject
*resultobj
;
16811 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16817 PyObject
* obj0
= 0 ;
16818 PyObject
* obj1
= 0 ;
16819 PyObject
* obj2
= 0 ;
16820 PyObject
* obj3
= 0 ;
16821 PyObject
* obj4
= 0 ;
16822 PyObject
* obj5
= 0 ;
16823 char *kwnames
[] = {
16824 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
16827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyDrawnShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16828 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16829 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16830 if (arg2
== NULL
) {
16831 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16834 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
16835 if (PyErr_Occurred()) SWIG_fail
;
16838 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
16839 if (PyErr_Occurred()) SWIG_fail
;
16842 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
16843 if (PyErr_Occurred()) SWIG_fail
;
16846 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
16847 if (PyErr_Occurred()) SWIG_fail
;
16850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16851 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
16853 wxPyEndAllowThreads(__tstate
);
16854 if (PyErr_Occurred()) SWIG_fail
;
16856 Py_INCREF(Py_None
); resultobj
= Py_None
;
16863 static PyObject
*_wrap_PyDrawnShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16864 PyObject
*resultobj
;
16865 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16867 PyObject
* obj0
= 0 ;
16868 PyObject
* obj1
= 0 ;
16869 char *kwnames
[] = {
16870 (char *) "self",(char *) "dc", NULL
16873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
16874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16875 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16876 if (arg2
== NULL
) {
16877 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16881 (arg1
)->base_OnDrawControlPoints(*arg2
);
16883 wxPyEndAllowThreads(__tstate
);
16884 if (PyErr_Occurred()) SWIG_fail
;
16886 Py_INCREF(Py_None
); resultobj
= Py_None
;
16893 static PyObject
*_wrap_PyDrawnShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16894 PyObject
*resultobj
;
16895 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16897 PyObject
* obj0
= 0 ;
16898 PyObject
* obj1
= 0 ;
16899 char *kwnames
[] = {
16900 (char *) "self",(char *) "dc", NULL
16903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
16904 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16905 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16906 if (arg2
== NULL
) {
16907 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16911 (arg1
)->base_OnEraseControlPoints(*arg2
);
16913 wxPyEndAllowThreads(__tstate
);
16914 if (PyErr_Occurred()) SWIG_fail
;
16916 Py_INCREF(Py_None
); resultobj
= Py_None
;
16923 static PyObject
*_wrap_PyDrawnShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16924 PyObject
*resultobj
;
16925 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16927 bool arg3
= (bool) True
;
16928 PyObject
* obj0
= 0 ;
16929 PyObject
* obj1
= 0 ;
16930 PyObject
* obj2
= 0 ;
16931 char *kwnames
[] = {
16932 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
16935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDrawnShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16937 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16938 if (arg2
== NULL
) {
16939 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16943 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
16944 if (PyErr_Occurred()) SWIG_fail
;
16948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16949 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
16951 wxPyEndAllowThreads(__tstate
);
16952 if (PyErr_Occurred()) SWIG_fail
;
16954 Py_INCREF(Py_None
); resultobj
= Py_None
;
16961 static PyObject
*_wrap_PyDrawnShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16962 PyObject
*resultobj
;
16963 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16964 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
16968 int arg6
= (int) 0 ;
16969 int arg7
= (int) 0 ;
16970 PyObject
* obj0
= 0 ;
16971 PyObject
* obj1
= 0 ;
16972 PyObject
* obj2
= 0 ;
16973 PyObject
* obj3
= 0 ;
16974 PyObject
* obj4
= 0 ;
16975 PyObject
* obj5
= 0 ;
16976 PyObject
* obj6
= 0 ;
16977 char *kwnames
[] = {
16978 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyDrawnShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16982 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16983 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16985 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
16986 if (PyErr_Occurred()) SWIG_fail
;
16989 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
16990 if (PyErr_Occurred()) SWIG_fail
;
16993 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
16994 if (PyErr_Occurred()) SWIG_fail
;
16998 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
16999 if (PyErr_Occurred()) SWIG_fail
;
17004 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
17005 if (PyErr_Occurred()) SWIG_fail
;
17009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17010 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17012 wxPyEndAllowThreads(__tstate
);
17013 if (PyErr_Occurred()) SWIG_fail
;
17015 Py_INCREF(Py_None
); resultobj
= Py_None
;
17022 static PyObject
*_wrap_PyDrawnShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17023 PyObject
*resultobj
;
17024 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
17025 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
17028 int arg5
= (int) 0 ;
17029 int arg6
= (int) 0 ;
17030 PyObject
* obj0
= 0 ;
17031 PyObject
* obj1
= 0 ;
17032 PyObject
* obj2
= 0 ;
17033 PyObject
* obj3
= 0 ;
17034 PyObject
* obj4
= 0 ;
17035 PyObject
* obj5
= 0 ;
17036 char *kwnames
[] = {
17037 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDrawnShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17041 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17042 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17044 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
17045 if (PyErr_Occurred()) SWIG_fail
;
17048 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
17049 if (PyErr_Occurred()) SWIG_fail
;
17053 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
17054 if (PyErr_Occurred()) SWIG_fail
;
17059 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
17060 if (PyErr_Occurred()) SWIG_fail
;
17064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17065 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
17067 wxPyEndAllowThreads(__tstate
);
17068 if (PyErr_Occurred()) SWIG_fail
;
17070 Py_INCREF(Py_None
); resultobj
= Py_None
;
17077 static PyObject
*_wrap_PyDrawnShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17078 PyObject
*resultobj
;
17079 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
17080 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
17083 int arg5
= (int) 0 ;
17084 int arg6
= (int) 0 ;
17085 PyObject
* obj0
= 0 ;
17086 PyObject
* obj1
= 0 ;
17087 PyObject
* obj2
= 0 ;
17088 PyObject
* obj3
= 0 ;
17089 PyObject
* obj4
= 0 ;
17090 PyObject
* obj5
= 0 ;
17091 char *kwnames
[] = {
17092 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDrawnShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17097 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17099 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
17100 if (PyErr_Occurred()) SWIG_fail
;
17103 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
17104 if (PyErr_Occurred()) SWIG_fail
;
17108 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
17109 if (PyErr_Occurred()) SWIG_fail
;
17114 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
17115 if (PyErr_Occurred()) SWIG_fail
;
17119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17120 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
17122 wxPyEndAllowThreads(__tstate
);
17123 if (PyErr_Occurred()) SWIG_fail
;
17125 Py_INCREF(Py_None
); resultobj
= Py_None
;
17132 static PyObject
*_wrap_PyDrawnShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17133 PyObject
*resultobj
;
17134 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
17137 PyObject
* obj0
= 0 ;
17138 PyObject
* obj1
= 0 ;
17139 PyObject
* obj2
= 0 ;
17140 char *kwnames
[] = {
17141 (char *) "self",(char *) "w",(char *) "h", NULL
17144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17145 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17147 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
17148 if (PyErr_Occurred()) SWIG_fail
;
17151 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
17152 if (PyErr_Occurred()) SWIG_fail
;
17155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17156 (arg1
)->base_OnBeginSize(arg2
,arg3
);
17158 wxPyEndAllowThreads(__tstate
);
17159 if (PyErr_Occurred()) SWIG_fail
;
17161 Py_INCREF(Py_None
); resultobj
= Py_None
;
17168 static PyObject
*_wrap_PyDrawnShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17169 PyObject
*resultobj
;
17170 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
17173 PyObject
* obj0
= 0 ;
17174 PyObject
* obj1
= 0 ;
17175 PyObject
* obj2
= 0 ;
17176 char *kwnames
[] = {
17177 (char *) "self",(char *) "w",(char *) "h", NULL
17180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17181 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17183 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
17184 if (PyErr_Occurred()) SWIG_fail
;
17187 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
17188 if (PyErr_Occurred()) SWIG_fail
;
17191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17192 (arg1
)->base_OnEndSize(arg2
,arg3
);
17194 wxPyEndAllowThreads(__tstate
);
17195 if (PyErr_Occurred()) SWIG_fail
;
17197 Py_INCREF(Py_None
); resultobj
= Py_None
;
17204 static PyObject
* PyDrawnShape_swigregister(PyObject
*self
, PyObject
*args
) {
17206 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17207 SWIG_TypeClientData(SWIGTYPE_p_wxPyDrawnShape
, obj
);
17209 return Py_BuildValue((char *)"");
17211 static PyObject
*_wrap_new_OGLConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17212 PyObject
*resultobj
;
17214 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
17215 PyObject
*arg3
= (PyObject
*) 0 ;
17216 wxOGLConstraint
*result
;
17217 PyObject
* obj0
= 0 ;
17218 PyObject
* obj1
= 0 ;
17219 PyObject
* obj2
= 0 ;
17220 char *kwnames
[] = {
17221 (char *) "type",(char *) "constraining",(char *) "constrained", NULL
17224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_OGLConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17226 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
17227 if (PyErr_Occurred()) SWIG_fail
;
17229 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17233 result
= (wxOGLConstraint
*)new_wxOGLConstraint(arg1
,arg2
,arg3
);
17235 wxPyEndAllowThreads(__tstate
);
17236 if (PyErr_Occurred()) SWIG_fail
;
17239 resultobj
= wxPyMake_wxObject(result
);
17247 static PyObject
*_wrap_OGLConstraint_Evaluate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17248 PyObject
*resultobj
;
17249 wxOGLConstraint
*arg1
= (wxOGLConstraint
*) 0 ;
17251 PyObject
* obj0
= 0 ;
17252 char *kwnames
[] = {
17253 (char *) "self", NULL
17256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:OGLConstraint_Evaluate",kwnames
,&obj0
)) goto fail
;
17257 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxOGLConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17260 result
= (bool)(arg1
)->Evaluate();
17262 wxPyEndAllowThreads(__tstate
);
17263 if (PyErr_Occurred()) SWIG_fail
;
17265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17272 static PyObject
*_wrap_OGLConstraint_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17273 PyObject
*resultobj
;
17274 wxOGLConstraint
*arg1
= (wxOGLConstraint
*) 0 ;
17277 PyObject
* obj0
= 0 ;
17278 PyObject
* obj1
= 0 ;
17279 PyObject
* obj2
= 0 ;
17280 char *kwnames
[] = {
17281 (char *) "self",(char *) "x",(char *) "y", NULL
17284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:OGLConstraint_SetSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17285 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxOGLConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17287 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
17288 if (PyErr_Occurred()) SWIG_fail
;
17291 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
17292 if (PyErr_Occurred()) SWIG_fail
;
17295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17296 (arg1
)->SetSpacing(arg2
,arg3
);
17298 wxPyEndAllowThreads(__tstate
);
17299 if (PyErr_Occurred()) SWIG_fail
;
17301 Py_INCREF(Py_None
); resultobj
= Py_None
;
17308 static PyObject
*_wrap_OGLConstraint_Equals(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17309 PyObject
*resultobj
;
17310 wxOGLConstraint
*arg1
= (wxOGLConstraint
*) 0 ;
17314 PyObject
* obj0
= 0 ;
17315 PyObject
* obj1
= 0 ;
17316 PyObject
* obj2
= 0 ;
17317 char *kwnames
[] = {
17318 (char *) "self",(char *) "a",(char *) "b", NULL
17321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:OGLConstraint_Equals",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17322 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxOGLConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17324 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
17325 if (PyErr_Occurred()) SWIG_fail
;
17328 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
17329 if (PyErr_Occurred()) SWIG_fail
;
17332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17333 result
= (bool)(arg1
)->Equals(arg2
,arg3
);
17335 wxPyEndAllowThreads(__tstate
);
17336 if (PyErr_Occurred()) SWIG_fail
;
17338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17345 static PyObject
* OGLConstraint_swigregister(PyObject
*self
, PyObject
*args
) {
17347 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17348 SWIG_TypeClientData(SWIGTYPE_p_wxOGLConstraint
, obj
);
17350 return Py_BuildValue((char *)"");
17352 static PyObject
*_wrap_new_PyCompositeShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17353 PyObject
*resultobj
;
17354 wxPyCompositeShape
*result
;
17355 char *kwnames
[] = {
17359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyCompositeShape",kwnames
)) goto fail
;
17361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17362 result
= (wxPyCompositeShape
*)new wxPyCompositeShape();
17364 wxPyEndAllowThreads(__tstate
);
17365 if (PyErr_Occurred()) SWIG_fail
;
17367 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyCompositeShape
, 1);
17374 static PyObject
*_wrap_PyCompositeShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17375 PyObject
*resultobj
;
17376 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17377 PyObject
*arg2
= (PyObject
*) 0 ;
17378 PyObject
*arg3
= (PyObject
*) 0 ;
17379 PyObject
* obj0
= 0 ;
17380 PyObject
* obj1
= 0 ;
17381 PyObject
* obj2
= 0 ;
17382 char *kwnames
[] = {
17383 (char *) "self",(char *) "self",(char *) "_class", NULL
17386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCompositeShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17387 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17392 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17394 wxPyEndAllowThreads(__tstate
);
17395 if (PyErr_Occurred()) SWIG_fail
;
17397 Py_INCREF(Py_None
); resultobj
= Py_None
;
17404 static PyObject
*_wrap_PyCompositeShape_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17405 PyObject
*resultobj
;
17406 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17407 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
17408 wxPyShape
*arg3
= (wxPyShape
*) NULL
;
17409 PyObject
* obj0
= 0 ;
17410 PyObject
* obj1
= 0 ;
17411 PyObject
* obj2
= 0 ;
17412 char *kwnames
[] = {
17413 (char *) "self",(char *) "child",(char *) "addAfter", NULL
17416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCompositeShape_AddChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17417 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17418 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17420 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17424 (arg1
)->AddChild(arg2
,arg3
);
17426 wxPyEndAllowThreads(__tstate
);
17427 if (PyErr_Occurred()) SWIG_fail
;
17429 Py_INCREF(Py_None
); resultobj
= Py_None
;
17436 static PyObject
*_wrap_PyCompositeShape_AddConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17437 PyObject
*resultobj
;
17438 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17439 wxOGLConstraint
*arg2
= (wxOGLConstraint
*) 0 ;
17440 wxOGLConstraint
*result
;
17441 PyObject
* obj0
= 0 ;
17442 PyObject
* obj1
= 0 ;
17443 char *kwnames
[] = {
17444 (char *) "self",(char *) "constraint", NULL
17447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_AddConstraint",kwnames
,&obj0
,&obj1
)) goto fail
;
17448 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17449 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxOGLConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17452 result
= (wxOGLConstraint
*)(arg1
)->AddConstraint(arg2
);
17454 wxPyEndAllowThreads(__tstate
);
17455 if (PyErr_Occurred()) SWIG_fail
;
17458 resultobj
= wxPyMake_wxObject(result
);
17466 static PyObject
*_wrap_PyCompositeShape_AddConstrainedShapes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17467 PyObject
*resultobj
;
17468 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17470 wxPyShape
*arg3
= (wxPyShape
*) 0 ;
17471 PyObject
*arg4
= (PyObject
*) 0 ;
17472 wxOGLConstraint
*result
;
17473 PyObject
* obj0
= 0 ;
17474 PyObject
* obj1
= 0 ;
17475 PyObject
* obj2
= 0 ;
17476 PyObject
* obj3
= 0 ;
17477 char *kwnames
[] = {
17478 (char *) "self",(char *) "type",(char *) "constraining",(char *) "constrained", NULL
17481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyCompositeShape_AddConstrainedShapes",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17484 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17485 if (PyErr_Occurred()) SWIG_fail
;
17487 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17491 result
= (wxOGLConstraint
*)wxPyCompositeShape_AddConstrainedShapes(arg1
,arg2
,arg3
,arg4
);
17493 wxPyEndAllowThreads(__tstate
);
17494 if (PyErr_Occurred()) SWIG_fail
;
17497 resultobj
= wxPyMake_wxObject(result
);
17505 static PyObject
*_wrap_PyCompositeShape_AddSimpleConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17506 PyObject
*resultobj
;
17507 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17509 wxPyShape
*arg3
= (wxPyShape
*) 0 ;
17510 wxPyShape
*arg4
= (wxPyShape
*) 0 ;
17511 wxOGLConstraint
*result
;
17512 PyObject
* obj0
= 0 ;
17513 PyObject
* obj1
= 0 ;
17514 PyObject
* obj2
= 0 ;
17515 PyObject
* obj3
= 0 ;
17516 char *kwnames
[] = {
17517 (char *) "self",(char *) "type",(char *) "constraining",(char *) "constrained", NULL
17520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyCompositeShape_AddSimpleConstraint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17523 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17524 if (PyErr_Occurred()) SWIG_fail
;
17526 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17527 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17530 result
= (wxOGLConstraint
*)(arg1
)->AddConstraint(arg2
,arg3
,arg4
);
17532 wxPyEndAllowThreads(__tstate
);
17533 if (PyErr_Occurred()) SWIG_fail
;
17536 resultobj
= wxPyMake_wxObject(result
);
17544 static PyObject
*_wrap_PyCompositeShape_CalculateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17545 PyObject
*resultobj
;
17546 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17547 PyObject
* obj0
= 0 ;
17548 char *kwnames
[] = {
17549 (char *) "self", NULL
17552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_CalculateSize",kwnames
,&obj0
)) goto fail
;
17553 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17556 (arg1
)->CalculateSize();
17558 wxPyEndAllowThreads(__tstate
);
17559 if (PyErr_Occurred()) SWIG_fail
;
17561 Py_INCREF(Py_None
); resultobj
= Py_None
;
17568 static PyObject
*_wrap_PyCompositeShape_ContainsDivision(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17569 PyObject
*resultobj
;
17570 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17571 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
17573 PyObject
* obj0
= 0 ;
17574 PyObject
* obj1
= 0 ;
17575 char *kwnames
[] = {
17576 (char *) "self",(char *) "division", NULL
17579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_ContainsDivision",kwnames
,&obj0
,&obj1
)) goto fail
;
17580 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17581 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17584 result
= (bool)(arg1
)->ContainsDivision(arg2
);
17586 wxPyEndAllowThreads(__tstate
);
17587 if (PyErr_Occurred()) SWIG_fail
;
17589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17596 static PyObject
*_wrap_PyCompositeShape_DeleteConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17597 PyObject
*resultobj
;
17598 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17599 wxOGLConstraint
*arg2
= (wxOGLConstraint
*) 0 ;
17600 PyObject
* obj0
= 0 ;
17601 PyObject
* obj1
= 0 ;
17602 char *kwnames
[] = {
17603 (char *) "self",(char *) "constraint", NULL
17606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_DeleteConstraint",kwnames
,&obj0
,&obj1
)) goto fail
;
17607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17608 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxOGLConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17611 (arg1
)->DeleteConstraint(arg2
);
17613 wxPyEndAllowThreads(__tstate
);
17614 if (PyErr_Occurred()) SWIG_fail
;
17616 Py_INCREF(Py_None
); resultobj
= Py_None
;
17623 static PyObject
*_wrap_PyCompositeShape_DeleteConstraintsInvolvingChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17624 PyObject
*resultobj
;
17625 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17626 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
17627 PyObject
* obj0
= 0 ;
17628 PyObject
* obj1
= 0 ;
17629 char *kwnames
[] = {
17630 (char *) "self",(char *) "child", NULL
17633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_DeleteConstraintsInvolvingChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17634 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17635 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17638 (arg1
)->DeleteConstraintsInvolvingChild(arg2
);
17640 wxPyEndAllowThreads(__tstate
);
17641 if (PyErr_Occurred()) SWIG_fail
;
17643 Py_INCREF(Py_None
); resultobj
= Py_None
;
17650 static PyObject
*_wrap_PyCompositeShape_FindContainerImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17651 PyObject
*resultobj
;
17652 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17654 PyObject
* obj0
= 0 ;
17655 char *kwnames
[] = {
17656 (char *) "self", NULL
17659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_FindContainerImage",kwnames
,&obj0
)) goto fail
;
17660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17663 result
= (wxPyShape
*)(arg1
)->FindContainerImage();
17665 wxPyEndAllowThreads(__tstate
);
17666 if (PyErr_Occurred()) SWIG_fail
;
17669 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
17677 static PyObject
*_wrap_PyCompositeShape_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17678 PyObject
*resultobj
;
17679 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17681 PyObject
* obj0
= 0 ;
17682 char *kwnames
[] = {
17683 (char *) "self", NULL
17686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_GetConstraints",kwnames
,&obj0
)) goto fail
;
17687 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17690 result
= (PyObject
*)wxPyCompositeShape_GetConstraints(arg1
);
17692 wxPyEndAllowThreads(__tstate
);
17693 if (PyErr_Occurred()) SWIG_fail
;
17695 resultobj
= result
;
17702 static PyObject
*_wrap_PyCompositeShape_GetDivisions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17703 PyObject
*resultobj
;
17704 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17706 PyObject
* obj0
= 0 ;
17707 char *kwnames
[] = {
17708 (char *) "self", NULL
17711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_GetDivisions",kwnames
,&obj0
)) goto fail
;
17712 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17715 result
= (PyObject
*)wxPyCompositeShape_GetDivisions(arg1
);
17717 wxPyEndAllowThreads(__tstate
);
17718 if (PyErr_Occurred()) SWIG_fail
;
17720 resultobj
= result
;
17727 static PyObject
*_wrap_PyCompositeShape_MakeContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17728 PyObject
*resultobj
;
17729 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17730 PyObject
* obj0
= 0 ;
17731 char *kwnames
[] = {
17732 (char *) "self", NULL
17735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_MakeContainer",kwnames
,&obj0
)) goto fail
;
17736 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17739 (arg1
)->MakeContainer();
17741 wxPyEndAllowThreads(__tstate
);
17742 if (PyErr_Occurred()) SWIG_fail
;
17744 Py_INCREF(Py_None
); resultobj
= Py_None
;
17751 static PyObject
*_wrap_PyCompositeShape_Recompute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17752 PyObject
*resultobj
;
17753 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17755 PyObject
* obj0
= 0 ;
17756 char *kwnames
[] = {
17757 (char *) "self", NULL
17760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_Recompute",kwnames
,&obj0
)) goto fail
;
17761 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17764 result
= (bool)(arg1
)->Recompute();
17766 wxPyEndAllowThreads(__tstate
);
17767 if (PyErr_Occurred()) SWIG_fail
;
17769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17776 static PyObject
*_wrap_PyCompositeShape_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17777 PyObject
*resultobj
;
17778 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17779 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
17780 PyObject
* obj0
= 0 ;
17781 PyObject
* obj1
= 0 ;
17782 char *kwnames
[] = {
17783 (char *) "self",(char *) "child", NULL
17786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17787 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17788 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17791 (arg1
)->RemoveChild(arg2
);
17793 wxPyEndAllowThreads(__tstate
);
17794 if (PyErr_Occurred()) SWIG_fail
;
17796 Py_INCREF(Py_None
); resultobj
= Py_None
;
17803 static PyObject
*_wrap_PyCompositeShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17804 PyObject
*resultobj
;
17805 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17806 PyObject
* obj0
= 0 ;
17807 char *kwnames
[] = {
17808 (char *) "self", NULL
17811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
17812 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17815 (arg1
)->base_OnDelete();
17817 wxPyEndAllowThreads(__tstate
);
17818 if (PyErr_Occurred()) SWIG_fail
;
17820 Py_INCREF(Py_None
); resultobj
= Py_None
;
17827 static PyObject
*_wrap_PyCompositeShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17828 PyObject
*resultobj
;
17829 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17831 PyObject
* obj0
= 0 ;
17832 PyObject
* obj1
= 0 ;
17833 char *kwnames
[] = {
17834 (char *) "self",(char *) "dc", NULL
17837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
17838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17839 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17840 if (arg2
== NULL
) {
17841 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17845 (arg1
)->base_OnDraw(*arg2
);
17847 wxPyEndAllowThreads(__tstate
);
17848 if (PyErr_Occurred()) SWIG_fail
;
17850 Py_INCREF(Py_None
); resultobj
= Py_None
;
17857 static PyObject
*_wrap_PyCompositeShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17858 PyObject
*resultobj
;
17859 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17861 PyObject
* obj0
= 0 ;
17862 PyObject
* obj1
= 0 ;
17863 char *kwnames
[] = {
17864 (char *) "self",(char *) "dc", NULL
17867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
17868 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17869 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17870 if (arg2
== NULL
) {
17871 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17875 (arg1
)->base_OnDrawContents(*arg2
);
17877 wxPyEndAllowThreads(__tstate
);
17878 if (PyErr_Occurred()) SWIG_fail
;
17880 Py_INCREF(Py_None
); resultobj
= Py_None
;
17887 static PyObject
*_wrap_PyCompositeShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17888 PyObject
*resultobj
;
17889 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17891 bool arg3
= (bool) FALSE
;
17892 PyObject
* obj0
= 0 ;
17893 PyObject
* obj1
= 0 ;
17894 PyObject
* obj2
= 0 ;
17895 char *kwnames
[] = {
17896 (char *) "self",(char *) "dc",(char *) "erase", NULL
17899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCompositeShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17901 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17902 if (arg2
== NULL
) {
17903 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17907 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
17908 if (PyErr_Occurred()) SWIG_fail
;
17912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17913 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
17915 wxPyEndAllowThreads(__tstate
);
17916 if (PyErr_Occurred()) SWIG_fail
;
17918 Py_INCREF(Py_None
); resultobj
= Py_None
;
17925 static PyObject
*_wrap_PyCompositeShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17926 PyObject
*resultobj
;
17927 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17929 PyObject
* obj0
= 0 ;
17930 PyObject
* obj1
= 0 ;
17931 char *kwnames
[] = {
17932 (char *) "self",(char *) "dc", NULL
17935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
17936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17937 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17938 if (arg2
== NULL
) {
17939 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17943 (arg1
)->base_OnMoveLinks(*arg2
);
17945 wxPyEndAllowThreads(__tstate
);
17946 if (PyErr_Occurred()) SWIG_fail
;
17948 Py_INCREF(Py_None
); resultobj
= Py_None
;
17955 static PyObject
*_wrap_PyCompositeShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17956 PyObject
*resultobj
;
17957 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17959 PyObject
* obj0
= 0 ;
17960 PyObject
* obj1
= 0 ;
17961 char *kwnames
[] = {
17962 (char *) "self",(char *) "dc", NULL
17965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
17966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17967 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17968 if (arg2
== NULL
) {
17969 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17973 (arg1
)->base_OnErase(*arg2
);
17975 wxPyEndAllowThreads(__tstate
);
17976 if (PyErr_Occurred()) SWIG_fail
;
17978 Py_INCREF(Py_None
); resultobj
= Py_None
;
17985 static PyObject
*_wrap_PyCompositeShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17986 PyObject
*resultobj
;
17987 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17989 PyObject
* obj0
= 0 ;
17990 PyObject
* obj1
= 0 ;
17991 char *kwnames
[] = {
17992 (char *) "self",(char *) "dc", NULL
17995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
17996 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17997 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17998 if (arg2
== NULL
) {
17999 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18003 (arg1
)->base_OnEraseContents(*arg2
);
18005 wxPyEndAllowThreads(__tstate
);
18006 if (PyErr_Occurred()) SWIG_fail
;
18008 Py_INCREF(Py_None
); resultobj
= Py_None
;
18015 static PyObject
*_wrap_PyCompositeShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18016 PyObject
*resultobj
;
18017 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18019 PyObject
* obj0
= 0 ;
18020 PyObject
* obj1
= 0 ;
18021 char *kwnames
[] = {
18022 (char *) "self",(char *) "dc", NULL
18025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
18026 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18027 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18028 if (arg2
== NULL
) {
18029 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18033 (arg1
)->base_OnHighlight(*arg2
);
18035 wxPyEndAllowThreads(__tstate
);
18036 if (PyErr_Occurred()) SWIG_fail
;
18038 Py_INCREF(Py_None
); resultobj
= Py_None
;
18045 static PyObject
*_wrap_PyCompositeShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18046 PyObject
*resultobj
;
18047 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18050 int arg4
= (int) 0 ;
18051 int arg5
= (int) 0 ;
18052 PyObject
* obj0
= 0 ;
18053 PyObject
* obj1
= 0 ;
18054 PyObject
* obj2
= 0 ;
18055 PyObject
* obj3
= 0 ;
18056 PyObject
* obj4
= 0 ;
18057 char *kwnames
[] = {
18058 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18064 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
18065 if (PyErr_Occurred()) SWIG_fail
;
18068 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
18069 if (PyErr_Occurred()) SWIG_fail
;
18073 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
18074 if (PyErr_Occurred()) SWIG_fail
;
18079 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
18080 if (PyErr_Occurred()) SWIG_fail
;
18084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18085 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
18087 wxPyEndAllowThreads(__tstate
);
18088 if (PyErr_Occurred()) SWIG_fail
;
18090 Py_INCREF(Py_None
); resultobj
= Py_None
;
18097 static PyObject
*_wrap_PyCompositeShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18098 PyObject
*resultobj
;
18099 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18102 int arg4
= (int) 0 ;
18103 int arg5
= (int) 0 ;
18104 PyObject
* obj0
= 0 ;
18105 PyObject
* obj1
= 0 ;
18106 PyObject
* obj2
= 0 ;
18107 PyObject
* obj3
= 0 ;
18108 PyObject
* obj4
= 0 ;
18109 char *kwnames
[] = {
18110 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18114 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18116 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
18117 if (PyErr_Occurred()) SWIG_fail
;
18120 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
18121 if (PyErr_Occurred()) SWIG_fail
;
18125 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
18126 if (PyErr_Occurred()) SWIG_fail
;
18131 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
18132 if (PyErr_Occurred()) SWIG_fail
;
18136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18137 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
18139 wxPyEndAllowThreads(__tstate
);
18140 if (PyErr_Occurred()) SWIG_fail
;
18142 Py_INCREF(Py_None
); resultobj
= Py_None
;
18149 static PyObject
*_wrap_PyCompositeShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18150 PyObject
*resultobj
;
18151 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18154 int arg4
= (int) 0 ;
18155 int arg5
= (int) 0 ;
18156 PyObject
* obj0
= 0 ;
18157 PyObject
* obj1
= 0 ;
18158 PyObject
* obj2
= 0 ;
18159 PyObject
* obj3
= 0 ;
18160 PyObject
* obj4
= 0 ;
18161 char *kwnames
[] = {
18162 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18168 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
18169 if (PyErr_Occurred()) SWIG_fail
;
18172 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
18173 if (PyErr_Occurred()) SWIG_fail
;
18177 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
18178 if (PyErr_Occurred()) SWIG_fail
;
18183 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
18184 if (PyErr_Occurred()) SWIG_fail
;
18188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18189 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
18191 wxPyEndAllowThreads(__tstate
);
18192 if (PyErr_Occurred()) SWIG_fail
;
18194 Py_INCREF(Py_None
); resultobj
= Py_None
;
18201 static PyObject
*_wrap_PyCompositeShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18202 PyObject
*resultobj
;
18203 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18206 PyObject
* obj0
= 0 ;
18207 PyObject
* obj1
= 0 ;
18208 PyObject
* obj2
= 0 ;
18209 char *kwnames
[] = {
18210 (char *) "self",(char *) "x",(char *) "y", NULL
18213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCompositeShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18214 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18216 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
18217 if (PyErr_Occurred()) SWIG_fail
;
18220 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
18221 if (PyErr_Occurred()) SWIG_fail
;
18224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18225 (arg1
)->base_OnSize(arg2
,arg3
);
18227 wxPyEndAllowThreads(__tstate
);
18228 if (PyErr_Occurred()) SWIG_fail
;
18230 Py_INCREF(Py_None
); resultobj
= Py_None
;
18237 static PyObject
*_wrap_PyCompositeShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18238 PyObject
*resultobj
;
18239 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18245 bool arg7
= (bool) True
;
18247 PyObject
* obj0
= 0 ;
18248 PyObject
* obj1
= 0 ;
18249 PyObject
* obj2
= 0 ;
18250 PyObject
* obj3
= 0 ;
18251 PyObject
* obj4
= 0 ;
18252 PyObject
* obj5
= 0 ;
18253 PyObject
* obj6
= 0 ;
18254 char *kwnames
[] = {
18255 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
18258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyCompositeShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18259 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18260 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18261 if (arg2
== NULL
) {
18262 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18265 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
18266 if (PyErr_Occurred()) SWIG_fail
;
18269 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
18270 if (PyErr_Occurred()) SWIG_fail
;
18273 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
18274 if (PyErr_Occurred()) SWIG_fail
;
18277 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
18278 if (PyErr_Occurred()) SWIG_fail
;
18282 arg7
= (bool) SWIG_PyObj_AsBool(obj6
);
18283 if (PyErr_Occurred()) SWIG_fail
;
18287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18288 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18290 wxPyEndAllowThreads(__tstate
);
18291 if (PyErr_Occurred()) SWIG_fail
;
18293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18300 static PyObject
*_wrap_PyCompositeShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18301 PyObject
*resultobj
;
18302 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18308 bool arg7
= (bool) True
;
18309 PyObject
* obj0
= 0 ;
18310 PyObject
* obj1
= 0 ;
18311 PyObject
* obj2
= 0 ;
18312 PyObject
* obj3
= 0 ;
18313 PyObject
* obj4
= 0 ;
18314 PyObject
* obj5
= 0 ;
18315 PyObject
* obj6
= 0 ;
18316 char *kwnames
[] = {
18317 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
18320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyCompositeShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18321 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18322 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18323 if (arg2
== NULL
) {
18324 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18327 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
18328 if (PyErr_Occurred()) SWIG_fail
;
18331 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
18332 if (PyErr_Occurred()) SWIG_fail
;
18335 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
18336 if (PyErr_Occurred()) SWIG_fail
;
18339 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
18340 if (PyErr_Occurred()) SWIG_fail
;
18344 arg7
= (bool) SWIG_PyObj_AsBool(obj6
);
18345 if (PyErr_Occurred()) SWIG_fail
;
18349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18350 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18352 wxPyEndAllowThreads(__tstate
);
18353 if (PyErr_Occurred()) SWIG_fail
;
18355 Py_INCREF(Py_None
); resultobj
= Py_None
;
18362 static PyObject
*_wrap_PyCompositeShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18363 PyObject
*resultobj
;
18364 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18368 int arg5
= (int) 0 ;
18369 int arg6
= (int) 0 ;
18370 PyObject
* obj0
= 0 ;
18371 PyObject
* obj1
= 0 ;
18372 PyObject
* obj2
= 0 ;
18373 PyObject
* obj3
= 0 ;
18374 PyObject
* obj4
= 0 ;
18375 PyObject
* obj5
= 0 ;
18376 char *kwnames
[] = {
18377 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCompositeShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18381 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18383 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
18384 if (PyErr_Occurred()) SWIG_fail
;
18387 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
18388 if (PyErr_Occurred()) SWIG_fail
;
18391 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
18392 if (PyErr_Occurred()) SWIG_fail
;
18396 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
18397 if (PyErr_Occurred()) SWIG_fail
;
18402 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
18403 if (PyErr_Occurred()) SWIG_fail
;
18407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18408 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
18410 wxPyEndAllowThreads(__tstate
);
18411 if (PyErr_Occurred()) SWIG_fail
;
18413 Py_INCREF(Py_None
); resultobj
= Py_None
;
18420 static PyObject
*_wrap_PyCompositeShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18421 PyObject
*resultobj
;
18422 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18425 int arg4
= (int) 0 ;
18426 int arg5
= (int) 0 ;
18427 PyObject
* obj0
= 0 ;
18428 PyObject
* obj1
= 0 ;
18429 PyObject
* obj2
= 0 ;
18430 PyObject
* obj3
= 0 ;
18431 PyObject
* obj4
= 0 ;
18432 char *kwnames
[] = {
18433 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18439 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
18440 if (PyErr_Occurred()) SWIG_fail
;
18443 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
18444 if (PyErr_Occurred()) SWIG_fail
;
18448 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
18449 if (PyErr_Occurred()) SWIG_fail
;
18454 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
18455 if (PyErr_Occurred()) SWIG_fail
;
18459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18460 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
18462 wxPyEndAllowThreads(__tstate
);
18463 if (PyErr_Occurred()) SWIG_fail
;
18465 Py_INCREF(Py_None
); resultobj
= Py_None
;
18472 static PyObject
*_wrap_PyCompositeShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18473 PyObject
*resultobj
;
18474 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18477 int arg4
= (int) 0 ;
18478 int arg5
= (int) 0 ;
18479 PyObject
* obj0
= 0 ;
18480 PyObject
* obj1
= 0 ;
18481 PyObject
* obj2
= 0 ;
18482 PyObject
* obj3
= 0 ;
18483 PyObject
* obj4
= 0 ;
18484 char *kwnames
[] = {
18485 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18489 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18491 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
18492 if (PyErr_Occurred()) SWIG_fail
;
18495 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
18496 if (PyErr_Occurred()) SWIG_fail
;
18500 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
18501 if (PyErr_Occurred()) SWIG_fail
;
18506 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
18507 if (PyErr_Occurred()) SWIG_fail
;
18511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18512 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
18514 wxPyEndAllowThreads(__tstate
);
18515 if (PyErr_Occurred()) SWIG_fail
;
18517 Py_INCREF(Py_None
); resultobj
= Py_None
;
18524 static PyObject
*_wrap_PyCompositeShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18525 PyObject
*resultobj
;
18526 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18530 int arg5
= (int) 0 ;
18531 int arg6
= (int) 0 ;
18532 PyObject
* obj0
= 0 ;
18533 PyObject
* obj1
= 0 ;
18534 PyObject
* obj2
= 0 ;
18535 PyObject
* obj3
= 0 ;
18536 PyObject
* obj4
= 0 ;
18537 PyObject
* obj5
= 0 ;
18538 char *kwnames
[] = {
18539 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCompositeShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18545 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
18546 if (PyErr_Occurred()) SWIG_fail
;
18549 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
18550 if (PyErr_Occurred()) SWIG_fail
;
18553 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
18554 if (PyErr_Occurred()) SWIG_fail
;
18558 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
18559 if (PyErr_Occurred()) SWIG_fail
;
18564 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
18565 if (PyErr_Occurred()) SWIG_fail
;
18569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18570 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
18572 wxPyEndAllowThreads(__tstate
);
18573 if (PyErr_Occurred()) SWIG_fail
;
18575 Py_INCREF(Py_None
); resultobj
= Py_None
;
18582 static PyObject
*_wrap_PyCompositeShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18583 PyObject
*resultobj
;
18584 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18587 int arg4
= (int) 0 ;
18588 int arg5
= (int) 0 ;
18589 PyObject
* obj0
= 0 ;
18590 PyObject
* obj1
= 0 ;
18591 PyObject
* obj2
= 0 ;
18592 PyObject
* obj3
= 0 ;
18593 PyObject
* obj4
= 0 ;
18594 char *kwnames
[] = {
18595 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18599 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18601 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
18602 if (PyErr_Occurred()) SWIG_fail
;
18605 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
18606 if (PyErr_Occurred()) SWIG_fail
;
18610 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
18611 if (PyErr_Occurred()) SWIG_fail
;
18616 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
18617 if (PyErr_Occurred()) SWIG_fail
;
18621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18622 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
18624 wxPyEndAllowThreads(__tstate
);
18625 if (PyErr_Occurred()) SWIG_fail
;
18627 Py_INCREF(Py_None
); resultobj
= Py_None
;
18634 static PyObject
*_wrap_PyCompositeShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18635 PyObject
*resultobj
;
18636 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18639 int arg4
= (int) 0 ;
18640 int arg5
= (int) 0 ;
18641 PyObject
* obj0
= 0 ;
18642 PyObject
* obj1
= 0 ;
18643 PyObject
* obj2
= 0 ;
18644 PyObject
* obj3
= 0 ;
18645 PyObject
* obj4
= 0 ;
18646 char *kwnames
[] = {
18647 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18651 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18653 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
18654 if (PyErr_Occurred()) SWIG_fail
;
18657 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
18658 if (PyErr_Occurred()) SWIG_fail
;
18662 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
18663 if (PyErr_Occurred()) SWIG_fail
;
18668 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
18669 if (PyErr_Occurred()) SWIG_fail
;
18673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18674 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
18676 wxPyEndAllowThreads(__tstate
);
18677 if (PyErr_Occurred()) SWIG_fail
;
18679 Py_INCREF(Py_None
); resultobj
= Py_None
;
18686 static PyObject
*_wrap_PyCompositeShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18687 PyObject
*resultobj
;
18688 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18694 PyObject
* obj0
= 0 ;
18695 PyObject
* obj1
= 0 ;
18696 PyObject
* obj2
= 0 ;
18697 PyObject
* obj3
= 0 ;
18698 PyObject
* obj4
= 0 ;
18699 PyObject
* obj5
= 0 ;
18700 char *kwnames
[] = {
18701 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
18704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyCompositeShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18705 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18706 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18707 if (arg2
== NULL
) {
18708 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18711 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
18712 if (PyErr_Occurred()) SWIG_fail
;
18715 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
18716 if (PyErr_Occurred()) SWIG_fail
;
18719 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
18720 if (PyErr_Occurred()) SWIG_fail
;
18723 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
18724 if (PyErr_Occurred()) SWIG_fail
;
18727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18728 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
18730 wxPyEndAllowThreads(__tstate
);
18731 if (PyErr_Occurred()) SWIG_fail
;
18733 Py_INCREF(Py_None
); resultobj
= Py_None
;
18740 static PyObject
*_wrap_PyCompositeShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18741 PyObject
*resultobj
;
18742 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18744 PyObject
* obj0
= 0 ;
18745 PyObject
* obj1
= 0 ;
18746 char *kwnames
[] = {
18747 (char *) "self",(char *) "dc", NULL
18750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
18751 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18752 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18753 if (arg2
== NULL
) {
18754 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18758 (arg1
)->base_OnDrawControlPoints(*arg2
);
18760 wxPyEndAllowThreads(__tstate
);
18761 if (PyErr_Occurred()) SWIG_fail
;
18763 Py_INCREF(Py_None
); resultobj
= Py_None
;
18770 static PyObject
*_wrap_PyCompositeShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18771 PyObject
*resultobj
;
18772 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18774 PyObject
* obj0
= 0 ;
18775 PyObject
* obj1
= 0 ;
18776 char *kwnames
[] = {
18777 (char *) "self",(char *) "dc", NULL
18780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
18781 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18782 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18783 if (arg2
== NULL
) {
18784 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18788 (arg1
)->base_OnEraseControlPoints(*arg2
);
18790 wxPyEndAllowThreads(__tstate
);
18791 if (PyErr_Occurred()) SWIG_fail
;
18793 Py_INCREF(Py_None
); resultobj
= Py_None
;
18800 static PyObject
*_wrap_PyCompositeShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18801 PyObject
*resultobj
;
18802 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18804 bool arg3
= (bool) True
;
18805 PyObject
* obj0
= 0 ;
18806 PyObject
* obj1
= 0 ;
18807 PyObject
* obj2
= 0 ;
18808 char *kwnames
[] = {
18809 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
18812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCompositeShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18813 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18814 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18815 if (arg2
== NULL
) {
18816 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18820 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
18821 if (PyErr_Occurred()) SWIG_fail
;
18825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18826 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
18828 wxPyEndAllowThreads(__tstate
);
18829 if (PyErr_Occurred()) SWIG_fail
;
18831 Py_INCREF(Py_None
); resultobj
= Py_None
;
18838 static PyObject
*_wrap_PyCompositeShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18839 PyObject
*resultobj
;
18840 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18841 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
18845 int arg6
= (int) 0 ;
18846 int arg7
= (int) 0 ;
18847 PyObject
* obj0
= 0 ;
18848 PyObject
* obj1
= 0 ;
18849 PyObject
* obj2
= 0 ;
18850 PyObject
* obj3
= 0 ;
18851 PyObject
* obj4
= 0 ;
18852 PyObject
* obj5
= 0 ;
18853 PyObject
* obj6
= 0 ;
18854 char *kwnames
[] = {
18855 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyCompositeShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18859 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18860 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18862 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
18863 if (PyErr_Occurred()) SWIG_fail
;
18866 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
18867 if (PyErr_Occurred()) SWIG_fail
;
18870 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
18871 if (PyErr_Occurred()) SWIG_fail
;
18875 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
18876 if (PyErr_Occurred()) SWIG_fail
;
18881 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
18882 if (PyErr_Occurred()) SWIG_fail
;
18886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18887 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18889 wxPyEndAllowThreads(__tstate
);
18890 if (PyErr_Occurred()) SWIG_fail
;
18892 Py_INCREF(Py_None
); resultobj
= Py_None
;
18899 static PyObject
*_wrap_PyCompositeShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18900 PyObject
*resultobj
;
18901 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18902 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
18905 int arg5
= (int) 0 ;
18906 int arg6
= (int) 0 ;
18907 PyObject
* obj0
= 0 ;
18908 PyObject
* obj1
= 0 ;
18909 PyObject
* obj2
= 0 ;
18910 PyObject
* obj3
= 0 ;
18911 PyObject
* obj4
= 0 ;
18912 PyObject
* obj5
= 0 ;
18913 char *kwnames
[] = {
18914 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCompositeShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18918 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18919 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18921 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
18922 if (PyErr_Occurred()) SWIG_fail
;
18925 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
18926 if (PyErr_Occurred()) SWIG_fail
;
18930 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
18931 if (PyErr_Occurred()) SWIG_fail
;
18936 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
18937 if (PyErr_Occurred()) SWIG_fail
;
18941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18942 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
18944 wxPyEndAllowThreads(__tstate
);
18945 if (PyErr_Occurred()) SWIG_fail
;
18947 Py_INCREF(Py_None
); resultobj
= Py_None
;
18954 static PyObject
*_wrap_PyCompositeShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18955 PyObject
*resultobj
;
18956 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18957 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
18960 int arg5
= (int) 0 ;
18961 int arg6
= (int) 0 ;
18962 PyObject
* obj0
= 0 ;
18963 PyObject
* obj1
= 0 ;
18964 PyObject
* obj2
= 0 ;
18965 PyObject
* obj3
= 0 ;
18966 PyObject
* obj4
= 0 ;
18967 PyObject
* obj5
= 0 ;
18968 char *kwnames
[] = {
18969 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCompositeShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18973 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18974 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18976 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
18977 if (PyErr_Occurred()) SWIG_fail
;
18980 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
18981 if (PyErr_Occurred()) SWIG_fail
;
18985 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
18986 if (PyErr_Occurred()) SWIG_fail
;
18991 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
18992 if (PyErr_Occurred()) SWIG_fail
;
18996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18997 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
18999 wxPyEndAllowThreads(__tstate
);
19000 if (PyErr_Occurred()) SWIG_fail
;
19002 Py_INCREF(Py_None
); resultobj
= Py_None
;
19009 static PyObject
*_wrap_PyCompositeShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19010 PyObject
*resultobj
;
19011 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
19014 PyObject
* obj0
= 0 ;
19015 PyObject
* obj1
= 0 ;
19016 PyObject
* obj2
= 0 ;
19017 char *kwnames
[] = {
19018 (char *) "self",(char *) "w",(char *) "h", NULL
19021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCompositeShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19024 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
19025 if (PyErr_Occurred()) SWIG_fail
;
19028 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
19029 if (PyErr_Occurred()) SWIG_fail
;
19032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19033 (arg1
)->base_OnBeginSize(arg2
,arg3
);
19035 wxPyEndAllowThreads(__tstate
);
19036 if (PyErr_Occurred()) SWIG_fail
;
19038 Py_INCREF(Py_None
); resultobj
= Py_None
;
19045 static PyObject
*_wrap_PyCompositeShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19046 PyObject
*resultobj
;
19047 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
19050 PyObject
* obj0
= 0 ;
19051 PyObject
* obj1
= 0 ;
19052 PyObject
* obj2
= 0 ;
19053 char *kwnames
[] = {
19054 (char *) "self",(char *) "w",(char *) "h", NULL
19057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCompositeShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19060 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
19061 if (PyErr_Occurred()) SWIG_fail
;
19064 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
19065 if (PyErr_Occurred()) SWIG_fail
;
19068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19069 (arg1
)->base_OnEndSize(arg2
,arg3
);
19071 wxPyEndAllowThreads(__tstate
);
19072 if (PyErr_Occurred()) SWIG_fail
;
19074 Py_INCREF(Py_None
); resultobj
= Py_None
;
19081 static PyObject
* PyCompositeShape_swigregister(PyObject
*self
, PyObject
*args
) {
19083 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19084 SWIG_TypeClientData(SWIGTYPE_p_wxPyCompositeShape
, obj
);
19086 return Py_BuildValue((char *)"");
19088 static PyObject
*_wrap_new_PyDividedShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19089 PyObject
*resultobj
;
19090 double arg1
= (double) 0.0 ;
19091 double arg2
= (double) 0.0 ;
19092 wxPyDividedShape
*result
;
19093 PyObject
* obj0
= 0 ;
19094 PyObject
* obj1
= 0 ;
19095 char *kwnames
[] = {
19096 (char *) "width",(char *) "height", NULL
19099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyDividedShape",kwnames
,&obj0
,&obj1
)) goto fail
;
19102 arg1
= (double) SWIG_PyObj_AsDouble(obj0
);
19103 if (PyErr_Occurred()) SWIG_fail
;
19108 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
19109 if (PyErr_Occurred()) SWIG_fail
;
19113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19114 result
= (wxPyDividedShape
*)new wxPyDividedShape(arg1
,arg2
);
19116 wxPyEndAllowThreads(__tstate
);
19117 if (PyErr_Occurred()) SWIG_fail
;
19119 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyDividedShape
, 1);
19126 static PyObject
*_wrap_PyDividedShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19127 PyObject
*resultobj
;
19128 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19129 PyObject
*arg2
= (PyObject
*) 0 ;
19130 PyObject
*arg3
= (PyObject
*) 0 ;
19131 PyObject
* obj0
= 0 ;
19132 PyObject
* obj1
= 0 ;
19133 PyObject
* obj2
= 0 ;
19134 char *kwnames
[] = {
19135 (char *) "self",(char *) "self",(char *) "_class", NULL
19138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDividedShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19144 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19146 wxPyEndAllowThreads(__tstate
);
19147 if (PyErr_Occurred()) SWIG_fail
;
19149 Py_INCREF(Py_None
); resultobj
= Py_None
;
19156 static PyObject
*_wrap_PyDividedShape_EditRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19157 PyObject
*resultobj
;
19158 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19159 PyObject
* obj0
= 0 ;
19160 char *kwnames
[] = {
19161 (char *) "self", NULL
19164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDividedShape_EditRegions",kwnames
,&obj0
)) goto fail
;
19165 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19168 (arg1
)->EditRegions();
19170 wxPyEndAllowThreads(__tstate
);
19171 if (PyErr_Occurred()) SWIG_fail
;
19173 Py_INCREF(Py_None
); resultobj
= Py_None
;
19180 static PyObject
*_wrap_PyDividedShape_SetRegionSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19181 PyObject
*resultobj
;
19182 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19183 PyObject
* obj0
= 0 ;
19184 char *kwnames
[] = {
19185 (char *) "self", NULL
19188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDividedShape_SetRegionSizes",kwnames
,&obj0
)) goto fail
;
19189 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19192 (arg1
)->SetRegionSizes();
19194 wxPyEndAllowThreads(__tstate
);
19195 if (PyErr_Occurred()) SWIG_fail
;
19197 Py_INCREF(Py_None
); resultobj
= Py_None
;
19204 static PyObject
*_wrap_PyDividedShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19205 PyObject
*resultobj
;
19206 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19207 PyObject
* obj0
= 0 ;
19208 char *kwnames
[] = {
19209 (char *) "self", NULL
19212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDividedShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
19213 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19216 (arg1
)->base_OnDelete();
19218 wxPyEndAllowThreads(__tstate
);
19219 if (PyErr_Occurred()) SWIG_fail
;
19221 Py_INCREF(Py_None
); resultobj
= Py_None
;
19228 static PyObject
*_wrap_PyDividedShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19229 PyObject
*resultobj
;
19230 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19232 PyObject
* obj0
= 0 ;
19233 PyObject
* obj1
= 0 ;
19234 char *kwnames
[] = {
19235 (char *) "self",(char *) "dc", NULL
19238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
19239 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19240 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19241 if (arg2
== NULL
) {
19242 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19246 (arg1
)->base_OnDraw(*arg2
);
19248 wxPyEndAllowThreads(__tstate
);
19249 if (PyErr_Occurred()) SWIG_fail
;
19251 Py_INCREF(Py_None
); resultobj
= Py_None
;
19258 static PyObject
*_wrap_PyDividedShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19259 PyObject
*resultobj
;
19260 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19262 PyObject
* obj0
= 0 ;
19263 PyObject
* obj1
= 0 ;
19264 char *kwnames
[] = {
19265 (char *) "self",(char *) "dc", NULL
19268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
19269 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19270 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19271 if (arg2
== NULL
) {
19272 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19276 (arg1
)->base_OnDrawContents(*arg2
);
19278 wxPyEndAllowThreads(__tstate
);
19279 if (PyErr_Occurred()) SWIG_fail
;
19281 Py_INCREF(Py_None
); resultobj
= Py_None
;
19288 static PyObject
*_wrap_PyDividedShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19289 PyObject
*resultobj
;
19290 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19292 bool arg3
= (bool) FALSE
;
19293 PyObject
* obj0
= 0 ;
19294 PyObject
* obj1
= 0 ;
19295 PyObject
* obj2
= 0 ;
19296 char *kwnames
[] = {
19297 (char *) "self",(char *) "dc",(char *) "erase", NULL
19300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDividedShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19301 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19302 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19303 if (arg2
== NULL
) {
19304 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19308 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
19309 if (PyErr_Occurred()) SWIG_fail
;
19313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19314 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
19316 wxPyEndAllowThreads(__tstate
);
19317 if (PyErr_Occurred()) SWIG_fail
;
19319 Py_INCREF(Py_None
); resultobj
= Py_None
;
19326 static PyObject
*_wrap_PyDividedShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19327 PyObject
*resultobj
;
19328 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19330 PyObject
* obj0
= 0 ;
19331 PyObject
* obj1
= 0 ;
19332 char *kwnames
[] = {
19333 (char *) "self",(char *) "dc", NULL
19336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
19337 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19338 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19339 if (arg2
== NULL
) {
19340 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19344 (arg1
)->base_OnMoveLinks(*arg2
);
19346 wxPyEndAllowThreads(__tstate
);
19347 if (PyErr_Occurred()) SWIG_fail
;
19349 Py_INCREF(Py_None
); resultobj
= Py_None
;
19356 static PyObject
*_wrap_PyDividedShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19357 PyObject
*resultobj
;
19358 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19360 PyObject
* obj0
= 0 ;
19361 PyObject
* obj1
= 0 ;
19362 char *kwnames
[] = {
19363 (char *) "self",(char *) "dc", NULL
19366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
19367 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19368 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19369 if (arg2
== NULL
) {
19370 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19374 (arg1
)->base_OnErase(*arg2
);
19376 wxPyEndAllowThreads(__tstate
);
19377 if (PyErr_Occurred()) SWIG_fail
;
19379 Py_INCREF(Py_None
); resultobj
= Py_None
;
19386 static PyObject
*_wrap_PyDividedShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19387 PyObject
*resultobj
;
19388 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19390 PyObject
* obj0
= 0 ;
19391 PyObject
* obj1
= 0 ;
19392 char *kwnames
[] = {
19393 (char *) "self",(char *) "dc", NULL
19396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
19397 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19398 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19399 if (arg2
== NULL
) {
19400 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19404 (arg1
)->base_OnEraseContents(*arg2
);
19406 wxPyEndAllowThreads(__tstate
);
19407 if (PyErr_Occurred()) SWIG_fail
;
19409 Py_INCREF(Py_None
); resultobj
= Py_None
;
19416 static PyObject
*_wrap_PyDividedShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19417 PyObject
*resultobj
;
19418 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19420 PyObject
* obj0
= 0 ;
19421 PyObject
* obj1
= 0 ;
19422 char *kwnames
[] = {
19423 (char *) "self",(char *) "dc", NULL
19426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
19427 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19428 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19429 if (arg2
== NULL
) {
19430 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19434 (arg1
)->base_OnHighlight(*arg2
);
19436 wxPyEndAllowThreads(__tstate
);
19437 if (PyErr_Occurred()) SWIG_fail
;
19439 Py_INCREF(Py_None
); resultobj
= Py_None
;
19446 static PyObject
*_wrap_PyDividedShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19447 PyObject
*resultobj
;
19448 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19451 int arg4
= (int) 0 ;
19452 int arg5
= (int) 0 ;
19453 PyObject
* obj0
= 0 ;
19454 PyObject
* obj1
= 0 ;
19455 PyObject
* obj2
= 0 ;
19456 PyObject
* obj3
= 0 ;
19457 PyObject
* obj4
= 0 ;
19458 char *kwnames
[] = {
19459 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19463 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19465 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
19466 if (PyErr_Occurred()) SWIG_fail
;
19469 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
19470 if (PyErr_Occurred()) SWIG_fail
;
19474 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
19475 if (PyErr_Occurred()) SWIG_fail
;
19480 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
19481 if (PyErr_Occurred()) SWIG_fail
;
19485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19486 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
19488 wxPyEndAllowThreads(__tstate
);
19489 if (PyErr_Occurred()) SWIG_fail
;
19491 Py_INCREF(Py_None
); resultobj
= Py_None
;
19498 static PyObject
*_wrap_PyDividedShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19499 PyObject
*resultobj
;
19500 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19503 int arg4
= (int) 0 ;
19504 int arg5
= (int) 0 ;
19505 PyObject
* obj0
= 0 ;
19506 PyObject
* obj1
= 0 ;
19507 PyObject
* obj2
= 0 ;
19508 PyObject
* obj3
= 0 ;
19509 PyObject
* obj4
= 0 ;
19510 char *kwnames
[] = {
19511 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19515 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19517 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
19518 if (PyErr_Occurred()) SWIG_fail
;
19521 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
19522 if (PyErr_Occurred()) SWIG_fail
;
19526 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
19527 if (PyErr_Occurred()) SWIG_fail
;
19532 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
19533 if (PyErr_Occurred()) SWIG_fail
;
19537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19538 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
19540 wxPyEndAllowThreads(__tstate
);
19541 if (PyErr_Occurred()) SWIG_fail
;
19543 Py_INCREF(Py_None
); resultobj
= Py_None
;
19550 static PyObject
*_wrap_PyDividedShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19551 PyObject
*resultobj
;
19552 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19555 int arg4
= (int) 0 ;
19556 int arg5
= (int) 0 ;
19557 PyObject
* obj0
= 0 ;
19558 PyObject
* obj1
= 0 ;
19559 PyObject
* obj2
= 0 ;
19560 PyObject
* obj3
= 0 ;
19561 PyObject
* obj4
= 0 ;
19562 char *kwnames
[] = {
19563 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19567 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19569 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
19570 if (PyErr_Occurred()) SWIG_fail
;
19573 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
19574 if (PyErr_Occurred()) SWIG_fail
;
19578 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
19579 if (PyErr_Occurred()) SWIG_fail
;
19584 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
19585 if (PyErr_Occurred()) SWIG_fail
;
19589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19590 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
19592 wxPyEndAllowThreads(__tstate
);
19593 if (PyErr_Occurred()) SWIG_fail
;
19595 Py_INCREF(Py_None
); resultobj
= Py_None
;
19602 static PyObject
*_wrap_PyDividedShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19603 PyObject
*resultobj
;
19604 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19607 PyObject
* obj0
= 0 ;
19608 PyObject
* obj1
= 0 ;
19609 PyObject
* obj2
= 0 ;
19610 char *kwnames
[] = {
19611 (char *) "self",(char *) "x",(char *) "y", NULL
19614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDividedShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19617 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
19618 if (PyErr_Occurred()) SWIG_fail
;
19621 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
19622 if (PyErr_Occurred()) SWIG_fail
;
19625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19626 (arg1
)->base_OnSize(arg2
,arg3
);
19628 wxPyEndAllowThreads(__tstate
);
19629 if (PyErr_Occurred()) SWIG_fail
;
19631 Py_INCREF(Py_None
); resultobj
= Py_None
;
19638 static PyObject
*_wrap_PyDividedShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19639 PyObject
*resultobj
;
19640 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19646 bool arg7
= (bool) True
;
19648 PyObject
* obj0
= 0 ;
19649 PyObject
* obj1
= 0 ;
19650 PyObject
* obj2
= 0 ;
19651 PyObject
* obj3
= 0 ;
19652 PyObject
* obj4
= 0 ;
19653 PyObject
* obj5
= 0 ;
19654 PyObject
* obj6
= 0 ;
19655 char *kwnames
[] = {
19656 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
19659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyDividedShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19661 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19662 if (arg2
== NULL
) {
19663 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19666 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
19667 if (PyErr_Occurred()) SWIG_fail
;
19670 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
19671 if (PyErr_Occurred()) SWIG_fail
;
19674 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
19675 if (PyErr_Occurred()) SWIG_fail
;
19678 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
19679 if (PyErr_Occurred()) SWIG_fail
;
19683 arg7
= (bool) SWIG_PyObj_AsBool(obj6
);
19684 if (PyErr_Occurred()) SWIG_fail
;
19688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19689 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19691 wxPyEndAllowThreads(__tstate
);
19692 if (PyErr_Occurred()) SWIG_fail
;
19694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19701 static PyObject
*_wrap_PyDividedShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19702 PyObject
*resultobj
;
19703 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19709 bool arg7
= (bool) True
;
19710 PyObject
* obj0
= 0 ;
19711 PyObject
* obj1
= 0 ;
19712 PyObject
* obj2
= 0 ;
19713 PyObject
* obj3
= 0 ;
19714 PyObject
* obj4
= 0 ;
19715 PyObject
* obj5
= 0 ;
19716 PyObject
* obj6
= 0 ;
19717 char *kwnames
[] = {
19718 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
19721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyDividedShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19723 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19724 if (arg2
== NULL
) {
19725 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19728 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
19729 if (PyErr_Occurred()) SWIG_fail
;
19732 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
19733 if (PyErr_Occurred()) SWIG_fail
;
19736 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
19737 if (PyErr_Occurred()) SWIG_fail
;
19740 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
19741 if (PyErr_Occurred()) SWIG_fail
;
19745 arg7
= (bool) SWIG_PyObj_AsBool(obj6
);
19746 if (PyErr_Occurred()) SWIG_fail
;
19750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19751 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19753 wxPyEndAllowThreads(__tstate
);
19754 if (PyErr_Occurred()) SWIG_fail
;
19756 Py_INCREF(Py_None
); resultobj
= Py_None
;
19763 static PyObject
*_wrap_PyDividedShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19764 PyObject
*resultobj
;
19765 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19769 int arg5
= (int) 0 ;
19770 int arg6
= (int) 0 ;
19771 PyObject
* obj0
= 0 ;
19772 PyObject
* obj1
= 0 ;
19773 PyObject
* obj2
= 0 ;
19774 PyObject
* obj3
= 0 ;
19775 PyObject
* obj4
= 0 ;
19776 PyObject
* obj5
= 0 ;
19777 char *kwnames
[] = {
19778 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDividedShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19782 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19784 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19785 if (PyErr_Occurred()) SWIG_fail
;
19788 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
19789 if (PyErr_Occurred()) SWIG_fail
;
19792 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
19793 if (PyErr_Occurred()) SWIG_fail
;
19797 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
19798 if (PyErr_Occurred()) SWIG_fail
;
19803 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
19804 if (PyErr_Occurred()) SWIG_fail
;
19808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19809 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
19811 wxPyEndAllowThreads(__tstate
);
19812 if (PyErr_Occurred()) SWIG_fail
;
19814 Py_INCREF(Py_None
); resultobj
= Py_None
;
19821 static PyObject
*_wrap_PyDividedShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19822 PyObject
*resultobj
;
19823 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19826 int arg4
= (int) 0 ;
19827 int arg5
= (int) 0 ;
19828 PyObject
* obj0
= 0 ;
19829 PyObject
* obj1
= 0 ;
19830 PyObject
* obj2
= 0 ;
19831 PyObject
* obj3
= 0 ;
19832 PyObject
* obj4
= 0 ;
19833 char *kwnames
[] = {
19834 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19840 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
19841 if (PyErr_Occurred()) SWIG_fail
;
19844 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
19845 if (PyErr_Occurred()) SWIG_fail
;
19849 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
19850 if (PyErr_Occurred()) SWIG_fail
;
19855 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
19856 if (PyErr_Occurred()) SWIG_fail
;
19860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19861 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
19863 wxPyEndAllowThreads(__tstate
);
19864 if (PyErr_Occurred()) SWIG_fail
;
19866 Py_INCREF(Py_None
); resultobj
= Py_None
;
19873 static PyObject
*_wrap_PyDividedShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19874 PyObject
*resultobj
;
19875 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19878 int arg4
= (int) 0 ;
19879 int arg5
= (int) 0 ;
19880 PyObject
* obj0
= 0 ;
19881 PyObject
* obj1
= 0 ;
19882 PyObject
* obj2
= 0 ;
19883 PyObject
* obj3
= 0 ;
19884 PyObject
* obj4
= 0 ;
19885 char *kwnames
[] = {
19886 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19890 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19892 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
19893 if (PyErr_Occurred()) SWIG_fail
;
19896 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
19897 if (PyErr_Occurred()) SWIG_fail
;
19901 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
19902 if (PyErr_Occurred()) SWIG_fail
;
19907 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
19908 if (PyErr_Occurred()) SWIG_fail
;
19912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19913 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
19915 wxPyEndAllowThreads(__tstate
);
19916 if (PyErr_Occurred()) SWIG_fail
;
19918 Py_INCREF(Py_None
); resultobj
= Py_None
;
19925 static PyObject
*_wrap_PyDividedShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19926 PyObject
*resultobj
;
19927 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19931 int arg5
= (int) 0 ;
19932 int arg6
= (int) 0 ;
19933 PyObject
* obj0
= 0 ;
19934 PyObject
* obj1
= 0 ;
19935 PyObject
* obj2
= 0 ;
19936 PyObject
* obj3
= 0 ;
19937 PyObject
* obj4
= 0 ;
19938 PyObject
* obj5
= 0 ;
19939 char *kwnames
[] = {
19940 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDividedShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19944 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19946 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19947 if (PyErr_Occurred()) SWIG_fail
;
19950 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
19951 if (PyErr_Occurred()) SWIG_fail
;
19954 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
19955 if (PyErr_Occurred()) SWIG_fail
;
19959 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
19960 if (PyErr_Occurred()) SWIG_fail
;
19965 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
19966 if (PyErr_Occurred()) SWIG_fail
;
19970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19971 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
19973 wxPyEndAllowThreads(__tstate
);
19974 if (PyErr_Occurred()) SWIG_fail
;
19976 Py_INCREF(Py_None
); resultobj
= Py_None
;
19983 static PyObject
*_wrap_PyDividedShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19984 PyObject
*resultobj
;
19985 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19988 int arg4
= (int) 0 ;
19989 int arg5
= (int) 0 ;
19990 PyObject
* obj0
= 0 ;
19991 PyObject
* obj1
= 0 ;
19992 PyObject
* obj2
= 0 ;
19993 PyObject
* obj3
= 0 ;
19994 PyObject
* obj4
= 0 ;
19995 char *kwnames
[] = {
19996 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20000 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20002 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
20003 if (PyErr_Occurred()) SWIG_fail
;
20006 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
20007 if (PyErr_Occurred()) SWIG_fail
;
20011 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
20012 if (PyErr_Occurred()) SWIG_fail
;
20017 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
20018 if (PyErr_Occurred()) SWIG_fail
;
20022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20023 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
20025 wxPyEndAllowThreads(__tstate
);
20026 if (PyErr_Occurred()) SWIG_fail
;
20028 Py_INCREF(Py_None
); resultobj
= Py_None
;
20035 static PyObject
*_wrap_PyDividedShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20036 PyObject
*resultobj
;
20037 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
20040 int arg4
= (int) 0 ;
20041 int arg5
= (int) 0 ;
20042 PyObject
* obj0
= 0 ;
20043 PyObject
* obj1
= 0 ;
20044 PyObject
* obj2
= 0 ;
20045 PyObject
* obj3
= 0 ;
20046 PyObject
* obj4
= 0 ;
20047 char *kwnames
[] = {
20048 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
20051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20052 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20054 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
20055 if (PyErr_Occurred()) SWIG_fail
;
20058 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
20059 if (PyErr_Occurred()) SWIG_fail
;
20063 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
20064 if (PyErr_Occurred()) SWIG_fail
;
20069 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
20070 if (PyErr_Occurred()) SWIG_fail
;
20074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20075 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
20077 wxPyEndAllowThreads(__tstate
);
20078 if (PyErr_Occurred()) SWIG_fail
;
20080 Py_INCREF(Py_None
); resultobj
= Py_None
;
20087 static PyObject
*_wrap_PyDividedShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20088 PyObject
*resultobj
;
20089 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
20095 PyObject
* obj0
= 0 ;
20096 PyObject
* obj1
= 0 ;
20097 PyObject
* obj2
= 0 ;
20098 PyObject
* obj3
= 0 ;
20099 PyObject
* obj4
= 0 ;
20100 PyObject
* obj5
= 0 ;
20101 char *kwnames
[] = {
20102 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
20105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyDividedShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
20106 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20107 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20108 if (arg2
== NULL
) {
20109 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20112 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
20113 if (PyErr_Occurred()) SWIG_fail
;
20116 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
20117 if (PyErr_Occurred()) SWIG_fail
;
20120 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
20121 if (PyErr_Occurred()) SWIG_fail
;
20124 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
20125 if (PyErr_Occurred()) SWIG_fail
;
20128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20129 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
20131 wxPyEndAllowThreads(__tstate
);
20132 if (PyErr_Occurred()) SWIG_fail
;
20134 Py_INCREF(Py_None
); resultobj
= Py_None
;
20141 static PyObject
*_wrap_PyDividedShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20142 PyObject
*resultobj
;
20143 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
20145 PyObject
* obj0
= 0 ;
20146 PyObject
* obj1
= 0 ;
20147 char *kwnames
[] = {
20148 (char *) "self",(char *) "dc", NULL
20151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
20152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20153 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20154 if (arg2
== NULL
) {
20155 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20159 (arg1
)->base_OnDrawControlPoints(*arg2
);
20161 wxPyEndAllowThreads(__tstate
);
20162 if (PyErr_Occurred()) SWIG_fail
;
20164 Py_INCREF(Py_None
); resultobj
= Py_None
;
20171 static PyObject
*_wrap_PyDividedShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20172 PyObject
*resultobj
;
20173 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
20175 PyObject
* obj0
= 0 ;
20176 PyObject
* obj1
= 0 ;
20177 char *kwnames
[] = {
20178 (char *) "self",(char *) "dc", NULL
20181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
20182 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20183 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20184 if (arg2
== NULL
) {
20185 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20189 (arg1
)->base_OnEraseControlPoints(*arg2
);
20191 wxPyEndAllowThreads(__tstate
);
20192 if (PyErr_Occurred()) SWIG_fail
;
20194 Py_INCREF(Py_None
); resultobj
= Py_None
;
20201 static PyObject
*_wrap_PyDividedShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20202 PyObject
*resultobj
;
20203 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
20205 bool arg3
= (bool) True
;
20206 PyObject
* obj0
= 0 ;
20207 PyObject
* obj1
= 0 ;
20208 PyObject
* obj2
= 0 ;
20209 char *kwnames
[] = {
20210 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
20213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDividedShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20214 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20215 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20216 if (arg2
== NULL
) {
20217 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20221 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
20222 if (PyErr_Occurred()) SWIG_fail
;
20226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20227 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
20229 wxPyEndAllowThreads(__tstate
);
20230 if (PyErr_Occurred()) SWIG_fail
;
20232 Py_INCREF(Py_None
); resultobj
= Py_None
;
20239 static PyObject
*_wrap_PyDividedShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20240 PyObject
*resultobj
;
20241 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
20242 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
20246 int arg6
= (int) 0 ;
20247 int arg7
= (int) 0 ;
20248 PyObject
* obj0
= 0 ;
20249 PyObject
* obj1
= 0 ;
20250 PyObject
* obj2
= 0 ;
20251 PyObject
* obj3
= 0 ;
20252 PyObject
* obj4
= 0 ;
20253 PyObject
* obj5
= 0 ;
20254 PyObject
* obj6
= 0 ;
20255 char *kwnames
[] = {
20256 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
20259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyDividedShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
20260 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20261 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20263 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
20264 if (PyErr_Occurred()) SWIG_fail
;
20267 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
20268 if (PyErr_Occurred()) SWIG_fail
;
20271 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
20272 if (PyErr_Occurred()) SWIG_fail
;
20276 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
20277 if (PyErr_Occurred()) SWIG_fail
;
20282 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
20283 if (PyErr_Occurred()) SWIG_fail
;
20287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20288 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
20290 wxPyEndAllowThreads(__tstate
);
20291 if (PyErr_Occurred()) SWIG_fail
;
20293 Py_INCREF(Py_None
); resultobj
= Py_None
;
20300 static PyObject
*_wrap_PyDividedShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20301 PyObject
*resultobj
;
20302 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
20303 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
20306 int arg5
= (int) 0 ;
20307 int arg6
= (int) 0 ;
20308 PyObject
* obj0
= 0 ;
20309 PyObject
* obj1
= 0 ;
20310 PyObject
* obj2
= 0 ;
20311 PyObject
* obj3
= 0 ;
20312 PyObject
* obj4
= 0 ;
20313 PyObject
* obj5
= 0 ;
20314 char *kwnames
[] = {
20315 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
20318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDividedShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
20319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20320 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20322 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
20323 if (PyErr_Occurred()) SWIG_fail
;
20326 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
20327 if (PyErr_Occurred()) SWIG_fail
;
20331 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
20332 if (PyErr_Occurred()) SWIG_fail
;
20337 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
20338 if (PyErr_Occurred()) SWIG_fail
;
20342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20343 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
20345 wxPyEndAllowThreads(__tstate
);
20346 if (PyErr_Occurred()) SWIG_fail
;
20348 Py_INCREF(Py_None
); resultobj
= Py_None
;
20355 static PyObject
*_wrap_PyDividedShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20356 PyObject
*resultobj
;
20357 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
20358 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
20361 int arg5
= (int) 0 ;
20362 int arg6
= (int) 0 ;
20363 PyObject
* obj0
= 0 ;
20364 PyObject
* obj1
= 0 ;
20365 PyObject
* obj2
= 0 ;
20366 PyObject
* obj3
= 0 ;
20367 PyObject
* obj4
= 0 ;
20368 PyObject
* obj5
= 0 ;
20369 char *kwnames
[] = {
20370 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
20373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDividedShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
20374 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20375 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20377 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
20378 if (PyErr_Occurred()) SWIG_fail
;
20381 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
20382 if (PyErr_Occurred()) SWIG_fail
;
20386 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
20387 if (PyErr_Occurred()) SWIG_fail
;
20392 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
20393 if (PyErr_Occurred()) SWIG_fail
;
20397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20398 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
20400 wxPyEndAllowThreads(__tstate
);
20401 if (PyErr_Occurred()) SWIG_fail
;
20403 Py_INCREF(Py_None
); resultobj
= Py_None
;
20410 static PyObject
*_wrap_PyDividedShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20411 PyObject
*resultobj
;
20412 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
20415 PyObject
* obj0
= 0 ;
20416 PyObject
* obj1
= 0 ;
20417 PyObject
* obj2
= 0 ;
20418 char *kwnames
[] = {
20419 (char *) "self",(char *) "w",(char *) "h", NULL
20422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDividedShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20423 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20425 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
20426 if (PyErr_Occurred()) SWIG_fail
;
20429 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
20430 if (PyErr_Occurred()) SWIG_fail
;
20433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20434 (arg1
)->base_OnBeginSize(arg2
,arg3
);
20436 wxPyEndAllowThreads(__tstate
);
20437 if (PyErr_Occurred()) SWIG_fail
;
20439 Py_INCREF(Py_None
); resultobj
= Py_None
;
20446 static PyObject
*_wrap_PyDividedShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20447 PyObject
*resultobj
;
20448 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
20451 PyObject
* obj0
= 0 ;
20452 PyObject
* obj1
= 0 ;
20453 PyObject
* obj2
= 0 ;
20454 char *kwnames
[] = {
20455 (char *) "self",(char *) "w",(char *) "h", NULL
20458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDividedShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20461 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
20462 if (PyErr_Occurred()) SWIG_fail
;
20465 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
20466 if (PyErr_Occurred()) SWIG_fail
;
20469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20470 (arg1
)->base_OnEndSize(arg2
,arg3
);
20472 wxPyEndAllowThreads(__tstate
);
20473 if (PyErr_Occurred()) SWIG_fail
;
20475 Py_INCREF(Py_None
); resultobj
= Py_None
;
20482 static PyObject
* PyDividedShape_swigregister(PyObject
*self
, PyObject
*args
) {
20484 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20485 SWIG_TypeClientData(SWIGTYPE_p_wxPyDividedShape
, obj
);
20487 return Py_BuildValue((char *)"");
20489 static PyObject
*_wrap_new_PyDivisionShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20490 PyObject
*resultobj
;
20491 wxPyDivisionShape
*result
;
20492 char *kwnames
[] = {
20496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyDivisionShape",kwnames
)) goto fail
;
20498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20499 result
= (wxPyDivisionShape
*)new wxPyDivisionShape();
20501 wxPyEndAllowThreads(__tstate
);
20502 if (PyErr_Occurred()) SWIG_fail
;
20505 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
20513 static PyObject
*_wrap_PyDivisionShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20514 PyObject
*resultobj
;
20515 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20516 PyObject
*arg2
= (PyObject
*) 0 ;
20517 PyObject
*arg3
= (PyObject
*) 0 ;
20518 PyObject
* obj0
= 0 ;
20519 PyObject
* obj1
= 0 ;
20520 PyObject
* obj2
= 0 ;
20521 char *kwnames
[] = {
20522 (char *) "self",(char *) "self",(char *) "_class", NULL
20525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20531 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20533 wxPyEndAllowThreads(__tstate
);
20534 if (PyErr_Occurred()) SWIG_fail
;
20536 Py_INCREF(Py_None
); resultobj
= Py_None
;
20543 static PyObject
*_wrap_PyDivisionShape_AdjustBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20544 PyObject
*resultobj
;
20545 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20548 PyObject
* obj0
= 0 ;
20549 PyObject
* obj1
= 0 ;
20550 PyObject
* obj2
= 0 ;
20551 char *kwnames
[] = {
20552 (char *) "self",(char *) "bottom",(char *) "test", NULL
20555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_AdjustBottom",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20556 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20558 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
20559 if (PyErr_Occurred()) SWIG_fail
;
20562 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
20563 if (PyErr_Occurred()) SWIG_fail
;
20566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20567 (arg1
)->AdjustBottom(arg2
,arg3
);
20569 wxPyEndAllowThreads(__tstate
);
20570 if (PyErr_Occurred()) SWIG_fail
;
20572 Py_INCREF(Py_None
); resultobj
= Py_None
;
20579 static PyObject
*_wrap_PyDivisionShape_AdjustLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20580 PyObject
*resultobj
;
20581 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20584 PyObject
* obj0
= 0 ;
20585 PyObject
* obj1
= 0 ;
20586 PyObject
* obj2
= 0 ;
20587 char *kwnames
[] = {
20588 (char *) "self",(char *) "left",(char *) "test", NULL
20591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_AdjustLeft",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20592 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20594 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
20595 if (PyErr_Occurred()) SWIG_fail
;
20598 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
20599 if (PyErr_Occurred()) SWIG_fail
;
20602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20603 (arg1
)->AdjustLeft(arg2
,arg3
);
20605 wxPyEndAllowThreads(__tstate
);
20606 if (PyErr_Occurred()) SWIG_fail
;
20608 Py_INCREF(Py_None
); resultobj
= Py_None
;
20615 static PyObject
*_wrap_PyDivisionShape_AdjustRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20616 PyObject
*resultobj
;
20617 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20620 PyObject
* obj0
= 0 ;
20621 PyObject
* obj1
= 0 ;
20622 PyObject
* obj2
= 0 ;
20623 char *kwnames
[] = {
20624 (char *) "self",(char *) "right",(char *) "test", NULL
20627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_AdjustRight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20628 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20630 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
20631 if (PyErr_Occurred()) SWIG_fail
;
20634 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
20635 if (PyErr_Occurred()) SWIG_fail
;
20638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20639 (arg1
)->AdjustRight(arg2
,arg3
);
20641 wxPyEndAllowThreads(__tstate
);
20642 if (PyErr_Occurred()) SWIG_fail
;
20644 Py_INCREF(Py_None
); resultobj
= Py_None
;
20651 static PyObject
*_wrap_PyDivisionShape_AdjustTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20652 PyObject
*resultobj
;
20653 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20656 PyObject
* obj0
= 0 ;
20657 PyObject
* obj1
= 0 ;
20658 PyObject
* obj2
= 0 ;
20659 char *kwnames
[] = {
20660 (char *) "self",(char *) "top",(char *) "test", NULL
20663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_AdjustTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20666 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
20667 if (PyErr_Occurred()) SWIG_fail
;
20670 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
20671 if (PyErr_Occurred()) SWIG_fail
;
20674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20675 (arg1
)->AdjustTop(arg2
,arg3
);
20677 wxPyEndAllowThreads(__tstate
);
20678 if (PyErr_Occurred()) SWIG_fail
;
20680 Py_INCREF(Py_None
); resultobj
= Py_None
;
20687 static PyObject
*_wrap_PyDivisionShape_Divide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20688 PyObject
*resultobj
;
20689 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20691 PyObject
* obj0
= 0 ;
20692 PyObject
* obj1
= 0 ;
20693 char *kwnames
[] = {
20694 (char *) "self",(char *) "direction", NULL
20697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_Divide",kwnames
,&obj0
,&obj1
)) goto fail
;
20698 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20700 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20701 if (PyErr_Occurred()) SWIG_fail
;
20704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20705 (arg1
)->Divide(arg2
);
20707 wxPyEndAllowThreads(__tstate
);
20708 if (PyErr_Occurred()) SWIG_fail
;
20710 Py_INCREF(Py_None
); resultobj
= Py_None
;
20717 static PyObject
*_wrap_PyDivisionShape_EditEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20718 PyObject
*resultobj
;
20719 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20721 PyObject
* obj0
= 0 ;
20722 PyObject
* obj1
= 0 ;
20723 char *kwnames
[] = {
20724 (char *) "self",(char *) "side", NULL
20727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_EditEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
20728 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20730 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20731 if (PyErr_Occurred()) SWIG_fail
;
20734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20735 (arg1
)->EditEdge(arg2
);
20737 wxPyEndAllowThreads(__tstate
);
20738 if (PyErr_Occurred()) SWIG_fail
;
20740 Py_INCREF(Py_None
); resultobj
= Py_None
;
20747 static PyObject
*_wrap_PyDivisionShape_GetBottomSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20748 PyObject
*resultobj
;
20749 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20750 wxPyDivisionShape
*result
;
20751 PyObject
* obj0
= 0 ;
20752 char *kwnames
[] = {
20753 (char *) "self", NULL
20756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetBottomSide",kwnames
,&obj0
)) goto fail
;
20757 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20760 result
= (wxPyDivisionShape
*)(arg1
)->GetBottomSide();
20762 wxPyEndAllowThreads(__tstate
);
20763 if (PyErr_Occurred()) SWIG_fail
;
20766 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
20774 static PyObject
*_wrap_PyDivisionShape_GetHandleSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20775 PyObject
*resultobj
;
20776 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20778 PyObject
* obj0
= 0 ;
20779 char *kwnames
[] = {
20780 (char *) "self", NULL
20783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetHandleSide",kwnames
,&obj0
)) goto fail
;
20784 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20787 result
= (int)(arg1
)->GetHandleSide();
20789 wxPyEndAllowThreads(__tstate
);
20790 if (PyErr_Occurred()) SWIG_fail
;
20792 resultobj
= SWIG_PyObj_FromInt((int)result
);
20799 static PyObject
*_wrap_PyDivisionShape_GetLeftSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20800 PyObject
*resultobj
;
20801 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20802 wxPyDivisionShape
*result
;
20803 PyObject
* obj0
= 0 ;
20804 char *kwnames
[] = {
20805 (char *) "self", NULL
20808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetLeftSide",kwnames
,&obj0
)) goto fail
;
20809 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20812 result
= (wxPyDivisionShape
*)(arg1
)->GetLeftSide();
20814 wxPyEndAllowThreads(__tstate
);
20815 if (PyErr_Occurred()) SWIG_fail
;
20818 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
20826 static PyObject
*_wrap_PyDivisionShape_GetLeftSideColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20827 PyObject
*resultobj
;
20828 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20830 PyObject
* obj0
= 0 ;
20831 char *kwnames
[] = {
20832 (char *) "self", NULL
20835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetLeftSideColour",kwnames
,&obj0
)) goto fail
;
20836 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20839 result
= (arg1
)->GetLeftSideColour();
20841 wxPyEndAllowThreads(__tstate
);
20842 if (PyErr_Occurred()) SWIG_fail
;
20846 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20848 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20857 static PyObject
*_wrap_PyDivisionShape_GetLeftSidePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20858 PyObject
*resultobj
;
20859 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20861 PyObject
* obj0
= 0 ;
20862 char *kwnames
[] = {
20863 (char *) "self", NULL
20866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetLeftSidePen",kwnames
,&obj0
)) goto fail
;
20867 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20870 result
= (wxPen
*)(arg1
)->GetLeftSidePen();
20872 wxPyEndAllowThreads(__tstate
);
20873 if (PyErr_Occurred()) SWIG_fail
;
20875 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPen
, 0);
20882 static PyObject
*_wrap_PyDivisionShape_GetRightSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20883 PyObject
*resultobj
;
20884 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20885 wxPyDivisionShape
*result
;
20886 PyObject
* obj0
= 0 ;
20887 char *kwnames
[] = {
20888 (char *) "self", NULL
20891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetRightSide",kwnames
,&obj0
)) goto fail
;
20892 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20895 result
= (wxPyDivisionShape
*)(arg1
)->GetRightSide();
20897 wxPyEndAllowThreads(__tstate
);
20898 if (PyErr_Occurred()) SWIG_fail
;
20901 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
20909 static PyObject
*_wrap_PyDivisionShape_GetTopSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20910 PyObject
*resultobj
;
20911 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20912 wxPyDivisionShape
*result
;
20913 PyObject
* obj0
= 0 ;
20914 char *kwnames
[] = {
20915 (char *) "self", NULL
20918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetTopSide",kwnames
,&obj0
)) goto fail
;
20919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20922 result
= (wxPyDivisionShape
*)(arg1
)->GetTopSide();
20924 wxPyEndAllowThreads(__tstate
);
20925 if (PyErr_Occurred()) SWIG_fail
;
20928 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
20936 static PyObject
*_wrap_PyDivisionShape_GetTopSidePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20937 PyObject
*resultobj
;
20938 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20940 PyObject
* obj0
= 0 ;
20941 char *kwnames
[] = {
20942 (char *) "self", NULL
20945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetTopSidePen",kwnames
,&obj0
)) goto fail
;
20946 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20949 result
= (wxPen
*)(arg1
)->GetTopSidePen();
20951 wxPyEndAllowThreads(__tstate
);
20952 if (PyErr_Occurred()) SWIG_fail
;
20954 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPen
, 0);
20961 static PyObject
*_wrap_PyDivisionShape_ResizeAdjoining(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20962 PyObject
*resultobj
;
20963 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20967 PyObject
* obj0
= 0 ;
20968 PyObject
* obj1
= 0 ;
20969 PyObject
* obj2
= 0 ;
20970 PyObject
* obj3
= 0 ;
20971 char *kwnames
[] = {
20972 (char *) "self",(char *) "side",(char *) "newPos",(char *) "test", NULL
20975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyDivisionShape_ResizeAdjoining",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20976 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20978 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20979 if (PyErr_Occurred()) SWIG_fail
;
20982 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
20983 if (PyErr_Occurred()) SWIG_fail
;
20986 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
20987 if (PyErr_Occurred()) SWIG_fail
;
20990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20991 (arg1
)->ResizeAdjoining(arg2
,arg3
,arg4
);
20993 wxPyEndAllowThreads(__tstate
);
20994 if (PyErr_Occurred()) SWIG_fail
;
20996 Py_INCREF(Py_None
); resultobj
= Py_None
;
21003 static PyObject
*_wrap_PyDivisionShape_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21004 PyObject
*resultobj
;
21005 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21008 PyObject
* obj0
= 0 ;
21009 PyObject
* obj1
= 0 ;
21010 PyObject
* obj2
= 0 ;
21011 char *kwnames
[] = {
21012 (char *) "self",(char *) "x",(char *) "y", NULL
21015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21016 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21018 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
21019 if (PyErr_Occurred()) SWIG_fail
;
21022 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
21023 if (PyErr_Occurred()) SWIG_fail
;
21026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21027 (arg1
)->PopupMenu(arg2
,arg3
);
21029 wxPyEndAllowThreads(__tstate
);
21030 if (PyErr_Occurred()) SWIG_fail
;
21032 Py_INCREF(Py_None
); resultobj
= Py_None
;
21039 static PyObject
*_wrap_PyDivisionShape_SetBottomSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21040 PyObject
*resultobj
;
21041 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21042 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
21043 PyObject
* obj0
= 0 ;
21044 PyObject
* obj1
= 0 ;
21045 char *kwnames
[] = {
21046 (char *) "self",(char *) "shape", NULL
21049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetBottomSide",kwnames
,&obj0
,&obj1
)) goto fail
;
21050 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21051 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21054 (arg1
)->SetBottomSide(arg2
);
21056 wxPyEndAllowThreads(__tstate
);
21057 if (PyErr_Occurred()) SWIG_fail
;
21059 Py_INCREF(Py_None
); resultobj
= Py_None
;
21066 static PyObject
*_wrap_PyDivisionShape_SetHandleSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21067 PyObject
*resultobj
;
21068 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21070 PyObject
* obj0
= 0 ;
21071 PyObject
* obj1
= 0 ;
21072 char *kwnames
[] = {
21073 (char *) "self",(char *) "side", NULL
21076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetHandleSide",kwnames
,&obj0
,&obj1
)) goto fail
;
21077 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21079 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21080 if (PyErr_Occurred()) SWIG_fail
;
21083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21084 (arg1
)->SetHandleSide(arg2
);
21086 wxPyEndAllowThreads(__tstate
);
21087 if (PyErr_Occurred()) SWIG_fail
;
21089 Py_INCREF(Py_None
); resultobj
= Py_None
;
21096 static PyObject
*_wrap_PyDivisionShape_SetLeftSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21097 PyObject
*resultobj
;
21098 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21099 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
21100 PyObject
* obj0
= 0 ;
21101 PyObject
* obj1
= 0 ;
21102 char *kwnames
[] = {
21103 (char *) "self",(char *) "shape", NULL
21106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetLeftSide",kwnames
,&obj0
,&obj1
)) goto fail
;
21107 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21108 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21111 (arg1
)->SetLeftSide(arg2
);
21113 wxPyEndAllowThreads(__tstate
);
21114 if (PyErr_Occurred()) SWIG_fail
;
21116 Py_INCREF(Py_None
); resultobj
= Py_None
;
21123 static PyObject
*_wrap_PyDivisionShape_SetLeftSideColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21124 PyObject
*resultobj
;
21125 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21126 wxString
*arg2
= 0 ;
21127 bool temp2
= False
;
21128 PyObject
* obj0
= 0 ;
21129 PyObject
* obj1
= 0 ;
21130 char *kwnames
[] = {
21131 (char *) "self",(char *) "colour", NULL
21134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetLeftSideColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21135 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21137 arg2
= wxString_in_helper(obj1
);
21138 if (arg2
== NULL
) SWIG_fail
;
21142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21143 (arg1
)->SetLeftSideColour((wxString
const &)*arg2
);
21145 wxPyEndAllowThreads(__tstate
);
21146 if (PyErr_Occurred()) SWIG_fail
;
21148 Py_INCREF(Py_None
); resultobj
= Py_None
;
21163 static PyObject
*_wrap_PyDivisionShape_SetLeftSidePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21164 PyObject
*resultobj
;
21165 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21166 wxPen
*arg2
= (wxPen
*) 0 ;
21167 PyObject
* obj0
= 0 ;
21168 PyObject
* obj1
= 0 ;
21169 char *kwnames
[] = {
21170 (char *) "self",(char *) "pen", NULL
21173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetLeftSidePen",kwnames
,&obj0
,&obj1
)) goto fail
;
21174 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21178 if (obj1
== Py_None
) {
21181 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
21182 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
21187 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
21194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21195 (arg1
)->SetLeftSidePen(arg2
);
21197 wxPyEndAllowThreads(__tstate
);
21198 if (PyErr_Occurred()) SWIG_fail
;
21200 Py_INCREF(Py_None
); resultobj
= Py_None
;
21207 static PyObject
*_wrap_PyDivisionShape_SetRightSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21208 PyObject
*resultobj
;
21209 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21210 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
21211 PyObject
* obj0
= 0 ;
21212 PyObject
* obj1
= 0 ;
21213 char *kwnames
[] = {
21214 (char *) "self",(char *) "shape", NULL
21217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetRightSide",kwnames
,&obj0
,&obj1
)) goto fail
;
21218 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21219 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21222 (arg1
)->SetRightSide(arg2
);
21224 wxPyEndAllowThreads(__tstate
);
21225 if (PyErr_Occurred()) SWIG_fail
;
21227 Py_INCREF(Py_None
); resultobj
= Py_None
;
21234 static PyObject
*_wrap_PyDivisionShape_SetTopSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21235 PyObject
*resultobj
;
21236 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21237 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
21238 PyObject
* obj0
= 0 ;
21239 PyObject
* obj1
= 0 ;
21240 char *kwnames
[] = {
21241 (char *) "self",(char *) "shape", NULL
21244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetTopSide",kwnames
,&obj0
,&obj1
)) goto fail
;
21245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21246 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21249 (arg1
)->SetTopSide(arg2
);
21251 wxPyEndAllowThreads(__tstate
);
21252 if (PyErr_Occurred()) SWIG_fail
;
21254 Py_INCREF(Py_None
); resultobj
= Py_None
;
21261 static PyObject
*_wrap_PyDivisionShape_SetTopSideColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21262 PyObject
*resultobj
;
21263 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21264 wxString
*arg2
= 0 ;
21265 bool temp2
= False
;
21266 PyObject
* obj0
= 0 ;
21267 PyObject
* obj1
= 0 ;
21268 char *kwnames
[] = {
21269 (char *) "self",(char *) "colour", NULL
21272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetTopSideColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21275 arg2
= wxString_in_helper(obj1
);
21276 if (arg2
== NULL
) SWIG_fail
;
21280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21281 (arg1
)->SetTopSideColour((wxString
const &)*arg2
);
21283 wxPyEndAllowThreads(__tstate
);
21284 if (PyErr_Occurred()) SWIG_fail
;
21286 Py_INCREF(Py_None
); resultobj
= Py_None
;
21301 static PyObject
*_wrap_PyDivisionShape_SetTopSidePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21302 PyObject
*resultobj
;
21303 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21304 wxPen
*arg2
= (wxPen
*) 0 ;
21305 PyObject
* obj0
= 0 ;
21306 PyObject
* obj1
= 0 ;
21307 char *kwnames
[] = {
21308 (char *) "self",(char *) "pen", NULL
21311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetTopSidePen",kwnames
,&obj0
,&obj1
)) goto fail
;
21312 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21316 if (obj1
== Py_None
) {
21319 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
21320 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
21325 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
21332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21333 (arg1
)->SetTopSidePen(arg2
);
21335 wxPyEndAllowThreads(__tstate
);
21336 if (PyErr_Occurred()) SWIG_fail
;
21338 Py_INCREF(Py_None
); resultobj
= Py_None
;
21345 static PyObject
*_wrap_PyDivisionShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21346 PyObject
*resultobj
;
21347 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21348 PyObject
* obj0
= 0 ;
21349 char *kwnames
[] = {
21350 (char *) "self", NULL
21353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
21354 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21357 (arg1
)->base_OnDelete();
21359 wxPyEndAllowThreads(__tstate
);
21360 if (PyErr_Occurred()) SWIG_fail
;
21362 Py_INCREF(Py_None
); resultobj
= Py_None
;
21369 static PyObject
*_wrap_PyDivisionShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21370 PyObject
*resultobj
;
21371 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21373 PyObject
* obj0
= 0 ;
21374 PyObject
* obj1
= 0 ;
21375 char *kwnames
[] = {
21376 (char *) "self",(char *) "dc", NULL
21379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
21380 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21381 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21382 if (arg2
== NULL
) {
21383 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21387 (arg1
)->base_OnDraw(*arg2
);
21389 wxPyEndAllowThreads(__tstate
);
21390 if (PyErr_Occurred()) SWIG_fail
;
21392 Py_INCREF(Py_None
); resultobj
= Py_None
;
21399 static PyObject
*_wrap_PyDivisionShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21400 PyObject
*resultobj
;
21401 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21403 PyObject
* obj0
= 0 ;
21404 PyObject
* obj1
= 0 ;
21405 char *kwnames
[] = {
21406 (char *) "self",(char *) "dc", NULL
21409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
21410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21411 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21412 if (arg2
== NULL
) {
21413 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21417 (arg1
)->base_OnDrawContents(*arg2
);
21419 wxPyEndAllowThreads(__tstate
);
21420 if (PyErr_Occurred()) SWIG_fail
;
21422 Py_INCREF(Py_None
); resultobj
= Py_None
;
21429 static PyObject
*_wrap_PyDivisionShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21430 PyObject
*resultobj
;
21431 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21433 bool arg3
= (bool) FALSE
;
21434 PyObject
* obj0
= 0 ;
21435 PyObject
* obj1
= 0 ;
21436 PyObject
* obj2
= 0 ;
21437 char *kwnames
[] = {
21438 (char *) "self",(char *) "dc",(char *) "erase", NULL
21441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDivisionShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21442 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21443 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21444 if (arg2
== NULL
) {
21445 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21449 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
21450 if (PyErr_Occurred()) SWIG_fail
;
21454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21455 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
21457 wxPyEndAllowThreads(__tstate
);
21458 if (PyErr_Occurred()) SWIG_fail
;
21460 Py_INCREF(Py_None
); resultobj
= Py_None
;
21467 static PyObject
*_wrap_PyDivisionShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21468 PyObject
*resultobj
;
21469 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21471 PyObject
* obj0
= 0 ;
21472 PyObject
* obj1
= 0 ;
21473 char *kwnames
[] = {
21474 (char *) "self",(char *) "dc", NULL
21477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
21478 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21479 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21480 if (arg2
== NULL
) {
21481 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21485 (arg1
)->base_OnMoveLinks(*arg2
);
21487 wxPyEndAllowThreads(__tstate
);
21488 if (PyErr_Occurred()) SWIG_fail
;
21490 Py_INCREF(Py_None
); resultobj
= Py_None
;
21497 static PyObject
*_wrap_PyDivisionShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21498 PyObject
*resultobj
;
21499 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21501 PyObject
* obj0
= 0 ;
21502 PyObject
* obj1
= 0 ;
21503 char *kwnames
[] = {
21504 (char *) "self",(char *) "dc", NULL
21507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
21508 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21509 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21510 if (arg2
== NULL
) {
21511 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21515 (arg1
)->base_OnErase(*arg2
);
21517 wxPyEndAllowThreads(__tstate
);
21518 if (PyErr_Occurred()) SWIG_fail
;
21520 Py_INCREF(Py_None
); resultobj
= Py_None
;
21527 static PyObject
*_wrap_PyDivisionShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21528 PyObject
*resultobj
;
21529 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21531 PyObject
* obj0
= 0 ;
21532 PyObject
* obj1
= 0 ;
21533 char *kwnames
[] = {
21534 (char *) "self",(char *) "dc", NULL
21537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
21538 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21539 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21540 if (arg2
== NULL
) {
21541 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21545 (arg1
)->base_OnEraseContents(*arg2
);
21547 wxPyEndAllowThreads(__tstate
);
21548 if (PyErr_Occurred()) SWIG_fail
;
21550 Py_INCREF(Py_None
); resultobj
= Py_None
;
21557 static PyObject
*_wrap_PyDivisionShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21558 PyObject
*resultobj
;
21559 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21561 PyObject
* obj0
= 0 ;
21562 PyObject
* obj1
= 0 ;
21563 char *kwnames
[] = {
21564 (char *) "self",(char *) "dc", NULL
21567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
21568 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21569 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21570 if (arg2
== NULL
) {
21571 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21575 (arg1
)->base_OnHighlight(*arg2
);
21577 wxPyEndAllowThreads(__tstate
);
21578 if (PyErr_Occurred()) SWIG_fail
;
21580 Py_INCREF(Py_None
); resultobj
= Py_None
;
21587 static PyObject
*_wrap_PyDivisionShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21588 PyObject
*resultobj
;
21589 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21592 int arg4
= (int) 0 ;
21593 int arg5
= (int) 0 ;
21594 PyObject
* obj0
= 0 ;
21595 PyObject
* obj1
= 0 ;
21596 PyObject
* obj2
= 0 ;
21597 PyObject
* obj3
= 0 ;
21598 PyObject
* obj4
= 0 ;
21599 char *kwnames
[] = {
21600 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21604 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21606 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
21607 if (PyErr_Occurred()) SWIG_fail
;
21610 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
21611 if (PyErr_Occurred()) SWIG_fail
;
21615 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
21616 if (PyErr_Occurred()) SWIG_fail
;
21621 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
21622 if (PyErr_Occurred()) SWIG_fail
;
21626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21627 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
21629 wxPyEndAllowThreads(__tstate
);
21630 if (PyErr_Occurred()) SWIG_fail
;
21632 Py_INCREF(Py_None
); resultobj
= Py_None
;
21639 static PyObject
*_wrap_PyDivisionShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21640 PyObject
*resultobj
;
21641 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21644 int arg4
= (int) 0 ;
21645 int arg5
= (int) 0 ;
21646 PyObject
* obj0
= 0 ;
21647 PyObject
* obj1
= 0 ;
21648 PyObject
* obj2
= 0 ;
21649 PyObject
* obj3
= 0 ;
21650 PyObject
* obj4
= 0 ;
21651 char *kwnames
[] = {
21652 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21658 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
21659 if (PyErr_Occurred()) SWIG_fail
;
21662 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
21663 if (PyErr_Occurred()) SWIG_fail
;
21667 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
21668 if (PyErr_Occurred()) SWIG_fail
;
21673 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
21674 if (PyErr_Occurred()) SWIG_fail
;
21678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21679 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
21681 wxPyEndAllowThreads(__tstate
);
21682 if (PyErr_Occurred()) SWIG_fail
;
21684 Py_INCREF(Py_None
); resultobj
= Py_None
;
21691 static PyObject
*_wrap_PyDivisionShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21692 PyObject
*resultobj
;
21693 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21696 int arg4
= (int) 0 ;
21697 int arg5
= (int) 0 ;
21698 PyObject
* obj0
= 0 ;
21699 PyObject
* obj1
= 0 ;
21700 PyObject
* obj2
= 0 ;
21701 PyObject
* obj3
= 0 ;
21702 PyObject
* obj4
= 0 ;
21703 char *kwnames
[] = {
21704 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21708 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21710 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
21711 if (PyErr_Occurred()) SWIG_fail
;
21714 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
21715 if (PyErr_Occurred()) SWIG_fail
;
21719 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
21720 if (PyErr_Occurred()) SWIG_fail
;
21725 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
21726 if (PyErr_Occurred()) SWIG_fail
;
21730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21731 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
21733 wxPyEndAllowThreads(__tstate
);
21734 if (PyErr_Occurred()) SWIG_fail
;
21736 Py_INCREF(Py_None
); resultobj
= Py_None
;
21743 static PyObject
*_wrap_PyDivisionShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21744 PyObject
*resultobj
;
21745 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21748 PyObject
* obj0
= 0 ;
21749 PyObject
* obj1
= 0 ;
21750 PyObject
* obj2
= 0 ;
21751 char *kwnames
[] = {
21752 (char *) "self",(char *) "x",(char *) "y", NULL
21755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21756 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21758 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
21759 if (PyErr_Occurred()) SWIG_fail
;
21762 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
21763 if (PyErr_Occurred()) SWIG_fail
;
21766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21767 (arg1
)->base_OnSize(arg2
,arg3
);
21769 wxPyEndAllowThreads(__tstate
);
21770 if (PyErr_Occurred()) SWIG_fail
;
21772 Py_INCREF(Py_None
); resultobj
= Py_None
;
21779 static PyObject
*_wrap_PyDivisionShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21780 PyObject
*resultobj
;
21781 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21787 bool arg7
= (bool) True
;
21789 PyObject
* obj0
= 0 ;
21790 PyObject
* obj1
= 0 ;
21791 PyObject
* obj2
= 0 ;
21792 PyObject
* obj3
= 0 ;
21793 PyObject
* obj4
= 0 ;
21794 PyObject
* obj5
= 0 ;
21795 PyObject
* obj6
= 0 ;
21796 char *kwnames
[] = {
21797 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
21800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyDivisionShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21801 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21802 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21803 if (arg2
== NULL
) {
21804 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21807 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
21808 if (PyErr_Occurred()) SWIG_fail
;
21811 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
21812 if (PyErr_Occurred()) SWIG_fail
;
21815 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
21816 if (PyErr_Occurred()) SWIG_fail
;
21819 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
21820 if (PyErr_Occurred()) SWIG_fail
;
21824 arg7
= (bool) SWIG_PyObj_AsBool(obj6
);
21825 if (PyErr_Occurred()) SWIG_fail
;
21829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21830 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21832 wxPyEndAllowThreads(__tstate
);
21833 if (PyErr_Occurred()) SWIG_fail
;
21835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21842 static PyObject
*_wrap_PyDivisionShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21843 PyObject
*resultobj
;
21844 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21850 bool arg7
= (bool) True
;
21851 PyObject
* obj0
= 0 ;
21852 PyObject
* obj1
= 0 ;
21853 PyObject
* obj2
= 0 ;
21854 PyObject
* obj3
= 0 ;
21855 PyObject
* obj4
= 0 ;
21856 PyObject
* obj5
= 0 ;
21857 PyObject
* obj6
= 0 ;
21858 char *kwnames
[] = {
21859 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
21862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyDivisionShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21863 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21864 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21865 if (arg2
== NULL
) {
21866 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21869 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
21870 if (PyErr_Occurred()) SWIG_fail
;
21873 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
21874 if (PyErr_Occurred()) SWIG_fail
;
21877 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
21878 if (PyErr_Occurred()) SWIG_fail
;
21881 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
21882 if (PyErr_Occurred()) SWIG_fail
;
21886 arg7
= (bool) SWIG_PyObj_AsBool(obj6
);
21887 if (PyErr_Occurred()) SWIG_fail
;
21891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21892 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21894 wxPyEndAllowThreads(__tstate
);
21895 if (PyErr_Occurred()) SWIG_fail
;
21897 Py_INCREF(Py_None
); resultobj
= Py_None
;
21904 static PyObject
*_wrap_PyDivisionShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21905 PyObject
*resultobj
;
21906 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21910 int arg5
= (int) 0 ;
21911 int arg6
= (int) 0 ;
21912 PyObject
* obj0
= 0 ;
21913 PyObject
* obj1
= 0 ;
21914 PyObject
* obj2
= 0 ;
21915 PyObject
* obj3
= 0 ;
21916 PyObject
* obj4
= 0 ;
21917 PyObject
* obj5
= 0 ;
21918 char *kwnames
[] = {
21919 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDivisionShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21925 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
21926 if (PyErr_Occurred()) SWIG_fail
;
21929 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
21930 if (PyErr_Occurred()) SWIG_fail
;
21933 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
21934 if (PyErr_Occurred()) SWIG_fail
;
21938 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
21939 if (PyErr_Occurred()) SWIG_fail
;
21944 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
21945 if (PyErr_Occurred()) SWIG_fail
;
21949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21950 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
21952 wxPyEndAllowThreads(__tstate
);
21953 if (PyErr_Occurred()) SWIG_fail
;
21955 Py_INCREF(Py_None
); resultobj
= Py_None
;
21962 static PyObject
*_wrap_PyDivisionShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21963 PyObject
*resultobj
;
21964 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21967 int arg4
= (int) 0 ;
21968 int arg5
= (int) 0 ;
21969 PyObject
* obj0
= 0 ;
21970 PyObject
* obj1
= 0 ;
21971 PyObject
* obj2
= 0 ;
21972 PyObject
* obj3
= 0 ;
21973 PyObject
* obj4
= 0 ;
21974 char *kwnames
[] = {
21975 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21979 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21981 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
21982 if (PyErr_Occurred()) SWIG_fail
;
21985 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
21986 if (PyErr_Occurred()) SWIG_fail
;
21990 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
21991 if (PyErr_Occurred()) SWIG_fail
;
21996 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
21997 if (PyErr_Occurred()) SWIG_fail
;
22001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22002 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
22004 wxPyEndAllowThreads(__tstate
);
22005 if (PyErr_Occurred()) SWIG_fail
;
22007 Py_INCREF(Py_None
); resultobj
= Py_None
;
22014 static PyObject
*_wrap_PyDivisionShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22015 PyObject
*resultobj
;
22016 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
22019 int arg4
= (int) 0 ;
22020 int arg5
= (int) 0 ;
22021 PyObject
* obj0
= 0 ;
22022 PyObject
* obj1
= 0 ;
22023 PyObject
* obj2
= 0 ;
22024 PyObject
* obj3
= 0 ;
22025 PyObject
* obj4
= 0 ;
22026 char *kwnames
[] = {
22027 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22031 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22033 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
22034 if (PyErr_Occurred()) SWIG_fail
;
22037 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
22038 if (PyErr_Occurred()) SWIG_fail
;
22042 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
22043 if (PyErr_Occurred()) SWIG_fail
;
22048 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
22049 if (PyErr_Occurred()) SWIG_fail
;
22053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22054 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
22056 wxPyEndAllowThreads(__tstate
);
22057 if (PyErr_Occurred()) SWIG_fail
;
22059 Py_INCREF(Py_None
); resultobj
= Py_None
;
22066 static PyObject
*_wrap_PyDivisionShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22067 PyObject
*resultobj
;
22068 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
22072 int arg5
= (int) 0 ;
22073 int arg6
= (int) 0 ;
22074 PyObject
* obj0
= 0 ;
22075 PyObject
* obj1
= 0 ;
22076 PyObject
* obj2
= 0 ;
22077 PyObject
* obj3
= 0 ;
22078 PyObject
* obj4
= 0 ;
22079 PyObject
* obj5
= 0 ;
22080 char *kwnames
[] = {
22081 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDivisionShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22085 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22087 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
22088 if (PyErr_Occurred()) SWIG_fail
;
22091 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
22092 if (PyErr_Occurred()) SWIG_fail
;
22095 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
22096 if (PyErr_Occurred()) SWIG_fail
;
22100 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
22101 if (PyErr_Occurred()) SWIG_fail
;
22106 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
22107 if (PyErr_Occurred()) SWIG_fail
;
22111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22112 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
22114 wxPyEndAllowThreads(__tstate
);
22115 if (PyErr_Occurred()) SWIG_fail
;
22117 Py_INCREF(Py_None
); resultobj
= Py_None
;
22124 static PyObject
*_wrap_PyDivisionShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22125 PyObject
*resultobj
;
22126 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
22129 int arg4
= (int) 0 ;
22130 int arg5
= (int) 0 ;
22131 PyObject
* obj0
= 0 ;
22132 PyObject
* obj1
= 0 ;
22133 PyObject
* obj2
= 0 ;
22134 PyObject
* obj3
= 0 ;
22135 PyObject
* obj4
= 0 ;
22136 char *kwnames
[] = {
22137 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22143 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
22144 if (PyErr_Occurred()) SWIG_fail
;
22147 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
22148 if (PyErr_Occurred()) SWIG_fail
;
22152 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
22153 if (PyErr_Occurred()) SWIG_fail
;
22158 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
22159 if (PyErr_Occurred()) SWIG_fail
;
22163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22164 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
22166 wxPyEndAllowThreads(__tstate
);
22167 if (PyErr_Occurred()) SWIG_fail
;
22169 Py_INCREF(Py_None
); resultobj
= Py_None
;
22176 static PyObject
*_wrap_PyDivisionShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22177 PyObject
*resultobj
;
22178 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
22181 int arg4
= (int) 0 ;
22182 int arg5
= (int) 0 ;
22183 PyObject
* obj0
= 0 ;
22184 PyObject
* obj1
= 0 ;
22185 PyObject
* obj2
= 0 ;
22186 PyObject
* obj3
= 0 ;
22187 PyObject
* obj4
= 0 ;
22188 char *kwnames
[] = {
22189 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22193 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22195 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
22196 if (PyErr_Occurred()) SWIG_fail
;
22199 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
22200 if (PyErr_Occurred()) SWIG_fail
;
22204 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
22205 if (PyErr_Occurred()) SWIG_fail
;
22210 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
22211 if (PyErr_Occurred()) SWIG_fail
;
22215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22216 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
22218 wxPyEndAllowThreads(__tstate
);
22219 if (PyErr_Occurred()) SWIG_fail
;
22221 Py_INCREF(Py_None
); resultobj
= Py_None
;
22228 static PyObject
*_wrap_PyDivisionShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22229 PyObject
*resultobj
;
22230 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
22236 PyObject
* obj0
= 0 ;
22237 PyObject
* obj1
= 0 ;
22238 PyObject
* obj2
= 0 ;
22239 PyObject
* obj3
= 0 ;
22240 PyObject
* obj4
= 0 ;
22241 PyObject
* obj5
= 0 ;
22242 char *kwnames
[] = {
22243 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
22246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyDivisionShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22247 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22248 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22249 if (arg2
== NULL
) {
22250 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22253 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
22254 if (PyErr_Occurred()) SWIG_fail
;
22257 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
22258 if (PyErr_Occurred()) SWIG_fail
;
22261 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
22262 if (PyErr_Occurred()) SWIG_fail
;
22265 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
22266 if (PyErr_Occurred()) SWIG_fail
;
22269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22270 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
22272 wxPyEndAllowThreads(__tstate
);
22273 if (PyErr_Occurred()) SWIG_fail
;
22275 Py_INCREF(Py_None
); resultobj
= Py_None
;
22282 static PyObject
*_wrap_PyDivisionShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22283 PyObject
*resultobj
;
22284 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
22286 PyObject
* obj0
= 0 ;
22287 PyObject
* obj1
= 0 ;
22288 char *kwnames
[] = {
22289 (char *) "self",(char *) "dc", NULL
22292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
22293 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22294 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22295 if (arg2
== NULL
) {
22296 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22300 (arg1
)->base_OnDrawControlPoints(*arg2
);
22302 wxPyEndAllowThreads(__tstate
);
22303 if (PyErr_Occurred()) SWIG_fail
;
22305 Py_INCREF(Py_None
); resultobj
= Py_None
;
22312 static PyObject
*_wrap_PyDivisionShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22313 PyObject
*resultobj
;
22314 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
22316 PyObject
* obj0
= 0 ;
22317 PyObject
* obj1
= 0 ;
22318 char *kwnames
[] = {
22319 (char *) "self",(char *) "dc", NULL
22322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
22323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22324 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22325 if (arg2
== NULL
) {
22326 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22330 (arg1
)->base_OnEraseControlPoints(*arg2
);
22332 wxPyEndAllowThreads(__tstate
);
22333 if (PyErr_Occurred()) SWIG_fail
;
22335 Py_INCREF(Py_None
); resultobj
= Py_None
;
22342 static PyObject
*_wrap_PyDivisionShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22343 PyObject
*resultobj
;
22344 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
22346 bool arg3
= (bool) True
;
22347 PyObject
* obj0
= 0 ;
22348 PyObject
* obj1
= 0 ;
22349 PyObject
* obj2
= 0 ;
22350 char *kwnames
[] = {
22351 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
22354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDivisionShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22356 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22357 if (arg2
== NULL
) {
22358 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22362 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
22363 if (PyErr_Occurred()) SWIG_fail
;
22367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22368 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
22370 wxPyEndAllowThreads(__tstate
);
22371 if (PyErr_Occurred()) SWIG_fail
;
22373 Py_INCREF(Py_None
); resultobj
= Py_None
;
22380 static PyObject
*_wrap_PyDivisionShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22381 PyObject
*resultobj
;
22382 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
22383 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
22387 int arg6
= (int) 0 ;
22388 int arg7
= (int) 0 ;
22389 PyObject
* obj0
= 0 ;
22390 PyObject
* obj1
= 0 ;
22391 PyObject
* obj2
= 0 ;
22392 PyObject
* obj3
= 0 ;
22393 PyObject
* obj4
= 0 ;
22394 PyObject
* obj5
= 0 ;
22395 PyObject
* obj6
= 0 ;
22396 char *kwnames
[] = {
22397 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyDivisionShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22401 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22402 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22404 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
22405 if (PyErr_Occurred()) SWIG_fail
;
22408 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
22409 if (PyErr_Occurred()) SWIG_fail
;
22412 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
22413 if (PyErr_Occurred()) SWIG_fail
;
22417 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
22418 if (PyErr_Occurred()) SWIG_fail
;
22423 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
22424 if (PyErr_Occurred()) SWIG_fail
;
22428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22429 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22431 wxPyEndAllowThreads(__tstate
);
22432 if (PyErr_Occurred()) SWIG_fail
;
22434 Py_INCREF(Py_None
); resultobj
= Py_None
;
22441 static PyObject
*_wrap_PyDivisionShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22442 PyObject
*resultobj
;
22443 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
22444 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
22447 int arg5
= (int) 0 ;
22448 int arg6
= (int) 0 ;
22449 PyObject
* obj0
= 0 ;
22450 PyObject
* obj1
= 0 ;
22451 PyObject
* obj2
= 0 ;
22452 PyObject
* obj3
= 0 ;
22453 PyObject
* obj4
= 0 ;
22454 PyObject
* obj5
= 0 ;
22455 char *kwnames
[] = {
22456 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDivisionShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22461 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22463 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
22464 if (PyErr_Occurred()) SWIG_fail
;
22467 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
22468 if (PyErr_Occurred()) SWIG_fail
;
22472 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
22473 if (PyErr_Occurred()) SWIG_fail
;
22478 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
22479 if (PyErr_Occurred()) SWIG_fail
;
22483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22484 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
22486 wxPyEndAllowThreads(__tstate
);
22487 if (PyErr_Occurred()) SWIG_fail
;
22489 Py_INCREF(Py_None
); resultobj
= Py_None
;
22496 static PyObject
*_wrap_PyDivisionShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22497 PyObject
*resultobj
;
22498 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
22499 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
22502 int arg5
= (int) 0 ;
22503 int arg6
= (int) 0 ;
22504 PyObject
* obj0
= 0 ;
22505 PyObject
* obj1
= 0 ;
22506 PyObject
* obj2
= 0 ;
22507 PyObject
* obj3
= 0 ;
22508 PyObject
* obj4
= 0 ;
22509 PyObject
* obj5
= 0 ;
22510 char *kwnames
[] = {
22511 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDivisionShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22515 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22516 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22518 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
22519 if (PyErr_Occurred()) SWIG_fail
;
22522 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
22523 if (PyErr_Occurred()) SWIG_fail
;
22527 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
22528 if (PyErr_Occurred()) SWIG_fail
;
22533 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
22534 if (PyErr_Occurred()) SWIG_fail
;
22538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22539 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
22541 wxPyEndAllowThreads(__tstate
);
22542 if (PyErr_Occurred()) SWIG_fail
;
22544 Py_INCREF(Py_None
); resultobj
= Py_None
;
22551 static PyObject
*_wrap_PyDivisionShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22552 PyObject
*resultobj
;
22553 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
22556 PyObject
* obj0
= 0 ;
22557 PyObject
* obj1
= 0 ;
22558 PyObject
* obj2
= 0 ;
22559 char *kwnames
[] = {
22560 (char *) "self",(char *) "w",(char *) "h", NULL
22563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22564 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22566 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
22567 if (PyErr_Occurred()) SWIG_fail
;
22570 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
22571 if (PyErr_Occurred()) SWIG_fail
;
22574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22575 (arg1
)->base_OnBeginSize(arg2
,arg3
);
22577 wxPyEndAllowThreads(__tstate
);
22578 if (PyErr_Occurred()) SWIG_fail
;
22580 Py_INCREF(Py_None
); resultobj
= Py_None
;
22587 static PyObject
*_wrap_PyDivisionShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22588 PyObject
*resultobj
;
22589 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
22592 PyObject
* obj0
= 0 ;
22593 PyObject
* obj1
= 0 ;
22594 PyObject
* obj2
= 0 ;
22595 char *kwnames
[] = {
22596 (char *) "self",(char *) "w",(char *) "h", NULL
22599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22600 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22602 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
22603 if (PyErr_Occurred()) SWIG_fail
;
22606 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
22607 if (PyErr_Occurred()) SWIG_fail
;
22610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22611 (arg1
)->base_OnEndSize(arg2
,arg3
);
22613 wxPyEndAllowThreads(__tstate
);
22614 if (PyErr_Occurred()) SWIG_fail
;
22616 Py_INCREF(Py_None
); resultobj
= Py_None
;
22623 static PyObject
* PyDivisionShape_swigregister(PyObject
*self
, PyObject
*args
) {
22625 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22626 SWIG_TypeClientData(SWIGTYPE_p_wxPyDivisionShape
, obj
);
22628 return Py_BuildValue((char *)"");
22630 static PyObject
*_wrap_new_PyEllipseShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22631 PyObject
*resultobj
;
22632 double arg1
= (double) 0.0 ;
22633 double arg2
= (double) 0.0 ;
22634 wxPyEllipseShape
*result
;
22635 PyObject
* obj0
= 0 ;
22636 PyObject
* obj1
= 0 ;
22637 char *kwnames
[] = {
22638 (char *) "width",(char *) "height", NULL
22641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEllipseShape",kwnames
,&obj0
,&obj1
)) goto fail
;
22644 arg1
= (double) SWIG_PyObj_AsDouble(obj0
);
22645 if (PyErr_Occurred()) SWIG_fail
;
22650 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
22651 if (PyErr_Occurred()) SWIG_fail
;
22655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22656 result
= (wxPyEllipseShape
*)new wxPyEllipseShape(arg1
,arg2
);
22658 wxPyEndAllowThreads(__tstate
);
22659 if (PyErr_Occurred()) SWIG_fail
;
22661 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyEllipseShape
, 1);
22668 static PyObject
*_wrap_PyEllipseShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22669 PyObject
*resultobj
;
22670 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22671 PyObject
*arg2
= (PyObject
*) 0 ;
22672 PyObject
*arg3
= (PyObject
*) 0 ;
22673 PyObject
* obj0
= 0 ;
22674 PyObject
* obj1
= 0 ;
22675 PyObject
* obj2
= 0 ;
22676 char *kwnames
[] = {
22677 (char *) "self",(char *) "self",(char *) "_class", NULL
22680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyEllipseShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22686 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22688 wxPyEndAllowThreads(__tstate
);
22689 if (PyErr_Occurred()) SWIG_fail
;
22691 Py_INCREF(Py_None
); resultobj
= Py_None
;
22698 static PyObject
*_wrap_PyEllipseShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22699 PyObject
*resultobj
;
22700 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22702 PyObject
* obj0
= 0 ;
22703 PyObject
* obj1
= 0 ;
22704 char *kwnames
[] = {
22705 (char *) "self",(char *) "dc", NULL
22708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
22709 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22710 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22711 if (arg2
== NULL
) {
22712 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22716 (arg1
)->base_OnDraw(*arg2
);
22718 wxPyEndAllowThreads(__tstate
);
22719 if (PyErr_Occurred()) SWIG_fail
;
22721 Py_INCREF(Py_None
); resultobj
= Py_None
;
22728 static PyObject
*_wrap_PyEllipseShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22729 PyObject
*resultobj
;
22730 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22732 PyObject
* obj0
= 0 ;
22733 PyObject
* obj1
= 0 ;
22734 char *kwnames
[] = {
22735 (char *) "self",(char *) "dc", NULL
22738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
22739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22740 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22741 if (arg2
== NULL
) {
22742 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22746 (arg1
)->base_OnDrawContents(*arg2
);
22748 wxPyEndAllowThreads(__tstate
);
22749 if (PyErr_Occurred()) SWIG_fail
;
22751 Py_INCREF(Py_None
); resultobj
= Py_None
;
22758 static PyObject
*_wrap_PyEllipseShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22759 PyObject
*resultobj
;
22760 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22762 bool arg3
= (bool) FALSE
;
22763 PyObject
* obj0
= 0 ;
22764 PyObject
* obj1
= 0 ;
22765 PyObject
* obj2
= 0 ;
22766 char *kwnames
[] = {
22767 (char *) "self",(char *) "dc",(char *) "erase", NULL
22770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyEllipseShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22771 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22772 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22773 if (arg2
== NULL
) {
22774 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22778 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
22779 if (PyErr_Occurred()) SWIG_fail
;
22783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22784 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
22786 wxPyEndAllowThreads(__tstate
);
22787 if (PyErr_Occurred()) SWIG_fail
;
22789 Py_INCREF(Py_None
); resultobj
= Py_None
;
22796 static PyObject
*_wrap_PyEllipseShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22797 PyObject
*resultobj
;
22798 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22800 PyObject
* obj0
= 0 ;
22801 PyObject
* obj1
= 0 ;
22802 char *kwnames
[] = {
22803 (char *) "self",(char *) "dc", NULL
22806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
22807 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22808 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22809 if (arg2
== NULL
) {
22810 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22814 (arg1
)->base_OnMoveLinks(*arg2
);
22816 wxPyEndAllowThreads(__tstate
);
22817 if (PyErr_Occurred()) SWIG_fail
;
22819 Py_INCREF(Py_None
); resultobj
= Py_None
;
22826 static PyObject
*_wrap_PyEllipseShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22827 PyObject
*resultobj
;
22828 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22830 PyObject
* obj0
= 0 ;
22831 PyObject
* obj1
= 0 ;
22832 char *kwnames
[] = {
22833 (char *) "self",(char *) "dc", NULL
22836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
22837 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22838 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22839 if (arg2
== NULL
) {
22840 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22844 (arg1
)->base_OnErase(*arg2
);
22846 wxPyEndAllowThreads(__tstate
);
22847 if (PyErr_Occurred()) SWIG_fail
;
22849 Py_INCREF(Py_None
); resultobj
= Py_None
;
22856 static PyObject
*_wrap_PyEllipseShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22857 PyObject
*resultobj
;
22858 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22860 PyObject
* obj0
= 0 ;
22861 PyObject
* obj1
= 0 ;
22862 char *kwnames
[] = {
22863 (char *) "self",(char *) "dc", NULL
22866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
22867 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22868 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22869 if (arg2
== NULL
) {
22870 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22874 (arg1
)->base_OnEraseContents(*arg2
);
22876 wxPyEndAllowThreads(__tstate
);
22877 if (PyErr_Occurred()) SWIG_fail
;
22879 Py_INCREF(Py_None
); resultobj
= Py_None
;
22886 static PyObject
*_wrap_PyEllipseShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22887 PyObject
*resultobj
;
22888 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22890 PyObject
* obj0
= 0 ;
22891 PyObject
* obj1
= 0 ;
22892 char *kwnames
[] = {
22893 (char *) "self",(char *) "dc", NULL
22896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
22897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22898 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22899 if (arg2
== NULL
) {
22900 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22904 (arg1
)->base_OnHighlight(*arg2
);
22906 wxPyEndAllowThreads(__tstate
);
22907 if (PyErr_Occurred()) SWIG_fail
;
22909 Py_INCREF(Py_None
); resultobj
= Py_None
;
22916 static PyObject
*_wrap_PyEllipseShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22917 PyObject
*resultobj
;
22918 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22921 int arg4
= (int) 0 ;
22922 int arg5
= (int) 0 ;
22923 PyObject
* obj0
= 0 ;
22924 PyObject
* obj1
= 0 ;
22925 PyObject
* obj2
= 0 ;
22926 PyObject
* obj3
= 0 ;
22927 PyObject
* obj4
= 0 ;
22928 char *kwnames
[] = {
22929 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22935 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
22936 if (PyErr_Occurred()) SWIG_fail
;
22939 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
22940 if (PyErr_Occurred()) SWIG_fail
;
22944 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
22945 if (PyErr_Occurred()) SWIG_fail
;
22950 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
22951 if (PyErr_Occurred()) SWIG_fail
;
22955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22956 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
22958 wxPyEndAllowThreads(__tstate
);
22959 if (PyErr_Occurred()) SWIG_fail
;
22961 Py_INCREF(Py_None
); resultobj
= Py_None
;
22968 static PyObject
*_wrap_PyEllipseShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22969 PyObject
*resultobj
;
22970 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22973 int arg4
= (int) 0 ;
22974 int arg5
= (int) 0 ;
22975 PyObject
* obj0
= 0 ;
22976 PyObject
* obj1
= 0 ;
22977 PyObject
* obj2
= 0 ;
22978 PyObject
* obj3
= 0 ;
22979 PyObject
* obj4
= 0 ;
22980 char *kwnames
[] = {
22981 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22985 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22987 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
22988 if (PyErr_Occurred()) SWIG_fail
;
22991 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
22992 if (PyErr_Occurred()) SWIG_fail
;
22996 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
22997 if (PyErr_Occurred()) SWIG_fail
;
23002 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
23003 if (PyErr_Occurred()) SWIG_fail
;
23007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23008 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
23010 wxPyEndAllowThreads(__tstate
);
23011 if (PyErr_Occurred()) SWIG_fail
;
23013 Py_INCREF(Py_None
); resultobj
= Py_None
;
23020 static PyObject
*_wrap_PyEllipseShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23021 PyObject
*resultobj
;
23022 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23025 int arg4
= (int) 0 ;
23026 int arg5
= (int) 0 ;
23027 PyObject
* obj0
= 0 ;
23028 PyObject
* obj1
= 0 ;
23029 PyObject
* obj2
= 0 ;
23030 PyObject
* obj3
= 0 ;
23031 PyObject
* obj4
= 0 ;
23032 char *kwnames
[] = {
23033 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23037 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23039 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
23040 if (PyErr_Occurred()) SWIG_fail
;
23043 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
23044 if (PyErr_Occurred()) SWIG_fail
;
23048 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
23049 if (PyErr_Occurred()) SWIG_fail
;
23054 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
23055 if (PyErr_Occurred()) SWIG_fail
;
23059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23060 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
23062 wxPyEndAllowThreads(__tstate
);
23063 if (PyErr_Occurred()) SWIG_fail
;
23065 Py_INCREF(Py_None
); resultobj
= Py_None
;
23072 static PyObject
*_wrap_PyEllipseShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23073 PyObject
*resultobj
;
23074 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23077 PyObject
* obj0
= 0 ;
23078 PyObject
* obj1
= 0 ;
23079 PyObject
* obj2
= 0 ;
23080 char *kwnames
[] = {
23081 (char *) "self",(char *) "x",(char *) "y", NULL
23084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyEllipseShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23085 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23087 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
23088 if (PyErr_Occurred()) SWIG_fail
;
23091 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
23092 if (PyErr_Occurred()) SWIG_fail
;
23095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23096 (arg1
)->base_OnSize(arg2
,arg3
);
23098 wxPyEndAllowThreads(__tstate
);
23099 if (PyErr_Occurred()) SWIG_fail
;
23101 Py_INCREF(Py_None
); resultobj
= Py_None
;
23108 static PyObject
*_wrap_PyEllipseShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23109 PyObject
*resultobj
;
23110 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23116 bool arg7
= (bool) True
;
23118 PyObject
* obj0
= 0 ;
23119 PyObject
* obj1
= 0 ;
23120 PyObject
* obj2
= 0 ;
23121 PyObject
* obj3
= 0 ;
23122 PyObject
* obj4
= 0 ;
23123 PyObject
* obj5
= 0 ;
23124 PyObject
* obj6
= 0 ;
23125 char *kwnames
[] = {
23126 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
23129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyEllipseShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23130 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23131 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23132 if (arg2
== NULL
) {
23133 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23136 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
23137 if (PyErr_Occurred()) SWIG_fail
;
23140 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
23141 if (PyErr_Occurred()) SWIG_fail
;
23144 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
23145 if (PyErr_Occurred()) SWIG_fail
;
23148 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
23149 if (PyErr_Occurred()) SWIG_fail
;
23153 arg7
= (bool) SWIG_PyObj_AsBool(obj6
);
23154 if (PyErr_Occurred()) SWIG_fail
;
23158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23159 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23161 wxPyEndAllowThreads(__tstate
);
23162 if (PyErr_Occurred()) SWIG_fail
;
23164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23171 static PyObject
*_wrap_PyEllipseShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23172 PyObject
*resultobj
;
23173 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23179 bool arg7
= (bool) True
;
23180 PyObject
* obj0
= 0 ;
23181 PyObject
* obj1
= 0 ;
23182 PyObject
* obj2
= 0 ;
23183 PyObject
* obj3
= 0 ;
23184 PyObject
* obj4
= 0 ;
23185 PyObject
* obj5
= 0 ;
23186 PyObject
* obj6
= 0 ;
23187 char *kwnames
[] = {
23188 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
23191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyEllipseShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23193 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23194 if (arg2
== NULL
) {
23195 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23198 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
23199 if (PyErr_Occurred()) SWIG_fail
;
23202 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
23203 if (PyErr_Occurred()) SWIG_fail
;
23206 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
23207 if (PyErr_Occurred()) SWIG_fail
;
23210 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
23211 if (PyErr_Occurred()) SWIG_fail
;
23215 arg7
= (bool) SWIG_PyObj_AsBool(obj6
);
23216 if (PyErr_Occurred()) SWIG_fail
;
23220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23221 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23223 wxPyEndAllowThreads(__tstate
);
23224 if (PyErr_Occurred()) SWIG_fail
;
23226 Py_INCREF(Py_None
); resultobj
= Py_None
;
23233 static PyObject
*_wrap_PyEllipseShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23234 PyObject
*resultobj
;
23235 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23239 int arg5
= (int) 0 ;
23240 int arg6
= (int) 0 ;
23241 PyObject
* obj0
= 0 ;
23242 PyObject
* obj1
= 0 ;
23243 PyObject
* obj2
= 0 ;
23244 PyObject
* obj3
= 0 ;
23245 PyObject
* obj4
= 0 ;
23246 PyObject
* obj5
= 0 ;
23247 char *kwnames
[] = {
23248 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyEllipseShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
23252 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23254 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
23255 if (PyErr_Occurred()) SWIG_fail
;
23258 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
23259 if (PyErr_Occurred()) SWIG_fail
;
23262 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
23263 if (PyErr_Occurred()) SWIG_fail
;
23267 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
23268 if (PyErr_Occurred()) SWIG_fail
;
23273 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
23274 if (PyErr_Occurred()) SWIG_fail
;
23278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23279 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
23281 wxPyEndAllowThreads(__tstate
);
23282 if (PyErr_Occurred()) SWIG_fail
;
23284 Py_INCREF(Py_None
); resultobj
= Py_None
;
23291 static PyObject
*_wrap_PyEllipseShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23292 PyObject
*resultobj
;
23293 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23296 int arg4
= (int) 0 ;
23297 int arg5
= (int) 0 ;
23298 PyObject
* obj0
= 0 ;
23299 PyObject
* obj1
= 0 ;
23300 PyObject
* obj2
= 0 ;
23301 PyObject
* obj3
= 0 ;
23302 PyObject
* obj4
= 0 ;
23303 char *kwnames
[] = {
23304 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23308 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23310 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
23311 if (PyErr_Occurred()) SWIG_fail
;
23314 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
23315 if (PyErr_Occurred()) SWIG_fail
;
23319 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
23320 if (PyErr_Occurred()) SWIG_fail
;
23325 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
23326 if (PyErr_Occurred()) SWIG_fail
;
23330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23331 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
23333 wxPyEndAllowThreads(__tstate
);
23334 if (PyErr_Occurred()) SWIG_fail
;
23336 Py_INCREF(Py_None
); resultobj
= Py_None
;
23343 static PyObject
*_wrap_PyEllipseShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23344 PyObject
*resultobj
;
23345 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23348 int arg4
= (int) 0 ;
23349 int arg5
= (int) 0 ;
23350 PyObject
* obj0
= 0 ;
23351 PyObject
* obj1
= 0 ;
23352 PyObject
* obj2
= 0 ;
23353 PyObject
* obj3
= 0 ;
23354 PyObject
* obj4
= 0 ;
23355 char *kwnames
[] = {
23356 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23360 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23362 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
23363 if (PyErr_Occurred()) SWIG_fail
;
23366 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
23367 if (PyErr_Occurred()) SWIG_fail
;
23371 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
23372 if (PyErr_Occurred()) SWIG_fail
;
23377 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
23378 if (PyErr_Occurred()) SWIG_fail
;
23382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23383 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
23385 wxPyEndAllowThreads(__tstate
);
23386 if (PyErr_Occurred()) SWIG_fail
;
23388 Py_INCREF(Py_None
); resultobj
= Py_None
;
23395 static PyObject
*_wrap_PyEllipseShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23396 PyObject
*resultobj
;
23397 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23401 int arg5
= (int) 0 ;
23402 int arg6
= (int) 0 ;
23403 PyObject
* obj0
= 0 ;
23404 PyObject
* obj1
= 0 ;
23405 PyObject
* obj2
= 0 ;
23406 PyObject
* obj3
= 0 ;
23407 PyObject
* obj4
= 0 ;
23408 PyObject
* obj5
= 0 ;
23409 char *kwnames
[] = {
23410 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyEllipseShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
23414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23416 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
23417 if (PyErr_Occurred()) SWIG_fail
;
23420 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
23421 if (PyErr_Occurred()) SWIG_fail
;
23424 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
23425 if (PyErr_Occurred()) SWIG_fail
;
23429 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
23430 if (PyErr_Occurred()) SWIG_fail
;
23435 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
23436 if (PyErr_Occurred()) SWIG_fail
;
23440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23441 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
23443 wxPyEndAllowThreads(__tstate
);
23444 if (PyErr_Occurred()) SWIG_fail
;
23446 Py_INCREF(Py_None
); resultobj
= Py_None
;
23453 static PyObject
*_wrap_PyEllipseShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23454 PyObject
*resultobj
;
23455 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23458 int arg4
= (int) 0 ;
23459 int arg5
= (int) 0 ;
23460 PyObject
* obj0
= 0 ;
23461 PyObject
* obj1
= 0 ;
23462 PyObject
* obj2
= 0 ;
23463 PyObject
* obj3
= 0 ;
23464 PyObject
* obj4
= 0 ;
23465 char *kwnames
[] = {
23466 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23472 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
23473 if (PyErr_Occurred()) SWIG_fail
;
23476 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
23477 if (PyErr_Occurred()) SWIG_fail
;
23481 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
23482 if (PyErr_Occurred()) SWIG_fail
;
23487 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
23488 if (PyErr_Occurred()) SWIG_fail
;
23492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23493 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
23495 wxPyEndAllowThreads(__tstate
);
23496 if (PyErr_Occurred()) SWIG_fail
;
23498 Py_INCREF(Py_None
); resultobj
= Py_None
;
23505 static PyObject
*_wrap_PyEllipseShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23506 PyObject
*resultobj
;
23507 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23510 int arg4
= (int) 0 ;
23511 int arg5
= (int) 0 ;
23512 PyObject
* obj0
= 0 ;
23513 PyObject
* obj1
= 0 ;
23514 PyObject
* obj2
= 0 ;
23515 PyObject
* obj3
= 0 ;
23516 PyObject
* obj4
= 0 ;
23517 char *kwnames
[] = {
23518 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23522 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23524 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
23525 if (PyErr_Occurred()) SWIG_fail
;
23528 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
23529 if (PyErr_Occurred()) SWIG_fail
;
23533 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
23534 if (PyErr_Occurred()) SWIG_fail
;
23539 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
23540 if (PyErr_Occurred()) SWIG_fail
;
23544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23545 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
23547 wxPyEndAllowThreads(__tstate
);
23548 if (PyErr_Occurred()) SWIG_fail
;
23550 Py_INCREF(Py_None
); resultobj
= Py_None
;
23557 static PyObject
*_wrap_PyEllipseShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23558 PyObject
*resultobj
;
23559 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23565 PyObject
* obj0
= 0 ;
23566 PyObject
* obj1
= 0 ;
23567 PyObject
* obj2
= 0 ;
23568 PyObject
* obj3
= 0 ;
23569 PyObject
* obj4
= 0 ;
23570 PyObject
* obj5
= 0 ;
23571 char *kwnames
[] = {
23572 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
23575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyEllipseShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
23576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23577 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23578 if (arg2
== NULL
) {
23579 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23582 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
23583 if (PyErr_Occurred()) SWIG_fail
;
23586 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
23587 if (PyErr_Occurred()) SWIG_fail
;
23590 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
23591 if (PyErr_Occurred()) SWIG_fail
;
23594 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
23595 if (PyErr_Occurred()) SWIG_fail
;
23598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23599 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
23601 wxPyEndAllowThreads(__tstate
);
23602 if (PyErr_Occurred()) SWIG_fail
;
23604 Py_INCREF(Py_None
); resultobj
= Py_None
;
23611 static PyObject
*_wrap_PyEllipseShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23612 PyObject
*resultobj
;
23613 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23615 PyObject
* obj0
= 0 ;
23616 PyObject
* obj1
= 0 ;
23617 char *kwnames
[] = {
23618 (char *) "self",(char *) "dc", NULL
23621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
23622 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23623 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23624 if (arg2
== NULL
) {
23625 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23629 (arg1
)->base_OnDrawControlPoints(*arg2
);
23631 wxPyEndAllowThreads(__tstate
);
23632 if (PyErr_Occurred()) SWIG_fail
;
23634 Py_INCREF(Py_None
); resultobj
= Py_None
;
23641 static PyObject
*_wrap_PyEllipseShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23642 PyObject
*resultobj
;
23643 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23645 PyObject
* obj0
= 0 ;
23646 PyObject
* obj1
= 0 ;
23647 char *kwnames
[] = {
23648 (char *) "self",(char *) "dc", NULL
23651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
23652 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23653 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23654 if (arg2
== NULL
) {
23655 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23659 (arg1
)->base_OnEraseControlPoints(*arg2
);
23661 wxPyEndAllowThreads(__tstate
);
23662 if (PyErr_Occurred()) SWIG_fail
;
23664 Py_INCREF(Py_None
); resultobj
= Py_None
;
23671 static PyObject
*_wrap_PyEllipseShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23672 PyObject
*resultobj
;
23673 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23675 bool arg3
= (bool) True
;
23676 PyObject
* obj0
= 0 ;
23677 PyObject
* obj1
= 0 ;
23678 PyObject
* obj2
= 0 ;
23679 char *kwnames
[] = {
23680 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
23683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyEllipseShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23685 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23686 if (arg2
== NULL
) {
23687 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23691 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
23692 if (PyErr_Occurred()) SWIG_fail
;
23696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23697 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
23699 wxPyEndAllowThreads(__tstate
);
23700 if (PyErr_Occurred()) SWIG_fail
;
23702 Py_INCREF(Py_None
); resultobj
= Py_None
;
23709 static PyObject
*_wrap_PyEllipseShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23710 PyObject
*resultobj
;
23711 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23712 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
23716 int arg6
= (int) 0 ;
23717 int arg7
= (int) 0 ;
23718 PyObject
* obj0
= 0 ;
23719 PyObject
* obj1
= 0 ;
23720 PyObject
* obj2
= 0 ;
23721 PyObject
* obj3
= 0 ;
23722 PyObject
* obj4
= 0 ;
23723 PyObject
* obj5
= 0 ;
23724 PyObject
* obj6
= 0 ;
23725 char *kwnames
[] = {
23726 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyEllipseShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23730 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23731 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23733 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
23734 if (PyErr_Occurred()) SWIG_fail
;
23737 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
23738 if (PyErr_Occurred()) SWIG_fail
;
23741 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
23742 if (PyErr_Occurred()) SWIG_fail
;
23746 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
23747 if (PyErr_Occurred()) SWIG_fail
;
23752 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
23753 if (PyErr_Occurred()) SWIG_fail
;
23757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23758 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23760 wxPyEndAllowThreads(__tstate
);
23761 if (PyErr_Occurred()) SWIG_fail
;
23763 Py_INCREF(Py_None
); resultobj
= Py_None
;
23770 static PyObject
*_wrap_PyEllipseShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23771 PyObject
*resultobj
;
23772 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23773 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
23776 int arg5
= (int) 0 ;
23777 int arg6
= (int) 0 ;
23778 PyObject
* obj0
= 0 ;
23779 PyObject
* obj1
= 0 ;
23780 PyObject
* obj2
= 0 ;
23781 PyObject
* obj3
= 0 ;
23782 PyObject
* obj4
= 0 ;
23783 PyObject
* obj5
= 0 ;
23784 char *kwnames
[] = {
23785 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyEllipseShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
23789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23790 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23792 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
23793 if (PyErr_Occurred()) SWIG_fail
;
23796 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
23797 if (PyErr_Occurred()) SWIG_fail
;
23801 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
23802 if (PyErr_Occurred()) SWIG_fail
;
23807 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
23808 if (PyErr_Occurred()) SWIG_fail
;
23812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23813 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
23815 wxPyEndAllowThreads(__tstate
);
23816 if (PyErr_Occurred()) SWIG_fail
;
23818 Py_INCREF(Py_None
); resultobj
= Py_None
;
23825 static PyObject
*_wrap_PyEllipseShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23826 PyObject
*resultobj
;
23827 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23828 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
23831 int arg5
= (int) 0 ;
23832 int arg6
= (int) 0 ;
23833 PyObject
* obj0
= 0 ;
23834 PyObject
* obj1
= 0 ;
23835 PyObject
* obj2
= 0 ;
23836 PyObject
* obj3
= 0 ;
23837 PyObject
* obj4
= 0 ;
23838 PyObject
* obj5
= 0 ;
23839 char *kwnames
[] = {
23840 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyEllipseShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
23844 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23845 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23847 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
23848 if (PyErr_Occurred()) SWIG_fail
;
23851 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
23852 if (PyErr_Occurred()) SWIG_fail
;
23856 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
23857 if (PyErr_Occurred()) SWIG_fail
;
23862 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
23863 if (PyErr_Occurred()) SWIG_fail
;
23867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23868 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
23870 wxPyEndAllowThreads(__tstate
);
23871 if (PyErr_Occurred()) SWIG_fail
;
23873 Py_INCREF(Py_None
); resultobj
= Py_None
;
23880 static PyObject
*_wrap_PyEllipseShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23881 PyObject
*resultobj
;
23882 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23885 PyObject
* obj0
= 0 ;
23886 PyObject
* obj1
= 0 ;
23887 PyObject
* obj2
= 0 ;
23888 char *kwnames
[] = {
23889 (char *) "self",(char *) "w",(char *) "h", NULL
23892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyEllipseShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23895 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
23896 if (PyErr_Occurred()) SWIG_fail
;
23899 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
23900 if (PyErr_Occurred()) SWIG_fail
;
23903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23904 (arg1
)->base_OnBeginSize(arg2
,arg3
);
23906 wxPyEndAllowThreads(__tstate
);
23907 if (PyErr_Occurred()) SWIG_fail
;
23909 Py_INCREF(Py_None
); resultobj
= Py_None
;
23916 static PyObject
*_wrap_PyEllipseShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23917 PyObject
*resultobj
;
23918 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23921 PyObject
* obj0
= 0 ;
23922 PyObject
* obj1
= 0 ;
23923 PyObject
* obj2
= 0 ;
23924 char *kwnames
[] = {
23925 (char *) "self",(char *) "w",(char *) "h", NULL
23928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyEllipseShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23931 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
23932 if (PyErr_Occurred()) SWIG_fail
;
23935 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
23936 if (PyErr_Occurred()) SWIG_fail
;
23939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23940 (arg1
)->base_OnEndSize(arg2
,arg3
);
23942 wxPyEndAllowThreads(__tstate
);
23943 if (PyErr_Occurred()) SWIG_fail
;
23945 Py_INCREF(Py_None
); resultobj
= Py_None
;
23952 static PyObject
* PyEllipseShape_swigregister(PyObject
*self
, PyObject
*args
) {
23954 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23955 SWIG_TypeClientData(SWIGTYPE_p_wxPyEllipseShape
, obj
);
23957 return Py_BuildValue((char *)"");
23959 static PyObject
*_wrap_new_PyCircleShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23960 PyObject
*resultobj
;
23961 double arg1
= (double) 0.0 ;
23962 wxPyCircleShape
*result
;
23963 PyObject
* obj0
= 0 ;
23964 char *kwnames
[] = {
23965 (char *) "width", NULL
23968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyCircleShape",kwnames
,&obj0
)) goto fail
;
23971 arg1
= (double) SWIG_PyObj_AsDouble(obj0
);
23972 if (PyErr_Occurred()) SWIG_fail
;
23976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23977 result
= (wxPyCircleShape
*)new wxPyCircleShape(arg1
);
23979 wxPyEndAllowThreads(__tstate
);
23980 if (PyErr_Occurred()) SWIG_fail
;
23982 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyCircleShape
, 1);
23989 static PyObject
*_wrap_PyCircleShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23990 PyObject
*resultobj
;
23991 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23992 PyObject
*arg2
= (PyObject
*) 0 ;
23993 PyObject
*arg3
= (PyObject
*) 0 ;
23994 PyObject
* obj0
= 0 ;
23995 PyObject
* obj1
= 0 ;
23996 PyObject
* obj2
= 0 ;
23997 char *kwnames
[] = {
23998 (char *) "self",(char *) "self",(char *) "_class", NULL
24001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCircleShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24002 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24007 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24009 wxPyEndAllowThreads(__tstate
);
24010 if (PyErr_Occurred()) SWIG_fail
;
24012 Py_INCREF(Py_None
); resultobj
= Py_None
;
24019 static PyObject
*_wrap_PyCircleShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24020 PyObject
*resultobj
;
24021 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24023 PyObject
* obj0
= 0 ;
24024 PyObject
* obj1
= 0 ;
24025 char *kwnames
[] = {
24026 (char *) "self",(char *) "dc", NULL
24029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
24030 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24031 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24032 if (arg2
== NULL
) {
24033 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24037 (arg1
)->base_OnDraw(*arg2
);
24039 wxPyEndAllowThreads(__tstate
);
24040 if (PyErr_Occurred()) SWIG_fail
;
24042 Py_INCREF(Py_None
); resultobj
= Py_None
;
24049 static PyObject
*_wrap_PyCircleShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24050 PyObject
*resultobj
;
24051 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24053 PyObject
* obj0
= 0 ;
24054 PyObject
* obj1
= 0 ;
24055 char *kwnames
[] = {
24056 (char *) "self",(char *) "dc", NULL
24059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
24060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24061 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24062 if (arg2
== NULL
) {
24063 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24067 (arg1
)->base_OnDrawContents(*arg2
);
24069 wxPyEndAllowThreads(__tstate
);
24070 if (PyErr_Occurred()) SWIG_fail
;
24072 Py_INCREF(Py_None
); resultobj
= Py_None
;
24079 static PyObject
*_wrap_PyCircleShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24080 PyObject
*resultobj
;
24081 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24083 bool arg3
= (bool) FALSE
;
24084 PyObject
* obj0
= 0 ;
24085 PyObject
* obj1
= 0 ;
24086 PyObject
* obj2
= 0 ;
24087 char *kwnames
[] = {
24088 (char *) "self",(char *) "dc",(char *) "erase", NULL
24091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCircleShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24092 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24093 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24094 if (arg2
== NULL
) {
24095 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24099 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
24100 if (PyErr_Occurred()) SWIG_fail
;
24104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24105 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
24107 wxPyEndAllowThreads(__tstate
);
24108 if (PyErr_Occurred()) SWIG_fail
;
24110 Py_INCREF(Py_None
); resultobj
= Py_None
;
24117 static PyObject
*_wrap_PyCircleShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24118 PyObject
*resultobj
;
24119 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24121 PyObject
* obj0
= 0 ;
24122 PyObject
* obj1
= 0 ;
24123 char *kwnames
[] = {
24124 (char *) "self",(char *) "dc", NULL
24127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
24128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24129 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24130 if (arg2
== NULL
) {
24131 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24135 (arg1
)->base_OnMoveLinks(*arg2
);
24137 wxPyEndAllowThreads(__tstate
);
24138 if (PyErr_Occurred()) SWIG_fail
;
24140 Py_INCREF(Py_None
); resultobj
= Py_None
;
24147 static PyObject
*_wrap_PyCircleShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24148 PyObject
*resultobj
;
24149 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24151 PyObject
* obj0
= 0 ;
24152 PyObject
* obj1
= 0 ;
24153 char *kwnames
[] = {
24154 (char *) "self",(char *) "dc", NULL
24157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
24158 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24159 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24160 if (arg2
== NULL
) {
24161 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24165 (arg1
)->base_OnErase(*arg2
);
24167 wxPyEndAllowThreads(__tstate
);
24168 if (PyErr_Occurred()) SWIG_fail
;
24170 Py_INCREF(Py_None
); resultobj
= Py_None
;
24177 static PyObject
*_wrap_PyCircleShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24178 PyObject
*resultobj
;
24179 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24181 PyObject
* obj0
= 0 ;
24182 PyObject
* obj1
= 0 ;
24183 char *kwnames
[] = {
24184 (char *) "self",(char *) "dc", NULL
24187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
24188 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24189 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24190 if (arg2
== NULL
) {
24191 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24195 (arg1
)->base_OnEraseContents(*arg2
);
24197 wxPyEndAllowThreads(__tstate
);
24198 if (PyErr_Occurred()) SWIG_fail
;
24200 Py_INCREF(Py_None
); resultobj
= Py_None
;
24207 static PyObject
*_wrap_PyCircleShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24208 PyObject
*resultobj
;
24209 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24211 PyObject
* obj0
= 0 ;
24212 PyObject
* obj1
= 0 ;
24213 char *kwnames
[] = {
24214 (char *) "self",(char *) "dc", NULL
24217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
24218 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24219 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24220 if (arg2
== NULL
) {
24221 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24225 (arg1
)->base_OnHighlight(*arg2
);
24227 wxPyEndAllowThreads(__tstate
);
24228 if (PyErr_Occurred()) SWIG_fail
;
24230 Py_INCREF(Py_None
); resultobj
= Py_None
;
24237 static PyObject
*_wrap_PyCircleShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24238 PyObject
*resultobj
;
24239 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24242 int arg4
= (int) 0 ;
24243 int arg5
= (int) 0 ;
24244 PyObject
* obj0
= 0 ;
24245 PyObject
* obj1
= 0 ;
24246 PyObject
* obj2
= 0 ;
24247 PyObject
* obj3
= 0 ;
24248 PyObject
* obj4
= 0 ;
24249 char *kwnames
[] = {
24250 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24256 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
24257 if (PyErr_Occurred()) SWIG_fail
;
24260 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
24261 if (PyErr_Occurred()) SWIG_fail
;
24265 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
24266 if (PyErr_Occurred()) SWIG_fail
;
24271 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
24272 if (PyErr_Occurred()) SWIG_fail
;
24276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24277 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
24279 wxPyEndAllowThreads(__tstate
);
24280 if (PyErr_Occurred()) SWIG_fail
;
24282 Py_INCREF(Py_None
); resultobj
= Py_None
;
24289 static PyObject
*_wrap_PyCircleShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24290 PyObject
*resultobj
;
24291 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24294 int arg4
= (int) 0 ;
24295 int arg5
= (int) 0 ;
24296 PyObject
* obj0
= 0 ;
24297 PyObject
* obj1
= 0 ;
24298 PyObject
* obj2
= 0 ;
24299 PyObject
* obj3
= 0 ;
24300 PyObject
* obj4
= 0 ;
24301 char *kwnames
[] = {
24302 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24306 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24308 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
24309 if (PyErr_Occurred()) SWIG_fail
;
24312 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
24313 if (PyErr_Occurred()) SWIG_fail
;
24317 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
24318 if (PyErr_Occurred()) SWIG_fail
;
24323 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
24324 if (PyErr_Occurred()) SWIG_fail
;
24328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24329 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
24331 wxPyEndAllowThreads(__tstate
);
24332 if (PyErr_Occurred()) SWIG_fail
;
24334 Py_INCREF(Py_None
); resultobj
= Py_None
;
24341 static PyObject
*_wrap_PyCircleShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24342 PyObject
*resultobj
;
24343 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24346 int arg4
= (int) 0 ;
24347 int arg5
= (int) 0 ;
24348 PyObject
* obj0
= 0 ;
24349 PyObject
* obj1
= 0 ;
24350 PyObject
* obj2
= 0 ;
24351 PyObject
* obj3
= 0 ;
24352 PyObject
* obj4
= 0 ;
24353 char *kwnames
[] = {
24354 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24358 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24360 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
24361 if (PyErr_Occurred()) SWIG_fail
;
24364 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
24365 if (PyErr_Occurred()) SWIG_fail
;
24369 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
24370 if (PyErr_Occurred()) SWIG_fail
;
24375 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
24376 if (PyErr_Occurred()) SWIG_fail
;
24380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24381 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
24383 wxPyEndAllowThreads(__tstate
);
24384 if (PyErr_Occurred()) SWIG_fail
;
24386 Py_INCREF(Py_None
); resultobj
= Py_None
;
24393 static PyObject
*_wrap_PyCircleShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24394 PyObject
*resultobj
;
24395 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24398 PyObject
* obj0
= 0 ;
24399 PyObject
* obj1
= 0 ;
24400 PyObject
* obj2
= 0 ;
24401 char *kwnames
[] = {
24402 (char *) "self",(char *) "x",(char *) "y", NULL
24405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCircleShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24406 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24408 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
24409 if (PyErr_Occurred()) SWIG_fail
;
24412 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
24413 if (PyErr_Occurred()) SWIG_fail
;
24416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24417 (arg1
)->base_OnSize(arg2
,arg3
);
24419 wxPyEndAllowThreads(__tstate
);
24420 if (PyErr_Occurred()) SWIG_fail
;
24422 Py_INCREF(Py_None
); resultobj
= Py_None
;
24429 static PyObject
*_wrap_PyCircleShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24430 PyObject
*resultobj
;
24431 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24437 bool arg7
= (bool) True
;
24439 PyObject
* obj0
= 0 ;
24440 PyObject
* obj1
= 0 ;
24441 PyObject
* obj2
= 0 ;
24442 PyObject
* obj3
= 0 ;
24443 PyObject
* obj4
= 0 ;
24444 PyObject
* obj5
= 0 ;
24445 PyObject
* obj6
= 0 ;
24446 char *kwnames
[] = {
24447 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
24450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyCircleShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24451 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24452 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24453 if (arg2
== NULL
) {
24454 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24457 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
24458 if (PyErr_Occurred()) SWIG_fail
;
24461 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
24462 if (PyErr_Occurred()) SWIG_fail
;
24465 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
24466 if (PyErr_Occurred()) SWIG_fail
;
24469 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
24470 if (PyErr_Occurred()) SWIG_fail
;
24474 arg7
= (bool) SWIG_PyObj_AsBool(obj6
);
24475 if (PyErr_Occurred()) SWIG_fail
;
24479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24480 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
24482 wxPyEndAllowThreads(__tstate
);
24483 if (PyErr_Occurred()) SWIG_fail
;
24485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24492 static PyObject
*_wrap_PyCircleShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24493 PyObject
*resultobj
;
24494 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24500 bool arg7
= (bool) True
;
24501 PyObject
* obj0
= 0 ;
24502 PyObject
* obj1
= 0 ;
24503 PyObject
* obj2
= 0 ;
24504 PyObject
* obj3
= 0 ;
24505 PyObject
* obj4
= 0 ;
24506 PyObject
* obj5
= 0 ;
24507 PyObject
* obj6
= 0 ;
24508 char *kwnames
[] = {
24509 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
24512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyCircleShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24513 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24514 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24515 if (arg2
== NULL
) {
24516 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24519 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
24520 if (PyErr_Occurred()) SWIG_fail
;
24523 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
24524 if (PyErr_Occurred()) SWIG_fail
;
24527 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
24528 if (PyErr_Occurred()) SWIG_fail
;
24531 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
24532 if (PyErr_Occurred()) SWIG_fail
;
24536 arg7
= (bool) SWIG_PyObj_AsBool(obj6
);
24537 if (PyErr_Occurred()) SWIG_fail
;
24541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24542 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
24544 wxPyEndAllowThreads(__tstate
);
24545 if (PyErr_Occurred()) SWIG_fail
;
24547 Py_INCREF(Py_None
); resultobj
= Py_None
;
24554 static PyObject
*_wrap_PyCircleShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24555 PyObject
*resultobj
;
24556 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24560 int arg5
= (int) 0 ;
24561 int arg6
= (int) 0 ;
24562 PyObject
* obj0
= 0 ;
24563 PyObject
* obj1
= 0 ;
24564 PyObject
* obj2
= 0 ;
24565 PyObject
* obj3
= 0 ;
24566 PyObject
* obj4
= 0 ;
24567 PyObject
* obj5
= 0 ;
24568 char *kwnames
[] = {
24569 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCircleShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24573 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24575 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
24576 if (PyErr_Occurred()) SWIG_fail
;
24579 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
24580 if (PyErr_Occurred()) SWIG_fail
;
24583 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
24584 if (PyErr_Occurred()) SWIG_fail
;
24588 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
24589 if (PyErr_Occurred()) SWIG_fail
;
24594 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
24595 if (PyErr_Occurred()) SWIG_fail
;
24599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24600 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
24602 wxPyEndAllowThreads(__tstate
);
24603 if (PyErr_Occurred()) SWIG_fail
;
24605 Py_INCREF(Py_None
); resultobj
= Py_None
;
24612 static PyObject
*_wrap_PyCircleShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24613 PyObject
*resultobj
;
24614 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24617 int arg4
= (int) 0 ;
24618 int arg5
= (int) 0 ;
24619 PyObject
* obj0
= 0 ;
24620 PyObject
* obj1
= 0 ;
24621 PyObject
* obj2
= 0 ;
24622 PyObject
* obj3
= 0 ;
24623 PyObject
* obj4
= 0 ;
24624 char *kwnames
[] = {
24625 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24631 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
24632 if (PyErr_Occurred()) SWIG_fail
;
24635 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
24636 if (PyErr_Occurred()) SWIG_fail
;
24640 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
24641 if (PyErr_Occurred()) SWIG_fail
;
24646 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
24647 if (PyErr_Occurred()) SWIG_fail
;
24651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24652 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
24654 wxPyEndAllowThreads(__tstate
);
24655 if (PyErr_Occurred()) SWIG_fail
;
24657 Py_INCREF(Py_None
); resultobj
= Py_None
;
24664 static PyObject
*_wrap_PyCircleShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24665 PyObject
*resultobj
;
24666 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24669 int arg4
= (int) 0 ;
24670 int arg5
= (int) 0 ;
24671 PyObject
* obj0
= 0 ;
24672 PyObject
* obj1
= 0 ;
24673 PyObject
* obj2
= 0 ;
24674 PyObject
* obj3
= 0 ;
24675 PyObject
* obj4
= 0 ;
24676 char *kwnames
[] = {
24677 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24683 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
24684 if (PyErr_Occurred()) SWIG_fail
;
24687 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
24688 if (PyErr_Occurred()) SWIG_fail
;
24692 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
24693 if (PyErr_Occurred()) SWIG_fail
;
24698 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
24699 if (PyErr_Occurred()) SWIG_fail
;
24703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24704 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
24706 wxPyEndAllowThreads(__tstate
);
24707 if (PyErr_Occurred()) SWIG_fail
;
24709 Py_INCREF(Py_None
); resultobj
= Py_None
;
24716 static PyObject
*_wrap_PyCircleShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24717 PyObject
*resultobj
;
24718 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24722 int arg5
= (int) 0 ;
24723 int arg6
= (int) 0 ;
24724 PyObject
* obj0
= 0 ;
24725 PyObject
* obj1
= 0 ;
24726 PyObject
* obj2
= 0 ;
24727 PyObject
* obj3
= 0 ;
24728 PyObject
* obj4
= 0 ;
24729 PyObject
* obj5
= 0 ;
24730 char *kwnames
[] = {
24731 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCircleShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24737 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
24738 if (PyErr_Occurred()) SWIG_fail
;
24741 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
24742 if (PyErr_Occurred()) SWIG_fail
;
24745 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
24746 if (PyErr_Occurred()) SWIG_fail
;
24750 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
24751 if (PyErr_Occurred()) SWIG_fail
;
24756 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
24757 if (PyErr_Occurred()) SWIG_fail
;
24761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24762 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
24764 wxPyEndAllowThreads(__tstate
);
24765 if (PyErr_Occurred()) SWIG_fail
;
24767 Py_INCREF(Py_None
); resultobj
= Py_None
;
24774 static PyObject
*_wrap_PyCircleShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24775 PyObject
*resultobj
;
24776 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24779 int arg4
= (int) 0 ;
24780 int arg5
= (int) 0 ;
24781 PyObject
* obj0
= 0 ;
24782 PyObject
* obj1
= 0 ;
24783 PyObject
* obj2
= 0 ;
24784 PyObject
* obj3
= 0 ;
24785 PyObject
* obj4
= 0 ;
24786 char *kwnames
[] = {
24787 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24791 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24793 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
24794 if (PyErr_Occurred()) SWIG_fail
;
24797 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
24798 if (PyErr_Occurred()) SWIG_fail
;
24802 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
24803 if (PyErr_Occurred()) SWIG_fail
;
24808 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
24809 if (PyErr_Occurred()) SWIG_fail
;
24813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24814 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
24816 wxPyEndAllowThreads(__tstate
);
24817 if (PyErr_Occurred()) SWIG_fail
;
24819 Py_INCREF(Py_None
); resultobj
= Py_None
;
24826 static PyObject
*_wrap_PyCircleShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24827 PyObject
*resultobj
;
24828 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24831 int arg4
= (int) 0 ;
24832 int arg5
= (int) 0 ;
24833 PyObject
* obj0
= 0 ;
24834 PyObject
* obj1
= 0 ;
24835 PyObject
* obj2
= 0 ;
24836 PyObject
* obj3
= 0 ;
24837 PyObject
* obj4
= 0 ;
24838 char *kwnames
[] = {
24839 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24845 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
24846 if (PyErr_Occurred()) SWIG_fail
;
24849 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
24850 if (PyErr_Occurred()) SWIG_fail
;
24854 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
24855 if (PyErr_Occurred()) SWIG_fail
;
24860 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
24861 if (PyErr_Occurred()) SWIG_fail
;
24865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24866 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
24868 wxPyEndAllowThreads(__tstate
);
24869 if (PyErr_Occurred()) SWIG_fail
;
24871 Py_INCREF(Py_None
); resultobj
= Py_None
;
24878 static PyObject
*_wrap_PyCircleShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24879 PyObject
*resultobj
;
24880 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24886 PyObject
* obj0
= 0 ;
24887 PyObject
* obj1
= 0 ;
24888 PyObject
* obj2
= 0 ;
24889 PyObject
* obj3
= 0 ;
24890 PyObject
* obj4
= 0 ;
24891 PyObject
* obj5
= 0 ;
24892 char *kwnames
[] = {
24893 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
24896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyCircleShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24898 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24899 if (arg2
== NULL
) {
24900 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24903 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
24904 if (PyErr_Occurred()) SWIG_fail
;
24907 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
24908 if (PyErr_Occurred()) SWIG_fail
;
24911 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
24912 if (PyErr_Occurred()) SWIG_fail
;
24915 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
24916 if (PyErr_Occurred()) SWIG_fail
;
24919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24920 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
24922 wxPyEndAllowThreads(__tstate
);
24923 if (PyErr_Occurred()) SWIG_fail
;
24925 Py_INCREF(Py_None
); resultobj
= Py_None
;
24932 static PyObject
*_wrap_PyCircleShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24933 PyObject
*resultobj
;
24934 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24936 PyObject
* obj0
= 0 ;
24937 PyObject
* obj1
= 0 ;
24938 char *kwnames
[] = {
24939 (char *) "self",(char *) "dc", NULL
24942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
24943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24944 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24945 if (arg2
== NULL
) {
24946 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24950 (arg1
)->base_OnDrawControlPoints(*arg2
);
24952 wxPyEndAllowThreads(__tstate
);
24953 if (PyErr_Occurred()) SWIG_fail
;
24955 Py_INCREF(Py_None
); resultobj
= Py_None
;
24962 static PyObject
*_wrap_PyCircleShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24963 PyObject
*resultobj
;
24964 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24966 PyObject
* obj0
= 0 ;
24967 PyObject
* obj1
= 0 ;
24968 char *kwnames
[] = {
24969 (char *) "self",(char *) "dc", NULL
24972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
24973 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24974 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24975 if (arg2
== NULL
) {
24976 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24980 (arg1
)->base_OnEraseControlPoints(*arg2
);
24982 wxPyEndAllowThreads(__tstate
);
24983 if (PyErr_Occurred()) SWIG_fail
;
24985 Py_INCREF(Py_None
); resultobj
= Py_None
;
24992 static PyObject
*_wrap_PyCircleShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24993 PyObject
*resultobj
;
24994 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24996 bool arg3
= (bool) True
;
24997 PyObject
* obj0
= 0 ;
24998 PyObject
* obj1
= 0 ;
24999 PyObject
* obj2
= 0 ;
25000 char *kwnames
[] = {
25001 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
25004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCircleShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25005 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25006 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25007 if (arg2
== NULL
) {
25008 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25012 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
25013 if (PyErr_Occurred()) SWIG_fail
;
25017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25018 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
25020 wxPyEndAllowThreads(__tstate
);
25021 if (PyErr_Occurred()) SWIG_fail
;
25023 Py_INCREF(Py_None
); resultobj
= Py_None
;
25030 static PyObject
*_wrap_PyCircleShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25031 PyObject
*resultobj
;
25032 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
25033 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
25037 int arg6
= (int) 0 ;
25038 int arg7
= (int) 0 ;
25039 PyObject
* obj0
= 0 ;
25040 PyObject
* obj1
= 0 ;
25041 PyObject
* obj2
= 0 ;
25042 PyObject
* obj3
= 0 ;
25043 PyObject
* obj4
= 0 ;
25044 PyObject
* obj5
= 0 ;
25045 PyObject
* obj6
= 0 ;
25046 char *kwnames
[] = {
25047 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
25050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyCircleShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25052 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25054 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
25055 if (PyErr_Occurred()) SWIG_fail
;
25058 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
25059 if (PyErr_Occurred()) SWIG_fail
;
25062 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
25063 if (PyErr_Occurred()) SWIG_fail
;
25067 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
25068 if (PyErr_Occurred()) SWIG_fail
;
25073 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
25074 if (PyErr_Occurred()) SWIG_fail
;
25078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25079 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
25081 wxPyEndAllowThreads(__tstate
);
25082 if (PyErr_Occurred()) SWIG_fail
;
25084 Py_INCREF(Py_None
); resultobj
= Py_None
;
25091 static PyObject
*_wrap_PyCircleShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25092 PyObject
*resultobj
;
25093 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
25094 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
25097 int arg5
= (int) 0 ;
25098 int arg6
= (int) 0 ;
25099 PyObject
* obj0
= 0 ;
25100 PyObject
* obj1
= 0 ;
25101 PyObject
* obj2
= 0 ;
25102 PyObject
* obj3
= 0 ;
25103 PyObject
* obj4
= 0 ;
25104 PyObject
* obj5
= 0 ;
25105 char *kwnames
[] = {
25106 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
25109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCircleShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25110 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25111 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25113 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
25114 if (PyErr_Occurred()) SWIG_fail
;
25117 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
25118 if (PyErr_Occurred()) SWIG_fail
;
25122 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
25123 if (PyErr_Occurred()) SWIG_fail
;
25128 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
25129 if (PyErr_Occurred()) SWIG_fail
;
25133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25134 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
25136 wxPyEndAllowThreads(__tstate
);
25137 if (PyErr_Occurred()) SWIG_fail
;
25139 Py_INCREF(Py_None
); resultobj
= Py_None
;
25146 static PyObject
*_wrap_PyCircleShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25147 PyObject
*resultobj
;
25148 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
25149 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
25152 int arg5
= (int) 0 ;
25153 int arg6
= (int) 0 ;
25154 PyObject
* obj0
= 0 ;
25155 PyObject
* obj1
= 0 ;
25156 PyObject
* obj2
= 0 ;
25157 PyObject
* obj3
= 0 ;
25158 PyObject
* obj4
= 0 ;
25159 PyObject
* obj5
= 0 ;
25160 char *kwnames
[] = {
25161 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
25164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCircleShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25165 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25166 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25168 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
25169 if (PyErr_Occurred()) SWIG_fail
;
25172 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
25173 if (PyErr_Occurred()) SWIG_fail
;
25177 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
25178 if (PyErr_Occurred()) SWIG_fail
;
25183 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
25184 if (PyErr_Occurred()) SWIG_fail
;
25188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25189 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
25191 wxPyEndAllowThreads(__tstate
);
25192 if (PyErr_Occurred()) SWIG_fail
;
25194 Py_INCREF(Py_None
); resultobj
= Py_None
;
25201 static PyObject
*_wrap_PyCircleShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25202 PyObject
*resultobj
;
25203 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
25206 PyObject
* obj0
= 0 ;
25207 PyObject
* obj1
= 0 ;
25208 PyObject
* obj2
= 0 ;
25209 char *kwnames
[] = {
25210 (char *) "self",(char *) "w",(char *) "h", NULL
25213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCircleShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25214 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25216 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
25217 if (PyErr_Occurred()) SWIG_fail
;
25220 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
25221 if (PyErr_Occurred()) SWIG_fail
;
25224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25225 (arg1
)->base_OnBeginSize(arg2
,arg3
);
25227 wxPyEndAllowThreads(__tstate
);
25228 if (PyErr_Occurred()) SWIG_fail
;
25230 Py_INCREF(Py_None
); resultobj
= Py_None
;
25237 static PyObject
*_wrap_PyCircleShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25238 PyObject
*resultobj
;
25239 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
25242 PyObject
* obj0
= 0 ;
25243 PyObject
* obj1
= 0 ;
25244 PyObject
* obj2
= 0 ;
25245 char *kwnames
[] = {
25246 (char *) "self",(char *) "w",(char *) "h", NULL
25249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCircleShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25250 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25252 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
25253 if (PyErr_Occurred()) SWIG_fail
;
25256 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
25257 if (PyErr_Occurred()) SWIG_fail
;
25260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25261 (arg1
)->base_OnEndSize(arg2
,arg3
);
25263 wxPyEndAllowThreads(__tstate
);
25264 if (PyErr_Occurred()) SWIG_fail
;
25266 Py_INCREF(Py_None
); resultobj
= Py_None
;
25273 static PyObject
* PyCircleShape_swigregister(PyObject
*self
, PyObject
*args
) {
25275 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25276 SWIG_TypeClientData(SWIGTYPE_p_wxPyCircleShape
, obj
);
25278 return Py_BuildValue((char *)"");
25280 static PyObject
*_wrap_new_ArrowHead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25281 PyObject
*resultobj
;
25282 int arg1
= (int) 0 ;
25283 int arg2
= (int) 0 ;
25284 double arg3
= (double) 0.0 ;
25285 double arg4
= (double) 0.0 ;
25286 wxString
const &arg5_defvalue
= wxPyEmptyString
;
25287 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
25288 wxPseudoMetaFile
*arg6
= (wxPseudoMetaFile
*) NULL
;
25289 long arg7
= (long) -1 ;
25290 wxArrowHead
*result
;
25291 bool temp5
= False
;
25292 PyObject
* obj0
= 0 ;
25293 PyObject
* obj1
= 0 ;
25294 PyObject
* obj2
= 0 ;
25295 PyObject
* obj3
= 0 ;
25296 PyObject
* obj4
= 0 ;
25297 PyObject
* obj5
= 0 ;
25298 PyObject
* obj6
= 0 ;
25299 char *kwnames
[] = {
25300 (char *) "type",(char *) "end",(char *) "size",(char *) "dist",(char *) "name",(char *) "mf",(char *) "arrowId", NULL
25303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOO:new_ArrowHead",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25306 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
25307 if (PyErr_Occurred()) SWIG_fail
;
25312 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25313 if (PyErr_Occurred()) SWIG_fail
;
25318 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
25319 if (PyErr_Occurred()) SWIG_fail
;
25324 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
25325 if (PyErr_Occurred()) SWIG_fail
;
25330 arg5
= wxString_in_helper(obj4
);
25331 if (arg5
== NULL
) SWIG_fail
;
25336 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25340 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
25341 if (PyErr_Occurred()) SWIG_fail
;
25345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25346 result
= (wxArrowHead
*)new wxArrowHead(arg1
,arg2
,arg3
,arg4
,(wxString
const &)*arg5
,arg6
,arg7
);
25348 wxPyEndAllowThreads(__tstate
);
25349 if (PyErr_Occurred()) SWIG_fail
;
25352 resultobj
= wxPyMake_wxObject(result
);
25368 static PyObject
*_wrap_delete_ArrowHead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25369 PyObject
*resultobj
;
25370 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25371 PyObject
* obj0
= 0 ;
25372 char *kwnames
[] = {
25373 (char *) "self", NULL
25376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ArrowHead",kwnames
,&obj0
)) goto fail
;
25377 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25382 wxPyEndAllowThreads(__tstate
);
25383 if (PyErr_Occurred()) SWIG_fail
;
25385 Py_INCREF(Py_None
); resultobj
= Py_None
;
25392 static PyObject
*_wrap_ArrowHead__GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25393 PyObject
*resultobj
;
25394 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25396 PyObject
* obj0
= 0 ;
25397 char *kwnames
[] = {
25398 (char *) "self", NULL
25401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead__GetType",kwnames
,&obj0
)) goto fail
;
25402 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25405 result
= (int)(arg1
)->_GetType();
25407 wxPyEndAllowThreads(__tstate
);
25408 if (PyErr_Occurred()) SWIG_fail
;
25410 resultobj
= SWIG_PyObj_FromInt((int)result
);
25417 static PyObject
*_wrap_ArrowHead_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25418 PyObject
*resultobj
;
25419 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25421 PyObject
* obj0
= 0 ;
25422 char *kwnames
[] = {
25423 (char *) "self", NULL
25426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetPosition",kwnames
,&obj0
)) goto fail
;
25427 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25430 result
= (int)(arg1
)->GetPosition();
25432 wxPyEndAllowThreads(__tstate
);
25433 if (PyErr_Occurred()) SWIG_fail
;
25435 resultobj
= SWIG_PyObj_FromInt((int)result
);
25442 static PyObject
*_wrap_ArrowHead_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25443 PyObject
*resultobj
;
25444 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25446 PyObject
* obj0
= 0 ;
25447 PyObject
* obj1
= 0 ;
25448 char *kwnames
[] = {
25449 (char *) "self",(char *) "pos", NULL
25452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ArrowHead_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
25453 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25455 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25456 if (PyErr_Occurred()) SWIG_fail
;
25459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25460 (arg1
)->SetPosition(arg2
);
25462 wxPyEndAllowThreads(__tstate
);
25463 if (PyErr_Occurred()) SWIG_fail
;
25465 Py_INCREF(Py_None
); resultobj
= Py_None
;
25472 static PyObject
*_wrap_ArrowHead_GetXOffset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25473 PyObject
*resultobj
;
25474 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25476 PyObject
* obj0
= 0 ;
25477 char *kwnames
[] = {
25478 (char *) "self", NULL
25481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetXOffset",kwnames
,&obj0
)) goto fail
;
25482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25485 result
= (double)(arg1
)->GetXOffset();
25487 wxPyEndAllowThreads(__tstate
);
25488 if (PyErr_Occurred()) SWIG_fail
;
25490 resultobj
= SWIG_PyObj_FromDouble((double)result
);
25497 static PyObject
*_wrap_ArrowHead_GetYOffset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25498 PyObject
*resultobj
;
25499 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25501 PyObject
* obj0
= 0 ;
25502 char *kwnames
[] = {
25503 (char *) "self", NULL
25506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetYOffset",kwnames
,&obj0
)) goto fail
;
25507 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25510 result
= (double)(arg1
)->GetYOffset();
25512 wxPyEndAllowThreads(__tstate
);
25513 if (PyErr_Occurred()) SWIG_fail
;
25515 resultobj
= SWIG_PyObj_FromDouble((double)result
);
25522 static PyObject
*_wrap_ArrowHead_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25523 PyObject
*resultobj
;
25524 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25526 PyObject
* obj0
= 0 ;
25527 char *kwnames
[] = {
25528 (char *) "self", NULL
25531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetSpacing",kwnames
,&obj0
)) goto fail
;
25532 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25535 result
= (double)(arg1
)->GetSpacing();
25537 wxPyEndAllowThreads(__tstate
);
25538 if (PyErr_Occurred()) SWIG_fail
;
25540 resultobj
= SWIG_PyObj_FromDouble((double)result
);
25547 static PyObject
*_wrap_ArrowHead_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25548 PyObject
*resultobj
;
25549 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25551 PyObject
* obj0
= 0 ;
25552 char *kwnames
[] = {
25553 (char *) "self", NULL
25556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetSize",kwnames
,&obj0
)) goto fail
;
25557 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25560 result
= (double)(arg1
)->GetSize();
25562 wxPyEndAllowThreads(__tstate
);
25563 if (PyErr_Occurred()) SWIG_fail
;
25565 resultobj
= SWIG_PyObj_FromDouble((double)result
);
25572 static PyObject
*_wrap_ArrowHead_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25573 PyObject
*resultobj
;
25574 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25576 PyObject
* obj0
= 0 ;
25577 char *kwnames
[] = {
25578 (char *) "self", NULL
25581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetName",kwnames
,&obj0
)) goto fail
;
25582 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25585 result
= (arg1
)->GetName();
25587 wxPyEndAllowThreads(__tstate
);
25588 if (PyErr_Occurred()) SWIG_fail
;
25592 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25594 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25603 static PyObject
*_wrap_ArrowHead_SetXOffset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25604 PyObject
*resultobj
;
25605 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25607 PyObject
* obj0
= 0 ;
25608 PyObject
* obj1
= 0 ;
25609 char *kwnames
[] = {
25610 (char *) "self",(char *) "x", NULL
25613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ArrowHead_SetXOffset",kwnames
,&obj0
,&obj1
)) goto fail
;
25614 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25616 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
25617 if (PyErr_Occurred()) SWIG_fail
;
25620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25621 (arg1
)->SetXOffset(arg2
);
25623 wxPyEndAllowThreads(__tstate
);
25624 if (PyErr_Occurred()) SWIG_fail
;
25626 Py_INCREF(Py_None
); resultobj
= Py_None
;
25633 static PyObject
*_wrap_ArrowHead_SetYOffset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25634 PyObject
*resultobj
;
25635 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25637 PyObject
* obj0
= 0 ;
25638 PyObject
* obj1
= 0 ;
25639 char *kwnames
[] = {
25640 (char *) "self",(char *) "y", NULL
25643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ArrowHead_SetYOffset",kwnames
,&obj0
,&obj1
)) goto fail
;
25644 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25646 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
25647 if (PyErr_Occurred()) SWIG_fail
;
25650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25651 (arg1
)->SetYOffset(arg2
);
25653 wxPyEndAllowThreads(__tstate
);
25654 if (PyErr_Occurred()) SWIG_fail
;
25656 Py_INCREF(Py_None
); resultobj
= Py_None
;
25663 static PyObject
*_wrap_ArrowHead_GetMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25664 PyObject
*resultobj
;
25665 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25666 wxPseudoMetaFile
*result
;
25667 PyObject
* obj0
= 0 ;
25668 char *kwnames
[] = {
25669 (char *) "self", NULL
25672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetMetaFile",kwnames
,&obj0
)) goto fail
;
25673 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25676 result
= (wxPseudoMetaFile
*)(arg1
)->GetMetaFile();
25678 wxPyEndAllowThreads(__tstate
);
25679 if (PyErr_Occurred()) SWIG_fail
;
25682 resultobj
= wxPyMake_wxObject(result
);
25690 static PyObject
*_wrap_ArrowHead_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25691 PyObject
*resultobj
;
25692 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25694 PyObject
* obj0
= 0 ;
25695 char *kwnames
[] = {
25696 (char *) "self", NULL
25699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetId",kwnames
,&obj0
)) goto fail
;
25700 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25703 result
= (long)(arg1
)->GetId();
25705 wxPyEndAllowThreads(__tstate
);
25706 if (PyErr_Occurred()) SWIG_fail
;
25708 resultobj
= SWIG_PyObj_FromLong((long)result
);
25715 static PyObject
*_wrap_ArrowHead_GetArrowEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25716 PyObject
*resultobj
;
25717 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25719 PyObject
* obj0
= 0 ;
25720 char *kwnames
[] = {
25721 (char *) "self", NULL
25724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetArrowEnd",kwnames
,&obj0
)) goto fail
;
25725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25728 result
= (int)(arg1
)->GetArrowEnd();
25730 wxPyEndAllowThreads(__tstate
);
25731 if (PyErr_Occurred()) SWIG_fail
;
25733 resultobj
= SWIG_PyObj_FromInt((int)result
);
25740 static PyObject
*_wrap_ArrowHead_GetArrowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25741 PyObject
*resultobj
;
25742 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25744 PyObject
* obj0
= 0 ;
25745 char *kwnames
[] = {
25746 (char *) "self", NULL
25749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetArrowSize",kwnames
,&obj0
)) goto fail
;
25750 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25753 result
= (double)(arg1
)->GetArrowSize();
25755 wxPyEndAllowThreads(__tstate
);
25756 if (PyErr_Occurred()) SWIG_fail
;
25758 resultobj
= SWIG_PyObj_FromDouble((double)result
);
25765 static PyObject
*_wrap_ArrowHead_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25766 PyObject
*resultobj
;
25767 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25769 PyObject
* obj0
= 0 ;
25770 PyObject
* obj1
= 0 ;
25771 char *kwnames
[] = {
25772 (char *) "self",(char *) "size", NULL
25775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ArrowHead_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25776 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25778 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
25779 if (PyErr_Occurred()) SWIG_fail
;
25782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25783 (arg1
)->SetSize(arg2
);
25785 wxPyEndAllowThreads(__tstate
);
25786 if (PyErr_Occurred()) SWIG_fail
;
25788 Py_INCREF(Py_None
); resultobj
= Py_None
;
25795 static PyObject
*_wrap_ArrowHead_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25796 PyObject
*resultobj
;
25797 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25799 PyObject
* obj0
= 0 ;
25800 PyObject
* obj1
= 0 ;
25801 char *kwnames
[] = {
25802 (char *) "self",(char *) "sp", NULL
25805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ArrowHead_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
25806 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25808 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
25809 if (PyErr_Occurred()) SWIG_fail
;
25812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25813 (arg1
)->SetSpacing(arg2
);
25815 wxPyEndAllowThreads(__tstate
);
25816 if (PyErr_Occurred()) SWIG_fail
;
25818 Py_INCREF(Py_None
); resultobj
= Py_None
;
25825 static PyObject
* ArrowHead_swigregister(PyObject
*self
, PyObject
*args
) {
25827 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25828 SWIG_TypeClientData(SWIGTYPE_p_wxArrowHead
, obj
);
25830 return Py_BuildValue((char *)"");
25832 static PyObject
*_wrap_new_PyLineShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25833 PyObject
*resultobj
;
25834 wxPyLineShape
*result
;
25835 char *kwnames
[] = {
25839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLineShape",kwnames
)) goto fail
;
25841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25842 result
= (wxPyLineShape
*)new wxPyLineShape();
25844 wxPyEndAllowThreads(__tstate
);
25845 if (PyErr_Occurred()) SWIG_fail
;
25847 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyLineShape
, 1);
25854 static PyObject
*_wrap_PyLineShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25855 PyObject
*resultobj
;
25856 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25857 PyObject
*arg2
= (PyObject
*) 0 ;
25858 PyObject
*arg3
= (PyObject
*) 0 ;
25859 PyObject
* obj0
= 0 ;
25860 PyObject
* obj1
= 0 ;
25861 PyObject
* obj2
= 0 ;
25862 char *kwnames
[] = {
25863 (char *) "self",(char *) "self",(char *) "_class", NULL
25866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25867 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25872 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25874 wxPyEndAllowThreads(__tstate
);
25875 if (PyErr_Occurred()) SWIG_fail
;
25877 Py_INCREF(Py_None
); resultobj
= Py_None
;
25884 static PyObject
*_wrap_PyLineShape_AddArrow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25885 PyObject
*resultobj
;
25886 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25888 int arg3
= (int) ARROW_POSITION_END
;
25889 double arg4
= (double) 10.0 ;
25890 double arg5
= (double) 0.0 ;
25891 wxString
const &arg6_defvalue
= wxPyEmptyString
;
25892 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25893 wxPseudoMetaFile
*arg7
= (wxPseudoMetaFile
*) NULL
;
25894 long arg8
= (long) -1 ;
25895 bool temp6
= False
;
25896 PyObject
* obj0
= 0 ;
25897 PyObject
* obj1
= 0 ;
25898 PyObject
* obj2
= 0 ;
25899 PyObject
* obj3
= 0 ;
25900 PyObject
* obj4
= 0 ;
25901 PyObject
* obj5
= 0 ;
25902 PyObject
* obj6
= 0 ;
25903 PyObject
* obj7
= 0 ;
25904 char *kwnames
[] = {
25905 (char *) "self",(char *) "type",(char *) "end",(char *) "arrowSize",(char *) "xOffset",(char *) "name",(char *) "mf",(char *) "arrowId", NULL
25908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:PyLineShape_AddArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
25909 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25911 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25912 if (PyErr_Occurred()) SWIG_fail
;
25916 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25917 if (PyErr_Occurred()) SWIG_fail
;
25922 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
25923 if (PyErr_Occurred()) SWIG_fail
;
25928 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
25929 if (PyErr_Occurred()) SWIG_fail
;
25934 arg6
= wxString_in_helper(obj5
);
25935 if (arg6
== NULL
) SWIG_fail
;
25940 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25944 arg8
= (long) SWIG_PyObj_AsLong(obj7
);
25945 if (PyErr_Occurred()) SWIG_fail
;
25949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25950 (arg1
)->AddArrow(arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
,arg8
);
25952 wxPyEndAllowThreads(__tstate
);
25953 if (PyErr_Occurred()) SWIG_fail
;
25955 Py_INCREF(Py_None
); resultobj
= Py_None
;
25970 static PyObject
*_wrap_PyLineShape_AddArrowOrdered(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25971 PyObject
*resultobj
;
25972 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25973 wxArrowHead
*arg2
= (wxArrowHead
*) 0 ;
25974 PyObject
*arg3
= (PyObject
*) 0 ;
25976 PyObject
* obj0
= 0 ;
25977 PyObject
* obj1
= 0 ;
25978 PyObject
* obj2
= 0 ;
25979 PyObject
* obj3
= 0 ;
25980 char *kwnames
[] = {
25981 (char *) "self",(char *) "arrow",(char *) "referenceList",(char *) "end", NULL
25984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyLineShape_AddArrowOrdered",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25985 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25986 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25989 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
25990 if (PyErr_Occurred()) SWIG_fail
;
25993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25994 wxPyLineShape_AddArrowOrdered(arg1
,arg2
,arg3
,arg4
);
25996 wxPyEndAllowThreads(__tstate
);
25997 if (PyErr_Occurred()) SWIG_fail
;
25999 Py_INCREF(Py_None
); resultobj
= Py_None
;
26006 static PyObject
*_wrap_PyLineShape_ClearArrow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26007 PyObject
*resultobj
;
26008 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26009 wxString
*arg2
= 0 ;
26011 bool temp2
= False
;
26012 PyObject
* obj0
= 0 ;
26013 PyObject
* obj1
= 0 ;
26014 char *kwnames
[] = {
26015 (char *) "self",(char *) "name", NULL
26018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_ClearArrow",kwnames
,&obj0
,&obj1
)) goto fail
;
26019 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26021 arg2
= wxString_in_helper(obj1
);
26022 if (arg2
== NULL
) SWIG_fail
;
26026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26027 result
= (bool)(arg1
)->ClearArrow((wxString
const &)*arg2
);
26029 wxPyEndAllowThreads(__tstate
);
26030 if (PyErr_Occurred()) SWIG_fail
;
26032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26047 static PyObject
*_wrap_PyLineShape_ClearArrowsAtPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26048 PyObject
*resultobj
;
26049 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26050 int arg2
= (int) -1 ;
26051 PyObject
* obj0
= 0 ;
26052 PyObject
* obj1
= 0 ;
26053 char *kwnames
[] = {
26054 (char *) "self",(char *) "position", NULL
26057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyLineShape_ClearArrowsAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
26058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26061 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
26062 if (PyErr_Occurred()) SWIG_fail
;
26066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26067 (arg1
)->ClearArrowsAtPosition(arg2
);
26069 wxPyEndAllowThreads(__tstate
);
26070 if (PyErr_Occurred()) SWIG_fail
;
26072 Py_INCREF(Py_None
); resultobj
= Py_None
;
26079 static PyObject
*_wrap_PyLineShape_DrawArrow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26080 PyObject
*resultobj
;
26081 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26083 wxArrowHead
*arg3
= (wxArrowHead
*) 0 ;
26086 PyObject
* obj0
= 0 ;
26087 PyObject
* obj1
= 0 ;
26088 PyObject
* obj2
= 0 ;
26089 PyObject
* obj3
= 0 ;
26090 PyObject
* obj4
= 0 ;
26091 char *kwnames
[] = {
26092 (char *) "self",(char *) "dc",(char *) "arrow",(char *) "xOffset",(char *) "proportionalOffset", NULL
26095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyLineShape_DrawArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26097 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26098 if (arg2
== NULL
) {
26099 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26101 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26103 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
26104 if (PyErr_Occurred()) SWIG_fail
;
26107 arg5
= (bool) SWIG_PyObj_AsBool(obj4
);
26108 if (PyErr_Occurred()) SWIG_fail
;
26111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26112 (arg1
)->DrawArrow(*arg2
,arg3
,arg4
,arg5
);
26114 wxPyEndAllowThreads(__tstate
);
26115 if (PyErr_Occurred()) SWIG_fail
;
26117 Py_INCREF(Py_None
); resultobj
= Py_None
;
26124 static PyObject
*_wrap_PyLineShape_DeleteArrowHeadId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26125 PyObject
*resultobj
;
26126 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26129 PyObject
* obj0
= 0 ;
26130 PyObject
* obj1
= 0 ;
26131 char *kwnames
[] = {
26132 (char *) "self",(char *) "arrowId", NULL
26135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_DeleteArrowHeadId",kwnames
,&obj0
,&obj1
)) goto fail
;
26136 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26138 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
26139 if (PyErr_Occurred()) SWIG_fail
;
26142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26143 result
= (bool)(arg1
)->DeleteArrowHead(arg2
);
26145 wxPyEndAllowThreads(__tstate
);
26146 if (PyErr_Occurred()) SWIG_fail
;
26148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26155 static PyObject
*_wrap_PyLineShape_DeleteArrowHead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26156 PyObject
*resultobj
;
26157 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26159 wxString
*arg3
= 0 ;
26161 bool temp3
= False
;
26162 PyObject
* obj0
= 0 ;
26163 PyObject
* obj1
= 0 ;
26164 PyObject
* obj2
= 0 ;
26165 char *kwnames
[] = {
26166 (char *) "self",(char *) "position",(char *) "name", NULL
26169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_DeleteArrowHead",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26172 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
26173 if (PyErr_Occurred()) SWIG_fail
;
26176 arg3
= wxString_in_helper(obj2
);
26177 if (arg3
== NULL
) SWIG_fail
;
26181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26182 result
= (bool)(arg1
)->DeleteArrowHead(arg2
,(wxString
const &)*arg3
);
26184 wxPyEndAllowThreads(__tstate
);
26185 if (PyErr_Occurred()) SWIG_fail
;
26187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26202 static PyObject
*_wrap_PyLineShape_DeleteLineControlPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26203 PyObject
*resultobj
;
26204 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26206 PyObject
* obj0
= 0 ;
26207 char *kwnames
[] = {
26208 (char *) "self", NULL
26211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_DeleteLineControlPoint",kwnames
,&obj0
)) goto fail
;
26212 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26215 result
= (bool)(arg1
)->DeleteLineControlPoint();
26217 wxPyEndAllowThreads(__tstate
);
26218 if (PyErr_Occurred()) SWIG_fail
;
26220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26227 static PyObject
*_wrap_PyLineShape_DrawArrows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26228 PyObject
*resultobj
;
26229 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26231 PyObject
* obj0
= 0 ;
26232 PyObject
* obj1
= 0 ;
26233 char *kwnames
[] = {
26234 (char *) "self",(char *) "dc", NULL
26237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_DrawArrows",kwnames
,&obj0
,&obj1
)) goto fail
;
26238 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26239 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26240 if (arg2
== NULL
) {
26241 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26245 (arg1
)->DrawArrows(*arg2
);
26247 wxPyEndAllowThreads(__tstate
);
26248 if (PyErr_Occurred()) SWIG_fail
;
26250 Py_INCREF(Py_None
); resultobj
= Py_None
;
26257 static PyObject
*_wrap_PyLineShape_DrawRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26258 PyObject
*resultobj
;
26259 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26261 wxShapeRegion
*arg3
= (wxShapeRegion
*) 0 ;
26264 PyObject
* obj0
= 0 ;
26265 PyObject
* obj1
= 0 ;
26266 PyObject
* obj2
= 0 ;
26267 PyObject
* obj3
= 0 ;
26268 PyObject
* obj4
= 0 ;
26269 char *kwnames
[] = {
26270 (char *) "self",(char *) "dc",(char *) "region",(char *) "x",(char *) "y", NULL
26273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyLineShape_DrawRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26274 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26275 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26276 if (arg2
== NULL
) {
26277 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26279 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26281 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
26282 if (PyErr_Occurred()) SWIG_fail
;
26285 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
26286 if (PyErr_Occurred()) SWIG_fail
;
26289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26290 (arg1
)->DrawRegion(*arg2
,arg3
,arg4
,arg5
);
26292 wxPyEndAllowThreads(__tstate
);
26293 if (PyErr_Occurred()) SWIG_fail
;
26295 Py_INCREF(Py_None
); resultobj
= Py_None
;
26302 static PyObject
*_wrap_PyLineShape_EraseRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26303 PyObject
*resultobj
;
26304 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26306 wxShapeRegion
*arg3
= (wxShapeRegion
*) 0 ;
26309 PyObject
* obj0
= 0 ;
26310 PyObject
* obj1
= 0 ;
26311 PyObject
* obj2
= 0 ;
26312 PyObject
* obj3
= 0 ;
26313 PyObject
* obj4
= 0 ;
26314 char *kwnames
[] = {
26315 (char *) "self",(char *) "dc",(char *) "region",(char *) "x",(char *) "y", NULL
26318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyLineShape_EraseRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26320 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26321 if (arg2
== NULL
) {
26322 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26324 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26326 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
26327 if (PyErr_Occurred()) SWIG_fail
;
26330 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
26331 if (PyErr_Occurred()) SWIG_fail
;
26334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26335 (arg1
)->EraseRegion(*arg2
,arg3
,arg4
,arg5
);
26337 wxPyEndAllowThreads(__tstate
);
26338 if (PyErr_Occurred()) SWIG_fail
;
26340 Py_INCREF(Py_None
); resultobj
= Py_None
;
26347 static PyObject
*_wrap_PyLineShape_FindArrowHeadId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26348 PyObject
*resultobj
;
26349 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26351 wxArrowHead
*result
;
26352 PyObject
* obj0
= 0 ;
26353 PyObject
* obj1
= 0 ;
26354 char *kwnames
[] = {
26355 (char *) "self",(char *) "arrowId", NULL
26358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_FindArrowHeadId",kwnames
,&obj0
,&obj1
)) goto fail
;
26359 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26361 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
26362 if (PyErr_Occurred()) SWIG_fail
;
26365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26366 result
= (wxArrowHead
*)(arg1
)->FindArrowHead(arg2
);
26368 wxPyEndAllowThreads(__tstate
);
26369 if (PyErr_Occurred()) SWIG_fail
;
26372 resultobj
= wxPyMake_wxObject(result
);
26380 static PyObject
*_wrap_PyLineShape_FindArrowHead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26381 PyObject
*resultobj
;
26382 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26384 wxString
*arg3
= 0 ;
26385 wxArrowHead
*result
;
26386 bool temp3
= False
;
26387 PyObject
* obj0
= 0 ;
26388 PyObject
* obj1
= 0 ;
26389 PyObject
* obj2
= 0 ;
26390 char *kwnames
[] = {
26391 (char *) "self",(char *) "position",(char *) "name", NULL
26394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_FindArrowHead",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26395 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26397 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
26398 if (PyErr_Occurred()) SWIG_fail
;
26401 arg3
= wxString_in_helper(obj2
);
26402 if (arg3
== NULL
) SWIG_fail
;
26406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26407 result
= (wxArrowHead
*)(arg1
)->FindArrowHead(arg2
,(wxString
const &)*arg3
);
26409 wxPyEndAllowThreads(__tstate
);
26410 if (PyErr_Occurred()) SWIG_fail
;
26413 resultobj
= wxPyMake_wxObject(result
);
26429 static PyObject
*_wrap_PyLineShape_FindLineEndPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26430 PyObject
*resultobj
;
26431 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26432 double *arg2
= (double *) 0 ;
26433 double *arg3
= (double *) 0 ;
26434 double *arg4
= (double *) 0 ;
26435 double *arg5
= (double *) 0 ;
26440 PyObject
* obj0
= 0 ;
26441 char *kwnames
[] = {
26442 (char *) "self", NULL
26449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_FindLineEndPoints",kwnames
,&obj0
)) goto fail
;
26450 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26453 (arg1
)->FindLineEndPoints(arg2
,arg3
,arg4
,arg5
);
26455 wxPyEndAllowThreads(__tstate
);
26456 if (PyErr_Occurred()) SWIG_fail
;
26458 Py_INCREF(Py_None
); resultobj
= Py_None
;
26460 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
26461 resultobj
= t_output_helper(resultobj
,o
);
26464 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
26465 resultobj
= t_output_helper(resultobj
,o
);
26468 PyObject
*o
= PyFloat_FromDouble((double) (*arg4
));
26469 resultobj
= t_output_helper(resultobj
,o
);
26472 PyObject
*o
= PyFloat_FromDouble((double) (*arg5
));
26473 resultobj
= t_output_helper(resultobj
,o
);
26481 static PyObject
*_wrap_PyLineShape_FindLinePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26482 PyObject
*resultobj
;
26483 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26487 PyObject
* obj0
= 0 ;
26488 PyObject
* obj1
= 0 ;
26489 PyObject
* obj2
= 0 ;
26490 char *kwnames
[] = {
26491 (char *) "self",(char *) "x",(char *) "y", NULL
26494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_FindLinePosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26495 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26497 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
26498 if (PyErr_Occurred()) SWIG_fail
;
26501 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
26502 if (PyErr_Occurred()) SWIG_fail
;
26505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26506 result
= (int)(arg1
)->FindLinePosition(arg2
,arg3
);
26508 wxPyEndAllowThreads(__tstate
);
26509 if (PyErr_Occurred()) SWIG_fail
;
26511 resultobj
= SWIG_PyObj_FromInt((int)result
);
26518 static PyObject
*_wrap_PyLineShape_FindMinimumWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26519 PyObject
*resultobj
;
26520 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26522 PyObject
* obj0
= 0 ;
26523 char *kwnames
[] = {
26524 (char *) "self", NULL
26527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_FindMinimumWidth",kwnames
,&obj0
)) goto fail
;
26528 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26531 result
= (double)(arg1
)->FindMinimumWidth();
26533 wxPyEndAllowThreads(__tstate
);
26534 if (PyErr_Occurred()) SWIG_fail
;
26536 resultobj
= SWIG_PyObj_FromDouble((double)result
);
26543 static PyObject
*_wrap_PyLineShape_FindNth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26544 PyObject
*resultobj
;
26545 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26546 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
26547 int *arg3
= (int *) 0 ;
26548 int *arg4
= (int *) 0 ;
26552 PyObject
* obj0
= 0 ;
26553 PyObject
* obj1
= 0 ;
26554 PyObject
* obj2
= 0 ;
26555 char *kwnames
[] = {
26556 (char *) "self",(char *) "image",(char *) "incoming", NULL
26561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_FindNth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26562 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26563 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26565 arg5
= (bool) SWIG_PyObj_AsBool(obj2
);
26566 if (PyErr_Occurred()) SWIG_fail
;
26569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26570 (arg1
)->FindNth(arg2
,arg3
,arg4
,arg5
);
26572 wxPyEndAllowThreads(__tstate
);
26573 if (PyErr_Occurred()) SWIG_fail
;
26575 Py_INCREF(Py_None
); resultobj
= Py_None
;
26577 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26578 resultobj
= t_output_helper(resultobj
,o
);
26581 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
26582 resultobj
= t_output_helper(resultobj
,o
);
26590 static PyObject
*_wrap_PyLineShape_GetAttachmentFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26591 PyObject
*resultobj
;
26592 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26594 PyObject
* obj0
= 0 ;
26595 char *kwnames
[] = {
26596 (char *) "self", NULL
26599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetAttachmentFrom",kwnames
,&obj0
)) goto fail
;
26600 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26603 result
= (int)(arg1
)->GetAttachmentFrom();
26605 wxPyEndAllowThreads(__tstate
);
26606 if (PyErr_Occurred()) SWIG_fail
;
26608 resultobj
= SWIG_PyObj_FromInt((int)result
);
26615 static PyObject
*_wrap_PyLineShape_GetAttachmentTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26616 PyObject
*resultobj
;
26617 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26619 PyObject
* obj0
= 0 ;
26620 char *kwnames
[] = {
26621 (char *) "self", NULL
26624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetAttachmentTo",kwnames
,&obj0
)) goto fail
;
26625 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26628 result
= (int)(arg1
)->GetAttachmentTo();
26630 wxPyEndAllowThreads(__tstate
);
26631 if (PyErr_Occurred()) SWIG_fail
;
26633 resultobj
= SWIG_PyObj_FromInt((int)result
);
26640 static PyObject
*_wrap_PyLineShape_GetEnds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26641 PyObject
*resultobj
;
26642 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26643 double *arg2
= (double *) 0 ;
26644 double *arg3
= (double *) 0 ;
26645 double *arg4
= (double *) 0 ;
26646 double *arg5
= (double *) 0 ;
26651 PyObject
* obj0
= 0 ;
26652 char *kwnames
[] = {
26653 (char *) "self", NULL
26660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetEnds",kwnames
,&obj0
)) goto fail
;
26661 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26664 (arg1
)->GetEnds(arg2
,arg3
,arg4
,arg5
);
26666 wxPyEndAllowThreads(__tstate
);
26667 if (PyErr_Occurred()) SWIG_fail
;
26669 Py_INCREF(Py_None
); resultobj
= Py_None
;
26671 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
26672 resultobj
= t_output_helper(resultobj
,o
);
26675 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
26676 resultobj
= t_output_helper(resultobj
,o
);
26679 PyObject
*o
= PyFloat_FromDouble((double) (*arg4
));
26680 resultobj
= t_output_helper(resultobj
,o
);
26683 PyObject
*o
= PyFloat_FromDouble((double) (*arg5
));
26684 resultobj
= t_output_helper(resultobj
,o
);
26692 static PyObject
*_wrap_PyLineShape_GetFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26693 PyObject
*resultobj
;
26694 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26696 PyObject
* obj0
= 0 ;
26697 char *kwnames
[] = {
26698 (char *) "self", NULL
26701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetFrom",kwnames
,&obj0
)) goto fail
;
26702 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26705 result
= (wxPyShape
*)(arg1
)->GetFrom();
26707 wxPyEndAllowThreads(__tstate
);
26708 if (PyErr_Occurred()) SWIG_fail
;
26711 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
26719 static PyObject
*_wrap_PyLineShape_GetLabelPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26720 PyObject
*resultobj
;
26721 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26723 double *arg3
= (double *) 0 ;
26724 double *arg4
= (double *) 0 ;
26727 PyObject
* obj0
= 0 ;
26728 PyObject
* obj1
= 0 ;
26729 char *kwnames
[] = {
26730 (char *) "self",(char *) "position", NULL
26735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_GetLabelPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
26736 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26738 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
26739 if (PyErr_Occurred()) SWIG_fail
;
26742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26743 (arg1
)->GetLabelPosition(arg2
,arg3
,arg4
);
26745 wxPyEndAllowThreads(__tstate
);
26746 if (PyErr_Occurred()) SWIG_fail
;
26748 Py_INCREF(Py_None
); resultobj
= Py_None
;
26750 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
26751 resultobj
= t_output_helper(resultobj
,o
);
26754 PyObject
*o
= PyFloat_FromDouble((double) (*arg4
));
26755 resultobj
= t_output_helper(resultobj
,o
);
26763 static PyObject
*_wrap_PyLineShape_GetNextControlPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26764 PyObject
*resultobj
;
26765 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26766 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
26767 wxRealPoint
*result
;
26768 PyObject
* obj0
= 0 ;
26769 PyObject
* obj1
= 0 ;
26770 char *kwnames
[] = {
26771 (char *) "self",(char *) "shape", NULL
26774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_GetNextControlPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
26775 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26776 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26779 result
= (wxRealPoint
*)(arg1
)->GetNextControlPoint(arg2
);
26781 wxPyEndAllowThreads(__tstate
);
26782 if (PyErr_Occurred()) SWIG_fail
;
26784 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRealPoint
, 0);
26791 static PyObject
*_wrap_PyLineShape_GetTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26792 PyObject
*resultobj
;
26793 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26795 PyObject
* obj0
= 0 ;
26796 char *kwnames
[] = {
26797 (char *) "self", NULL
26800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetTo",kwnames
,&obj0
)) goto fail
;
26801 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26804 result
= (wxPyShape
*)(arg1
)->GetTo();
26806 wxPyEndAllowThreads(__tstate
);
26807 if (PyErr_Occurred()) SWIG_fail
;
26810 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
26818 static PyObject
*_wrap_PyLineShape_Initialise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26819 PyObject
*resultobj
;
26820 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26821 PyObject
* obj0
= 0 ;
26822 char *kwnames
[] = {
26823 (char *) "self", NULL
26826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_Initialise",kwnames
,&obj0
)) goto fail
;
26827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26830 (arg1
)->Initialise();
26832 wxPyEndAllowThreads(__tstate
);
26833 if (PyErr_Occurred()) SWIG_fail
;
26835 Py_INCREF(Py_None
); resultobj
= Py_None
;
26842 static PyObject
*_wrap_PyLineShape_InsertLineControlPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26843 PyObject
*resultobj
;
26844 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26845 wxDC
*arg2
= (wxDC
*) 0 ;
26846 PyObject
* obj0
= 0 ;
26847 PyObject
* obj1
= 0 ;
26848 char *kwnames
[] = {
26849 (char *) "self",(char *) "dc", NULL
26852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_InsertLineControlPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
26853 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26854 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26857 (arg1
)->InsertLineControlPoint(arg2
);
26859 wxPyEndAllowThreads(__tstate
);
26860 if (PyErr_Occurred()) SWIG_fail
;
26862 Py_INCREF(Py_None
); resultobj
= Py_None
;
26869 static PyObject
*_wrap_PyLineShape_IsEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26870 PyObject
*resultobj
;
26871 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26872 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
26874 PyObject
* obj0
= 0 ;
26875 PyObject
* obj1
= 0 ;
26876 char *kwnames
[] = {
26877 (char *) "self",(char *) "shape", NULL
26880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_IsEnd",kwnames
,&obj0
,&obj1
)) goto fail
;
26881 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26882 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26885 result
= (bool)(arg1
)->IsEnd(arg2
);
26887 wxPyEndAllowThreads(__tstate
);
26888 if (PyErr_Occurred()) SWIG_fail
;
26890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26897 static PyObject
*_wrap_PyLineShape_IsSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26898 PyObject
*resultobj
;
26899 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26901 PyObject
* obj0
= 0 ;
26902 char *kwnames
[] = {
26903 (char *) "self", NULL
26906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_IsSpline",kwnames
,&obj0
)) goto fail
;
26907 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26910 result
= (bool)(arg1
)->IsSpline();
26912 wxPyEndAllowThreads(__tstate
);
26913 if (PyErr_Occurred()) SWIG_fail
;
26915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26922 static PyObject
*_wrap_PyLineShape_MakeLineControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26923 PyObject
*resultobj
;
26924 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26926 PyObject
* obj0
= 0 ;
26927 PyObject
* obj1
= 0 ;
26928 char *kwnames
[] = {
26929 (char *) "self",(char *) "n", NULL
26932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_MakeLineControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
26933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26935 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
26936 if (PyErr_Occurred()) SWIG_fail
;
26939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26940 (arg1
)->MakeLineControlPoints(arg2
);
26942 wxPyEndAllowThreads(__tstate
);
26943 if (PyErr_Occurred()) SWIG_fail
;
26945 Py_INCREF(Py_None
); resultobj
= Py_None
;
26952 static PyObject
*_wrap_PyLineShape_GetLineControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26953 PyObject
*resultobj
;
26954 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26956 PyObject
* obj0
= 0 ;
26957 char *kwnames
[] = {
26958 (char *) "self", NULL
26961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetLineControlPoints",kwnames
,&obj0
)) goto fail
;
26962 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26965 result
= (PyObject
*)wxPyLineShape_GetLineControlPoints(arg1
);
26967 wxPyEndAllowThreads(__tstate
);
26968 if (PyErr_Occurred()) SWIG_fail
;
26970 resultobj
= result
;
26977 static PyObject
*_wrap_PyLineShape_SetAttachmentFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26978 PyObject
*resultobj
;
26979 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26981 PyObject
* obj0
= 0 ;
26982 PyObject
* obj1
= 0 ;
26983 char *kwnames
[] = {
26984 (char *) "self",(char *) "fromAttach", NULL
26987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetAttachmentFrom",kwnames
,&obj0
,&obj1
)) goto fail
;
26988 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26990 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
26991 if (PyErr_Occurred()) SWIG_fail
;
26994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26995 (arg1
)->SetAttachmentFrom(arg2
);
26997 wxPyEndAllowThreads(__tstate
);
26998 if (PyErr_Occurred()) SWIG_fail
;
27000 Py_INCREF(Py_None
); resultobj
= Py_None
;
27007 static PyObject
*_wrap_PyLineShape_SetAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27008 PyObject
*resultobj
;
27009 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27012 PyObject
* obj0
= 0 ;
27013 PyObject
* obj1
= 0 ;
27014 PyObject
* obj2
= 0 ;
27015 char *kwnames
[] = {
27016 (char *) "self",(char *) "fromAttach",(char *) "toAttach", NULL
27019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_SetAttachments",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27022 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27023 if (PyErr_Occurred()) SWIG_fail
;
27026 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27027 if (PyErr_Occurred()) SWIG_fail
;
27030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27031 (arg1
)->SetAttachments(arg2
,arg3
);
27033 wxPyEndAllowThreads(__tstate
);
27034 if (PyErr_Occurred()) SWIG_fail
;
27036 Py_INCREF(Py_None
); resultobj
= Py_None
;
27043 static PyObject
*_wrap_PyLineShape_SetAttachmentTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27044 PyObject
*resultobj
;
27045 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27047 PyObject
* obj0
= 0 ;
27048 PyObject
* obj1
= 0 ;
27049 char *kwnames
[] = {
27050 (char *) "self",(char *) "toAttach", NULL
27053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetAttachmentTo",kwnames
,&obj0
,&obj1
)) goto fail
;
27054 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27056 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27057 if (PyErr_Occurred()) SWIG_fail
;
27060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27061 (arg1
)->SetAttachmentTo(arg2
);
27063 wxPyEndAllowThreads(__tstate
);
27064 if (PyErr_Occurred()) SWIG_fail
;
27066 Py_INCREF(Py_None
); resultobj
= Py_None
;
27073 static PyObject
*_wrap_PyLineShape_SetEnds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27074 PyObject
*resultobj
;
27075 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27080 PyObject
* obj0
= 0 ;
27081 PyObject
* obj1
= 0 ;
27082 PyObject
* obj2
= 0 ;
27083 PyObject
* obj3
= 0 ;
27084 PyObject
* obj4
= 0 ;
27085 char *kwnames
[] = {
27086 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
27089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyLineShape_SetEnds",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27090 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27092 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
27093 if (PyErr_Occurred()) SWIG_fail
;
27096 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
27097 if (PyErr_Occurred()) SWIG_fail
;
27100 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
27101 if (PyErr_Occurred()) SWIG_fail
;
27104 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
27105 if (PyErr_Occurred()) SWIG_fail
;
27108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27109 (arg1
)->SetEnds(arg2
,arg3
,arg4
,arg5
);
27111 wxPyEndAllowThreads(__tstate
);
27112 if (PyErr_Occurred()) SWIG_fail
;
27114 Py_INCREF(Py_None
); resultobj
= Py_None
;
27121 static PyObject
*_wrap_PyLineShape_SetFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27122 PyObject
*resultobj
;
27123 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27124 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
27125 PyObject
* obj0
= 0 ;
27126 PyObject
* obj1
= 0 ;
27127 char *kwnames
[] = {
27128 (char *) "self",(char *) "object", NULL
27131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetFrom",kwnames
,&obj0
,&obj1
)) goto fail
;
27132 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27133 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27136 (arg1
)->SetFrom(arg2
);
27138 wxPyEndAllowThreads(__tstate
);
27139 if (PyErr_Occurred()) SWIG_fail
;
27141 Py_INCREF(Py_None
); resultobj
= Py_None
;
27148 static PyObject
*_wrap_PyLineShape_SetIgnoreOffsets(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27149 PyObject
*resultobj
;
27150 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27152 PyObject
* obj0
= 0 ;
27153 PyObject
* obj1
= 0 ;
27154 char *kwnames
[] = {
27155 (char *) "self",(char *) "ignore", NULL
27158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetIgnoreOffsets",kwnames
,&obj0
,&obj1
)) goto fail
;
27159 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27161 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
27162 if (PyErr_Occurred()) SWIG_fail
;
27165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27166 (arg1
)->SetIgnoreOffsets(arg2
);
27168 wxPyEndAllowThreads(__tstate
);
27169 if (PyErr_Occurred()) SWIG_fail
;
27171 Py_INCREF(Py_None
); resultobj
= Py_None
;
27178 static PyObject
*_wrap_PyLineShape_SetSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27179 PyObject
*resultobj
;
27180 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27182 PyObject
* obj0
= 0 ;
27183 PyObject
* obj1
= 0 ;
27184 char *kwnames
[] = {
27185 (char *) "self",(char *) "spline", NULL
27188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
27189 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27191 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
27192 if (PyErr_Occurred()) SWIG_fail
;
27195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27196 (arg1
)->SetSpline(arg2
);
27198 wxPyEndAllowThreads(__tstate
);
27199 if (PyErr_Occurred()) SWIG_fail
;
27201 Py_INCREF(Py_None
); resultobj
= Py_None
;
27208 static PyObject
*_wrap_PyLineShape_SetTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27209 PyObject
*resultobj
;
27210 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27211 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
27212 PyObject
* obj0
= 0 ;
27213 PyObject
* obj1
= 0 ;
27214 char *kwnames
[] = {
27215 (char *) "self",(char *) "object", NULL
27218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetTo",kwnames
,&obj0
,&obj1
)) goto fail
;
27219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27220 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27223 (arg1
)->SetTo(arg2
);
27225 wxPyEndAllowThreads(__tstate
);
27226 if (PyErr_Occurred()) SWIG_fail
;
27228 Py_INCREF(Py_None
); resultobj
= Py_None
;
27235 static PyObject
*_wrap_PyLineShape_Straighten(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27236 PyObject
*resultobj
;
27237 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27238 wxDC
*arg2
= (wxDC
*) NULL
;
27239 PyObject
* obj0
= 0 ;
27240 PyObject
* obj1
= 0 ;
27241 char *kwnames
[] = {
27242 (char *) "self",(char *) "dc", NULL
27245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyLineShape_Straighten",kwnames
,&obj0
,&obj1
)) goto fail
;
27246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27248 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27252 (arg1
)->Straighten(arg2
);
27254 wxPyEndAllowThreads(__tstate
);
27255 if (PyErr_Occurred()) SWIG_fail
;
27257 Py_INCREF(Py_None
); resultobj
= Py_None
;
27264 static PyObject
*_wrap_PyLineShape_Unlink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27265 PyObject
*resultobj
;
27266 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27267 PyObject
* obj0
= 0 ;
27268 char *kwnames
[] = {
27269 (char *) "self", NULL
27272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_Unlink",kwnames
,&obj0
)) goto fail
;
27273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27278 wxPyEndAllowThreads(__tstate
);
27279 if (PyErr_Occurred()) SWIG_fail
;
27281 Py_INCREF(Py_None
); resultobj
= Py_None
;
27288 static PyObject
*_wrap_PyLineShape_SetAlignmentOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27289 PyObject
*resultobj
;
27290 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27293 PyObject
* obj0
= 0 ;
27294 PyObject
* obj1
= 0 ;
27295 PyObject
* obj2
= 0 ;
27296 char *kwnames
[] = {
27297 (char *) "self",(char *) "isEnd",(char *) "isHoriz", NULL
27300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_SetAlignmentOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27301 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27303 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
27304 if (PyErr_Occurred()) SWIG_fail
;
27307 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
27308 if (PyErr_Occurred()) SWIG_fail
;
27311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27312 (arg1
)->SetAlignmentOrientation(arg2
,arg3
);
27314 wxPyEndAllowThreads(__tstate
);
27315 if (PyErr_Occurred()) SWIG_fail
;
27317 Py_INCREF(Py_None
); resultobj
= Py_None
;
27324 static PyObject
*_wrap_PyLineShape_SetAlignmentType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27325 PyObject
*resultobj
;
27326 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27329 PyObject
* obj0
= 0 ;
27330 PyObject
* obj1
= 0 ;
27331 PyObject
* obj2
= 0 ;
27332 char *kwnames
[] = {
27333 (char *) "self",(char *) "isEnd",(char *) "alignType", NULL
27336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_SetAlignmentType",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27337 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27339 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
27340 if (PyErr_Occurred()) SWIG_fail
;
27343 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27344 if (PyErr_Occurred()) SWIG_fail
;
27347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27348 (arg1
)->SetAlignmentType(arg2
,arg3
);
27350 wxPyEndAllowThreads(__tstate
);
27351 if (PyErr_Occurred()) SWIG_fail
;
27353 Py_INCREF(Py_None
); resultobj
= Py_None
;
27360 static PyObject
*_wrap_PyLineShape_GetAlignmentOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27361 PyObject
*resultobj
;
27362 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27365 PyObject
* obj0
= 0 ;
27366 PyObject
* obj1
= 0 ;
27367 char *kwnames
[] = {
27368 (char *) "self",(char *) "isEnd", NULL
27371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_GetAlignmentOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
27372 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27374 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
27375 if (PyErr_Occurred()) SWIG_fail
;
27378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27379 result
= (bool)(arg1
)->GetAlignmentOrientation(arg2
);
27381 wxPyEndAllowThreads(__tstate
);
27382 if (PyErr_Occurred()) SWIG_fail
;
27384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27391 static PyObject
*_wrap_PyLineShape_GetAlignmentType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27392 PyObject
*resultobj
;
27393 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27396 PyObject
* obj0
= 0 ;
27397 PyObject
* obj1
= 0 ;
27398 char *kwnames
[] = {
27399 (char *) "self",(char *) "isEnd", NULL
27402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_GetAlignmentType",kwnames
,&obj0
,&obj1
)) goto fail
;
27403 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27405 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
27406 if (PyErr_Occurred()) SWIG_fail
;
27409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27410 result
= (int)(arg1
)->GetAlignmentType(arg2
);
27412 wxPyEndAllowThreads(__tstate
);
27413 if (PyErr_Occurred()) SWIG_fail
;
27415 resultobj
= SWIG_PyObj_FromInt((int)result
);
27422 static PyObject
*_wrap_PyLineShape_GetAlignmentStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27423 PyObject
*resultobj
;
27424 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27426 PyObject
* obj0
= 0 ;
27427 char *kwnames
[] = {
27428 (char *) "self", NULL
27431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetAlignmentStart",kwnames
,&obj0
)) goto fail
;
27432 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27435 result
= (int)((wxPyLineShape
const *)arg1
)->GetAlignmentStart();
27437 wxPyEndAllowThreads(__tstate
);
27438 if (PyErr_Occurred()) SWIG_fail
;
27440 resultobj
= SWIG_PyObj_FromInt((int)result
);
27447 static PyObject
*_wrap_PyLineShape_GetAlignmentEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27448 PyObject
*resultobj
;
27449 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27451 PyObject
* obj0
= 0 ;
27452 char *kwnames
[] = {
27453 (char *) "self", NULL
27456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetAlignmentEnd",kwnames
,&obj0
)) goto fail
;
27457 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27460 result
= (int)((wxPyLineShape
const *)arg1
)->GetAlignmentEnd();
27462 wxPyEndAllowThreads(__tstate
);
27463 if (PyErr_Occurred()) SWIG_fail
;
27465 resultobj
= SWIG_PyObj_FromInt((int)result
);
27472 static PyObject
*_wrap_PyLineShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27473 PyObject
*resultobj
;
27474 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27476 PyObject
* obj0
= 0 ;
27477 PyObject
* obj1
= 0 ;
27478 char *kwnames
[] = {
27479 (char *) "self",(char *) "dc", NULL
27482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
27483 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27484 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27485 if (arg2
== NULL
) {
27486 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
27489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27490 (arg1
)->base_OnDraw(*arg2
);
27492 wxPyEndAllowThreads(__tstate
);
27493 if (PyErr_Occurred()) SWIG_fail
;
27495 Py_INCREF(Py_None
); resultobj
= Py_None
;
27502 static PyObject
*_wrap_PyLineShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27503 PyObject
*resultobj
;
27504 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27506 PyObject
* obj0
= 0 ;
27507 PyObject
* obj1
= 0 ;
27508 char *kwnames
[] = {
27509 (char *) "self",(char *) "dc", NULL
27512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
27513 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27514 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27515 if (arg2
== NULL
) {
27516 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
27519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27520 (arg1
)->base_OnDrawContents(*arg2
);
27522 wxPyEndAllowThreads(__tstate
);
27523 if (PyErr_Occurred()) SWIG_fail
;
27525 Py_INCREF(Py_None
); resultobj
= Py_None
;
27532 static PyObject
*_wrap_PyLineShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27533 PyObject
*resultobj
;
27534 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27536 bool arg3
= (bool) FALSE
;
27537 PyObject
* obj0
= 0 ;
27538 PyObject
* obj1
= 0 ;
27539 PyObject
* obj2
= 0 ;
27540 char *kwnames
[] = {
27541 (char *) "self",(char *) "dc",(char *) "erase", NULL
27544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLineShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27546 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27547 if (arg2
== NULL
) {
27548 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
27552 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
27553 if (PyErr_Occurred()) SWIG_fail
;
27557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27558 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
27560 wxPyEndAllowThreads(__tstate
);
27561 if (PyErr_Occurred()) SWIG_fail
;
27563 Py_INCREF(Py_None
); resultobj
= Py_None
;
27570 static PyObject
*_wrap_PyLineShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27571 PyObject
*resultobj
;
27572 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27574 PyObject
* obj0
= 0 ;
27575 PyObject
* obj1
= 0 ;
27576 char *kwnames
[] = {
27577 (char *) "self",(char *) "dc", NULL
27580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
27581 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27582 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27583 if (arg2
== NULL
) {
27584 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
27587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27588 (arg1
)->base_OnMoveLinks(*arg2
);
27590 wxPyEndAllowThreads(__tstate
);
27591 if (PyErr_Occurred()) SWIG_fail
;
27593 Py_INCREF(Py_None
); resultobj
= Py_None
;
27600 static PyObject
*_wrap_PyLineShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27601 PyObject
*resultobj
;
27602 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27604 PyObject
* obj0
= 0 ;
27605 PyObject
* obj1
= 0 ;
27606 char *kwnames
[] = {
27607 (char *) "self",(char *) "dc", NULL
27610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
27611 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27612 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27613 if (arg2
== NULL
) {
27614 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
27617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27618 (arg1
)->base_OnErase(*arg2
);
27620 wxPyEndAllowThreads(__tstate
);
27621 if (PyErr_Occurred()) SWIG_fail
;
27623 Py_INCREF(Py_None
); resultobj
= Py_None
;
27630 static PyObject
*_wrap_PyLineShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27631 PyObject
*resultobj
;
27632 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27634 PyObject
* obj0
= 0 ;
27635 PyObject
* obj1
= 0 ;
27636 char *kwnames
[] = {
27637 (char *) "self",(char *) "dc", NULL
27640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
27641 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27642 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27643 if (arg2
== NULL
) {
27644 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
27647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27648 (arg1
)->base_OnEraseContents(*arg2
);
27650 wxPyEndAllowThreads(__tstate
);
27651 if (PyErr_Occurred()) SWIG_fail
;
27653 Py_INCREF(Py_None
); resultobj
= Py_None
;
27660 static PyObject
*_wrap_PyLineShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27661 PyObject
*resultobj
;
27662 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27664 PyObject
* obj0
= 0 ;
27665 PyObject
* obj1
= 0 ;
27666 char *kwnames
[] = {
27667 (char *) "self",(char *) "dc", NULL
27670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
27671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27672 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27673 if (arg2
== NULL
) {
27674 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
27677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27678 (arg1
)->base_OnHighlight(*arg2
);
27680 wxPyEndAllowThreads(__tstate
);
27681 if (PyErr_Occurred()) SWIG_fail
;
27683 Py_INCREF(Py_None
); resultobj
= Py_None
;
27690 static PyObject
*_wrap_PyLineShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27691 PyObject
*resultobj
;
27692 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27695 int arg4
= (int) 0 ;
27696 int arg5
= (int) 0 ;
27697 PyObject
* obj0
= 0 ;
27698 PyObject
* obj1
= 0 ;
27699 PyObject
* obj2
= 0 ;
27700 PyObject
* obj3
= 0 ;
27701 PyObject
* obj4
= 0 ;
27702 char *kwnames
[] = {
27703 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27707 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27709 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
27710 if (PyErr_Occurred()) SWIG_fail
;
27713 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
27714 if (PyErr_Occurred()) SWIG_fail
;
27718 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
27719 if (PyErr_Occurred()) SWIG_fail
;
27724 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
27725 if (PyErr_Occurred()) SWIG_fail
;
27729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27730 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
27732 wxPyEndAllowThreads(__tstate
);
27733 if (PyErr_Occurred()) SWIG_fail
;
27735 Py_INCREF(Py_None
); resultobj
= Py_None
;
27742 static PyObject
*_wrap_PyLineShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27743 PyObject
*resultobj
;
27744 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27747 int arg4
= (int) 0 ;
27748 int arg5
= (int) 0 ;
27749 PyObject
* obj0
= 0 ;
27750 PyObject
* obj1
= 0 ;
27751 PyObject
* obj2
= 0 ;
27752 PyObject
* obj3
= 0 ;
27753 PyObject
* obj4
= 0 ;
27754 char *kwnames
[] = {
27755 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27759 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27761 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
27762 if (PyErr_Occurred()) SWIG_fail
;
27765 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
27766 if (PyErr_Occurred()) SWIG_fail
;
27770 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
27771 if (PyErr_Occurred()) SWIG_fail
;
27776 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
27777 if (PyErr_Occurred()) SWIG_fail
;
27781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27782 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
27784 wxPyEndAllowThreads(__tstate
);
27785 if (PyErr_Occurred()) SWIG_fail
;
27787 Py_INCREF(Py_None
); resultobj
= Py_None
;
27794 static PyObject
*_wrap_PyLineShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27795 PyObject
*resultobj
;
27796 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27799 int arg4
= (int) 0 ;
27800 int arg5
= (int) 0 ;
27801 PyObject
* obj0
= 0 ;
27802 PyObject
* obj1
= 0 ;
27803 PyObject
* obj2
= 0 ;
27804 PyObject
* obj3
= 0 ;
27805 PyObject
* obj4
= 0 ;
27806 char *kwnames
[] = {
27807 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27811 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27813 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
27814 if (PyErr_Occurred()) SWIG_fail
;
27817 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
27818 if (PyErr_Occurred()) SWIG_fail
;
27822 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
27823 if (PyErr_Occurred()) SWIG_fail
;
27828 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
27829 if (PyErr_Occurred()) SWIG_fail
;
27833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27834 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
27836 wxPyEndAllowThreads(__tstate
);
27837 if (PyErr_Occurred()) SWIG_fail
;
27839 Py_INCREF(Py_None
); resultobj
= Py_None
;
27846 static PyObject
*_wrap_PyLineShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27847 PyObject
*resultobj
;
27848 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27851 PyObject
* obj0
= 0 ;
27852 PyObject
* obj1
= 0 ;
27853 PyObject
* obj2
= 0 ;
27854 char *kwnames
[] = {
27855 (char *) "self",(char *) "x",(char *) "y", NULL
27858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27859 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27861 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
27862 if (PyErr_Occurred()) SWIG_fail
;
27865 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
27866 if (PyErr_Occurred()) SWIG_fail
;
27869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27870 (arg1
)->base_OnSize(arg2
,arg3
);
27872 wxPyEndAllowThreads(__tstate
);
27873 if (PyErr_Occurred()) SWIG_fail
;
27875 Py_INCREF(Py_None
); resultobj
= Py_None
;
27882 static PyObject
*_wrap_PyLineShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27883 PyObject
*resultobj
;
27884 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27890 bool arg7
= (bool) True
;
27892 PyObject
* obj0
= 0 ;
27893 PyObject
* obj1
= 0 ;
27894 PyObject
* obj2
= 0 ;
27895 PyObject
* obj3
= 0 ;
27896 PyObject
* obj4
= 0 ;
27897 PyObject
* obj5
= 0 ;
27898 PyObject
* obj6
= 0 ;
27899 char *kwnames
[] = {
27900 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
27903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyLineShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27904 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27905 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27906 if (arg2
== NULL
) {
27907 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
27910 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
27911 if (PyErr_Occurred()) SWIG_fail
;
27914 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
27915 if (PyErr_Occurred()) SWIG_fail
;
27918 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
27919 if (PyErr_Occurred()) SWIG_fail
;
27922 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
27923 if (PyErr_Occurred()) SWIG_fail
;
27927 arg7
= (bool) SWIG_PyObj_AsBool(obj6
);
27928 if (PyErr_Occurred()) SWIG_fail
;
27932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27933 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27935 wxPyEndAllowThreads(__tstate
);
27936 if (PyErr_Occurred()) SWIG_fail
;
27938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27945 static PyObject
*_wrap_PyLineShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27946 PyObject
*resultobj
;
27947 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27953 bool arg7
= (bool) True
;
27954 PyObject
* obj0
= 0 ;
27955 PyObject
* obj1
= 0 ;
27956 PyObject
* obj2
= 0 ;
27957 PyObject
* obj3
= 0 ;
27958 PyObject
* obj4
= 0 ;
27959 PyObject
* obj5
= 0 ;
27960 PyObject
* obj6
= 0 ;
27961 char *kwnames
[] = {
27962 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
27965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyLineShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27967 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27968 if (arg2
== NULL
) {
27969 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
27972 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
27973 if (PyErr_Occurred()) SWIG_fail
;
27976 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
27977 if (PyErr_Occurred()) SWIG_fail
;
27980 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
27981 if (PyErr_Occurred()) SWIG_fail
;
27984 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
27985 if (PyErr_Occurred()) SWIG_fail
;
27989 arg7
= (bool) SWIG_PyObj_AsBool(obj6
);
27990 if (PyErr_Occurred()) SWIG_fail
;
27994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27995 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27997 wxPyEndAllowThreads(__tstate
);
27998 if (PyErr_Occurred()) SWIG_fail
;
28000 Py_INCREF(Py_None
); resultobj
= Py_None
;
28007 static PyObject
*_wrap_PyLineShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28008 PyObject
*resultobj
;
28009 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
28013 int arg5
= (int) 0 ;
28014 int arg6
= (int) 0 ;
28015 PyObject
* obj0
= 0 ;
28016 PyObject
* obj1
= 0 ;
28017 PyObject
* obj2
= 0 ;
28018 PyObject
* obj3
= 0 ;
28019 PyObject
* obj4
= 0 ;
28020 PyObject
* obj5
= 0 ;
28021 char *kwnames
[] = {
28022 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyLineShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28026 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28028 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
28029 if (PyErr_Occurred()) SWIG_fail
;
28032 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
28033 if (PyErr_Occurred()) SWIG_fail
;
28036 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
28037 if (PyErr_Occurred()) SWIG_fail
;
28041 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
28042 if (PyErr_Occurred()) SWIG_fail
;
28047 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
28048 if (PyErr_Occurred()) SWIG_fail
;
28052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28053 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
28055 wxPyEndAllowThreads(__tstate
);
28056 if (PyErr_Occurred()) SWIG_fail
;
28058 Py_INCREF(Py_None
); resultobj
= Py_None
;
28065 static PyObject
*_wrap_PyLineShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28066 PyObject
*resultobj
;
28067 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
28070 int arg4
= (int) 0 ;
28071 int arg5
= (int) 0 ;
28072 PyObject
* obj0
= 0 ;
28073 PyObject
* obj1
= 0 ;
28074 PyObject
* obj2
= 0 ;
28075 PyObject
* obj3
= 0 ;
28076 PyObject
* obj4
= 0 ;
28077 char *kwnames
[] = {
28078 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28082 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28084 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
28085 if (PyErr_Occurred()) SWIG_fail
;
28088 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
28089 if (PyErr_Occurred()) SWIG_fail
;
28093 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
28094 if (PyErr_Occurred()) SWIG_fail
;
28099 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
28100 if (PyErr_Occurred()) SWIG_fail
;
28104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28105 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
28107 wxPyEndAllowThreads(__tstate
);
28108 if (PyErr_Occurred()) SWIG_fail
;
28110 Py_INCREF(Py_None
); resultobj
= Py_None
;
28117 static PyObject
*_wrap_PyLineShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28118 PyObject
*resultobj
;
28119 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
28122 int arg4
= (int) 0 ;
28123 int arg5
= (int) 0 ;
28124 PyObject
* obj0
= 0 ;
28125 PyObject
* obj1
= 0 ;
28126 PyObject
* obj2
= 0 ;
28127 PyObject
* obj3
= 0 ;
28128 PyObject
* obj4
= 0 ;
28129 char *kwnames
[] = {
28130 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28134 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28136 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
28137 if (PyErr_Occurred()) SWIG_fail
;
28140 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
28141 if (PyErr_Occurred()) SWIG_fail
;
28145 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
28146 if (PyErr_Occurred()) SWIG_fail
;
28151 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
28152 if (PyErr_Occurred()) SWIG_fail
;
28156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28157 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
28159 wxPyEndAllowThreads(__tstate
);
28160 if (PyErr_Occurred()) SWIG_fail
;
28162 Py_INCREF(Py_None
); resultobj
= Py_None
;
28169 static PyObject
*_wrap_PyLineShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28170 PyObject
*resultobj
;
28171 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
28175 int arg5
= (int) 0 ;
28176 int arg6
= (int) 0 ;
28177 PyObject
* obj0
= 0 ;
28178 PyObject
* obj1
= 0 ;
28179 PyObject
* obj2
= 0 ;
28180 PyObject
* obj3
= 0 ;
28181 PyObject
* obj4
= 0 ;
28182 PyObject
* obj5
= 0 ;
28183 char *kwnames
[] = {
28184 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyLineShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28188 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28190 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
28191 if (PyErr_Occurred()) SWIG_fail
;
28194 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
28195 if (PyErr_Occurred()) SWIG_fail
;
28198 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
28199 if (PyErr_Occurred()) SWIG_fail
;
28203 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
28204 if (PyErr_Occurred()) SWIG_fail
;
28209 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
28210 if (PyErr_Occurred()) SWIG_fail
;
28214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28215 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
28217 wxPyEndAllowThreads(__tstate
);
28218 if (PyErr_Occurred()) SWIG_fail
;
28220 Py_INCREF(Py_None
); resultobj
= Py_None
;
28227 static PyObject
*_wrap_PyLineShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28228 PyObject
*resultobj
;
28229 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
28232 int arg4
= (int) 0 ;
28233 int arg5
= (int) 0 ;
28234 PyObject
* obj0
= 0 ;
28235 PyObject
* obj1
= 0 ;
28236 PyObject
* obj2
= 0 ;
28237 PyObject
* obj3
= 0 ;
28238 PyObject
* obj4
= 0 ;
28239 char *kwnames
[] = {
28240 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28244 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28246 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
28247 if (PyErr_Occurred()) SWIG_fail
;
28250 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
28251 if (PyErr_Occurred()) SWIG_fail
;
28255 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
28256 if (PyErr_Occurred()) SWIG_fail
;
28261 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
28262 if (PyErr_Occurred()) SWIG_fail
;
28266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28267 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
28269 wxPyEndAllowThreads(__tstate
);
28270 if (PyErr_Occurred()) SWIG_fail
;
28272 Py_INCREF(Py_None
); resultobj
= Py_None
;
28279 static PyObject
*_wrap_PyLineShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28280 PyObject
*resultobj
;
28281 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
28284 int arg4
= (int) 0 ;
28285 int arg5
= (int) 0 ;
28286 PyObject
* obj0
= 0 ;
28287 PyObject
* obj1
= 0 ;
28288 PyObject
* obj2
= 0 ;
28289 PyObject
* obj3
= 0 ;
28290 PyObject
* obj4
= 0 ;
28291 char *kwnames
[] = {
28292 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28296 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28298 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
28299 if (PyErr_Occurred()) SWIG_fail
;
28302 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
28303 if (PyErr_Occurred()) SWIG_fail
;
28307 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
28308 if (PyErr_Occurred()) SWIG_fail
;
28313 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
28314 if (PyErr_Occurred()) SWIG_fail
;
28318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28319 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
28321 wxPyEndAllowThreads(__tstate
);
28322 if (PyErr_Occurred()) SWIG_fail
;
28324 Py_INCREF(Py_None
); resultobj
= Py_None
;
28331 static PyObject
*_wrap_PyLineShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28332 PyObject
*resultobj
;
28333 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
28339 PyObject
* obj0
= 0 ;
28340 PyObject
* obj1
= 0 ;
28341 PyObject
* obj2
= 0 ;
28342 PyObject
* obj3
= 0 ;
28343 PyObject
* obj4
= 0 ;
28344 PyObject
* obj5
= 0 ;
28345 char *kwnames
[] = {
28346 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
28349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyLineShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28350 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28351 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28352 if (arg2
== NULL
) {
28353 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28356 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
28357 if (PyErr_Occurred()) SWIG_fail
;
28360 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
28361 if (PyErr_Occurred()) SWIG_fail
;
28364 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
28365 if (PyErr_Occurred()) SWIG_fail
;
28368 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
28369 if (PyErr_Occurred()) SWIG_fail
;
28372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28373 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
28375 wxPyEndAllowThreads(__tstate
);
28376 if (PyErr_Occurred()) SWIG_fail
;
28378 Py_INCREF(Py_None
); resultobj
= Py_None
;
28385 static PyObject
*_wrap_PyLineShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28386 PyObject
*resultobj
;
28387 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
28389 PyObject
* obj0
= 0 ;
28390 PyObject
* obj1
= 0 ;
28391 char *kwnames
[] = {
28392 (char *) "self",(char *) "dc", NULL
28395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
28396 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28397 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28398 if (arg2
== NULL
) {
28399 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28403 (arg1
)->base_OnDrawControlPoints(*arg2
);
28405 wxPyEndAllowThreads(__tstate
);
28406 if (PyErr_Occurred()) SWIG_fail
;
28408 Py_INCREF(Py_None
); resultobj
= Py_None
;
28415 static PyObject
*_wrap_PyLineShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28416 PyObject
*resultobj
;
28417 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
28419 PyObject
* obj0
= 0 ;
28420 PyObject
* obj1
= 0 ;
28421 char *kwnames
[] = {
28422 (char *) "self",(char *) "dc", NULL
28425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
28426 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28427 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28428 if (arg2
== NULL
) {
28429 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28433 (arg1
)->base_OnEraseControlPoints(*arg2
);
28435 wxPyEndAllowThreads(__tstate
);
28436 if (PyErr_Occurred()) SWIG_fail
;
28438 Py_INCREF(Py_None
); resultobj
= Py_None
;
28445 static PyObject
*_wrap_PyLineShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28446 PyObject
*resultobj
;
28447 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
28449 bool arg3
= (bool) True
;
28450 PyObject
* obj0
= 0 ;
28451 PyObject
* obj1
= 0 ;
28452 PyObject
* obj2
= 0 ;
28453 char *kwnames
[] = {
28454 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
28457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLineShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28458 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28459 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28460 if (arg2
== NULL
) {
28461 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28465 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
28466 if (PyErr_Occurred()) SWIG_fail
;
28470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28471 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
28473 wxPyEndAllowThreads(__tstate
);
28474 if (PyErr_Occurred()) SWIG_fail
;
28476 Py_INCREF(Py_None
); resultobj
= Py_None
;
28483 static PyObject
*_wrap_PyLineShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28484 PyObject
*resultobj
;
28485 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
28486 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
28490 int arg6
= (int) 0 ;
28491 int arg7
= (int) 0 ;
28492 PyObject
* obj0
= 0 ;
28493 PyObject
* obj1
= 0 ;
28494 PyObject
* obj2
= 0 ;
28495 PyObject
* obj3
= 0 ;
28496 PyObject
* obj4
= 0 ;
28497 PyObject
* obj5
= 0 ;
28498 PyObject
* obj6
= 0 ;
28499 char *kwnames
[] = {
28500 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyLineShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
28504 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28505 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28507 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
28508 if (PyErr_Occurred()) SWIG_fail
;
28511 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
28512 if (PyErr_Occurred()) SWIG_fail
;
28515 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
28516 if (PyErr_Occurred()) SWIG_fail
;
28520 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
28521 if (PyErr_Occurred()) SWIG_fail
;
28526 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
28527 if (PyErr_Occurred()) SWIG_fail
;
28531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28532 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
28534 wxPyEndAllowThreads(__tstate
);
28535 if (PyErr_Occurred()) SWIG_fail
;
28537 Py_INCREF(Py_None
); resultobj
= Py_None
;
28544 static PyObject
*_wrap_PyLineShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28545 PyObject
*resultobj
;
28546 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
28547 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
28550 int arg5
= (int) 0 ;
28551 int arg6
= (int) 0 ;
28552 PyObject
* obj0
= 0 ;
28553 PyObject
* obj1
= 0 ;
28554 PyObject
* obj2
= 0 ;
28555 PyObject
* obj3
= 0 ;
28556 PyObject
* obj4
= 0 ;
28557 PyObject
* obj5
= 0 ;
28558 char *kwnames
[] = {
28559 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyLineShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28564 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28566 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
28567 if (PyErr_Occurred()) SWIG_fail
;
28570 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
28571 if (PyErr_Occurred()) SWIG_fail
;
28575 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
28576 if (PyErr_Occurred()) SWIG_fail
;
28581 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
28582 if (PyErr_Occurred()) SWIG_fail
;
28586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28587 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
28589 wxPyEndAllowThreads(__tstate
);
28590 if (PyErr_Occurred()) SWIG_fail
;
28592 Py_INCREF(Py_None
); resultobj
= Py_None
;
28599 static PyObject
*_wrap_PyLineShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28600 PyObject
*resultobj
;
28601 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
28602 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
28605 int arg5
= (int) 0 ;
28606 int arg6
= (int) 0 ;
28607 PyObject
* obj0
= 0 ;
28608 PyObject
* obj1
= 0 ;
28609 PyObject
* obj2
= 0 ;
28610 PyObject
* obj3
= 0 ;
28611 PyObject
* obj4
= 0 ;
28612 PyObject
* obj5
= 0 ;
28613 char *kwnames
[] = {
28614 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyLineShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28618 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28619 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28621 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
28622 if (PyErr_Occurred()) SWIG_fail
;
28625 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
28626 if (PyErr_Occurred()) SWIG_fail
;
28630 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
28631 if (PyErr_Occurred()) SWIG_fail
;
28636 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
28637 if (PyErr_Occurred()) SWIG_fail
;
28641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28642 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
28644 wxPyEndAllowThreads(__tstate
);
28645 if (PyErr_Occurred()) SWIG_fail
;
28647 Py_INCREF(Py_None
); resultobj
= Py_None
;
28654 static PyObject
*_wrap_PyLineShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28655 PyObject
*resultobj
;
28656 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
28659 PyObject
* obj0
= 0 ;
28660 PyObject
* obj1
= 0 ;
28661 PyObject
* obj2
= 0 ;
28662 char *kwnames
[] = {
28663 (char *) "self",(char *) "w",(char *) "h", NULL
28666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28667 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28669 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
28670 if (PyErr_Occurred()) SWIG_fail
;
28673 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
28674 if (PyErr_Occurred()) SWIG_fail
;
28677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28678 (arg1
)->base_OnBeginSize(arg2
,arg3
);
28680 wxPyEndAllowThreads(__tstate
);
28681 if (PyErr_Occurred()) SWIG_fail
;
28683 Py_INCREF(Py_None
); resultobj
= Py_None
;
28690 static PyObject
*_wrap_PyLineShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28691 PyObject
*resultobj
;
28692 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
28695 PyObject
* obj0
= 0 ;
28696 PyObject
* obj1
= 0 ;
28697 PyObject
* obj2
= 0 ;
28698 char *kwnames
[] = {
28699 (char *) "self",(char *) "w",(char *) "h", NULL
28702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28703 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28705 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
28706 if (PyErr_Occurred()) SWIG_fail
;
28709 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
28710 if (PyErr_Occurred()) SWIG_fail
;
28713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28714 (arg1
)->base_OnEndSize(arg2
,arg3
);
28716 wxPyEndAllowThreads(__tstate
);
28717 if (PyErr_Occurred()) SWIG_fail
;
28719 Py_INCREF(Py_None
); resultobj
= Py_None
;
28726 static PyObject
* PyLineShape_swigregister(PyObject
*self
, PyObject
*args
) {
28728 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28729 SWIG_TypeClientData(SWIGTYPE_p_wxPyLineShape
, obj
);
28731 return Py_BuildValue((char *)"");
28733 static PyObject
*_wrap_new_PyPolygonShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28734 PyObject
*resultobj
;
28735 wxPyPolygonShape
*result
;
28736 char *kwnames
[] = {
28740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyPolygonShape",kwnames
)) goto fail
;
28742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28743 result
= (wxPyPolygonShape
*)new wxPyPolygonShape();
28745 wxPyEndAllowThreads(__tstate
);
28746 if (PyErr_Occurred()) SWIG_fail
;
28748 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPolygonShape
, 1);
28755 static PyObject
*_wrap_PyPolygonShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28756 PyObject
*resultobj
;
28757 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28758 PyObject
*arg2
= (PyObject
*) 0 ;
28759 PyObject
*arg3
= (PyObject
*) 0 ;
28760 PyObject
* obj0
= 0 ;
28761 PyObject
* obj1
= 0 ;
28762 PyObject
* obj2
= 0 ;
28763 char *kwnames
[] = {
28764 (char *) "self",(char *) "self",(char *) "_class", NULL
28767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPolygonShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28768 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28773 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28775 wxPyEndAllowThreads(__tstate
);
28776 if (PyErr_Occurred()) SWIG_fail
;
28778 Py_INCREF(Py_None
); resultobj
= Py_None
;
28785 static PyObject
*_wrap_PyPolygonShape_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28786 PyObject
*resultobj
;
28787 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28788 PyObject
*arg2
= (PyObject
*) 0 ;
28790 PyObject
* obj0
= 0 ;
28791 PyObject
* obj1
= 0 ;
28792 char *kwnames
[] = {
28793 (char *) "self",(char *) "points", NULL
28796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
28797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28801 result
= (PyObject
*)wxPyPolygonShape_Create(arg1
,arg2
);
28803 wxPyEndAllowThreads(__tstate
);
28804 if (PyErr_Occurred()) SWIG_fail
;
28806 resultobj
= result
;
28813 static PyObject
*_wrap_PyPolygonShape_AddPolygonPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28814 PyObject
*resultobj
;
28815 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28816 int arg2
= (int) 0 ;
28817 PyObject
* obj0
= 0 ;
28818 PyObject
* obj1
= 0 ;
28819 char *kwnames
[] = {
28820 (char *) "self",(char *) "pos", NULL
28823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyPolygonShape_AddPolygonPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
28824 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28827 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28828 if (PyErr_Occurred()) SWIG_fail
;
28832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28833 (arg1
)->AddPolygonPoint(arg2
);
28835 wxPyEndAllowThreads(__tstate
);
28836 if (PyErr_Occurred()) SWIG_fail
;
28838 Py_INCREF(Py_None
); resultobj
= Py_None
;
28845 static PyObject
*_wrap_PyPolygonShape_CalculatePolygonCentre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28846 PyObject
*resultobj
;
28847 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28848 PyObject
* obj0
= 0 ;
28849 char *kwnames
[] = {
28850 (char *) "self", NULL
28853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_CalculatePolygonCentre",kwnames
,&obj0
)) goto fail
;
28854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28857 (arg1
)->CalculatePolygonCentre();
28859 wxPyEndAllowThreads(__tstate
);
28860 if (PyErr_Occurred()) SWIG_fail
;
28862 Py_INCREF(Py_None
); resultobj
= Py_None
;
28869 static PyObject
*_wrap_PyPolygonShape_DeletePolygonPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28870 PyObject
*resultobj
;
28871 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28872 int arg2
= (int) 0 ;
28873 PyObject
* obj0
= 0 ;
28874 PyObject
* obj1
= 0 ;
28875 char *kwnames
[] = {
28876 (char *) "self",(char *) "pos", NULL
28879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyPolygonShape_DeletePolygonPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
28880 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28883 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28884 if (PyErr_Occurred()) SWIG_fail
;
28888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28889 (arg1
)->DeletePolygonPoint(arg2
);
28891 wxPyEndAllowThreads(__tstate
);
28892 if (PyErr_Occurred()) SWIG_fail
;
28894 Py_INCREF(Py_None
); resultobj
= Py_None
;
28901 static PyObject
*_wrap_PyPolygonShape_GetPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28902 PyObject
*resultobj
;
28903 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28905 PyObject
* obj0
= 0 ;
28906 char *kwnames
[] = {
28907 (char *) "self", NULL
28910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_GetPoints",kwnames
,&obj0
)) goto fail
;
28911 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28914 result
= (PyObject
*)wxPyPolygonShape_GetPoints(arg1
);
28916 wxPyEndAllowThreads(__tstate
);
28917 if (PyErr_Occurred()) SWIG_fail
;
28919 resultobj
= result
;
28926 static PyObject
*_wrap_PyPolygonShape_GetOriginalPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28927 PyObject
*resultobj
;
28928 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28930 PyObject
* obj0
= 0 ;
28931 char *kwnames
[] = {
28932 (char *) "self", NULL
28935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_GetOriginalPoints",kwnames
,&obj0
)) goto fail
;
28936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28939 result
= (PyObject
*)wxPyPolygonShape_GetOriginalPoints(arg1
);
28941 wxPyEndAllowThreads(__tstate
);
28942 if (PyErr_Occurred()) SWIG_fail
;
28944 resultobj
= result
;
28951 static PyObject
*_wrap_PyPolygonShape_GetOriginalWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28952 PyObject
*resultobj
;
28953 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28955 PyObject
* obj0
= 0 ;
28956 char *kwnames
[] = {
28957 (char *) "self", NULL
28960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_GetOriginalWidth",kwnames
,&obj0
)) goto fail
;
28961 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28964 result
= (double)((wxPyPolygonShape
const *)arg1
)->GetOriginalWidth();
28966 wxPyEndAllowThreads(__tstate
);
28967 if (PyErr_Occurred()) SWIG_fail
;
28969 resultobj
= SWIG_PyObj_FromDouble((double)result
);
28976 static PyObject
*_wrap_PyPolygonShape_GetOriginalHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28977 PyObject
*resultobj
;
28978 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28980 PyObject
* obj0
= 0 ;
28981 char *kwnames
[] = {
28982 (char *) "self", NULL
28985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_GetOriginalHeight",kwnames
,&obj0
)) goto fail
;
28986 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28989 result
= (double)((wxPyPolygonShape
const *)arg1
)->GetOriginalHeight();
28991 wxPyEndAllowThreads(__tstate
);
28992 if (PyErr_Occurred()) SWIG_fail
;
28994 resultobj
= SWIG_PyObj_FromDouble((double)result
);
29001 static PyObject
*_wrap_PyPolygonShape_SetOriginalWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29002 PyObject
*resultobj
;
29003 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29005 PyObject
* obj0
= 0 ;
29006 PyObject
* obj1
= 0 ;
29007 char *kwnames
[] = {
29008 (char *) "self",(char *) "w", NULL
29011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_SetOriginalWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
29012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29014 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
29015 if (PyErr_Occurred()) SWIG_fail
;
29018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29019 (arg1
)->SetOriginalWidth(arg2
);
29021 wxPyEndAllowThreads(__tstate
);
29022 if (PyErr_Occurred()) SWIG_fail
;
29024 Py_INCREF(Py_None
); resultobj
= Py_None
;
29031 static PyObject
*_wrap_PyPolygonShape_SetOriginalHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29032 PyObject
*resultobj
;
29033 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29035 PyObject
* obj0
= 0 ;
29036 PyObject
* obj1
= 0 ;
29037 char *kwnames
[] = {
29038 (char *) "self",(char *) "h", NULL
29041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_SetOriginalHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
29042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29044 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
29045 if (PyErr_Occurred()) SWIG_fail
;
29048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29049 (arg1
)->SetOriginalHeight(arg2
);
29051 wxPyEndAllowThreads(__tstate
);
29052 if (PyErr_Occurred()) SWIG_fail
;
29054 Py_INCREF(Py_None
); resultobj
= Py_None
;
29061 static PyObject
*_wrap_PyPolygonShape_UpdateOriginalPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29062 PyObject
*resultobj
;
29063 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29064 PyObject
* obj0
= 0 ;
29065 char *kwnames
[] = {
29066 (char *) "self", NULL
29069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_UpdateOriginalPoints",kwnames
,&obj0
)) goto fail
;
29070 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29073 (arg1
)->UpdateOriginalPoints();
29075 wxPyEndAllowThreads(__tstate
);
29076 if (PyErr_Occurred()) SWIG_fail
;
29078 Py_INCREF(Py_None
); resultobj
= Py_None
;
29085 static PyObject
*_wrap_PyPolygonShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29086 PyObject
*resultobj
;
29087 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29089 PyObject
* obj0
= 0 ;
29090 PyObject
* obj1
= 0 ;
29091 char *kwnames
[] = {
29092 (char *) "self",(char *) "dc", NULL
29095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
29096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29097 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29098 if (arg2
== NULL
) {
29099 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29103 (arg1
)->base_OnDraw(*arg2
);
29105 wxPyEndAllowThreads(__tstate
);
29106 if (PyErr_Occurred()) SWIG_fail
;
29108 Py_INCREF(Py_None
); resultobj
= Py_None
;
29115 static PyObject
*_wrap_PyPolygonShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29116 PyObject
*resultobj
;
29117 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29119 PyObject
* obj0
= 0 ;
29120 PyObject
* obj1
= 0 ;
29121 char *kwnames
[] = {
29122 (char *) "self",(char *) "dc", NULL
29125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
29126 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29127 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29128 if (arg2
== NULL
) {
29129 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29133 (arg1
)->base_OnDrawContents(*arg2
);
29135 wxPyEndAllowThreads(__tstate
);
29136 if (PyErr_Occurred()) SWIG_fail
;
29138 Py_INCREF(Py_None
); resultobj
= Py_None
;
29145 static PyObject
*_wrap_PyPolygonShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29146 PyObject
*resultobj
;
29147 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29149 bool arg3
= (bool) FALSE
;
29150 PyObject
* obj0
= 0 ;
29151 PyObject
* obj1
= 0 ;
29152 PyObject
* obj2
= 0 ;
29153 char *kwnames
[] = {
29154 (char *) "self",(char *) "dc",(char *) "erase", NULL
29157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyPolygonShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29158 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29159 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29160 if (arg2
== NULL
) {
29161 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29165 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
29166 if (PyErr_Occurred()) SWIG_fail
;
29170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29171 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
29173 wxPyEndAllowThreads(__tstate
);
29174 if (PyErr_Occurred()) SWIG_fail
;
29176 Py_INCREF(Py_None
); resultobj
= Py_None
;
29183 static PyObject
*_wrap_PyPolygonShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29184 PyObject
*resultobj
;
29185 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29187 PyObject
* obj0
= 0 ;
29188 PyObject
* obj1
= 0 ;
29189 char *kwnames
[] = {
29190 (char *) "self",(char *) "dc", NULL
29193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
29194 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29195 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29196 if (arg2
== NULL
) {
29197 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29201 (arg1
)->base_OnMoveLinks(*arg2
);
29203 wxPyEndAllowThreads(__tstate
);
29204 if (PyErr_Occurred()) SWIG_fail
;
29206 Py_INCREF(Py_None
); resultobj
= Py_None
;
29213 static PyObject
*_wrap_PyPolygonShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29214 PyObject
*resultobj
;
29215 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29217 PyObject
* obj0
= 0 ;
29218 PyObject
* obj1
= 0 ;
29219 char *kwnames
[] = {
29220 (char *) "self",(char *) "dc", NULL
29223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
29224 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29225 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29226 if (arg2
== NULL
) {
29227 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29231 (arg1
)->base_OnErase(*arg2
);
29233 wxPyEndAllowThreads(__tstate
);
29234 if (PyErr_Occurred()) SWIG_fail
;
29236 Py_INCREF(Py_None
); resultobj
= Py_None
;
29243 static PyObject
*_wrap_PyPolygonShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29244 PyObject
*resultobj
;
29245 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29247 PyObject
* obj0
= 0 ;
29248 PyObject
* obj1
= 0 ;
29249 char *kwnames
[] = {
29250 (char *) "self",(char *) "dc", NULL
29253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
29254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29255 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29256 if (arg2
== NULL
) {
29257 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29261 (arg1
)->base_OnEraseContents(*arg2
);
29263 wxPyEndAllowThreads(__tstate
);
29264 if (PyErr_Occurred()) SWIG_fail
;
29266 Py_INCREF(Py_None
); resultobj
= Py_None
;
29273 static PyObject
*_wrap_PyPolygonShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29274 PyObject
*resultobj
;
29275 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29277 PyObject
* obj0
= 0 ;
29278 PyObject
* obj1
= 0 ;
29279 char *kwnames
[] = {
29280 (char *) "self",(char *) "dc", NULL
29283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
29284 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29285 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29286 if (arg2
== NULL
) {
29287 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29291 (arg1
)->base_OnHighlight(*arg2
);
29293 wxPyEndAllowThreads(__tstate
);
29294 if (PyErr_Occurred()) SWIG_fail
;
29296 Py_INCREF(Py_None
); resultobj
= Py_None
;
29303 static PyObject
*_wrap_PyPolygonShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29304 PyObject
*resultobj
;
29305 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29308 int arg4
= (int) 0 ;
29309 int arg5
= (int) 0 ;
29310 PyObject
* obj0
= 0 ;
29311 PyObject
* obj1
= 0 ;
29312 PyObject
* obj2
= 0 ;
29313 PyObject
* obj3
= 0 ;
29314 PyObject
* obj4
= 0 ;
29315 char *kwnames
[] = {
29316 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29320 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29322 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
29323 if (PyErr_Occurred()) SWIG_fail
;
29326 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
29327 if (PyErr_Occurred()) SWIG_fail
;
29331 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
29332 if (PyErr_Occurred()) SWIG_fail
;
29337 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
29338 if (PyErr_Occurred()) SWIG_fail
;
29342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29343 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
29345 wxPyEndAllowThreads(__tstate
);
29346 if (PyErr_Occurred()) SWIG_fail
;
29348 Py_INCREF(Py_None
); resultobj
= Py_None
;
29355 static PyObject
*_wrap_PyPolygonShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29356 PyObject
*resultobj
;
29357 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29360 int arg4
= (int) 0 ;
29361 int arg5
= (int) 0 ;
29362 PyObject
* obj0
= 0 ;
29363 PyObject
* obj1
= 0 ;
29364 PyObject
* obj2
= 0 ;
29365 PyObject
* obj3
= 0 ;
29366 PyObject
* obj4
= 0 ;
29367 char *kwnames
[] = {
29368 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29372 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29374 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
29375 if (PyErr_Occurred()) SWIG_fail
;
29378 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
29379 if (PyErr_Occurred()) SWIG_fail
;
29383 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
29384 if (PyErr_Occurred()) SWIG_fail
;
29389 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
29390 if (PyErr_Occurred()) SWIG_fail
;
29394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29395 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
29397 wxPyEndAllowThreads(__tstate
);
29398 if (PyErr_Occurred()) SWIG_fail
;
29400 Py_INCREF(Py_None
); resultobj
= Py_None
;
29407 static PyObject
*_wrap_PyPolygonShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29408 PyObject
*resultobj
;
29409 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29412 int arg4
= (int) 0 ;
29413 int arg5
= (int) 0 ;
29414 PyObject
* obj0
= 0 ;
29415 PyObject
* obj1
= 0 ;
29416 PyObject
* obj2
= 0 ;
29417 PyObject
* obj3
= 0 ;
29418 PyObject
* obj4
= 0 ;
29419 char *kwnames
[] = {
29420 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29424 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29426 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
29427 if (PyErr_Occurred()) SWIG_fail
;
29430 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
29431 if (PyErr_Occurred()) SWIG_fail
;
29435 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
29436 if (PyErr_Occurred()) SWIG_fail
;
29441 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
29442 if (PyErr_Occurred()) SWIG_fail
;
29446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29447 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
29449 wxPyEndAllowThreads(__tstate
);
29450 if (PyErr_Occurred()) SWIG_fail
;
29452 Py_INCREF(Py_None
); resultobj
= Py_None
;
29459 static PyObject
*_wrap_PyPolygonShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29460 PyObject
*resultobj
;
29461 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29464 PyObject
* obj0
= 0 ;
29465 PyObject
* obj1
= 0 ;
29466 PyObject
* obj2
= 0 ;
29467 char *kwnames
[] = {
29468 (char *) "self",(char *) "x",(char *) "y", NULL
29471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPolygonShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29472 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29474 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
29475 if (PyErr_Occurred()) SWIG_fail
;
29478 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
29479 if (PyErr_Occurred()) SWIG_fail
;
29482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29483 (arg1
)->base_OnSize(arg2
,arg3
);
29485 wxPyEndAllowThreads(__tstate
);
29486 if (PyErr_Occurred()) SWIG_fail
;
29488 Py_INCREF(Py_None
); resultobj
= Py_None
;
29495 static PyObject
*_wrap_PyPolygonShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29496 PyObject
*resultobj
;
29497 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29503 bool arg7
= (bool) True
;
29505 PyObject
* obj0
= 0 ;
29506 PyObject
* obj1
= 0 ;
29507 PyObject
* obj2
= 0 ;
29508 PyObject
* obj3
= 0 ;
29509 PyObject
* obj4
= 0 ;
29510 PyObject
* obj5
= 0 ;
29511 PyObject
* obj6
= 0 ;
29512 char *kwnames
[] = {
29513 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
29516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyPolygonShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
29517 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29518 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29519 if (arg2
== NULL
) {
29520 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29523 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
29524 if (PyErr_Occurred()) SWIG_fail
;
29527 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
29528 if (PyErr_Occurred()) SWIG_fail
;
29531 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
29532 if (PyErr_Occurred()) SWIG_fail
;
29535 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
29536 if (PyErr_Occurred()) SWIG_fail
;
29540 arg7
= (bool) SWIG_PyObj_AsBool(obj6
);
29541 if (PyErr_Occurred()) SWIG_fail
;
29545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29546 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
29548 wxPyEndAllowThreads(__tstate
);
29549 if (PyErr_Occurred()) SWIG_fail
;
29551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29558 static PyObject
*_wrap_PyPolygonShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29559 PyObject
*resultobj
;
29560 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29566 bool arg7
= (bool) True
;
29567 PyObject
* obj0
= 0 ;
29568 PyObject
* obj1
= 0 ;
29569 PyObject
* obj2
= 0 ;
29570 PyObject
* obj3
= 0 ;
29571 PyObject
* obj4
= 0 ;
29572 PyObject
* obj5
= 0 ;
29573 PyObject
* obj6
= 0 ;
29574 char *kwnames
[] = {
29575 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
29578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyPolygonShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
29579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29580 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29581 if (arg2
== NULL
) {
29582 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29585 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
29586 if (PyErr_Occurred()) SWIG_fail
;
29589 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
29590 if (PyErr_Occurred()) SWIG_fail
;
29593 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
29594 if (PyErr_Occurred()) SWIG_fail
;
29597 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
29598 if (PyErr_Occurred()) SWIG_fail
;
29602 arg7
= (bool) SWIG_PyObj_AsBool(obj6
);
29603 if (PyErr_Occurred()) SWIG_fail
;
29607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29608 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
29610 wxPyEndAllowThreads(__tstate
);
29611 if (PyErr_Occurred()) SWIG_fail
;
29613 Py_INCREF(Py_None
); resultobj
= Py_None
;
29620 static PyObject
*_wrap_PyPolygonShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29621 PyObject
*resultobj
;
29622 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29626 int arg5
= (int) 0 ;
29627 int arg6
= (int) 0 ;
29628 PyObject
* obj0
= 0 ;
29629 PyObject
* obj1
= 0 ;
29630 PyObject
* obj2
= 0 ;
29631 PyObject
* obj3
= 0 ;
29632 PyObject
* obj4
= 0 ;
29633 PyObject
* obj5
= 0 ;
29634 char *kwnames
[] = {
29635 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyPolygonShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29639 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29641 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
29642 if (PyErr_Occurred()) SWIG_fail
;
29645 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
29646 if (PyErr_Occurred()) SWIG_fail
;
29649 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
29650 if (PyErr_Occurred()) SWIG_fail
;
29654 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
29655 if (PyErr_Occurred()) SWIG_fail
;
29660 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
29661 if (PyErr_Occurred()) SWIG_fail
;
29665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29666 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
29668 wxPyEndAllowThreads(__tstate
);
29669 if (PyErr_Occurred()) SWIG_fail
;
29671 Py_INCREF(Py_None
); resultobj
= Py_None
;
29678 static PyObject
*_wrap_PyPolygonShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29679 PyObject
*resultobj
;
29680 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29683 int arg4
= (int) 0 ;
29684 int arg5
= (int) 0 ;
29685 PyObject
* obj0
= 0 ;
29686 PyObject
* obj1
= 0 ;
29687 PyObject
* obj2
= 0 ;
29688 PyObject
* obj3
= 0 ;
29689 PyObject
* obj4
= 0 ;
29690 char *kwnames
[] = {
29691 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29695 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29697 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
29698 if (PyErr_Occurred()) SWIG_fail
;
29701 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
29702 if (PyErr_Occurred()) SWIG_fail
;
29706 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
29707 if (PyErr_Occurred()) SWIG_fail
;
29712 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
29713 if (PyErr_Occurred()) SWIG_fail
;
29717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29718 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
29720 wxPyEndAllowThreads(__tstate
);
29721 if (PyErr_Occurred()) SWIG_fail
;
29723 Py_INCREF(Py_None
); resultobj
= Py_None
;
29730 static PyObject
*_wrap_PyPolygonShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29731 PyObject
*resultobj
;
29732 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29735 int arg4
= (int) 0 ;
29736 int arg5
= (int) 0 ;
29737 PyObject
* obj0
= 0 ;
29738 PyObject
* obj1
= 0 ;
29739 PyObject
* obj2
= 0 ;
29740 PyObject
* obj3
= 0 ;
29741 PyObject
* obj4
= 0 ;
29742 char *kwnames
[] = {
29743 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29747 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29749 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
29750 if (PyErr_Occurred()) SWIG_fail
;
29753 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
29754 if (PyErr_Occurred()) SWIG_fail
;
29758 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
29759 if (PyErr_Occurred()) SWIG_fail
;
29764 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
29765 if (PyErr_Occurred()) SWIG_fail
;
29769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29770 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
29772 wxPyEndAllowThreads(__tstate
);
29773 if (PyErr_Occurred()) SWIG_fail
;
29775 Py_INCREF(Py_None
); resultobj
= Py_None
;
29782 static PyObject
*_wrap_PyPolygonShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29783 PyObject
*resultobj
;
29784 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29788 int arg5
= (int) 0 ;
29789 int arg6
= (int) 0 ;
29790 PyObject
* obj0
= 0 ;
29791 PyObject
* obj1
= 0 ;
29792 PyObject
* obj2
= 0 ;
29793 PyObject
* obj3
= 0 ;
29794 PyObject
* obj4
= 0 ;
29795 PyObject
* obj5
= 0 ;
29796 char *kwnames
[] = {
29797 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyPolygonShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29801 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29803 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
29804 if (PyErr_Occurred()) SWIG_fail
;
29807 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
29808 if (PyErr_Occurred()) SWIG_fail
;
29811 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
29812 if (PyErr_Occurred()) SWIG_fail
;
29816 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
29817 if (PyErr_Occurred()) SWIG_fail
;
29822 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
29823 if (PyErr_Occurred()) SWIG_fail
;
29827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29828 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
29830 wxPyEndAllowThreads(__tstate
);
29831 if (PyErr_Occurred()) SWIG_fail
;
29833 Py_INCREF(Py_None
); resultobj
= Py_None
;
29840 static PyObject
*_wrap_PyPolygonShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29841 PyObject
*resultobj
;
29842 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29845 int arg4
= (int) 0 ;
29846 int arg5
= (int) 0 ;
29847 PyObject
* obj0
= 0 ;
29848 PyObject
* obj1
= 0 ;
29849 PyObject
* obj2
= 0 ;
29850 PyObject
* obj3
= 0 ;
29851 PyObject
* obj4
= 0 ;
29852 char *kwnames
[] = {
29853 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29857 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29859 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
29860 if (PyErr_Occurred()) SWIG_fail
;
29863 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
29864 if (PyErr_Occurred()) SWIG_fail
;
29868 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
29869 if (PyErr_Occurred()) SWIG_fail
;
29874 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
29875 if (PyErr_Occurred()) SWIG_fail
;
29879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29880 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
29882 wxPyEndAllowThreads(__tstate
);
29883 if (PyErr_Occurred()) SWIG_fail
;
29885 Py_INCREF(Py_None
); resultobj
= Py_None
;
29892 static PyObject
*_wrap_PyPolygonShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29893 PyObject
*resultobj
;
29894 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29897 int arg4
= (int) 0 ;
29898 int arg5
= (int) 0 ;
29899 PyObject
* obj0
= 0 ;
29900 PyObject
* obj1
= 0 ;
29901 PyObject
* obj2
= 0 ;
29902 PyObject
* obj3
= 0 ;
29903 PyObject
* obj4
= 0 ;
29904 char *kwnames
[] = {
29905 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29909 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29911 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
29912 if (PyErr_Occurred()) SWIG_fail
;
29915 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
29916 if (PyErr_Occurred()) SWIG_fail
;
29920 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
29921 if (PyErr_Occurred()) SWIG_fail
;
29926 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
29927 if (PyErr_Occurred()) SWIG_fail
;
29931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29932 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
29934 wxPyEndAllowThreads(__tstate
);
29935 if (PyErr_Occurred()) SWIG_fail
;
29937 Py_INCREF(Py_None
); resultobj
= Py_None
;
29944 static PyObject
*_wrap_PyPolygonShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29945 PyObject
*resultobj
;
29946 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29952 PyObject
* obj0
= 0 ;
29953 PyObject
* obj1
= 0 ;
29954 PyObject
* obj2
= 0 ;
29955 PyObject
* obj3
= 0 ;
29956 PyObject
* obj4
= 0 ;
29957 PyObject
* obj5
= 0 ;
29958 char *kwnames
[] = {
29959 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyPolygonShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29963 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29964 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29965 if (arg2
== NULL
) {
29966 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29969 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
29970 if (PyErr_Occurred()) SWIG_fail
;
29973 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
29974 if (PyErr_Occurred()) SWIG_fail
;
29977 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
29978 if (PyErr_Occurred()) SWIG_fail
;
29981 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
29982 if (PyErr_Occurred()) SWIG_fail
;
29985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29986 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
29988 wxPyEndAllowThreads(__tstate
);
29989 if (PyErr_Occurred()) SWIG_fail
;
29991 Py_INCREF(Py_None
); resultobj
= Py_None
;
29998 static PyObject
*_wrap_PyPolygonShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29999 PyObject
*resultobj
;
30000 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
30002 PyObject
* obj0
= 0 ;
30003 PyObject
* obj1
= 0 ;
30004 char *kwnames
[] = {
30005 (char *) "self",(char *) "dc", NULL
30008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
30009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30010 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30011 if (arg2
== NULL
) {
30012 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
30015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30016 (arg1
)->base_OnDrawControlPoints(*arg2
);
30018 wxPyEndAllowThreads(__tstate
);
30019 if (PyErr_Occurred()) SWIG_fail
;
30021 Py_INCREF(Py_None
); resultobj
= Py_None
;
30028 static PyObject
*_wrap_PyPolygonShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30029 PyObject
*resultobj
;
30030 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
30032 PyObject
* obj0
= 0 ;
30033 PyObject
* obj1
= 0 ;
30034 char *kwnames
[] = {
30035 (char *) "self",(char *) "dc", NULL
30038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
30039 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30040 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30041 if (arg2
== NULL
) {
30042 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
30045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30046 (arg1
)->base_OnEraseControlPoints(*arg2
);
30048 wxPyEndAllowThreads(__tstate
);
30049 if (PyErr_Occurred()) SWIG_fail
;
30051 Py_INCREF(Py_None
); resultobj
= Py_None
;
30058 static PyObject
*_wrap_PyPolygonShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30059 PyObject
*resultobj
;
30060 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
30062 bool arg3
= (bool) True
;
30063 PyObject
* obj0
= 0 ;
30064 PyObject
* obj1
= 0 ;
30065 PyObject
* obj2
= 0 ;
30066 char *kwnames
[] = {
30067 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
30070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyPolygonShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30071 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30072 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30073 if (arg2
== NULL
) {
30074 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
30078 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
30079 if (PyErr_Occurred()) SWIG_fail
;
30083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30084 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
30086 wxPyEndAllowThreads(__tstate
);
30087 if (PyErr_Occurred()) SWIG_fail
;
30089 Py_INCREF(Py_None
); resultobj
= Py_None
;
30096 static PyObject
*_wrap_PyPolygonShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30097 PyObject
*resultobj
;
30098 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
30099 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
30103 int arg6
= (int) 0 ;
30104 int arg7
= (int) 0 ;
30105 PyObject
* obj0
= 0 ;
30106 PyObject
* obj1
= 0 ;
30107 PyObject
* obj2
= 0 ;
30108 PyObject
* obj3
= 0 ;
30109 PyObject
* obj4
= 0 ;
30110 PyObject
* obj5
= 0 ;
30111 PyObject
* obj6
= 0 ;
30112 char *kwnames
[] = {
30113 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyPolygonShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30118 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30120 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
30121 if (PyErr_Occurred()) SWIG_fail
;
30124 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
30125 if (PyErr_Occurred()) SWIG_fail
;
30128 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
30129 if (PyErr_Occurred()) SWIG_fail
;
30133 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
30134 if (PyErr_Occurred()) SWIG_fail
;
30139 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
30140 if (PyErr_Occurred()) SWIG_fail
;
30144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30145 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30147 wxPyEndAllowThreads(__tstate
);
30148 if (PyErr_Occurred()) SWIG_fail
;
30150 Py_INCREF(Py_None
); resultobj
= Py_None
;
30157 static PyObject
*_wrap_PyPolygonShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30158 PyObject
*resultobj
;
30159 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
30160 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
30163 int arg5
= (int) 0 ;
30164 int arg6
= (int) 0 ;
30165 PyObject
* obj0
= 0 ;
30166 PyObject
* obj1
= 0 ;
30167 PyObject
* obj2
= 0 ;
30168 PyObject
* obj3
= 0 ;
30169 PyObject
* obj4
= 0 ;
30170 PyObject
* obj5
= 0 ;
30171 char *kwnames
[] = {
30172 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyPolygonShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30176 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30177 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30179 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
30180 if (PyErr_Occurred()) SWIG_fail
;
30183 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
30184 if (PyErr_Occurred()) SWIG_fail
;
30188 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
30189 if (PyErr_Occurred()) SWIG_fail
;
30194 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
30195 if (PyErr_Occurred()) SWIG_fail
;
30199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30200 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
30202 wxPyEndAllowThreads(__tstate
);
30203 if (PyErr_Occurred()) SWIG_fail
;
30205 Py_INCREF(Py_None
); resultobj
= Py_None
;
30212 static PyObject
*_wrap_PyPolygonShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30213 PyObject
*resultobj
;
30214 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
30215 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
30218 int arg5
= (int) 0 ;
30219 int arg6
= (int) 0 ;
30220 PyObject
* obj0
= 0 ;
30221 PyObject
* obj1
= 0 ;
30222 PyObject
* obj2
= 0 ;
30223 PyObject
* obj3
= 0 ;
30224 PyObject
* obj4
= 0 ;
30225 PyObject
* obj5
= 0 ;
30226 char *kwnames
[] = {
30227 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyPolygonShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30231 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30232 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30234 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
30235 if (PyErr_Occurred()) SWIG_fail
;
30238 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
30239 if (PyErr_Occurred()) SWIG_fail
;
30243 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
30244 if (PyErr_Occurred()) SWIG_fail
;
30249 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
30250 if (PyErr_Occurred()) SWIG_fail
;
30254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30255 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
30257 wxPyEndAllowThreads(__tstate
);
30258 if (PyErr_Occurred()) SWIG_fail
;
30260 Py_INCREF(Py_None
); resultobj
= Py_None
;
30267 static PyObject
*_wrap_PyPolygonShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30268 PyObject
*resultobj
;
30269 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
30272 PyObject
* obj0
= 0 ;
30273 PyObject
* obj1
= 0 ;
30274 PyObject
* obj2
= 0 ;
30275 char *kwnames
[] = {
30276 (char *) "self",(char *) "w",(char *) "h", NULL
30279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPolygonShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30280 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30282 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
30283 if (PyErr_Occurred()) SWIG_fail
;
30286 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
30287 if (PyErr_Occurred()) SWIG_fail
;
30290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30291 (arg1
)->base_OnBeginSize(arg2
,arg3
);
30293 wxPyEndAllowThreads(__tstate
);
30294 if (PyErr_Occurred()) SWIG_fail
;
30296 Py_INCREF(Py_None
); resultobj
= Py_None
;
30303 static PyObject
*_wrap_PyPolygonShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30304 PyObject
*resultobj
;
30305 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
30308 PyObject
* obj0
= 0 ;
30309 PyObject
* obj1
= 0 ;
30310 PyObject
* obj2
= 0 ;
30311 char *kwnames
[] = {
30312 (char *) "self",(char *) "w",(char *) "h", NULL
30315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPolygonShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30316 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30318 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
30319 if (PyErr_Occurred()) SWIG_fail
;
30322 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
30323 if (PyErr_Occurred()) SWIG_fail
;
30326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30327 (arg1
)->base_OnEndSize(arg2
,arg3
);
30329 wxPyEndAllowThreads(__tstate
);
30330 if (PyErr_Occurred()) SWIG_fail
;
30332 Py_INCREF(Py_None
); resultobj
= Py_None
;
30339 static PyObject
* PyPolygonShape_swigregister(PyObject
*self
, PyObject
*args
) {
30341 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30342 SWIG_TypeClientData(SWIGTYPE_p_wxPyPolygonShape
, obj
);
30344 return Py_BuildValue((char *)"");
30346 static PyObject
*_wrap_new_PyTextShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30347 PyObject
*resultobj
;
30348 double arg1
= (double) 0.0 ;
30349 double arg2
= (double) 0.0 ;
30350 wxPyTextShape
*result
;
30351 PyObject
* obj0
= 0 ;
30352 PyObject
* obj1
= 0 ;
30353 char *kwnames
[] = {
30354 (char *) "width",(char *) "height", NULL
30357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyTextShape",kwnames
,&obj0
,&obj1
)) goto fail
;
30360 arg1
= (double) SWIG_PyObj_AsDouble(obj0
);
30361 if (PyErr_Occurred()) SWIG_fail
;
30366 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
30367 if (PyErr_Occurred()) SWIG_fail
;
30371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30372 result
= (wxPyTextShape
*)new wxPyTextShape(arg1
,arg2
);
30374 wxPyEndAllowThreads(__tstate
);
30375 if (PyErr_Occurred()) SWIG_fail
;
30377 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTextShape
, 1);
30384 static PyObject
*_wrap_PyTextShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30385 PyObject
*resultobj
;
30386 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30387 PyObject
*arg2
= (PyObject
*) 0 ;
30388 PyObject
*arg3
= (PyObject
*) 0 ;
30389 PyObject
* obj0
= 0 ;
30390 PyObject
* obj1
= 0 ;
30391 PyObject
* obj2
= 0 ;
30392 char *kwnames
[] = {
30393 (char *) "self",(char *) "self",(char *) "_class", NULL
30396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30397 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30402 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30404 wxPyEndAllowThreads(__tstate
);
30405 if (PyErr_Occurred()) SWIG_fail
;
30407 Py_INCREF(Py_None
); resultobj
= Py_None
;
30414 static PyObject
*_wrap_PyTextShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30415 PyObject
*resultobj
;
30416 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30417 PyObject
* obj0
= 0 ;
30418 char *kwnames
[] = {
30419 (char *) "self", NULL
30422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyTextShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
30423 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30426 (arg1
)->base_OnDelete();
30428 wxPyEndAllowThreads(__tstate
);
30429 if (PyErr_Occurred()) SWIG_fail
;
30431 Py_INCREF(Py_None
); resultobj
= Py_None
;
30438 static PyObject
*_wrap_PyTextShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30439 PyObject
*resultobj
;
30440 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30442 PyObject
* obj0
= 0 ;
30443 PyObject
* obj1
= 0 ;
30444 char *kwnames
[] = {
30445 (char *) "self",(char *) "dc", NULL
30448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
30449 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30450 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30451 if (arg2
== NULL
) {
30452 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
30455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30456 (arg1
)->base_OnDraw(*arg2
);
30458 wxPyEndAllowThreads(__tstate
);
30459 if (PyErr_Occurred()) SWIG_fail
;
30461 Py_INCREF(Py_None
); resultobj
= Py_None
;
30468 static PyObject
*_wrap_PyTextShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30469 PyObject
*resultobj
;
30470 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30472 PyObject
* obj0
= 0 ;
30473 PyObject
* obj1
= 0 ;
30474 char *kwnames
[] = {
30475 (char *) "self",(char *) "dc", NULL
30478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
30479 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30480 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30481 if (arg2
== NULL
) {
30482 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
30485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30486 (arg1
)->base_OnDrawContents(*arg2
);
30488 wxPyEndAllowThreads(__tstate
);
30489 if (PyErr_Occurred()) SWIG_fail
;
30491 Py_INCREF(Py_None
); resultobj
= Py_None
;
30498 static PyObject
*_wrap_PyTextShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30499 PyObject
*resultobj
;
30500 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30502 bool arg3
= (bool) FALSE
;
30503 PyObject
* obj0
= 0 ;
30504 PyObject
* obj1
= 0 ;
30505 PyObject
* obj2
= 0 ;
30506 char *kwnames
[] = {
30507 (char *) "self",(char *) "dc",(char *) "erase", NULL
30510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyTextShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30511 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30512 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30513 if (arg2
== NULL
) {
30514 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
30518 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
30519 if (PyErr_Occurred()) SWIG_fail
;
30523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30524 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
30526 wxPyEndAllowThreads(__tstate
);
30527 if (PyErr_Occurred()) SWIG_fail
;
30529 Py_INCREF(Py_None
); resultobj
= Py_None
;
30536 static PyObject
*_wrap_PyTextShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30537 PyObject
*resultobj
;
30538 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30540 PyObject
* obj0
= 0 ;
30541 PyObject
* obj1
= 0 ;
30542 char *kwnames
[] = {
30543 (char *) "self",(char *) "dc", NULL
30546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
30547 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30548 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30549 if (arg2
== NULL
) {
30550 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
30553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30554 (arg1
)->base_OnMoveLinks(*arg2
);
30556 wxPyEndAllowThreads(__tstate
);
30557 if (PyErr_Occurred()) SWIG_fail
;
30559 Py_INCREF(Py_None
); resultobj
= Py_None
;
30566 static PyObject
*_wrap_PyTextShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30567 PyObject
*resultobj
;
30568 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30570 PyObject
* obj0
= 0 ;
30571 PyObject
* obj1
= 0 ;
30572 char *kwnames
[] = {
30573 (char *) "self",(char *) "dc", NULL
30576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
30577 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30578 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30579 if (arg2
== NULL
) {
30580 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
30583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30584 (arg1
)->base_OnErase(*arg2
);
30586 wxPyEndAllowThreads(__tstate
);
30587 if (PyErr_Occurred()) SWIG_fail
;
30589 Py_INCREF(Py_None
); resultobj
= Py_None
;
30596 static PyObject
*_wrap_PyTextShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30597 PyObject
*resultobj
;
30598 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30600 PyObject
* obj0
= 0 ;
30601 PyObject
* obj1
= 0 ;
30602 char *kwnames
[] = {
30603 (char *) "self",(char *) "dc", NULL
30606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
30607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30608 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30609 if (arg2
== NULL
) {
30610 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
30613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30614 (arg1
)->base_OnEraseContents(*arg2
);
30616 wxPyEndAllowThreads(__tstate
);
30617 if (PyErr_Occurred()) SWIG_fail
;
30619 Py_INCREF(Py_None
); resultobj
= Py_None
;
30626 static PyObject
*_wrap_PyTextShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30627 PyObject
*resultobj
;
30628 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30630 PyObject
* obj0
= 0 ;
30631 PyObject
* obj1
= 0 ;
30632 char *kwnames
[] = {
30633 (char *) "self",(char *) "dc", NULL
30636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
30637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30638 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30639 if (arg2
== NULL
) {
30640 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
30643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30644 (arg1
)->base_OnHighlight(*arg2
);
30646 wxPyEndAllowThreads(__tstate
);
30647 if (PyErr_Occurred()) SWIG_fail
;
30649 Py_INCREF(Py_None
); resultobj
= Py_None
;
30656 static PyObject
*_wrap_PyTextShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30657 PyObject
*resultobj
;
30658 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30661 int arg4
= (int) 0 ;
30662 int arg5
= (int) 0 ;
30663 PyObject
* obj0
= 0 ;
30664 PyObject
* obj1
= 0 ;
30665 PyObject
* obj2
= 0 ;
30666 PyObject
* obj3
= 0 ;
30667 PyObject
* obj4
= 0 ;
30668 char *kwnames
[] = {
30669 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30673 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30675 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
30676 if (PyErr_Occurred()) SWIG_fail
;
30679 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
30680 if (PyErr_Occurred()) SWIG_fail
;
30684 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
30685 if (PyErr_Occurred()) SWIG_fail
;
30690 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
30691 if (PyErr_Occurred()) SWIG_fail
;
30695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30696 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
30698 wxPyEndAllowThreads(__tstate
);
30699 if (PyErr_Occurred()) SWIG_fail
;
30701 Py_INCREF(Py_None
); resultobj
= Py_None
;
30708 static PyObject
*_wrap_PyTextShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30709 PyObject
*resultobj
;
30710 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30713 int arg4
= (int) 0 ;
30714 int arg5
= (int) 0 ;
30715 PyObject
* obj0
= 0 ;
30716 PyObject
* obj1
= 0 ;
30717 PyObject
* obj2
= 0 ;
30718 PyObject
* obj3
= 0 ;
30719 PyObject
* obj4
= 0 ;
30720 char *kwnames
[] = {
30721 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30727 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
30728 if (PyErr_Occurred()) SWIG_fail
;
30731 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
30732 if (PyErr_Occurred()) SWIG_fail
;
30736 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
30737 if (PyErr_Occurred()) SWIG_fail
;
30742 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
30743 if (PyErr_Occurred()) SWIG_fail
;
30747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30748 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
30750 wxPyEndAllowThreads(__tstate
);
30751 if (PyErr_Occurred()) SWIG_fail
;
30753 Py_INCREF(Py_None
); resultobj
= Py_None
;
30760 static PyObject
*_wrap_PyTextShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30761 PyObject
*resultobj
;
30762 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30765 int arg4
= (int) 0 ;
30766 int arg5
= (int) 0 ;
30767 PyObject
* obj0
= 0 ;
30768 PyObject
* obj1
= 0 ;
30769 PyObject
* obj2
= 0 ;
30770 PyObject
* obj3
= 0 ;
30771 PyObject
* obj4
= 0 ;
30772 char *kwnames
[] = {
30773 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30779 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
30780 if (PyErr_Occurred()) SWIG_fail
;
30783 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
30784 if (PyErr_Occurred()) SWIG_fail
;
30788 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
30789 if (PyErr_Occurred()) SWIG_fail
;
30794 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
30795 if (PyErr_Occurred()) SWIG_fail
;
30799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30800 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
30802 wxPyEndAllowThreads(__tstate
);
30803 if (PyErr_Occurred()) SWIG_fail
;
30805 Py_INCREF(Py_None
); resultobj
= Py_None
;
30812 static PyObject
*_wrap_PyTextShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30813 PyObject
*resultobj
;
30814 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30817 PyObject
* obj0
= 0 ;
30818 PyObject
* obj1
= 0 ;
30819 PyObject
* obj2
= 0 ;
30820 char *kwnames
[] = {
30821 (char *) "self",(char *) "x",(char *) "y", NULL
30824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30825 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30827 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
30828 if (PyErr_Occurred()) SWIG_fail
;
30831 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
30832 if (PyErr_Occurred()) SWIG_fail
;
30835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30836 (arg1
)->base_OnSize(arg2
,arg3
);
30838 wxPyEndAllowThreads(__tstate
);
30839 if (PyErr_Occurred()) SWIG_fail
;
30841 Py_INCREF(Py_None
); resultobj
= Py_None
;
30848 static PyObject
*_wrap_PyTextShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30849 PyObject
*resultobj
;
30850 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30856 bool arg7
= (bool) True
;
30858 PyObject
* obj0
= 0 ;
30859 PyObject
* obj1
= 0 ;
30860 PyObject
* obj2
= 0 ;
30861 PyObject
* obj3
= 0 ;
30862 PyObject
* obj4
= 0 ;
30863 PyObject
* obj5
= 0 ;
30864 PyObject
* obj6
= 0 ;
30865 char *kwnames
[] = {
30866 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
30869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyTextShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30870 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30871 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30872 if (arg2
== NULL
) {
30873 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
30876 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
30877 if (PyErr_Occurred()) SWIG_fail
;
30880 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
30881 if (PyErr_Occurred()) SWIG_fail
;
30884 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
30885 if (PyErr_Occurred()) SWIG_fail
;
30888 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
30889 if (PyErr_Occurred()) SWIG_fail
;
30893 arg7
= (bool) SWIG_PyObj_AsBool(obj6
);
30894 if (PyErr_Occurred()) SWIG_fail
;
30898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30899 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30901 wxPyEndAllowThreads(__tstate
);
30902 if (PyErr_Occurred()) SWIG_fail
;
30904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30911 static PyObject
*_wrap_PyTextShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30912 PyObject
*resultobj
;
30913 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30919 bool arg7
= (bool) True
;
30920 PyObject
* obj0
= 0 ;
30921 PyObject
* obj1
= 0 ;
30922 PyObject
* obj2
= 0 ;
30923 PyObject
* obj3
= 0 ;
30924 PyObject
* obj4
= 0 ;
30925 PyObject
* obj5
= 0 ;
30926 PyObject
* obj6
= 0 ;
30927 char *kwnames
[] = {
30928 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
30931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyTextShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30932 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30933 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30934 if (arg2
== NULL
) {
30935 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
30938 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
30939 if (PyErr_Occurred()) SWIG_fail
;
30942 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
30943 if (PyErr_Occurred()) SWIG_fail
;
30946 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
30947 if (PyErr_Occurred()) SWIG_fail
;
30950 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
30951 if (PyErr_Occurred()) SWIG_fail
;
30955 arg7
= (bool) SWIG_PyObj_AsBool(obj6
);
30956 if (PyErr_Occurred()) SWIG_fail
;
30960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30961 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30963 wxPyEndAllowThreads(__tstate
);
30964 if (PyErr_Occurred()) SWIG_fail
;
30966 Py_INCREF(Py_None
); resultobj
= Py_None
;
30973 static PyObject
*_wrap_PyTextShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30974 PyObject
*resultobj
;
30975 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30979 int arg5
= (int) 0 ;
30980 int arg6
= (int) 0 ;
30981 PyObject
* obj0
= 0 ;
30982 PyObject
* obj1
= 0 ;
30983 PyObject
* obj2
= 0 ;
30984 PyObject
* obj3
= 0 ;
30985 PyObject
* obj4
= 0 ;
30986 PyObject
* obj5
= 0 ;
30987 char *kwnames
[] = {
30988 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyTextShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30992 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30994 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
30995 if (PyErr_Occurred()) SWIG_fail
;
30998 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
30999 if (PyErr_Occurred()) SWIG_fail
;
31002 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
31003 if (PyErr_Occurred()) SWIG_fail
;
31007 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
31008 if (PyErr_Occurred()) SWIG_fail
;
31013 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
31014 if (PyErr_Occurred()) SWIG_fail
;
31018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31019 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
31021 wxPyEndAllowThreads(__tstate
);
31022 if (PyErr_Occurred()) SWIG_fail
;
31024 Py_INCREF(Py_None
); resultobj
= Py_None
;
31031 static PyObject
*_wrap_PyTextShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31032 PyObject
*resultobj
;
31033 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
31036 int arg4
= (int) 0 ;
31037 int arg5
= (int) 0 ;
31038 PyObject
* obj0
= 0 ;
31039 PyObject
* obj1
= 0 ;
31040 PyObject
* obj2
= 0 ;
31041 PyObject
* obj3
= 0 ;
31042 PyObject
* obj4
= 0 ;
31043 char *kwnames
[] = {
31044 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
31047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31048 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31050 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
31051 if (PyErr_Occurred()) SWIG_fail
;
31054 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
31055 if (PyErr_Occurred()) SWIG_fail
;
31059 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
31060 if (PyErr_Occurred()) SWIG_fail
;
31065 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
31066 if (PyErr_Occurred()) SWIG_fail
;
31070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31071 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
31073 wxPyEndAllowThreads(__tstate
);
31074 if (PyErr_Occurred()) SWIG_fail
;
31076 Py_INCREF(Py_None
); resultobj
= Py_None
;
31083 static PyObject
*_wrap_PyTextShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31084 PyObject
*resultobj
;
31085 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
31088 int arg4
= (int) 0 ;
31089 int arg5
= (int) 0 ;
31090 PyObject
* obj0
= 0 ;
31091 PyObject
* obj1
= 0 ;
31092 PyObject
* obj2
= 0 ;
31093 PyObject
* obj3
= 0 ;
31094 PyObject
* obj4
= 0 ;
31095 char *kwnames
[] = {
31096 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
31099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31100 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31102 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
31103 if (PyErr_Occurred()) SWIG_fail
;
31106 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
31107 if (PyErr_Occurred()) SWIG_fail
;
31111 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
31112 if (PyErr_Occurred()) SWIG_fail
;
31117 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
31118 if (PyErr_Occurred()) SWIG_fail
;
31122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31123 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
31125 wxPyEndAllowThreads(__tstate
);
31126 if (PyErr_Occurred()) SWIG_fail
;
31128 Py_INCREF(Py_None
); resultobj
= Py_None
;
31135 static PyObject
*_wrap_PyTextShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31136 PyObject
*resultobj
;
31137 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
31141 int arg5
= (int) 0 ;
31142 int arg6
= (int) 0 ;
31143 PyObject
* obj0
= 0 ;
31144 PyObject
* obj1
= 0 ;
31145 PyObject
* obj2
= 0 ;
31146 PyObject
* obj3
= 0 ;
31147 PyObject
* obj4
= 0 ;
31148 PyObject
* obj5
= 0 ;
31149 char *kwnames
[] = {
31150 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
31153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyTextShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31154 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31156 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
31157 if (PyErr_Occurred()) SWIG_fail
;
31160 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
31161 if (PyErr_Occurred()) SWIG_fail
;
31164 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
31165 if (PyErr_Occurred()) SWIG_fail
;
31169 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
31170 if (PyErr_Occurred()) SWIG_fail
;
31175 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
31176 if (PyErr_Occurred()) SWIG_fail
;
31180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31181 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
31183 wxPyEndAllowThreads(__tstate
);
31184 if (PyErr_Occurred()) SWIG_fail
;
31186 Py_INCREF(Py_None
); resultobj
= Py_None
;
31193 static PyObject
*_wrap_PyTextShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31194 PyObject
*resultobj
;
31195 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
31198 int arg4
= (int) 0 ;
31199 int arg5
= (int) 0 ;
31200 PyObject
* obj0
= 0 ;
31201 PyObject
* obj1
= 0 ;
31202 PyObject
* obj2
= 0 ;
31203 PyObject
* obj3
= 0 ;
31204 PyObject
* obj4
= 0 ;
31205 char *kwnames
[] = {
31206 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
31209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31210 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31212 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
31213 if (PyErr_Occurred()) SWIG_fail
;
31216 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
31217 if (PyErr_Occurred()) SWIG_fail
;
31221 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
31222 if (PyErr_Occurred()) SWIG_fail
;
31227 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
31228 if (PyErr_Occurred()) SWIG_fail
;
31232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31233 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
31235 wxPyEndAllowThreads(__tstate
);
31236 if (PyErr_Occurred()) SWIG_fail
;
31238 Py_INCREF(Py_None
); resultobj
= Py_None
;
31245 static PyObject
*_wrap_PyTextShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31246 PyObject
*resultobj
;
31247 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
31250 int arg4
= (int) 0 ;
31251 int arg5
= (int) 0 ;
31252 PyObject
* obj0
= 0 ;
31253 PyObject
* obj1
= 0 ;
31254 PyObject
* obj2
= 0 ;
31255 PyObject
* obj3
= 0 ;
31256 PyObject
* obj4
= 0 ;
31257 char *kwnames
[] = {
31258 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
31261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31262 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31264 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
31265 if (PyErr_Occurred()) SWIG_fail
;
31268 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
31269 if (PyErr_Occurred()) SWIG_fail
;
31273 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
31274 if (PyErr_Occurred()) SWIG_fail
;
31279 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
31280 if (PyErr_Occurred()) SWIG_fail
;
31284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31285 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
31287 wxPyEndAllowThreads(__tstate
);
31288 if (PyErr_Occurred()) SWIG_fail
;
31290 Py_INCREF(Py_None
); resultobj
= Py_None
;
31297 static PyObject
*_wrap_PyTextShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31298 PyObject
*resultobj
;
31299 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
31305 PyObject
* obj0
= 0 ;
31306 PyObject
* obj1
= 0 ;
31307 PyObject
* obj2
= 0 ;
31308 PyObject
* obj3
= 0 ;
31309 PyObject
* obj4
= 0 ;
31310 PyObject
* obj5
= 0 ;
31311 char *kwnames
[] = {
31312 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
31315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyTextShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31316 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31317 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31318 if (arg2
== NULL
) {
31319 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
31322 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
31323 if (PyErr_Occurred()) SWIG_fail
;
31326 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
31327 if (PyErr_Occurred()) SWIG_fail
;
31330 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
31331 if (PyErr_Occurred()) SWIG_fail
;
31334 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
31335 if (PyErr_Occurred()) SWIG_fail
;
31338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31339 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
31341 wxPyEndAllowThreads(__tstate
);
31342 if (PyErr_Occurred()) SWIG_fail
;
31344 Py_INCREF(Py_None
); resultobj
= Py_None
;
31351 static PyObject
*_wrap_PyTextShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31352 PyObject
*resultobj
;
31353 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
31355 PyObject
* obj0
= 0 ;
31356 PyObject
* obj1
= 0 ;
31357 char *kwnames
[] = {
31358 (char *) "self",(char *) "dc", NULL
31361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
31362 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31363 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31364 if (arg2
== NULL
) {
31365 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
31368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31369 (arg1
)->base_OnDrawControlPoints(*arg2
);
31371 wxPyEndAllowThreads(__tstate
);
31372 if (PyErr_Occurred()) SWIG_fail
;
31374 Py_INCREF(Py_None
); resultobj
= Py_None
;
31381 static PyObject
*_wrap_PyTextShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31382 PyObject
*resultobj
;
31383 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
31385 PyObject
* obj0
= 0 ;
31386 PyObject
* obj1
= 0 ;
31387 char *kwnames
[] = {
31388 (char *) "self",(char *) "dc", NULL
31391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
31392 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31393 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31394 if (arg2
== NULL
) {
31395 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
31398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31399 (arg1
)->base_OnEraseControlPoints(*arg2
);
31401 wxPyEndAllowThreads(__tstate
);
31402 if (PyErr_Occurred()) SWIG_fail
;
31404 Py_INCREF(Py_None
); resultobj
= Py_None
;
31411 static PyObject
*_wrap_PyTextShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31412 PyObject
*resultobj
;
31413 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
31415 bool arg3
= (bool) True
;
31416 PyObject
* obj0
= 0 ;
31417 PyObject
* obj1
= 0 ;
31418 PyObject
* obj2
= 0 ;
31419 char *kwnames
[] = {
31420 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
31423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyTextShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31424 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31425 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31426 if (arg2
== NULL
) {
31427 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
31431 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
31432 if (PyErr_Occurred()) SWIG_fail
;
31436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31437 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
31439 wxPyEndAllowThreads(__tstate
);
31440 if (PyErr_Occurred()) SWIG_fail
;
31442 Py_INCREF(Py_None
); resultobj
= Py_None
;
31449 static PyObject
*_wrap_PyTextShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31450 PyObject
*resultobj
;
31451 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
31452 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
31456 int arg6
= (int) 0 ;
31457 int arg7
= (int) 0 ;
31458 PyObject
* obj0
= 0 ;
31459 PyObject
* obj1
= 0 ;
31460 PyObject
* obj2
= 0 ;
31461 PyObject
* obj3
= 0 ;
31462 PyObject
* obj4
= 0 ;
31463 PyObject
* obj5
= 0 ;
31464 PyObject
* obj6
= 0 ;
31465 char *kwnames
[] = {
31466 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
31469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyTextShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
31470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31471 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31473 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
31474 if (PyErr_Occurred()) SWIG_fail
;
31477 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
31478 if (PyErr_Occurred()) SWIG_fail
;
31481 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
31482 if (PyErr_Occurred()) SWIG_fail
;
31486 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
31487 if (PyErr_Occurred()) SWIG_fail
;
31492 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
31493 if (PyErr_Occurred()) SWIG_fail
;
31497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31498 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
31500 wxPyEndAllowThreads(__tstate
);
31501 if (PyErr_Occurred()) SWIG_fail
;
31503 Py_INCREF(Py_None
); resultobj
= Py_None
;
31510 static PyObject
*_wrap_PyTextShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31511 PyObject
*resultobj
;
31512 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
31513 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
31516 int arg5
= (int) 0 ;
31517 int arg6
= (int) 0 ;
31518 PyObject
* obj0
= 0 ;
31519 PyObject
* obj1
= 0 ;
31520 PyObject
* obj2
= 0 ;
31521 PyObject
* obj3
= 0 ;
31522 PyObject
* obj4
= 0 ;
31523 PyObject
* obj5
= 0 ;
31524 char *kwnames
[] = {
31525 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
31528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyTextShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31529 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31530 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31532 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
31533 if (PyErr_Occurred()) SWIG_fail
;
31536 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
31537 if (PyErr_Occurred()) SWIG_fail
;
31541 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
31542 if (PyErr_Occurred()) SWIG_fail
;
31547 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
31548 if (PyErr_Occurred()) SWIG_fail
;
31552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31553 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
31555 wxPyEndAllowThreads(__tstate
);
31556 if (PyErr_Occurred()) SWIG_fail
;
31558 Py_INCREF(Py_None
); resultobj
= Py_None
;
31565 static PyObject
*_wrap_PyTextShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31566 PyObject
*resultobj
;
31567 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
31568 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
31571 int arg5
= (int) 0 ;
31572 int arg6
= (int) 0 ;
31573 PyObject
* obj0
= 0 ;
31574 PyObject
* obj1
= 0 ;
31575 PyObject
* obj2
= 0 ;
31576 PyObject
* obj3
= 0 ;
31577 PyObject
* obj4
= 0 ;
31578 PyObject
* obj5
= 0 ;
31579 char *kwnames
[] = {
31580 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
31583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyTextShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31584 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31585 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31587 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
31588 if (PyErr_Occurred()) SWIG_fail
;
31591 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
31592 if (PyErr_Occurred()) SWIG_fail
;
31596 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
31597 if (PyErr_Occurred()) SWIG_fail
;
31602 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
31603 if (PyErr_Occurred()) SWIG_fail
;
31607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31608 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
31610 wxPyEndAllowThreads(__tstate
);
31611 if (PyErr_Occurred()) SWIG_fail
;
31613 Py_INCREF(Py_None
); resultobj
= Py_None
;
31620 static PyObject
*_wrap_PyTextShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31621 PyObject
*resultobj
;
31622 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
31625 PyObject
* obj0
= 0 ;
31626 PyObject
* obj1
= 0 ;
31627 PyObject
* obj2
= 0 ;
31628 char *kwnames
[] = {
31629 (char *) "self",(char *) "w",(char *) "h", NULL
31632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31633 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31635 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
31636 if (PyErr_Occurred()) SWIG_fail
;
31639 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
31640 if (PyErr_Occurred()) SWIG_fail
;
31643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31644 (arg1
)->base_OnBeginSize(arg2
,arg3
);
31646 wxPyEndAllowThreads(__tstate
);
31647 if (PyErr_Occurred()) SWIG_fail
;
31649 Py_INCREF(Py_None
); resultobj
= Py_None
;
31656 static PyObject
*_wrap_PyTextShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31657 PyObject
*resultobj
;
31658 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
31661 PyObject
* obj0
= 0 ;
31662 PyObject
* obj1
= 0 ;
31663 PyObject
* obj2
= 0 ;
31664 char *kwnames
[] = {
31665 (char *) "self",(char *) "w",(char *) "h", NULL
31668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31671 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
31672 if (PyErr_Occurred()) SWIG_fail
;
31675 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
31676 if (PyErr_Occurred()) SWIG_fail
;
31679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31680 (arg1
)->base_OnEndSize(arg2
,arg3
);
31682 wxPyEndAllowThreads(__tstate
);
31683 if (PyErr_Occurred()) SWIG_fail
;
31685 Py_INCREF(Py_None
); resultobj
= Py_None
;
31692 static PyObject
* PyTextShape_swigregister(PyObject
*self
, PyObject
*args
) {
31694 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31695 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextShape
, obj
);
31697 return Py_BuildValue((char *)"");
31699 static PyObject
*_wrap_new_Diagram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31700 PyObject
*resultobj
;
31702 char *kwnames
[] = {
31706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Diagram",kwnames
)) goto fail
;
31708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31709 result
= (wxDiagram
*)new wxDiagram();
31711 wxPyEndAllowThreads(__tstate
);
31712 if (PyErr_Occurred()) SWIG_fail
;
31715 resultobj
= wxPyMake_wxObject(result
);
31723 static PyObject
*_wrap_Diagram_AddShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31724 PyObject
*resultobj
;
31725 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31726 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
31727 wxPyShape
*arg3
= (wxPyShape
*) NULL
;
31728 PyObject
* obj0
= 0 ;
31729 PyObject
* obj1
= 0 ;
31730 PyObject
* obj2
= 0 ;
31731 char *kwnames
[] = {
31732 (char *) "self",(char *) "shape",(char *) "addAfter", NULL
31735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Diagram_AddShape",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31736 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31737 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31739 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31743 (arg1
)->AddShape(arg2
,arg3
);
31745 wxPyEndAllowThreads(__tstate
);
31746 if (PyErr_Occurred()) SWIG_fail
;
31748 Py_INCREF(Py_None
); resultobj
= Py_None
;
31755 static PyObject
*_wrap_Diagram_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31756 PyObject
*resultobj
;
31757 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31759 PyObject
* obj0
= 0 ;
31760 PyObject
* obj1
= 0 ;
31761 char *kwnames
[] = {
31762 (char *) "self",(char *) "dc", NULL
31765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
31766 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31767 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31768 if (arg2
== NULL
) {
31769 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
31772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31773 (arg1
)->Clear(*arg2
);
31775 wxPyEndAllowThreads(__tstate
);
31776 if (PyErr_Occurred()) SWIG_fail
;
31778 Py_INCREF(Py_None
); resultobj
= Py_None
;
31785 static PyObject
*_wrap_Diagram_DeleteAllShapes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31786 PyObject
*resultobj
;
31787 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31788 PyObject
* obj0
= 0 ;
31789 char *kwnames
[] = {
31790 (char *) "self", NULL
31793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_DeleteAllShapes",kwnames
,&obj0
)) goto fail
;
31794 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31797 (arg1
)->DeleteAllShapes();
31799 wxPyEndAllowThreads(__tstate
);
31800 if (PyErr_Occurred()) SWIG_fail
;
31802 Py_INCREF(Py_None
); resultobj
= Py_None
;
31809 static PyObject
*_wrap_Diagram_DrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31810 PyObject
*resultobj
;
31811 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31817 PyObject
* obj0
= 0 ;
31818 PyObject
* obj1
= 0 ;
31819 PyObject
* obj2
= 0 ;
31820 PyObject
* obj3
= 0 ;
31821 PyObject
* obj4
= 0 ;
31822 PyObject
* obj5
= 0 ;
31823 char *kwnames
[] = {
31824 (char *) "self",(char *) "dc",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
31827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Diagram_DrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31828 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31829 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31830 if (arg2
== NULL
) {
31831 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
31834 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
31835 if (PyErr_Occurred()) SWIG_fail
;
31838 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
31839 if (PyErr_Occurred()) SWIG_fail
;
31842 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
31843 if (PyErr_Occurred()) SWIG_fail
;
31846 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
31847 if (PyErr_Occurred()) SWIG_fail
;
31850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31851 (arg1
)->DrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
31853 wxPyEndAllowThreads(__tstate
);
31854 if (PyErr_Occurred()) SWIG_fail
;
31856 Py_INCREF(Py_None
); resultobj
= Py_None
;
31863 static PyObject
*_wrap_Diagram_FindShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31864 PyObject
*resultobj
;
31865 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31868 PyObject
* obj0
= 0 ;
31869 PyObject
* obj1
= 0 ;
31870 char *kwnames
[] = {
31871 (char *) "self",(char *) "id", NULL
31874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_FindShape",kwnames
,&obj0
,&obj1
)) goto fail
;
31875 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31877 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
31878 if (PyErr_Occurred()) SWIG_fail
;
31881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31882 result
= (wxPyShape
*)(arg1
)->FindShape(arg2
);
31884 wxPyEndAllowThreads(__tstate
);
31885 if (PyErr_Occurred()) SWIG_fail
;
31888 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
31896 static PyObject
*_wrap_Diagram_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31897 PyObject
*resultobj
;
31898 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31899 wxPyShapeCanvas
*result
;
31900 PyObject
* obj0
= 0 ;
31901 char *kwnames
[] = {
31902 (char *) "self", NULL
31905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetCanvas",kwnames
,&obj0
)) goto fail
;
31906 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31909 result
= (wxPyShapeCanvas
*)(arg1
)->GetCanvas();
31911 wxPyEndAllowThreads(__tstate
);
31912 if (PyErr_Occurred()) SWIG_fail
;
31915 resultobj
= wxPyMake_wxObject(result
);
31923 static PyObject
*_wrap_Diagram_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31924 PyObject
*resultobj
;
31925 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31927 PyObject
* obj0
= 0 ;
31928 char *kwnames
[] = {
31929 (char *) "self", NULL
31932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetCount",kwnames
,&obj0
)) goto fail
;
31933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31936 result
= (int)(arg1
)->GetCount();
31938 wxPyEndAllowThreads(__tstate
);
31939 if (PyErr_Occurred()) SWIG_fail
;
31941 resultobj
= SWIG_PyObj_FromInt((int)result
);
31948 static PyObject
*_wrap_Diagram_GetGridSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31949 PyObject
*resultobj
;
31950 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31952 PyObject
* obj0
= 0 ;
31953 char *kwnames
[] = {
31954 (char *) "self", NULL
31957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetGridSpacing",kwnames
,&obj0
)) goto fail
;
31958 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31961 result
= (double)(arg1
)->GetGridSpacing();
31963 wxPyEndAllowThreads(__tstate
);
31964 if (PyErr_Occurred()) SWIG_fail
;
31966 resultobj
= SWIG_PyObj_FromDouble((double)result
);
31973 static PyObject
*_wrap_Diagram_GetMouseTolerance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31974 PyObject
*resultobj
;
31975 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31977 PyObject
* obj0
= 0 ;
31978 char *kwnames
[] = {
31979 (char *) "self", NULL
31982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetMouseTolerance",kwnames
,&obj0
)) goto fail
;
31983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31986 result
= (int)(arg1
)->GetMouseTolerance();
31988 wxPyEndAllowThreads(__tstate
);
31989 if (PyErr_Occurred()) SWIG_fail
;
31991 resultobj
= SWIG_PyObj_FromInt((int)result
);
31998 static PyObject
*_wrap_Diagram_GetShapeList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31999 PyObject
*resultobj
;
32000 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
32002 PyObject
* obj0
= 0 ;
32003 char *kwnames
[] = {
32004 (char *) "self", NULL
32007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetShapeList",kwnames
,&obj0
)) goto fail
;
32008 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32011 result
= (PyObject
*)wxDiagram_GetShapeList(arg1
);
32013 wxPyEndAllowThreads(__tstate
);
32014 if (PyErr_Occurred()) SWIG_fail
;
32016 resultobj
= result
;
32023 static PyObject
*_wrap_Diagram_GetQuickEditMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32024 PyObject
*resultobj
;
32025 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
32027 PyObject
* obj0
= 0 ;
32028 char *kwnames
[] = {
32029 (char *) "self", NULL
32032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetQuickEditMode",kwnames
,&obj0
)) goto fail
;
32033 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32036 result
= (bool)(arg1
)->GetQuickEditMode();
32038 wxPyEndAllowThreads(__tstate
);
32039 if (PyErr_Occurred()) SWIG_fail
;
32041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32048 static PyObject
*_wrap_Diagram_GetSnapToGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32049 PyObject
*resultobj
;
32050 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
32052 PyObject
* obj0
= 0 ;
32053 char *kwnames
[] = {
32054 (char *) "self", NULL
32057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetSnapToGrid",kwnames
,&obj0
)) goto fail
;
32058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32061 result
= (bool)(arg1
)->GetSnapToGrid();
32063 wxPyEndAllowThreads(__tstate
);
32064 if (PyErr_Occurred()) SWIG_fail
;
32066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32073 static PyObject
*_wrap_Diagram_InsertShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32074 PyObject
*resultobj
;
32075 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
32076 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
32077 PyObject
* obj0
= 0 ;
32078 PyObject
* obj1
= 0 ;
32079 char *kwnames
[] = {
32080 (char *) "self",(char *) "shape", NULL
32083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_InsertShape",kwnames
,&obj0
,&obj1
)) goto fail
;
32084 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32085 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32088 (arg1
)->InsertShape(arg2
);
32090 wxPyEndAllowThreads(__tstate
);
32091 if (PyErr_Occurred()) SWIG_fail
;
32093 Py_INCREF(Py_None
); resultobj
= Py_None
;
32100 static PyObject
*_wrap_Diagram_RecentreAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32101 PyObject
*resultobj
;
32102 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
32104 PyObject
* obj0
= 0 ;
32105 PyObject
* obj1
= 0 ;
32106 char *kwnames
[] = {
32107 (char *) "self",(char *) "dc", NULL
32110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_RecentreAll",kwnames
,&obj0
,&obj1
)) goto fail
;
32111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32112 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32113 if (arg2
== NULL
) {
32114 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
32117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32118 (arg1
)->RecentreAll(*arg2
);
32120 wxPyEndAllowThreads(__tstate
);
32121 if (PyErr_Occurred()) SWIG_fail
;
32123 Py_INCREF(Py_None
); resultobj
= Py_None
;
32130 static PyObject
*_wrap_Diagram_Redraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32131 PyObject
*resultobj
;
32132 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
32134 PyObject
* obj0
= 0 ;
32135 PyObject
* obj1
= 0 ;
32136 char *kwnames
[] = {
32137 (char *) "self",(char *) "dc", NULL
32140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_Redraw",kwnames
,&obj0
,&obj1
)) goto fail
;
32141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32142 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32143 if (arg2
== NULL
) {
32144 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
32147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32148 (arg1
)->Redraw(*arg2
);
32150 wxPyEndAllowThreads(__tstate
);
32151 if (PyErr_Occurred()) SWIG_fail
;
32153 Py_INCREF(Py_None
); resultobj
= Py_None
;
32160 static PyObject
*_wrap_Diagram_RemoveAllShapes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32161 PyObject
*resultobj
;
32162 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
32163 PyObject
* obj0
= 0 ;
32164 char *kwnames
[] = {
32165 (char *) "self", NULL
32168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_RemoveAllShapes",kwnames
,&obj0
)) goto fail
;
32169 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32172 (arg1
)->RemoveAllShapes();
32174 wxPyEndAllowThreads(__tstate
);
32175 if (PyErr_Occurred()) SWIG_fail
;
32177 Py_INCREF(Py_None
); resultobj
= Py_None
;
32184 static PyObject
*_wrap_Diagram_RemoveShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32185 PyObject
*resultobj
;
32186 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
32187 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
32188 PyObject
* obj0
= 0 ;
32189 PyObject
* obj1
= 0 ;
32190 char *kwnames
[] = {
32191 (char *) "self",(char *) "shape", NULL
32194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_RemoveShape",kwnames
,&obj0
,&obj1
)) goto fail
;
32195 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32196 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32199 (arg1
)->RemoveShape(arg2
);
32201 wxPyEndAllowThreads(__tstate
);
32202 if (PyErr_Occurred()) SWIG_fail
;
32204 Py_INCREF(Py_None
); resultobj
= Py_None
;
32211 static PyObject
*_wrap_Diagram_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32212 PyObject
*resultobj
;
32213 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
32214 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
32215 PyObject
* obj0
= 0 ;
32216 PyObject
* obj1
= 0 ;
32217 char *kwnames
[] = {
32218 (char *) "self",(char *) "canvas", NULL
32221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
32222 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32223 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32226 (arg1
)->SetCanvas(arg2
);
32228 wxPyEndAllowThreads(__tstate
);
32229 if (PyErr_Occurred()) SWIG_fail
;
32231 Py_INCREF(Py_None
); resultobj
= Py_None
;
32238 static PyObject
*_wrap_Diagram_SetGridSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32239 PyObject
*resultobj
;
32240 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
32242 PyObject
* obj0
= 0 ;
32243 PyObject
* obj1
= 0 ;
32244 char *kwnames
[] = {
32245 (char *) "self",(char *) "spacing", NULL
32248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_SetGridSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
32249 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32251 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
32252 if (PyErr_Occurred()) SWIG_fail
;
32255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32256 (arg1
)->SetGridSpacing(arg2
);
32258 wxPyEndAllowThreads(__tstate
);
32259 if (PyErr_Occurred()) SWIG_fail
;
32261 Py_INCREF(Py_None
); resultobj
= Py_None
;
32268 static PyObject
*_wrap_Diagram_SetMouseTolerance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32269 PyObject
*resultobj
;
32270 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
32272 PyObject
* obj0
= 0 ;
32273 PyObject
* obj1
= 0 ;
32274 char *kwnames
[] = {
32275 (char *) "self",(char *) "tolerance", NULL
32278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_SetMouseTolerance",kwnames
,&obj0
,&obj1
)) goto fail
;
32279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32281 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
32282 if (PyErr_Occurred()) SWIG_fail
;
32285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32286 (arg1
)->SetMouseTolerance(arg2
);
32288 wxPyEndAllowThreads(__tstate
);
32289 if (PyErr_Occurred()) SWIG_fail
;
32291 Py_INCREF(Py_None
); resultobj
= Py_None
;
32298 static PyObject
*_wrap_Diagram_SetQuickEditMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32299 PyObject
*resultobj
;
32300 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
32302 PyObject
* obj0
= 0 ;
32303 PyObject
* obj1
= 0 ;
32304 char *kwnames
[] = {
32305 (char *) "self",(char *) "mode", NULL
32308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_SetQuickEditMode",kwnames
,&obj0
,&obj1
)) goto fail
;
32309 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32311 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
32312 if (PyErr_Occurred()) SWIG_fail
;
32315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32316 (arg1
)->SetQuickEditMode(arg2
);
32318 wxPyEndAllowThreads(__tstate
);
32319 if (PyErr_Occurred()) SWIG_fail
;
32321 Py_INCREF(Py_None
); resultobj
= Py_None
;
32328 static PyObject
*_wrap_Diagram_SetSnapToGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32329 PyObject
*resultobj
;
32330 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
32332 PyObject
* obj0
= 0 ;
32333 PyObject
* obj1
= 0 ;
32334 char *kwnames
[] = {
32335 (char *) "self",(char *) "snap", NULL
32338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_SetSnapToGrid",kwnames
,&obj0
,&obj1
)) goto fail
;
32339 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32341 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
32342 if (PyErr_Occurred()) SWIG_fail
;
32345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32346 (arg1
)->SetSnapToGrid(arg2
);
32348 wxPyEndAllowThreads(__tstate
);
32349 if (PyErr_Occurred()) SWIG_fail
;
32351 Py_INCREF(Py_None
); resultobj
= Py_None
;
32358 static PyObject
*_wrap_Diagram_ShowAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32359 PyObject
*resultobj
;
32360 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
32362 PyObject
* obj0
= 0 ;
32363 PyObject
* obj1
= 0 ;
32364 char *kwnames
[] = {
32365 (char *) "self",(char *) "show", NULL
32368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_ShowAll",kwnames
,&obj0
,&obj1
)) goto fail
;
32369 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32371 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
32372 if (PyErr_Occurred()) SWIG_fail
;
32375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32376 (arg1
)->ShowAll(arg2
);
32378 wxPyEndAllowThreads(__tstate
);
32379 if (PyErr_Occurred()) SWIG_fail
;
32381 Py_INCREF(Py_None
); resultobj
= Py_None
;
32388 static PyObject
*_wrap_Diagram_Snap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32389 PyObject
*resultobj
;
32390 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
32391 double *arg2
= (double *) 0 ;
32392 double *arg3
= (double *) 0 ;
32395 PyObject
* obj0
= 0 ;
32396 PyObject
* obj1
= 0 ;
32397 PyObject
* obj2
= 0 ;
32398 char *kwnames
[] = {
32399 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
32402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Diagram_Snap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32403 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32405 temp2
= PyFloat_AsDouble(obj1
);
32406 if (PyErr_Occurred()) SWIG_fail
;
32410 temp3
= PyFloat_AsDouble(obj2
);
32411 if (PyErr_Occurred()) SWIG_fail
;
32415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32416 (arg1
)->Snap(arg2
,arg3
);
32418 wxPyEndAllowThreads(__tstate
);
32419 if (PyErr_Occurred()) SWIG_fail
;
32421 Py_INCREF(Py_None
); resultobj
= Py_None
;
32423 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
32424 resultobj
= t_output_helper(resultobj
,o
);
32427 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
32428 resultobj
= t_output_helper(resultobj
,o
);
32436 static PyObject
* Diagram_swigregister(PyObject
*self
, PyObject
*args
) {
32438 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32439 SWIG_TypeClientData(SWIGTYPE_p_wxDiagram
, obj
);
32441 return Py_BuildValue((char *)"");
32443 static PyObject
*_wrap_new_PyShapeCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32444 PyObject
*resultobj
;
32445 wxWindow
*arg1
= (wxWindow
*) NULL
;
32446 int arg2
= (int) -1 ;
32447 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32448 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32449 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32450 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32451 long arg5
= (long) wxBORDER
;
32452 wxString
const &arg6_defvalue
= wxPyShapeCanvasNameStr
;
32453 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
32454 wxPyShapeCanvas
*result
;
32457 bool temp6
= False
;
32458 PyObject
* obj0
= 0 ;
32459 PyObject
* obj1
= 0 ;
32460 PyObject
* obj2
= 0 ;
32461 PyObject
* obj3
= 0 ;
32462 PyObject
* obj4
= 0 ;
32463 PyObject
* obj5
= 0 ;
32464 char *kwnames
[] = {
32465 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
32468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_PyShapeCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32474 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
32475 if (PyErr_Occurred()) SWIG_fail
;
32481 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32487 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32492 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
32493 if (PyErr_Occurred()) SWIG_fail
;
32498 arg6
= wxString_in_helper(obj5
);
32499 if (arg6
== NULL
) SWIG_fail
;
32504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32505 result
= (wxPyShapeCanvas
*)new wxPyShapeCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
32507 wxPyEndAllowThreads(__tstate
);
32508 if (PyErr_Occurred()) SWIG_fail
;
32511 resultobj
= wxPyMake_wxObject(result
);
32527 static PyObject
*_wrap_PyShapeCanvas__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32528 PyObject
*resultobj
;
32529 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32530 PyObject
*arg2
= (PyObject
*) 0 ;
32531 PyObject
*arg3
= (PyObject
*) 0 ;
32532 PyObject
* obj0
= 0 ;
32533 PyObject
* obj1
= 0 ;
32534 PyObject
* obj2
= 0 ;
32535 char *kwnames
[] = {
32536 (char *) "self",(char *) "self",(char *) "_class", NULL
32539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeCanvas__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32540 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32545 (arg1
)->_setCallbackInfo(arg2
,arg3
);
32547 wxPyEndAllowThreads(__tstate
);
32548 if (PyErr_Occurred()) SWIG_fail
;
32550 Py_INCREF(Py_None
); resultobj
= Py_None
;
32557 static PyObject
*_wrap_PyShapeCanvas_AddShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32558 PyObject
*resultobj
;
32559 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32560 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
32561 wxPyShape
*arg3
= (wxPyShape
*) NULL
;
32562 PyObject
* obj0
= 0 ;
32563 PyObject
* obj1
= 0 ;
32564 PyObject
* obj2
= 0 ;
32565 char *kwnames
[] = {
32566 (char *) "self",(char *) "shape",(char *) "addAfter", NULL
32569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShapeCanvas_AddShape",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32570 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32571 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32573 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32577 (arg1
)->AddShape(arg2
,arg3
);
32579 wxPyEndAllowThreads(__tstate
);
32580 if (PyErr_Occurred()) SWIG_fail
;
32582 Py_INCREF(Py_None
); resultobj
= Py_None
;
32589 static PyObject
*_wrap_PyShapeCanvas_FindShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32590 PyObject
*resultobj
;
32591 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32594 int *arg4
= (int *) 0 ;
32595 wxClassInfo
*arg5
= (wxClassInfo
*) NULL
;
32596 wxPyShape
*arg6
= (wxPyShape
*) NULL
;
32599 PyObject
* obj0
= 0 ;
32600 PyObject
* obj1
= 0 ;
32601 PyObject
* obj2
= 0 ;
32602 PyObject
* obj3
= 0 ;
32603 PyObject
* obj4
= 0 ;
32604 char *kwnames
[] = {
32605 (char *) "self",(char *) "x1",(char *) "y",(char *) "info",(char *) "notImage", NULL
32609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeCanvas_FindShape",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32612 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
32613 if (PyErr_Occurred()) SWIG_fail
;
32616 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
32617 if (PyErr_Occurred()) SWIG_fail
;
32620 if ((SWIG_ConvertPtr(obj3
,(void **) &arg5
, SWIGTYPE_p_wxClassInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32623 if ((SWIG_ConvertPtr(obj4
,(void **) &arg6
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32627 result
= (wxPyShape
*)(arg1
)->FindShape(arg2
,arg3
,arg4
,arg5
,arg6
);
32629 wxPyEndAllowThreads(__tstate
);
32630 if (PyErr_Occurred()) SWIG_fail
;
32633 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
32636 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
32637 resultobj
= t_output_helper(resultobj
,o
);
32645 static PyObject
*_wrap_PyShapeCanvas_FindFirstSensitiveShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32646 PyObject
*resultobj
;
32647 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32650 int *arg4
= (int *) 0 ;
32654 PyObject
* obj0
= 0 ;
32655 PyObject
* obj1
= 0 ;
32656 PyObject
* obj2
= 0 ;
32657 PyObject
* obj3
= 0 ;
32658 char *kwnames
[] = {
32659 (char *) "self",(char *) "x1",(char *) "y",(char *) "op", NULL
32663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyShapeCanvas_FindFirstSensitiveShape",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32666 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
32667 if (PyErr_Occurred()) SWIG_fail
;
32670 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
32671 if (PyErr_Occurred()) SWIG_fail
;
32674 arg5
= (int) SWIG_PyObj_AsInt(obj3
);
32675 if (PyErr_Occurred()) SWIG_fail
;
32678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32679 result
= (wxPyShape
*)(arg1
)->FindFirstSensitiveShape(arg2
,arg3
,arg4
,arg5
);
32681 wxPyEndAllowThreads(__tstate
);
32682 if (PyErr_Occurred()) SWIG_fail
;
32685 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
32688 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
32689 resultobj
= t_output_helper(resultobj
,o
);
32697 static PyObject
*_wrap_PyShapeCanvas_GetDiagram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32698 PyObject
*resultobj
;
32699 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32701 PyObject
* obj0
= 0 ;
32702 char *kwnames
[] = {
32703 (char *) "self", NULL
32706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeCanvas_GetDiagram",kwnames
,&obj0
)) goto fail
;
32707 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32710 result
= (wxDiagram
*)(arg1
)->GetDiagram();
32712 wxPyEndAllowThreads(__tstate
);
32713 if (PyErr_Occurred()) SWIG_fail
;
32716 resultobj
= wxPyMake_wxObject(result
);
32724 static PyObject
*_wrap_PyShapeCanvas_GetQuickEditMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32725 PyObject
*resultobj
;
32726 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32728 PyObject
* obj0
= 0 ;
32729 char *kwnames
[] = {
32730 (char *) "self", NULL
32733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeCanvas_GetQuickEditMode",kwnames
,&obj0
)) goto fail
;
32734 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32737 result
= (bool)(arg1
)->GetQuickEditMode();
32739 wxPyEndAllowThreads(__tstate
);
32740 if (PyErr_Occurred()) SWIG_fail
;
32742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32749 static PyObject
*_wrap_PyShapeCanvas_InsertShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32750 PyObject
*resultobj
;
32751 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32752 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
32753 PyObject
* obj0
= 0 ;
32754 PyObject
* obj1
= 0 ;
32755 char *kwnames
[] = {
32756 (char *) "self",(char *) "shape", NULL
32759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeCanvas_InsertShape",kwnames
,&obj0
,&obj1
)) goto fail
;
32760 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32761 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32764 (arg1
)->InsertShape(arg2
);
32766 wxPyEndAllowThreads(__tstate
);
32767 if (PyErr_Occurred()) SWIG_fail
;
32769 Py_INCREF(Py_None
); resultobj
= Py_None
;
32776 static PyObject
*_wrap_PyShapeCanvas_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32777 PyObject
*resultobj
;
32778 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32781 int arg4
= (int) 0 ;
32782 PyObject
* obj0
= 0 ;
32783 PyObject
* obj1
= 0 ;
32784 PyObject
* obj2
= 0 ;
32785 PyObject
* obj3
= 0 ;
32786 char *kwnames
[] = {
32787 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShapeCanvas_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32791 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32793 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
32794 if (PyErr_Occurred()) SWIG_fail
;
32797 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
32798 if (PyErr_Occurred()) SWIG_fail
;
32802 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
32803 if (PyErr_Occurred()) SWIG_fail
;
32807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32808 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
);
32810 wxPyEndAllowThreads(__tstate
);
32811 if (PyErr_Occurred()) SWIG_fail
;
32813 Py_INCREF(Py_None
); resultobj
= Py_None
;
32820 static PyObject
*_wrap_PyShapeCanvas_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32821 PyObject
*resultobj
;
32822 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32825 int arg4
= (int) 0 ;
32826 PyObject
* obj0
= 0 ;
32827 PyObject
* obj1
= 0 ;
32828 PyObject
* obj2
= 0 ;
32829 PyObject
* obj3
= 0 ;
32830 char *kwnames
[] = {
32831 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShapeCanvas_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32835 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32837 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
32838 if (PyErr_Occurred()) SWIG_fail
;
32841 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
32842 if (PyErr_Occurred()) SWIG_fail
;
32846 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
32847 if (PyErr_Occurred()) SWIG_fail
;
32851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32852 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
);
32854 wxPyEndAllowThreads(__tstate
);
32855 if (PyErr_Occurred()) SWIG_fail
;
32857 Py_INCREF(Py_None
); resultobj
= Py_None
;
32864 static PyObject
*_wrap_PyShapeCanvas_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32865 PyObject
*resultobj
;
32866 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32869 int arg4
= (int) 0 ;
32870 PyObject
* obj0
= 0 ;
32871 PyObject
* obj1
= 0 ;
32872 PyObject
* obj2
= 0 ;
32873 PyObject
* obj3
= 0 ;
32874 char *kwnames
[] = {
32875 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShapeCanvas_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32879 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32881 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
32882 if (PyErr_Occurred()) SWIG_fail
;
32885 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
32886 if (PyErr_Occurred()) SWIG_fail
;
32890 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
32891 if (PyErr_Occurred()) SWIG_fail
;
32895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32896 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
);
32898 wxPyEndAllowThreads(__tstate
);
32899 if (PyErr_Occurred()) SWIG_fail
;
32901 Py_INCREF(Py_None
); resultobj
= Py_None
;
32908 static PyObject
*_wrap_PyShapeCanvas_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32909 PyObject
*resultobj
;
32910 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32913 int arg4
= (int) 0 ;
32914 PyObject
* obj0
= 0 ;
32915 PyObject
* obj1
= 0 ;
32916 PyObject
* obj2
= 0 ;
32917 PyObject
* obj3
= 0 ;
32918 char *kwnames
[] = {
32919 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShapeCanvas_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32925 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
32926 if (PyErr_Occurred()) SWIG_fail
;
32929 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
32930 if (PyErr_Occurred()) SWIG_fail
;
32934 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
32935 if (PyErr_Occurred()) SWIG_fail
;
32939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32940 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
);
32942 wxPyEndAllowThreads(__tstate
);
32943 if (PyErr_Occurred()) SWIG_fail
;
32945 Py_INCREF(Py_None
); resultobj
= Py_None
;
32952 static PyObject
*_wrap_PyShapeCanvas_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32953 PyObject
*resultobj
;
32954 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32958 int arg5
= (int) 0 ;
32959 PyObject
* obj0
= 0 ;
32960 PyObject
* obj1
= 0 ;
32961 PyObject
* obj2
= 0 ;
32962 PyObject
* obj3
= 0 ;
32963 PyObject
* obj4
= 0 ;
32964 char *kwnames
[] = {
32965 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys", NULL
32968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyShapeCanvas_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32969 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32971 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
32972 if (PyErr_Occurred()) SWIG_fail
;
32975 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
32976 if (PyErr_Occurred()) SWIG_fail
;
32979 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
32980 if (PyErr_Occurred()) SWIG_fail
;
32984 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
32985 if (PyErr_Occurred()) SWIG_fail
;
32989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32990 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
);
32992 wxPyEndAllowThreads(__tstate
);
32993 if (PyErr_Occurred()) SWIG_fail
;
32995 Py_INCREF(Py_None
); resultobj
= Py_None
;
33002 static PyObject
*_wrap_PyShapeCanvas_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33003 PyObject
*resultobj
;
33004 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
33008 int arg5
= (int) 0 ;
33009 PyObject
* obj0
= 0 ;
33010 PyObject
* obj1
= 0 ;
33011 PyObject
* obj2
= 0 ;
33012 PyObject
* obj3
= 0 ;
33013 PyObject
* obj4
= 0 ;
33014 char *kwnames
[] = {
33015 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys", NULL
33018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyShapeCanvas_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33019 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33021 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
33022 if (PyErr_Occurred()) SWIG_fail
;
33025 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
33026 if (PyErr_Occurred()) SWIG_fail
;
33029 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
33030 if (PyErr_Occurred()) SWIG_fail
;
33034 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
33035 if (PyErr_Occurred()) SWIG_fail
;
33039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33040 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
);
33042 wxPyEndAllowThreads(__tstate
);
33043 if (PyErr_Occurred()) SWIG_fail
;
33045 Py_INCREF(Py_None
); resultobj
= Py_None
;
33052 static PyObject
*_wrap_PyShapeCanvas_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33053 PyObject
*resultobj
;
33054 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
33057 int arg4
= (int) 0 ;
33058 PyObject
* obj0
= 0 ;
33059 PyObject
* obj1
= 0 ;
33060 PyObject
* obj2
= 0 ;
33061 PyObject
* obj3
= 0 ;
33062 char *kwnames
[] = {
33063 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
33066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShapeCanvas_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33067 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33069 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
33070 if (PyErr_Occurred()) SWIG_fail
;
33073 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
33074 if (PyErr_Occurred()) SWIG_fail
;
33078 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
33079 if (PyErr_Occurred()) SWIG_fail
;
33083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33084 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
);
33086 wxPyEndAllowThreads(__tstate
);
33087 if (PyErr_Occurred()) SWIG_fail
;
33089 Py_INCREF(Py_None
); resultobj
= Py_None
;
33096 static PyObject
*_wrap_PyShapeCanvas_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33097 PyObject
*resultobj
;
33098 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
33101 int arg4
= (int) 0 ;
33102 PyObject
* obj0
= 0 ;
33103 PyObject
* obj1
= 0 ;
33104 PyObject
* obj2
= 0 ;
33105 PyObject
* obj3
= 0 ;
33106 char *kwnames
[] = {
33107 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
33110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShapeCanvas_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33113 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
33114 if (PyErr_Occurred()) SWIG_fail
;
33117 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
33118 if (PyErr_Occurred()) SWIG_fail
;
33122 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
33123 if (PyErr_Occurred()) SWIG_fail
;
33127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33128 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
);
33130 wxPyEndAllowThreads(__tstate
);
33131 if (PyErr_Occurred()) SWIG_fail
;
33133 Py_INCREF(Py_None
); resultobj
= Py_None
;
33140 static PyObject
*_wrap_PyShapeCanvas_Redraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33141 PyObject
*resultobj
;
33142 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
33144 PyObject
* obj0
= 0 ;
33145 PyObject
* obj1
= 0 ;
33146 char *kwnames
[] = {
33147 (char *) "self",(char *) "dc", NULL
33150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeCanvas_Redraw",kwnames
,&obj0
,&obj1
)) goto fail
;
33151 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33152 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33153 if (arg2
== NULL
) {
33154 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
33157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33158 (arg1
)->Redraw(*arg2
);
33160 wxPyEndAllowThreads(__tstate
);
33161 if (PyErr_Occurred()) SWIG_fail
;
33163 Py_INCREF(Py_None
); resultobj
= Py_None
;
33170 static PyObject
*_wrap_PyShapeCanvas_RemoveShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33171 PyObject
*resultobj
;
33172 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
33173 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
33174 PyObject
* obj0
= 0 ;
33175 PyObject
* obj1
= 0 ;
33176 char *kwnames
[] = {
33177 (char *) "self",(char *) "shape", NULL
33180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeCanvas_RemoveShape",kwnames
,&obj0
,&obj1
)) goto fail
;
33181 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33182 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33185 (arg1
)->RemoveShape(arg2
);
33187 wxPyEndAllowThreads(__tstate
);
33188 if (PyErr_Occurred()) SWIG_fail
;
33190 Py_INCREF(Py_None
); resultobj
= Py_None
;
33197 static PyObject
*_wrap_PyShapeCanvas_SetDiagram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33198 PyObject
*resultobj
;
33199 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
33200 wxDiagram
*arg2
= (wxDiagram
*) 0 ;
33201 PyObject
* obj0
= 0 ;
33202 PyObject
* obj1
= 0 ;
33203 char *kwnames
[] = {
33204 (char *) "self",(char *) "diagram", NULL
33207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeCanvas_SetDiagram",kwnames
,&obj0
,&obj1
)) goto fail
;
33208 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33209 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33212 (arg1
)->SetDiagram(arg2
);
33214 wxPyEndAllowThreads(__tstate
);
33215 if (PyErr_Occurred()) SWIG_fail
;
33217 Py_INCREF(Py_None
); resultobj
= Py_None
;
33224 static PyObject
*_wrap_PyShapeCanvas_Snap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33225 PyObject
*resultobj
;
33226 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
33227 double *arg2
= (double *) 0 ;
33228 double *arg3
= (double *) 0 ;
33231 PyObject
* obj0
= 0 ;
33232 PyObject
* obj1
= 0 ;
33233 PyObject
* obj2
= 0 ;
33234 char *kwnames
[] = {
33235 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
33238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeCanvas_Snap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33239 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33241 temp2
= PyFloat_AsDouble(obj1
);
33242 if (PyErr_Occurred()) SWIG_fail
;
33246 temp3
= PyFloat_AsDouble(obj2
);
33247 if (PyErr_Occurred()) SWIG_fail
;
33251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33252 (arg1
)->Snap(arg2
,arg3
);
33254 wxPyEndAllowThreads(__tstate
);
33255 if (PyErr_Occurred()) SWIG_fail
;
33257 Py_INCREF(Py_None
); resultobj
= Py_None
;
33259 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
33260 resultobj
= t_output_helper(resultobj
,o
);
33263 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
33264 resultobj
= t_output_helper(resultobj
,o
);
33272 static PyObject
* PyShapeCanvas_swigregister(PyObject
*self
, PyObject
*args
) {
33274 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33275 SWIG_TypeClientData(SWIGTYPE_p_wxPyShapeCanvas
, obj
);
33277 return Py_BuildValue((char *)"");
33279 static PyObject
*_wrap_OGLInitialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33280 PyObject
*resultobj
;
33281 char *kwnames
[] = {
33285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":OGLInitialize",kwnames
)) goto fail
;
33287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33290 wxPyEndAllowThreads(__tstate
);
33291 if (PyErr_Occurred()) SWIG_fail
;
33293 Py_INCREF(Py_None
); resultobj
= Py_None
;
33300 static PyObject
*_wrap_OGLCleanUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33301 PyObject
*resultobj
;
33302 char *kwnames
[] = {
33306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":OGLCleanUp",kwnames
)) goto fail
;
33308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33311 wxPyEndAllowThreads(__tstate
);
33312 if (PyErr_Occurred()) SWIG_fail
;
33314 Py_INCREF(Py_None
); resultobj
= Py_None
;
33321 static PyMethodDef SwigMethods
[] = {
33322 { (char *)"new_ShapeRegion", (PyCFunction
) _wrap_new_ShapeRegion
, METH_VARARGS
| METH_KEYWORDS
},
33323 { (char *)"ShapeRegion_SetText", (PyCFunction
) _wrap_ShapeRegion_SetText
, METH_VARARGS
| METH_KEYWORDS
},
33324 { (char *)"ShapeRegion_SetFont", (PyCFunction
) _wrap_ShapeRegion_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
33325 { (char *)"ShapeRegion_SetMinSize", (PyCFunction
) _wrap_ShapeRegion_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
33326 { (char *)"ShapeRegion_SetSize", (PyCFunction
) _wrap_ShapeRegion_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
33327 { (char *)"ShapeRegion_SetPosition", (PyCFunction
) _wrap_ShapeRegion_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
33328 { (char *)"ShapeRegion_SetProportions", (PyCFunction
) _wrap_ShapeRegion_SetProportions
, METH_VARARGS
| METH_KEYWORDS
},
33329 { (char *)"ShapeRegion_SetFormatMode", (PyCFunction
) _wrap_ShapeRegion_SetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
33330 { (char *)"ShapeRegion_SetName", (PyCFunction
) _wrap_ShapeRegion_SetName
, METH_VARARGS
| METH_KEYWORDS
},
33331 { (char *)"ShapeRegion_SetColour", (PyCFunction
) _wrap_ShapeRegion_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
33332 { (char *)"ShapeRegion_GetText", (PyCFunction
) _wrap_ShapeRegion_GetText
, METH_VARARGS
| METH_KEYWORDS
},
33333 { (char *)"ShapeRegion_GetFont", (PyCFunction
) _wrap_ShapeRegion_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
33334 { (char *)"ShapeRegion_GetMinSize", (PyCFunction
) _wrap_ShapeRegion_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
33335 { (char *)"ShapeRegion_GetProportion", (PyCFunction
) _wrap_ShapeRegion_GetProportion
, METH_VARARGS
| METH_KEYWORDS
},
33336 { (char *)"ShapeRegion_GetSize", (PyCFunction
) _wrap_ShapeRegion_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
33337 { (char *)"ShapeRegion_GetPosition", (PyCFunction
) _wrap_ShapeRegion_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
33338 { (char *)"ShapeRegion_GetFormatMode", (PyCFunction
) _wrap_ShapeRegion_GetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
33339 { (char *)"ShapeRegion_GetName", (PyCFunction
) _wrap_ShapeRegion_GetName
, METH_VARARGS
| METH_KEYWORDS
},
33340 { (char *)"ShapeRegion_GetColour", (PyCFunction
) _wrap_ShapeRegion_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
33341 { (char *)"ShapeRegion_GetActualColourObject", (PyCFunction
) _wrap_ShapeRegion_GetActualColourObject
, METH_VARARGS
| METH_KEYWORDS
},
33342 { (char *)"ShapeRegion_GetFormattedText", (PyCFunction
) _wrap_ShapeRegion_GetFormattedText
, METH_VARARGS
| METH_KEYWORDS
},
33343 { (char *)"ShapeRegion_GetPenColour", (PyCFunction
) _wrap_ShapeRegion_GetPenColour
, METH_VARARGS
| METH_KEYWORDS
},
33344 { (char *)"ShapeRegion_GetPenStyle", (PyCFunction
) _wrap_ShapeRegion_GetPenStyle
, METH_VARARGS
| METH_KEYWORDS
},
33345 { (char *)"ShapeRegion_SetPenStyle", (PyCFunction
) _wrap_ShapeRegion_SetPenStyle
, METH_VARARGS
| METH_KEYWORDS
},
33346 { (char *)"ShapeRegion_SetPenColour", (PyCFunction
) _wrap_ShapeRegion_SetPenColour
, METH_VARARGS
| METH_KEYWORDS
},
33347 { (char *)"ShapeRegion_GetActualPen", (PyCFunction
) _wrap_ShapeRegion_GetActualPen
, METH_VARARGS
| METH_KEYWORDS
},
33348 { (char *)"ShapeRegion_GetWidth", (PyCFunction
) _wrap_ShapeRegion_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
33349 { (char *)"ShapeRegion_GetHeight", (PyCFunction
) _wrap_ShapeRegion_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
33350 { (char *)"ShapeRegion_ClearText", (PyCFunction
) _wrap_ShapeRegion_ClearText
, METH_VARARGS
| METH_KEYWORDS
},
33351 { (char *)"ShapeRegion_swigregister", ShapeRegion_swigregister
, METH_VARARGS
},
33352 { (char *)"new_AttachmentPoint", (PyCFunction
) _wrap_new_AttachmentPoint
, METH_VARARGS
| METH_KEYWORDS
},
33353 { (char *)"AttachmentPoint_m_id_set", (PyCFunction
) _wrap_AttachmentPoint_m_id_set
, METH_VARARGS
| METH_KEYWORDS
},
33354 { (char *)"AttachmentPoint_m_id_get", (PyCFunction
) _wrap_AttachmentPoint_m_id_get
, METH_VARARGS
| METH_KEYWORDS
},
33355 { (char *)"AttachmentPoint_m_x_set", (PyCFunction
) _wrap_AttachmentPoint_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
33356 { (char *)"AttachmentPoint_m_x_get", (PyCFunction
) _wrap_AttachmentPoint_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
33357 { (char *)"AttachmentPoint_m_y_set", (PyCFunction
) _wrap_AttachmentPoint_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
33358 { (char *)"AttachmentPoint_m_y_get", (PyCFunction
) _wrap_AttachmentPoint_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
33359 { (char *)"AttachmentPoint_swigregister", AttachmentPoint_swigregister
, METH_VARARGS
},
33360 { (char *)"new_PyShapeEvtHandler", (PyCFunction
) _wrap_new_PyShapeEvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
33361 { (char *)"PyShapeEvtHandler__setCallbackInfo", (PyCFunction
) _wrap_PyShapeEvtHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
33362 { (char *)"PyShapeEvtHandler__setOORInfo", (PyCFunction
) _wrap_PyShapeEvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
33363 { (char *)"PyShapeEvtHandler_SetShape", (PyCFunction
) _wrap_PyShapeEvtHandler_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
33364 { (char *)"PyShapeEvtHandler_GetShape", (PyCFunction
) _wrap_PyShapeEvtHandler_GetShape
, METH_VARARGS
| METH_KEYWORDS
},
33365 { (char *)"PyShapeEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_PyShapeEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
33366 { (char *)"PyShapeEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_PyShapeEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
33367 { (char *)"PyShapeEvtHandler_CreateNewCopy", (PyCFunction
) _wrap_PyShapeEvtHandler_CreateNewCopy
, METH_VARARGS
| METH_KEYWORDS
},
33368 { (char *)"PyShapeEvtHandler_base_OnDelete", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
33369 { (char *)"PyShapeEvtHandler_base_OnDraw", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
33370 { (char *)"PyShapeEvtHandler_base_OnDrawContents", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
33371 { (char *)"PyShapeEvtHandler_base_OnDrawBranches", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
33372 { (char *)"PyShapeEvtHandler_base_OnMoveLinks", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
33373 { (char *)"PyShapeEvtHandler_base_OnErase", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
33374 { (char *)"PyShapeEvtHandler_base_OnEraseContents", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
33375 { (char *)"PyShapeEvtHandler_base_OnHighlight", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
33376 { (char *)"PyShapeEvtHandler_base_OnLeftClick", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
33377 { (char *)"PyShapeEvtHandler_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
33378 { (char *)"PyShapeEvtHandler_base_OnRightClick", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
33379 { (char *)"PyShapeEvtHandler_base_OnSize", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
33380 { (char *)"PyShapeEvtHandler_base_OnMovePre", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
33381 { (char *)"PyShapeEvtHandler_base_OnMovePost", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
33382 { (char *)"PyShapeEvtHandler_base_OnDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33383 { (char *)"PyShapeEvtHandler_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33384 { (char *)"PyShapeEvtHandler_base_OnEndDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33385 { (char *)"PyShapeEvtHandler_base_OnDragRight", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33386 { (char *)"PyShapeEvtHandler_base_OnBeginDragRight", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33387 { (char *)"PyShapeEvtHandler_base_OnEndDragRight", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33388 { (char *)"PyShapeEvtHandler_base_OnDrawOutline", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
33389 { (char *)"PyShapeEvtHandler_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33390 { (char *)"PyShapeEvtHandler_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33391 { (char *)"PyShapeEvtHandler_base_OnMoveLink", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
33392 { (char *)"PyShapeEvtHandler_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33393 { (char *)"PyShapeEvtHandler_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33394 { (char *)"PyShapeEvtHandler_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33395 { (char *)"PyShapeEvtHandler_base_OnBeginSize", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
33396 { (char *)"PyShapeEvtHandler_base_OnEndSize", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
33397 { (char *)"PyShapeEvtHandler_swigregister", PyShapeEvtHandler_swigregister
, METH_VARARGS
},
33398 { (char *)"new_PyShape", (PyCFunction
) _wrap_new_PyShape
, METH_VARARGS
| METH_KEYWORDS
},
33399 { (char *)"PyShape__setCallbackInfo", (PyCFunction
) _wrap_PyShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
33400 { (char *)"PyShape_GetBoundingBoxMax", (PyCFunction
) _wrap_PyShape_GetBoundingBoxMax
, METH_VARARGS
| METH_KEYWORDS
},
33401 { (char *)"PyShape_GetBoundingBoxMin", (PyCFunction
) _wrap_PyShape_GetBoundingBoxMin
, METH_VARARGS
| METH_KEYWORDS
},
33402 { (char *)"PyShape_GetPerimeterPoint", (PyCFunction
) _wrap_PyShape_GetPerimeterPoint
, METH_VARARGS
| METH_KEYWORDS
},
33403 { (char *)"PyShape_GetCanvas", (PyCFunction
) _wrap_PyShape_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
33404 { (char *)"PyShape_SetCanvas", (PyCFunction
) _wrap_PyShape_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
33405 { (char *)"PyShape_AddToCanvas", (PyCFunction
) _wrap_PyShape_AddToCanvas
, METH_VARARGS
| METH_KEYWORDS
},
33406 { (char *)"PyShape_InsertInCanvas", (PyCFunction
) _wrap_PyShape_InsertInCanvas
, METH_VARARGS
| METH_KEYWORDS
},
33407 { (char *)"PyShape_RemoveFromCanvas", (PyCFunction
) _wrap_PyShape_RemoveFromCanvas
, METH_VARARGS
| METH_KEYWORDS
},
33408 { (char *)"PyShape_GetX", (PyCFunction
) _wrap_PyShape_GetX
, METH_VARARGS
| METH_KEYWORDS
},
33409 { (char *)"PyShape_GetY", (PyCFunction
) _wrap_PyShape_GetY
, METH_VARARGS
| METH_KEYWORDS
},
33410 { (char *)"PyShape_SetX", (PyCFunction
) _wrap_PyShape_SetX
, METH_VARARGS
| METH_KEYWORDS
},
33411 { (char *)"PyShape_SetY", (PyCFunction
) _wrap_PyShape_SetY
, METH_VARARGS
| METH_KEYWORDS
},
33412 { (char *)"PyShape_GetParent", (PyCFunction
) _wrap_PyShape_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
33413 { (char *)"PyShape_SetParent", (PyCFunction
) _wrap_PyShape_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
33414 { (char *)"PyShape_GetTopAncestor", (PyCFunction
) _wrap_PyShape_GetTopAncestor
, METH_VARARGS
| METH_KEYWORDS
},
33415 { (char *)"PyShape_GetChildren", (PyCFunction
) _wrap_PyShape_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
33416 { (char *)"PyShape_Unlink", (PyCFunction
) _wrap_PyShape_Unlink
, METH_VARARGS
| METH_KEYWORDS
},
33417 { (char *)"PyShape_SetDrawHandles", (PyCFunction
) _wrap_PyShape_SetDrawHandles
, METH_VARARGS
| METH_KEYWORDS
},
33418 { (char *)"PyShape_GetDrawHandles", (PyCFunction
) _wrap_PyShape_GetDrawHandles
, METH_VARARGS
| METH_KEYWORDS
},
33419 { (char *)"PyShape_MakeControlPoints", (PyCFunction
) _wrap_PyShape_MakeControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33420 { (char *)"PyShape_DeleteControlPoints", (PyCFunction
) _wrap_PyShape_DeleteControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33421 { (char *)"PyShape_ResetControlPoints", (PyCFunction
) _wrap_PyShape_ResetControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33422 { (char *)"PyShape_GetEventHandler", (PyCFunction
) _wrap_PyShape_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
33423 { (char *)"PyShape_SetEventHandler", (PyCFunction
) _wrap_PyShape_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
33424 { (char *)"PyShape_MakeMandatoryControlPoints", (PyCFunction
) _wrap_PyShape_MakeMandatoryControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33425 { (char *)"PyShape_ResetMandatoryControlPoints", (PyCFunction
) _wrap_PyShape_ResetMandatoryControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33426 { (char *)"PyShape_Recompute", (PyCFunction
) _wrap_PyShape_Recompute
, METH_VARARGS
| METH_KEYWORDS
},
33427 { (char *)"PyShape_CalculateSize", (PyCFunction
) _wrap_PyShape_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
},
33428 { (char *)"PyShape_Select", (PyCFunction
) _wrap_PyShape_Select
, METH_VARARGS
| METH_KEYWORDS
},
33429 { (char *)"PyShape_SetHighlight", (PyCFunction
) _wrap_PyShape_SetHighlight
, METH_VARARGS
| METH_KEYWORDS
},
33430 { (char *)"PyShape_IsHighlighted", (PyCFunction
) _wrap_PyShape_IsHighlighted
, METH_VARARGS
| METH_KEYWORDS
},
33431 { (char *)"PyShape_Selected", (PyCFunction
) _wrap_PyShape_Selected
, METH_VARARGS
| METH_KEYWORDS
},
33432 { (char *)"PyShape_AncestorSelected", (PyCFunction
) _wrap_PyShape_AncestorSelected
, METH_VARARGS
| METH_KEYWORDS
},
33433 { (char *)"PyShape_SetSensitivityFilter", (PyCFunction
) _wrap_PyShape_SetSensitivityFilter
, METH_VARARGS
| METH_KEYWORDS
},
33434 { (char *)"PyShape_GetSensitivityFilter", (PyCFunction
) _wrap_PyShape_GetSensitivityFilter
, METH_VARARGS
| METH_KEYWORDS
},
33435 { (char *)"PyShape_SetDraggable", (PyCFunction
) _wrap_PyShape_SetDraggable
, METH_VARARGS
| METH_KEYWORDS
},
33436 { (char *)"PyShape_SetFixedSize", (PyCFunction
) _wrap_PyShape_SetFixedSize
, METH_VARARGS
| METH_KEYWORDS
},
33437 { (char *)"PyShape_GetFixedSize", (PyCFunction
) _wrap_PyShape_GetFixedSize
, METH_VARARGS
| METH_KEYWORDS
},
33438 { (char *)"PyShape_GetFixedWidth", (PyCFunction
) _wrap_PyShape_GetFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
33439 { (char *)"PyShape_GetFixedHeight", (PyCFunction
) _wrap_PyShape_GetFixedHeight
, METH_VARARGS
| METH_KEYWORDS
},
33440 { (char *)"PyShape_SetSpaceAttachments", (PyCFunction
) _wrap_PyShape_SetSpaceAttachments
, METH_VARARGS
| METH_KEYWORDS
},
33441 { (char *)"PyShape_GetSpaceAttachments", (PyCFunction
) _wrap_PyShape_GetSpaceAttachments
, METH_VARARGS
| METH_KEYWORDS
},
33442 { (char *)"PyShape_SetShadowMode", (PyCFunction
) _wrap_PyShape_SetShadowMode
, METH_VARARGS
| METH_KEYWORDS
},
33443 { (char *)"PyShape_GetShadowMode", (PyCFunction
) _wrap_PyShape_GetShadowMode
, METH_VARARGS
| METH_KEYWORDS
},
33444 { (char *)"PyShape_HitTest", (PyCFunction
) _wrap_PyShape_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
33445 { (char *)"PyShape_SetCentreResize", (PyCFunction
) _wrap_PyShape_SetCentreResize
, METH_VARARGS
| METH_KEYWORDS
},
33446 { (char *)"PyShape_GetCentreResize", (PyCFunction
) _wrap_PyShape_GetCentreResize
, METH_VARARGS
| METH_KEYWORDS
},
33447 { (char *)"PyShape_SetMaintainAspectRatio", (PyCFunction
) _wrap_PyShape_SetMaintainAspectRatio
, METH_VARARGS
| METH_KEYWORDS
},
33448 { (char *)"PyShape_GetMaintainAspectRatio", (PyCFunction
) _wrap_PyShape_GetMaintainAspectRatio
, METH_VARARGS
| METH_KEYWORDS
},
33449 { (char *)"PyShape_GetLines", (PyCFunction
) _wrap_PyShape_GetLines
, METH_VARARGS
| METH_KEYWORDS
},
33450 { (char *)"PyShape_SetDisableLabel", (PyCFunction
) _wrap_PyShape_SetDisableLabel
, METH_VARARGS
| METH_KEYWORDS
},
33451 { (char *)"PyShape_GetDisableLabel", (PyCFunction
) _wrap_PyShape_GetDisableLabel
, METH_VARARGS
| METH_KEYWORDS
},
33452 { (char *)"PyShape_SetAttachmentMode", (PyCFunction
) _wrap_PyShape_SetAttachmentMode
, METH_VARARGS
| METH_KEYWORDS
},
33453 { (char *)"PyShape_GetAttachmentMode", (PyCFunction
) _wrap_PyShape_GetAttachmentMode
, METH_VARARGS
| METH_KEYWORDS
},
33454 { (char *)"PyShape_SetId", (PyCFunction
) _wrap_PyShape_SetId
, METH_VARARGS
| METH_KEYWORDS
},
33455 { (char *)"PyShape_GetId", (PyCFunction
) _wrap_PyShape_GetId
, METH_VARARGS
| METH_KEYWORDS
},
33456 { (char *)"PyShape_SetPen", (PyCFunction
) _wrap_PyShape_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
33457 { (char *)"PyShape_SetBrush", (PyCFunction
) _wrap_PyShape_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
33458 { (char *)"PyShape_Show", (PyCFunction
) _wrap_PyShape_Show
, METH_VARARGS
| METH_KEYWORDS
},
33459 { (char *)"PyShape_IsShown", (PyCFunction
) _wrap_PyShape_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
33460 { (char *)"PyShape_Move", (PyCFunction
) _wrap_PyShape_Move
, METH_VARARGS
| METH_KEYWORDS
},
33461 { (char *)"PyShape_Erase", (PyCFunction
) _wrap_PyShape_Erase
, METH_VARARGS
| METH_KEYWORDS
},
33462 { (char *)"PyShape_EraseContents", (PyCFunction
) _wrap_PyShape_EraseContents
, METH_VARARGS
| METH_KEYWORDS
},
33463 { (char *)"PyShape_Draw", (PyCFunction
) _wrap_PyShape_Draw
, METH_VARARGS
| METH_KEYWORDS
},
33464 { (char *)"PyShape_Flash", (PyCFunction
) _wrap_PyShape_Flash
, METH_VARARGS
| METH_KEYWORDS
},
33465 { (char *)"PyShape_MoveLinks", (PyCFunction
) _wrap_PyShape_MoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
33466 { (char *)"PyShape_DrawContents", (PyCFunction
) _wrap_PyShape_DrawContents
, METH_VARARGS
| METH_KEYWORDS
},
33467 { (char *)"PyShape_SetSize", (PyCFunction
) _wrap_PyShape_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
33468 { (char *)"PyShape_SetAttachmentSize", (PyCFunction
) _wrap_PyShape_SetAttachmentSize
, METH_VARARGS
| METH_KEYWORDS
},
33469 { (char *)"PyShape_Attach", (PyCFunction
) _wrap_PyShape_Attach
, METH_VARARGS
| METH_KEYWORDS
},
33470 { (char *)"PyShape_Detach", (PyCFunction
) _wrap_PyShape_Detach
, METH_VARARGS
| METH_KEYWORDS
},
33471 { (char *)"PyShape_Constrain", (PyCFunction
) _wrap_PyShape_Constrain
, METH_VARARGS
| METH_KEYWORDS
},
33472 { (char *)"PyShape_AddLine", (PyCFunction
) _wrap_PyShape_AddLine
, METH_VARARGS
| METH_KEYWORDS
},
33473 { (char *)"PyShape_GetLinePosition", (PyCFunction
) _wrap_PyShape_GetLinePosition
, METH_VARARGS
| METH_KEYWORDS
},
33474 { (char *)"PyShape_AddText", (PyCFunction
) _wrap_PyShape_AddText
, METH_VARARGS
| METH_KEYWORDS
},
33475 { (char *)"PyShape_GetPen", (PyCFunction
) _wrap_PyShape_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
33476 { (char *)"PyShape_GetBrush", (PyCFunction
) _wrap_PyShape_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
33477 { (char *)"PyShape_SetDefaultRegionSize", (PyCFunction
) _wrap_PyShape_SetDefaultRegionSize
, METH_VARARGS
| METH_KEYWORDS
},
33478 { (char *)"PyShape_FormatText", (PyCFunction
) _wrap_PyShape_FormatText
, METH_VARARGS
| METH_KEYWORDS
},
33479 { (char *)"PyShape_SetFormatMode", (PyCFunction
) _wrap_PyShape_SetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
33480 { (char *)"PyShape_GetFormatMode", (PyCFunction
) _wrap_PyShape_GetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
33481 { (char *)"PyShape_SetFont", (PyCFunction
) _wrap_PyShape_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
33482 { (char *)"PyShape_GetFont", (PyCFunction
) _wrap_PyShape_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
33483 { (char *)"PyShape_SetTextColour", (PyCFunction
) _wrap_PyShape_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
33484 { (char *)"PyShape_GetTextColour", (PyCFunction
) _wrap_PyShape_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
33485 { (char *)"PyShape_GetNumberOfTextRegions", (PyCFunction
) _wrap_PyShape_GetNumberOfTextRegions
, METH_VARARGS
| METH_KEYWORDS
},
33486 { (char *)"PyShape_SetRegionName", (PyCFunction
) _wrap_PyShape_SetRegionName
, METH_VARARGS
| METH_KEYWORDS
},
33487 { (char *)"PyShape_GetRegionName", (PyCFunction
) _wrap_PyShape_GetRegionName
, METH_VARARGS
| METH_KEYWORDS
},
33488 { (char *)"PyShape_GetRegionId", (PyCFunction
) _wrap_PyShape_GetRegionId
, METH_VARARGS
| METH_KEYWORDS
},
33489 { (char *)"PyShape_NameRegions", (PyCFunction
) _wrap_PyShape_NameRegions
, METH_VARARGS
| METH_KEYWORDS
},
33490 { (char *)"PyShape_GetRegions", (PyCFunction
) _wrap_PyShape_GetRegions
, METH_VARARGS
| METH_KEYWORDS
},
33491 { (char *)"PyShape_AddRegion", (PyCFunction
) _wrap_PyShape_AddRegion
, METH_VARARGS
| METH_KEYWORDS
},
33492 { (char *)"PyShape_ClearRegions", (PyCFunction
) _wrap_PyShape_ClearRegions
, METH_VARARGS
| METH_KEYWORDS
},
33493 { (char *)"PyShape_AssignNewIds", (PyCFunction
) _wrap_PyShape_AssignNewIds
, METH_VARARGS
| METH_KEYWORDS
},
33494 { (char *)"PyShape_FindRegion", (PyCFunction
) _wrap_PyShape_FindRegion
, METH_VARARGS
| METH_KEYWORDS
},
33495 { (char *)"PyShape_FindRegionNames", (PyCFunction
) _wrap_PyShape_FindRegionNames
, METH_VARARGS
| METH_KEYWORDS
},
33496 { (char *)"PyShape_ClearText", (PyCFunction
) _wrap_PyShape_ClearText
, METH_VARARGS
| METH_KEYWORDS
},
33497 { (char *)"PyShape_RemoveLine", (PyCFunction
) _wrap_PyShape_RemoveLine
, METH_VARARGS
| METH_KEYWORDS
},
33498 { (char *)"PyShape_GetAttachmentPosition", (PyCFunction
) _wrap_PyShape_GetAttachmentPosition
, METH_VARARGS
| METH_KEYWORDS
},
33499 { (char *)"PyShape_GetNumberOfAttachments", (PyCFunction
) _wrap_PyShape_GetNumberOfAttachments
, METH_VARARGS
| METH_KEYWORDS
},
33500 { (char *)"PyShape_AttachmentIsValid", (PyCFunction
) _wrap_PyShape_AttachmentIsValid
, METH_VARARGS
| METH_KEYWORDS
},
33501 { (char *)"PyShape_GetAttachments", (PyCFunction
) _wrap_PyShape_GetAttachments
, METH_VARARGS
| METH_KEYWORDS
},
33502 { (char *)"PyShape_GetAttachmentPositionEdge", (PyCFunction
) _wrap_PyShape_GetAttachmentPositionEdge
, METH_VARARGS
| METH_KEYWORDS
},
33503 { (char *)"PyShape_CalcSimpleAttachment", (PyCFunction
) _wrap_PyShape_CalcSimpleAttachment
, METH_VARARGS
| METH_KEYWORDS
},
33504 { (char *)"PyShape_AttachmentSortTest", (PyCFunction
) _wrap_PyShape_AttachmentSortTest
, METH_VARARGS
| METH_KEYWORDS
},
33505 { (char *)"PyShape_EraseLinks", (PyCFunction
) _wrap_PyShape_EraseLinks
, METH_VARARGS
| METH_KEYWORDS
},
33506 { (char *)"PyShape_DrawLinks", (PyCFunction
) _wrap_PyShape_DrawLinks
, METH_VARARGS
| METH_KEYWORDS
},
33507 { (char *)"PyShape_MoveLineToNewAttachment", (PyCFunction
) _wrap_PyShape_MoveLineToNewAttachment
, METH_VARARGS
| METH_KEYWORDS
},
33508 { (char *)"PyShape_ApplyAttachmentOrdering", (PyCFunction
) _wrap_PyShape_ApplyAttachmentOrdering
, METH_VARARGS
| METH_KEYWORDS
},
33509 { (char *)"PyShape_GetBranchingAttachmentRoot", (PyCFunction
) _wrap_PyShape_GetBranchingAttachmentRoot
, METH_VARARGS
| METH_KEYWORDS
},
33510 { (char *)"PyShape_GetBranchingAttachmentInfo", (PyCFunction
) _wrap_PyShape_GetBranchingAttachmentInfo
, METH_VARARGS
| METH_KEYWORDS
},
33511 { (char *)"PyShape_GetBranchingAttachmentPoint", (PyCFunction
) _wrap_PyShape_GetBranchingAttachmentPoint
, METH_VARARGS
| METH_KEYWORDS
},
33512 { (char *)"PyShape_GetAttachmentLineCount", (PyCFunction
) _wrap_PyShape_GetAttachmentLineCount
, METH_VARARGS
| METH_KEYWORDS
},
33513 { (char *)"PyShape_SetBranchNeckLength", (PyCFunction
) _wrap_PyShape_SetBranchNeckLength
, METH_VARARGS
| METH_KEYWORDS
},
33514 { (char *)"PyShape_GetBranchNeckLength", (PyCFunction
) _wrap_PyShape_GetBranchNeckLength
, METH_VARARGS
| METH_KEYWORDS
},
33515 { (char *)"PyShape_SetBranchStemLength", (PyCFunction
) _wrap_PyShape_SetBranchStemLength
, METH_VARARGS
| METH_KEYWORDS
},
33516 { (char *)"PyShape_GetBranchStemLength", (PyCFunction
) _wrap_PyShape_GetBranchStemLength
, METH_VARARGS
| METH_KEYWORDS
},
33517 { (char *)"PyShape_SetBranchSpacing", (PyCFunction
) _wrap_PyShape_SetBranchSpacing
, METH_VARARGS
| METH_KEYWORDS
},
33518 { (char *)"PyShape_GetBranchSpacing", (PyCFunction
) _wrap_PyShape_GetBranchSpacing
, METH_VARARGS
| METH_KEYWORDS
},
33519 { (char *)"PyShape_SetBranchStyle", (PyCFunction
) _wrap_PyShape_SetBranchStyle
, METH_VARARGS
| METH_KEYWORDS
},
33520 { (char *)"PyShape_GetBranchStyle", (PyCFunction
) _wrap_PyShape_GetBranchStyle
, METH_VARARGS
| METH_KEYWORDS
},
33521 { (char *)"PyShape_PhysicalToLogicalAttachment", (PyCFunction
) _wrap_PyShape_PhysicalToLogicalAttachment
, METH_VARARGS
| METH_KEYWORDS
},
33522 { (char *)"PyShape_LogicalToPhysicalAttachment", (PyCFunction
) _wrap_PyShape_LogicalToPhysicalAttachment
, METH_VARARGS
| METH_KEYWORDS
},
33523 { (char *)"PyShape_Draggable", (PyCFunction
) _wrap_PyShape_Draggable
, METH_VARARGS
| METH_KEYWORDS
},
33524 { (char *)"PyShape_HasDescendant", (PyCFunction
) _wrap_PyShape_HasDescendant
, METH_VARARGS
| METH_KEYWORDS
},
33525 { (char *)"PyShape_CreateNewCopy", (PyCFunction
) _wrap_PyShape_CreateNewCopy
, METH_VARARGS
| METH_KEYWORDS
},
33526 { (char *)"PyShape_Copy", (PyCFunction
) _wrap_PyShape_Copy
, METH_VARARGS
| METH_KEYWORDS
},
33527 { (char *)"PyShape_CopyWithHandler", (PyCFunction
) _wrap_PyShape_CopyWithHandler
, METH_VARARGS
| METH_KEYWORDS
},
33528 { (char *)"PyShape_Rotate", (PyCFunction
) _wrap_PyShape_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
33529 { (char *)"PyShape_GetRotation", (PyCFunction
) _wrap_PyShape_GetRotation
, METH_VARARGS
| METH_KEYWORDS
},
33530 { (char *)"PyShape_SetRotation", (PyCFunction
) _wrap_PyShape_SetRotation
, METH_VARARGS
| METH_KEYWORDS
},
33531 { (char *)"PyShape_ClearAttachments", (PyCFunction
) _wrap_PyShape_ClearAttachments
, METH_VARARGS
| METH_KEYWORDS
},
33532 { (char *)"PyShape_Recentre", (PyCFunction
) _wrap_PyShape_Recentre
, METH_VARARGS
| METH_KEYWORDS
},
33533 { (char *)"PyShape_ClearPointList", (PyCFunction
) _wrap_PyShape_ClearPointList
, METH_VARARGS
| METH_KEYWORDS
},
33534 { (char *)"PyShape_GetBackgroundPen", (PyCFunction
) _wrap_PyShape_GetBackgroundPen
, METH_VARARGS
| METH_KEYWORDS
},
33535 { (char *)"PyShape_GetBackgroundBrush", (PyCFunction
) _wrap_PyShape_GetBackgroundBrush
, METH_VARARGS
| METH_KEYWORDS
},
33536 { (char *)"PyShape_base_OnDelete", (PyCFunction
) _wrap_PyShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
33537 { (char *)"PyShape_base_OnDraw", (PyCFunction
) _wrap_PyShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
33538 { (char *)"PyShape_base_OnDrawContents", (PyCFunction
) _wrap_PyShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
33539 { (char *)"PyShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
33540 { (char *)"PyShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
33541 { (char *)"PyShape_base_OnErase", (PyCFunction
) _wrap_PyShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
33542 { (char *)"PyShape_base_OnEraseContents", (PyCFunction
) _wrap_PyShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
33543 { (char *)"PyShape_base_OnHighlight", (PyCFunction
) _wrap_PyShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
33544 { (char *)"PyShape_base_OnLeftClick", (PyCFunction
) _wrap_PyShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
33545 { (char *)"PyShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
33546 { (char *)"PyShape_base_OnRightClick", (PyCFunction
) _wrap_PyShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
33547 { (char *)"PyShape_base_OnSize", (PyCFunction
) _wrap_PyShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
33548 { (char *)"PyShape_base_OnMovePre", (PyCFunction
) _wrap_PyShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
33549 { (char *)"PyShape_base_OnMovePost", (PyCFunction
) _wrap_PyShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
33550 { (char *)"PyShape_base_OnDragLeft", (PyCFunction
) _wrap_PyShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33551 { (char *)"PyShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33552 { (char *)"PyShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33553 { (char *)"PyShape_base_OnDragRight", (PyCFunction
) _wrap_PyShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33554 { (char *)"PyShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33555 { (char *)"PyShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33556 { (char *)"PyShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
33557 { (char *)"PyShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33558 { (char *)"PyShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33559 { (char *)"PyShape_base_OnMoveLink", (PyCFunction
) _wrap_PyShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
33560 { (char *)"PyShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33561 { (char *)"PyShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33562 { (char *)"PyShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33563 { (char *)"PyShape_base_OnBeginSize", (PyCFunction
) _wrap_PyShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
33564 { (char *)"PyShape_base_OnEndSize", (PyCFunction
) _wrap_PyShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
33565 { (char *)"PyShape_swigregister", PyShape_swigregister
, METH_VARARGS
},
33566 { (char *)"new_PseudoMetaFile", (PyCFunction
) _wrap_new_PseudoMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
33567 { (char *)"delete_PseudoMetaFile", (PyCFunction
) _wrap_delete_PseudoMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
33568 { (char *)"PseudoMetaFile_Draw", (PyCFunction
) _wrap_PseudoMetaFile_Draw
, METH_VARARGS
| METH_KEYWORDS
},
33569 { (char *)"PseudoMetaFile_Clear", (PyCFunction
) _wrap_PseudoMetaFile_Clear
, METH_VARARGS
| METH_KEYWORDS
},
33570 { (char *)"PseudoMetaFile_Copy", (PyCFunction
) _wrap_PseudoMetaFile_Copy
, METH_VARARGS
| METH_KEYWORDS
},
33571 { (char *)"PseudoMetaFile_Scale", (PyCFunction
) _wrap_PseudoMetaFile_Scale
, METH_VARARGS
| METH_KEYWORDS
},
33572 { (char *)"PseudoMetaFile_ScaleTo", (PyCFunction
) _wrap_PseudoMetaFile_ScaleTo
, METH_VARARGS
| METH_KEYWORDS
},
33573 { (char *)"PseudoMetaFile_Translate", (PyCFunction
) _wrap_PseudoMetaFile_Translate
, METH_VARARGS
| METH_KEYWORDS
},
33574 { (char *)"PseudoMetaFile_Rotate", (PyCFunction
) _wrap_PseudoMetaFile_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
33575 { (char *)"PseudoMetaFile_LoadFromMetaFile", (PyCFunction
) _wrap_PseudoMetaFile_LoadFromMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
33576 { (char *)"PseudoMetaFile_GetBounds", (PyCFunction
) _wrap_PseudoMetaFile_GetBounds
, METH_VARARGS
| METH_KEYWORDS
},
33577 { (char *)"PseudoMetaFile_CalculateSize", (PyCFunction
) _wrap_PseudoMetaFile_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
},
33578 { (char *)"PseudoMetaFile_SetRotateable", (PyCFunction
) _wrap_PseudoMetaFile_SetRotateable
, METH_VARARGS
| METH_KEYWORDS
},
33579 { (char *)"PseudoMetaFile_GetRotateable", (PyCFunction
) _wrap_PseudoMetaFile_GetRotateable
, METH_VARARGS
| METH_KEYWORDS
},
33580 { (char *)"PseudoMetaFile_SetSize", (PyCFunction
) _wrap_PseudoMetaFile_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
33581 { (char *)"PseudoMetaFile_SetFillBrush", (PyCFunction
) _wrap_PseudoMetaFile_SetFillBrush
, METH_VARARGS
| METH_KEYWORDS
},
33582 { (char *)"PseudoMetaFile_GetFillBrush", (PyCFunction
) _wrap_PseudoMetaFile_GetFillBrush
, METH_VARARGS
| METH_KEYWORDS
},
33583 { (char *)"PseudoMetaFile_SetOutlinePen", (PyCFunction
) _wrap_PseudoMetaFile_SetOutlinePen
, METH_VARARGS
| METH_KEYWORDS
},
33584 { (char *)"PseudoMetaFile_GetOutlinePen", (PyCFunction
) _wrap_PseudoMetaFile_GetOutlinePen
, METH_VARARGS
| METH_KEYWORDS
},
33585 { (char *)"PseudoMetaFile_SetOutlineOp", (PyCFunction
) _wrap_PseudoMetaFile_SetOutlineOp
, METH_VARARGS
| METH_KEYWORDS
},
33586 { (char *)"PseudoMetaFile_GetOutlineOp", (PyCFunction
) _wrap_PseudoMetaFile_GetOutlineOp
, METH_VARARGS
| METH_KEYWORDS
},
33587 { (char *)"PseudoMetaFile_IsValid", (PyCFunction
) _wrap_PseudoMetaFile_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
33588 { (char *)"PseudoMetaFile_DrawLine", (PyCFunction
) _wrap_PseudoMetaFile_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
33589 { (char *)"PseudoMetaFile_DrawRectangle", (PyCFunction
) _wrap_PseudoMetaFile_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
33590 { (char *)"PseudoMetaFile_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoMetaFile_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
33591 { (char *)"PseudoMetaFile_DrawArc", (PyCFunction
) _wrap_PseudoMetaFile_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
33592 { (char *)"PseudoMetaFile_DrawEllipticArc", (PyCFunction
) _wrap_PseudoMetaFile_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
33593 { (char *)"PseudoMetaFile_DrawEllipse", (PyCFunction
) _wrap_PseudoMetaFile_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
33594 { (char *)"PseudoMetaFile_DrawPoint", (PyCFunction
) _wrap_PseudoMetaFile_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
33595 { (char *)"PseudoMetaFile_DrawText", (PyCFunction
) _wrap_PseudoMetaFile_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
33596 { (char *)"PseudoMetaFile_DrawLines", (PyCFunction
) _wrap_PseudoMetaFile_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
33597 { (char *)"PseudoMetaFile_DrawPolygon", (PyCFunction
) _wrap_PseudoMetaFile_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
33598 { (char *)"PseudoMetaFile_DrawSpline", (PyCFunction
) _wrap_PseudoMetaFile_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
33599 { (char *)"PseudoMetaFile_SetClippingRect", (PyCFunction
) _wrap_PseudoMetaFile_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
33600 { (char *)"PseudoMetaFile_DestroyClippingRect", (PyCFunction
) _wrap_PseudoMetaFile_DestroyClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
33601 { (char *)"PseudoMetaFile_SetPen", (PyCFunction
) _wrap_PseudoMetaFile_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
33602 { (char *)"PseudoMetaFile_SetBrush", (PyCFunction
) _wrap_PseudoMetaFile_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
33603 { (char *)"PseudoMetaFile_SetFont", (PyCFunction
) _wrap_PseudoMetaFile_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
33604 { (char *)"PseudoMetaFile_SetTextColour", (PyCFunction
) _wrap_PseudoMetaFile_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
33605 { (char *)"PseudoMetaFile_SetBackgroundColour", (PyCFunction
) _wrap_PseudoMetaFile_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
33606 { (char *)"PseudoMetaFile_SetBackgroundMode", (PyCFunction
) _wrap_PseudoMetaFile_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
33607 { (char *)"PseudoMetaFile_swigregister", PseudoMetaFile_swigregister
, METH_VARARGS
},
33608 { (char *)"new_PyRectangleShape", (PyCFunction
) _wrap_new_PyRectangleShape
, METH_VARARGS
| METH_KEYWORDS
},
33609 { (char *)"PyRectangleShape__setCallbackInfo", (PyCFunction
) _wrap_PyRectangleShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
33610 { (char *)"PyRectangleShape_SetCornerRadius", (PyCFunction
) _wrap_PyRectangleShape_SetCornerRadius
, METH_VARARGS
| METH_KEYWORDS
},
33611 { (char *)"PyRectangleShape_GetCornerRadius", (PyCFunction
) _wrap_PyRectangleShape_GetCornerRadius
, METH_VARARGS
| METH_KEYWORDS
},
33612 { (char *)"PyRectangleShape_base_OnDelete", (PyCFunction
) _wrap_PyRectangleShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
33613 { (char *)"PyRectangleShape_base_OnDraw", (PyCFunction
) _wrap_PyRectangleShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
33614 { (char *)"PyRectangleShape_base_OnDrawContents", (PyCFunction
) _wrap_PyRectangleShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
33615 { (char *)"PyRectangleShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyRectangleShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
33616 { (char *)"PyRectangleShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyRectangleShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
33617 { (char *)"PyRectangleShape_base_OnErase", (PyCFunction
) _wrap_PyRectangleShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
33618 { (char *)"PyRectangleShape_base_OnEraseContents", (PyCFunction
) _wrap_PyRectangleShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
33619 { (char *)"PyRectangleShape_base_OnHighlight", (PyCFunction
) _wrap_PyRectangleShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
33620 { (char *)"PyRectangleShape_base_OnLeftClick", (PyCFunction
) _wrap_PyRectangleShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
33621 { (char *)"PyRectangleShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyRectangleShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
33622 { (char *)"PyRectangleShape_base_OnRightClick", (PyCFunction
) _wrap_PyRectangleShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
33623 { (char *)"PyRectangleShape_base_OnSize", (PyCFunction
) _wrap_PyRectangleShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
33624 { (char *)"PyRectangleShape_base_OnMovePre", (PyCFunction
) _wrap_PyRectangleShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
33625 { (char *)"PyRectangleShape_base_OnMovePost", (PyCFunction
) _wrap_PyRectangleShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
33626 { (char *)"PyRectangleShape_base_OnDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33627 { (char *)"PyRectangleShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33628 { (char *)"PyRectangleShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33629 { (char *)"PyRectangleShape_base_OnDragRight", (PyCFunction
) _wrap_PyRectangleShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33630 { (char *)"PyRectangleShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyRectangleShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33631 { (char *)"PyRectangleShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyRectangleShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33632 { (char *)"PyRectangleShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyRectangleShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
33633 { (char *)"PyRectangleShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyRectangleShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33634 { (char *)"PyRectangleShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyRectangleShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33635 { (char *)"PyRectangleShape_base_OnMoveLink", (PyCFunction
) _wrap_PyRectangleShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
33636 { (char *)"PyRectangleShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33637 { (char *)"PyRectangleShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33638 { (char *)"PyRectangleShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33639 { (char *)"PyRectangleShape_base_OnBeginSize", (PyCFunction
) _wrap_PyRectangleShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
33640 { (char *)"PyRectangleShape_base_OnEndSize", (PyCFunction
) _wrap_PyRectangleShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
33641 { (char *)"PyRectangleShape_swigregister", PyRectangleShape_swigregister
, METH_VARARGS
},
33642 { (char *)"new_PyControlPoint", (PyCFunction
) _wrap_new_PyControlPoint
, METH_VARARGS
| METH_KEYWORDS
},
33643 { (char *)"PyControlPoint__setCallbackInfo", (PyCFunction
) _wrap_PyControlPoint__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
33644 { (char *)"PyControlPoint_SetCornerRadius", (PyCFunction
) _wrap_PyControlPoint_SetCornerRadius
, METH_VARARGS
| METH_KEYWORDS
},
33645 { (char *)"PyControlPoint_base_OnDelete", (PyCFunction
) _wrap_PyControlPoint_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
33646 { (char *)"PyControlPoint_base_OnDraw", (PyCFunction
) _wrap_PyControlPoint_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
33647 { (char *)"PyControlPoint_base_OnDrawContents", (PyCFunction
) _wrap_PyControlPoint_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
33648 { (char *)"PyControlPoint_base_OnDrawBranches", (PyCFunction
) _wrap_PyControlPoint_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
33649 { (char *)"PyControlPoint_base_OnMoveLinks", (PyCFunction
) _wrap_PyControlPoint_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
33650 { (char *)"PyControlPoint_base_OnErase", (PyCFunction
) _wrap_PyControlPoint_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
33651 { (char *)"PyControlPoint_base_OnEraseContents", (PyCFunction
) _wrap_PyControlPoint_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
33652 { (char *)"PyControlPoint_base_OnHighlight", (PyCFunction
) _wrap_PyControlPoint_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
33653 { (char *)"PyControlPoint_base_OnLeftClick", (PyCFunction
) _wrap_PyControlPoint_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
33654 { (char *)"PyControlPoint_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyControlPoint_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
33655 { (char *)"PyControlPoint_base_OnRightClick", (PyCFunction
) _wrap_PyControlPoint_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
33656 { (char *)"PyControlPoint_base_OnSize", (PyCFunction
) _wrap_PyControlPoint_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
33657 { (char *)"PyControlPoint_base_OnMovePre", (PyCFunction
) _wrap_PyControlPoint_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
33658 { (char *)"PyControlPoint_base_OnMovePost", (PyCFunction
) _wrap_PyControlPoint_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
33659 { (char *)"PyControlPoint_base_OnDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33660 { (char *)"PyControlPoint_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33661 { (char *)"PyControlPoint_base_OnEndDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33662 { (char *)"PyControlPoint_base_OnDragRight", (PyCFunction
) _wrap_PyControlPoint_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33663 { (char *)"PyControlPoint_base_OnBeginDragRight", (PyCFunction
) _wrap_PyControlPoint_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33664 { (char *)"PyControlPoint_base_OnEndDragRight", (PyCFunction
) _wrap_PyControlPoint_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33665 { (char *)"PyControlPoint_base_OnDrawOutline", (PyCFunction
) _wrap_PyControlPoint_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
33666 { (char *)"PyControlPoint_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyControlPoint_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33667 { (char *)"PyControlPoint_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyControlPoint_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33668 { (char *)"PyControlPoint_base_OnMoveLink", (PyCFunction
) _wrap_PyControlPoint_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
33669 { (char *)"PyControlPoint_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33670 { (char *)"PyControlPoint_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33671 { (char *)"PyControlPoint_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33672 { (char *)"PyControlPoint_base_OnBeginSize", (PyCFunction
) _wrap_PyControlPoint_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
33673 { (char *)"PyControlPoint_base_OnEndSize", (PyCFunction
) _wrap_PyControlPoint_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
33674 { (char *)"PyControlPoint_swigregister", PyControlPoint_swigregister
, METH_VARARGS
},
33675 { (char *)"new_PyBitmapShape", (PyCFunction
) _wrap_new_PyBitmapShape
, METH_VARARGS
| METH_KEYWORDS
},
33676 { (char *)"PyBitmapShape__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
33677 { (char *)"PyBitmapShape_GetBitmap", (PyCFunction
) _wrap_PyBitmapShape_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
33678 { (char *)"PyBitmapShape_GetFilename", (PyCFunction
) _wrap_PyBitmapShape_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
33679 { (char *)"PyBitmapShape_SetBitmap", (PyCFunction
) _wrap_PyBitmapShape_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
33680 { (char *)"PyBitmapShape_SetFilename", (PyCFunction
) _wrap_PyBitmapShape_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
33681 { (char *)"PyBitmapShape_base_OnDelete", (PyCFunction
) _wrap_PyBitmapShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
33682 { (char *)"PyBitmapShape_base_OnDraw", (PyCFunction
) _wrap_PyBitmapShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
33683 { (char *)"PyBitmapShape_base_OnDrawContents", (PyCFunction
) _wrap_PyBitmapShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
33684 { (char *)"PyBitmapShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyBitmapShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
33685 { (char *)"PyBitmapShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyBitmapShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
33686 { (char *)"PyBitmapShape_base_OnErase", (PyCFunction
) _wrap_PyBitmapShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
33687 { (char *)"PyBitmapShape_base_OnEraseContents", (PyCFunction
) _wrap_PyBitmapShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
33688 { (char *)"PyBitmapShape_base_OnHighlight", (PyCFunction
) _wrap_PyBitmapShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
33689 { (char *)"PyBitmapShape_base_OnLeftClick", (PyCFunction
) _wrap_PyBitmapShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
33690 { (char *)"PyBitmapShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyBitmapShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
33691 { (char *)"PyBitmapShape_base_OnRightClick", (PyCFunction
) _wrap_PyBitmapShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
33692 { (char *)"PyBitmapShape_base_OnSize", (PyCFunction
) _wrap_PyBitmapShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
33693 { (char *)"PyBitmapShape_base_OnMovePre", (PyCFunction
) _wrap_PyBitmapShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
33694 { (char *)"PyBitmapShape_base_OnMovePost", (PyCFunction
) _wrap_PyBitmapShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
33695 { (char *)"PyBitmapShape_base_OnDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33696 { (char *)"PyBitmapShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33697 { (char *)"PyBitmapShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33698 { (char *)"PyBitmapShape_base_OnDragRight", (PyCFunction
) _wrap_PyBitmapShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33699 { (char *)"PyBitmapShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyBitmapShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33700 { (char *)"PyBitmapShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyBitmapShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33701 { (char *)"PyBitmapShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyBitmapShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
33702 { (char *)"PyBitmapShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyBitmapShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33703 { (char *)"PyBitmapShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyBitmapShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33704 { (char *)"PyBitmapShape_base_OnMoveLink", (PyCFunction
) _wrap_PyBitmapShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
33705 { (char *)"PyBitmapShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33706 { (char *)"PyBitmapShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33707 { (char *)"PyBitmapShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33708 { (char *)"PyBitmapShape_base_OnBeginSize", (PyCFunction
) _wrap_PyBitmapShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
33709 { (char *)"PyBitmapShape_base_OnEndSize", (PyCFunction
) _wrap_PyBitmapShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
33710 { (char *)"PyBitmapShape_swigregister", PyBitmapShape_swigregister
, METH_VARARGS
},
33711 { (char *)"new_PyDrawnShape", (PyCFunction
) _wrap_new_PyDrawnShape
, METH_VARARGS
| METH_KEYWORDS
},
33712 { (char *)"PyDrawnShape__setCallbackInfo", (PyCFunction
) _wrap_PyDrawnShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
33713 { (char *)"PyDrawnShape_CalculateSize", (PyCFunction
) _wrap_PyDrawnShape_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
},
33714 { (char *)"PyDrawnShape_DestroyClippingRect", (PyCFunction
) _wrap_PyDrawnShape_DestroyClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
33715 { (char *)"PyDrawnShape_DrawArc", (PyCFunction
) _wrap_PyDrawnShape_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
33716 { (char *)"PyDrawnShape_DrawAtAngle", (PyCFunction
) _wrap_PyDrawnShape_DrawAtAngle
, METH_VARARGS
| METH_KEYWORDS
},
33717 { (char *)"PyDrawnShape_DrawEllipticArc", (PyCFunction
) _wrap_PyDrawnShape_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
33718 { (char *)"PyDrawnShape_DrawLine", (PyCFunction
) _wrap_PyDrawnShape_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
33719 { (char *)"PyDrawnShape_DrawLines", (PyCFunction
) _wrap_PyDrawnShape_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
33720 { (char *)"PyDrawnShape_DrawPoint", (PyCFunction
) _wrap_PyDrawnShape_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
33721 { (char *)"PyDrawnShape_DrawPolygon", (PyCFunction
) _wrap_PyDrawnShape_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
33722 { (char *)"PyDrawnShape_DrawRectangle", (PyCFunction
) _wrap_PyDrawnShape_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
33723 { (char *)"PyDrawnShape_DrawRoundedRectangle", (PyCFunction
) _wrap_PyDrawnShape_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
33724 { (char *)"PyDrawnShape_DrawSpline", (PyCFunction
) _wrap_PyDrawnShape_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
33725 { (char *)"PyDrawnShape_DrawText", (PyCFunction
) _wrap_PyDrawnShape_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
33726 { (char *)"PyDrawnShape_GetAngle", (PyCFunction
) _wrap_PyDrawnShape_GetAngle
, METH_VARARGS
| METH_KEYWORDS
},
33727 { (char *)"PyDrawnShape_GetMetaFile", (PyCFunction
) _wrap_PyDrawnShape_GetMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
33728 { (char *)"PyDrawnShape_GetRotation", (PyCFunction
) _wrap_PyDrawnShape_GetRotation
, METH_VARARGS
| METH_KEYWORDS
},
33729 { (char *)"PyDrawnShape_LoadFromMetaFile", (PyCFunction
) _wrap_PyDrawnShape_LoadFromMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
33730 { (char *)"PyDrawnShape_Rotate", (PyCFunction
) _wrap_PyDrawnShape_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
33731 { (char *)"PyDrawnShape_SetClippingRect", (PyCFunction
) _wrap_PyDrawnShape_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
33732 { (char *)"PyDrawnShape_SetDrawnBackgroundColour", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
33733 { (char *)"PyDrawnShape_SetDrawnBackgroundMode", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
33734 { (char *)"PyDrawnShape_SetDrawnBrush", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnBrush
, METH_VARARGS
| METH_KEYWORDS
},
33735 { (char *)"PyDrawnShape_SetDrawnFont", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnFont
, METH_VARARGS
| METH_KEYWORDS
},
33736 { (char *)"PyDrawnShape_SetDrawnPen", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnPen
, METH_VARARGS
| METH_KEYWORDS
},
33737 { (char *)"PyDrawnShape_SetDrawnTextColour", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnTextColour
, METH_VARARGS
| METH_KEYWORDS
},
33738 { (char *)"PyDrawnShape_Scale", (PyCFunction
) _wrap_PyDrawnShape_Scale
, METH_VARARGS
| METH_KEYWORDS
},
33739 { (char *)"PyDrawnShape_SetSaveToFile", (PyCFunction
) _wrap_PyDrawnShape_SetSaveToFile
, METH_VARARGS
| METH_KEYWORDS
},
33740 { (char *)"PyDrawnShape_Translate", (PyCFunction
) _wrap_PyDrawnShape_Translate
, METH_VARARGS
| METH_KEYWORDS
},
33741 { (char *)"PyDrawnShape_base_OnDelete", (PyCFunction
) _wrap_PyDrawnShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
33742 { (char *)"PyDrawnShape_base_OnDraw", (PyCFunction
) _wrap_PyDrawnShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
33743 { (char *)"PyDrawnShape_base_OnDrawContents", (PyCFunction
) _wrap_PyDrawnShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
33744 { (char *)"PyDrawnShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyDrawnShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
33745 { (char *)"PyDrawnShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyDrawnShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
33746 { (char *)"PyDrawnShape_base_OnErase", (PyCFunction
) _wrap_PyDrawnShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
33747 { (char *)"PyDrawnShape_base_OnEraseContents", (PyCFunction
) _wrap_PyDrawnShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
33748 { (char *)"PyDrawnShape_base_OnHighlight", (PyCFunction
) _wrap_PyDrawnShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
33749 { (char *)"PyDrawnShape_base_OnLeftClick", (PyCFunction
) _wrap_PyDrawnShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
33750 { (char *)"PyDrawnShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyDrawnShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
33751 { (char *)"PyDrawnShape_base_OnRightClick", (PyCFunction
) _wrap_PyDrawnShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
33752 { (char *)"PyDrawnShape_base_OnSize", (PyCFunction
) _wrap_PyDrawnShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
33753 { (char *)"PyDrawnShape_base_OnMovePre", (PyCFunction
) _wrap_PyDrawnShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
33754 { (char *)"PyDrawnShape_base_OnMovePost", (PyCFunction
) _wrap_PyDrawnShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
33755 { (char *)"PyDrawnShape_base_OnDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33756 { (char *)"PyDrawnShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33757 { (char *)"PyDrawnShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33758 { (char *)"PyDrawnShape_base_OnDragRight", (PyCFunction
) _wrap_PyDrawnShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33759 { (char *)"PyDrawnShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyDrawnShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33760 { (char *)"PyDrawnShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyDrawnShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33761 { (char *)"PyDrawnShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyDrawnShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
33762 { (char *)"PyDrawnShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyDrawnShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33763 { (char *)"PyDrawnShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyDrawnShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33764 { (char *)"PyDrawnShape_base_OnMoveLink", (PyCFunction
) _wrap_PyDrawnShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
33765 { (char *)"PyDrawnShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33766 { (char *)"PyDrawnShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33767 { (char *)"PyDrawnShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33768 { (char *)"PyDrawnShape_base_OnBeginSize", (PyCFunction
) _wrap_PyDrawnShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
33769 { (char *)"PyDrawnShape_base_OnEndSize", (PyCFunction
) _wrap_PyDrawnShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
33770 { (char *)"PyDrawnShape_swigregister", PyDrawnShape_swigregister
, METH_VARARGS
},
33771 { (char *)"new_OGLConstraint", (PyCFunction
) _wrap_new_OGLConstraint
, METH_VARARGS
| METH_KEYWORDS
},
33772 { (char *)"OGLConstraint_Evaluate", (PyCFunction
) _wrap_OGLConstraint_Evaluate
, METH_VARARGS
| METH_KEYWORDS
},
33773 { (char *)"OGLConstraint_SetSpacing", (PyCFunction
) _wrap_OGLConstraint_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
33774 { (char *)"OGLConstraint_Equals", (PyCFunction
) _wrap_OGLConstraint_Equals
, METH_VARARGS
| METH_KEYWORDS
},
33775 { (char *)"OGLConstraint_swigregister", OGLConstraint_swigregister
, METH_VARARGS
},
33776 { (char *)"new_PyCompositeShape", (PyCFunction
) _wrap_new_PyCompositeShape
, METH_VARARGS
| METH_KEYWORDS
},
33777 { (char *)"PyCompositeShape__setCallbackInfo", (PyCFunction
) _wrap_PyCompositeShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
33778 { (char *)"PyCompositeShape_AddChild", (PyCFunction
) _wrap_PyCompositeShape_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
33779 { (char *)"PyCompositeShape_AddConstraint", (PyCFunction
) _wrap_PyCompositeShape_AddConstraint
, METH_VARARGS
| METH_KEYWORDS
},
33780 { (char *)"PyCompositeShape_AddConstrainedShapes", (PyCFunction
) _wrap_PyCompositeShape_AddConstrainedShapes
, METH_VARARGS
| METH_KEYWORDS
},
33781 { (char *)"PyCompositeShape_AddSimpleConstraint", (PyCFunction
) _wrap_PyCompositeShape_AddSimpleConstraint
, METH_VARARGS
| METH_KEYWORDS
},
33782 { (char *)"PyCompositeShape_CalculateSize", (PyCFunction
) _wrap_PyCompositeShape_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
},
33783 { (char *)"PyCompositeShape_ContainsDivision", (PyCFunction
) _wrap_PyCompositeShape_ContainsDivision
, METH_VARARGS
| METH_KEYWORDS
},
33784 { (char *)"PyCompositeShape_DeleteConstraint", (PyCFunction
) _wrap_PyCompositeShape_DeleteConstraint
, METH_VARARGS
| METH_KEYWORDS
},
33785 { (char *)"PyCompositeShape_DeleteConstraintsInvolvingChild", (PyCFunction
) _wrap_PyCompositeShape_DeleteConstraintsInvolvingChild
, METH_VARARGS
| METH_KEYWORDS
},
33786 { (char *)"PyCompositeShape_FindContainerImage", (PyCFunction
) _wrap_PyCompositeShape_FindContainerImage
, METH_VARARGS
| METH_KEYWORDS
},
33787 { (char *)"PyCompositeShape_GetConstraints", (PyCFunction
) _wrap_PyCompositeShape_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
33788 { (char *)"PyCompositeShape_GetDivisions", (PyCFunction
) _wrap_PyCompositeShape_GetDivisions
, METH_VARARGS
| METH_KEYWORDS
},
33789 { (char *)"PyCompositeShape_MakeContainer", (PyCFunction
) _wrap_PyCompositeShape_MakeContainer
, METH_VARARGS
| METH_KEYWORDS
},
33790 { (char *)"PyCompositeShape_Recompute", (PyCFunction
) _wrap_PyCompositeShape_Recompute
, METH_VARARGS
| METH_KEYWORDS
},
33791 { (char *)"PyCompositeShape_RemoveChild", (PyCFunction
) _wrap_PyCompositeShape_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
33792 { (char *)"PyCompositeShape_base_OnDelete", (PyCFunction
) _wrap_PyCompositeShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
33793 { (char *)"PyCompositeShape_base_OnDraw", (PyCFunction
) _wrap_PyCompositeShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
33794 { (char *)"PyCompositeShape_base_OnDrawContents", (PyCFunction
) _wrap_PyCompositeShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
33795 { (char *)"PyCompositeShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyCompositeShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
33796 { (char *)"PyCompositeShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyCompositeShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
33797 { (char *)"PyCompositeShape_base_OnErase", (PyCFunction
) _wrap_PyCompositeShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
33798 { (char *)"PyCompositeShape_base_OnEraseContents", (PyCFunction
) _wrap_PyCompositeShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
33799 { (char *)"PyCompositeShape_base_OnHighlight", (PyCFunction
) _wrap_PyCompositeShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
33800 { (char *)"PyCompositeShape_base_OnLeftClick", (PyCFunction
) _wrap_PyCompositeShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
33801 { (char *)"PyCompositeShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyCompositeShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
33802 { (char *)"PyCompositeShape_base_OnRightClick", (PyCFunction
) _wrap_PyCompositeShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
33803 { (char *)"PyCompositeShape_base_OnSize", (PyCFunction
) _wrap_PyCompositeShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
33804 { (char *)"PyCompositeShape_base_OnMovePre", (PyCFunction
) _wrap_PyCompositeShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
33805 { (char *)"PyCompositeShape_base_OnMovePost", (PyCFunction
) _wrap_PyCompositeShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
33806 { (char *)"PyCompositeShape_base_OnDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33807 { (char *)"PyCompositeShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33808 { (char *)"PyCompositeShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33809 { (char *)"PyCompositeShape_base_OnDragRight", (PyCFunction
) _wrap_PyCompositeShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33810 { (char *)"PyCompositeShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyCompositeShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33811 { (char *)"PyCompositeShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyCompositeShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33812 { (char *)"PyCompositeShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyCompositeShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
33813 { (char *)"PyCompositeShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyCompositeShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33814 { (char *)"PyCompositeShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyCompositeShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33815 { (char *)"PyCompositeShape_base_OnMoveLink", (PyCFunction
) _wrap_PyCompositeShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
33816 { (char *)"PyCompositeShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33817 { (char *)"PyCompositeShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33818 { (char *)"PyCompositeShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33819 { (char *)"PyCompositeShape_base_OnBeginSize", (PyCFunction
) _wrap_PyCompositeShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
33820 { (char *)"PyCompositeShape_base_OnEndSize", (PyCFunction
) _wrap_PyCompositeShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
33821 { (char *)"PyCompositeShape_swigregister", PyCompositeShape_swigregister
, METH_VARARGS
},
33822 { (char *)"new_PyDividedShape", (PyCFunction
) _wrap_new_PyDividedShape
, METH_VARARGS
| METH_KEYWORDS
},
33823 { (char *)"PyDividedShape__setCallbackInfo", (PyCFunction
) _wrap_PyDividedShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
33824 { (char *)"PyDividedShape_EditRegions", (PyCFunction
) _wrap_PyDividedShape_EditRegions
, METH_VARARGS
| METH_KEYWORDS
},
33825 { (char *)"PyDividedShape_SetRegionSizes", (PyCFunction
) _wrap_PyDividedShape_SetRegionSizes
, METH_VARARGS
| METH_KEYWORDS
},
33826 { (char *)"PyDividedShape_base_OnDelete", (PyCFunction
) _wrap_PyDividedShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
33827 { (char *)"PyDividedShape_base_OnDraw", (PyCFunction
) _wrap_PyDividedShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
33828 { (char *)"PyDividedShape_base_OnDrawContents", (PyCFunction
) _wrap_PyDividedShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
33829 { (char *)"PyDividedShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyDividedShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
33830 { (char *)"PyDividedShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyDividedShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
33831 { (char *)"PyDividedShape_base_OnErase", (PyCFunction
) _wrap_PyDividedShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
33832 { (char *)"PyDividedShape_base_OnEraseContents", (PyCFunction
) _wrap_PyDividedShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
33833 { (char *)"PyDividedShape_base_OnHighlight", (PyCFunction
) _wrap_PyDividedShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
33834 { (char *)"PyDividedShape_base_OnLeftClick", (PyCFunction
) _wrap_PyDividedShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
33835 { (char *)"PyDividedShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyDividedShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
33836 { (char *)"PyDividedShape_base_OnRightClick", (PyCFunction
) _wrap_PyDividedShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
33837 { (char *)"PyDividedShape_base_OnSize", (PyCFunction
) _wrap_PyDividedShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
33838 { (char *)"PyDividedShape_base_OnMovePre", (PyCFunction
) _wrap_PyDividedShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
33839 { (char *)"PyDividedShape_base_OnMovePost", (PyCFunction
) _wrap_PyDividedShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
33840 { (char *)"PyDividedShape_base_OnDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33841 { (char *)"PyDividedShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33842 { (char *)"PyDividedShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33843 { (char *)"PyDividedShape_base_OnDragRight", (PyCFunction
) _wrap_PyDividedShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33844 { (char *)"PyDividedShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyDividedShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33845 { (char *)"PyDividedShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyDividedShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33846 { (char *)"PyDividedShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyDividedShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
33847 { (char *)"PyDividedShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyDividedShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33848 { (char *)"PyDividedShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyDividedShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33849 { (char *)"PyDividedShape_base_OnMoveLink", (PyCFunction
) _wrap_PyDividedShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
33850 { (char *)"PyDividedShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33851 { (char *)"PyDividedShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33852 { (char *)"PyDividedShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33853 { (char *)"PyDividedShape_base_OnBeginSize", (PyCFunction
) _wrap_PyDividedShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
33854 { (char *)"PyDividedShape_base_OnEndSize", (PyCFunction
) _wrap_PyDividedShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
33855 { (char *)"PyDividedShape_swigregister", PyDividedShape_swigregister
, METH_VARARGS
},
33856 { (char *)"new_PyDivisionShape", (PyCFunction
) _wrap_new_PyDivisionShape
, METH_VARARGS
| METH_KEYWORDS
},
33857 { (char *)"PyDivisionShape__setCallbackInfo", (PyCFunction
) _wrap_PyDivisionShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
33858 { (char *)"PyDivisionShape_AdjustBottom", (PyCFunction
) _wrap_PyDivisionShape_AdjustBottom
, METH_VARARGS
| METH_KEYWORDS
},
33859 { (char *)"PyDivisionShape_AdjustLeft", (PyCFunction
) _wrap_PyDivisionShape_AdjustLeft
, METH_VARARGS
| METH_KEYWORDS
},
33860 { (char *)"PyDivisionShape_AdjustRight", (PyCFunction
) _wrap_PyDivisionShape_AdjustRight
, METH_VARARGS
| METH_KEYWORDS
},
33861 { (char *)"PyDivisionShape_AdjustTop", (PyCFunction
) _wrap_PyDivisionShape_AdjustTop
, METH_VARARGS
| METH_KEYWORDS
},
33862 { (char *)"PyDivisionShape_Divide", (PyCFunction
) _wrap_PyDivisionShape_Divide
, METH_VARARGS
| METH_KEYWORDS
},
33863 { (char *)"PyDivisionShape_EditEdge", (PyCFunction
) _wrap_PyDivisionShape_EditEdge
, METH_VARARGS
| METH_KEYWORDS
},
33864 { (char *)"PyDivisionShape_GetBottomSide", (PyCFunction
) _wrap_PyDivisionShape_GetBottomSide
, METH_VARARGS
| METH_KEYWORDS
},
33865 { (char *)"PyDivisionShape_GetHandleSide", (PyCFunction
) _wrap_PyDivisionShape_GetHandleSide
, METH_VARARGS
| METH_KEYWORDS
},
33866 { (char *)"PyDivisionShape_GetLeftSide", (PyCFunction
) _wrap_PyDivisionShape_GetLeftSide
, METH_VARARGS
| METH_KEYWORDS
},
33867 { (char *)"PyDivisionShape_GetLeftSideColour", (PyCFunction
) _wrap_PyDivisionShape_GetLeftSideColour
, METH_VARARGS
| METH_KEYWORDS
},
33868 { (char *)"PyDivisionShape_GetLeftSidePen", (PyCFunction
) _wrap_PyDivisionShape_GetLeftSidePen
, METH_VARARGS
| METH_KEYWORDS
},
33869 { (char *)"PyDivisionShape_GetRightSide", (PyCFunction
) _wrap_PyDivisionShape_GetRightSide
, METH_VARARGS
| METH_KEYWORDS
},
33870 { (char *)"PyDivisionShape_GetTopSide", (PyCFunction
) _wrap_PyDivisionShape_GetTopSide
, METH_VARARGS
| METH_KEYWORDS
},
33871 { (char *)"PyDivisionShape_GetTopSidePen", (PyCFunction
) _wrap_PyDivisionShape_GetTopSidePen
, METH_VARARGS
| METH_KEYWORDS
},
33872 { (char *)"PyDivisionShape_ResizeAdjoining", (PyCFunction
) _wrap_PyDivisionShape_ResizeAdjoining
, METH_VARARGS
| METH_KEYWORDS
},
33873 { (char *)"PyDivisionShape_PopupMenu", (PyCFunction
) _wrap_PyDivisionShape_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
33874 { (char *)"PyDivisionShape_SetBottomSide", (PyCFunction
) _wrap_PyDivisionShape_SetBottomSide
, METH_VARARGS
| METH_KEYWORDS
},
33875 { (char *)"PyDivisionShape_SetHandleSide", (PyCFunction
) _wrap_PyDivisionShape_SetHandleSide
, METH_VARARGS
| METH_KEYWORDS
},
33876 { (char *)"PyDivisionShape_SetLeftSide", (PyCFunction
) _wrap_PyDivisionShape_SetLeftSide
, METH_VARARGS
| METH_KEYWORDS
},
33877 { (char *)"PyDivisionShape_SetLeftSideColour", (PyCFunction
) _wrap_PyDivisionShape_SetLeftSideColour
, METH_VARARGS
| METH_KEYWORDS
},
33878 { (char *)"PyDivisionShape_SetLeftSidePen", (PyCFunction
) _wrap_PyDivisionShape_SetLeftSidePen
, METH_VARARGS
| METH_KEYWORDS
},
33879 { (char *)"PyDivisionShape_SetRightSide", (PyCFunction
) _wrap_PyDivisionShape_SetRightSide
, METH_VARARGS
| METH_KEYWORDS
},
33880 { (char *)"PyDivisionShape_SetTopSide", (PyCFunction
) _wrap_PyDivisionShape_SetTopSide
, METH_VARARGS
| METH_KEYWORDS
},
33881 { (char *)"PyDivisionShape_SetTopSideColour", (PyCFunction
) _wrap_PyDivisionShape_SetTopSideColour
, METH_VARARGS
| METH_KEYWORDS
},
33882 { (char *)"PyDivisionShape_SetTopSidePen", (PyCFunction
) _wrap_PyDivisionShape_SetTopSidePen
, METH_VARARGS
| METH_KEYWORDS
},
33883 { (char *)"PyDivisionShape_base_OnDelete", (PyCFunction
) _wrap_PyDivisionShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
33884 { (char *)"PyDivisionShape_base_OnDraw", (PyCFunction
) _wrap_PyDivisionShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
33885 { (char *)"PyDivisionShape_base_OnDrawContents", (PyCFunction
) _wrap_PyDivisionShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
33886 { (char *)"PyDivisionShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyDivisionShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
33887 { (char *)"PyDivisionShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyDivisionShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
33888 { (char *)"PyDivisionShape_base_OnErase", (PyCFunction
) _wrap_PyDivisionShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
33889 { (char *)"PyDivisionShape_base_OnEraseContents", (PyCFunction
) _wrap_PyDivisionShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
33890 { (char *)"PyDivisionShape_base_OnHighlight", (PyCFunction
) _wrap_PyDivisionShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
33891 { (char *)"PyDivisionShape_base_OnLeftClick", (PyCFunction
) _wrap_PyDivisionShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
33892 { (char *)"PyDivisionShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyDivisionShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
33893 { (char *)"PyDivisionShape_base_OnRightClick", (PyCFunction
) _wrap_PyDivisionShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
33894 { (char *)"PyDivisionShape_base_OnSize", (PyCFunction
) _wrap_PyDivisionShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
33895 { (char *)"PyDivisionShape_base_OnMovePre", (PyCFunction
) _wrap_PyDivisionShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
33896 { (char *)"PyDivisionShape_base_OnMovePost", (PyCFunction
) _wrap_PyDivisionShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
33897 { (char *)"PyDivisionShape_base_OnDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33898 { (char *)"PyDivisionShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33899 { (char *)"PyDivisionShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33900 { (char *)"PyDivisionShape_base_OnDragRight", (PyCFunction
) _wrap_PyDivisionShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33901 { (char *)"PyDivisionShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyDivisionShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33902 { (char *)"PyDivisionShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyDivisionShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33903 { (char *)"PyDivisionShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyDivisionShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
33904 { (char *)"PyDivisionShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyDivisionShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33905 { (char *)"PyDivisionShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyDivisionShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33906 { (char *)"PyDivisionShape_base_OnMoveLink", (PyCFunction
) _wrap_PyDivisionShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
33907 { (char *)"PyDivisionShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33908 { (char *)"PyDivisionShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33909 { (char *)"PyDivisionShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33910 { (char *)"PyDivisionShape_base_OnBeginSize", (PyCFunction
) _wrap_PyDivisionShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
33911 { (char *)"PyDivisionShape_base_OnEndSize", (PyCFunction
) _wrap_PyDivisionShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
33912 { (char *)"PyDivisionShape_swigregister", PyDivisionShape_swigregister
, METH_VARARGS
},
33913 { (char *)"new_PyEllipseShape", (PyCFunction
) _wrap_new_PyEllipseShape
, METH_VARARGS
| METH_KEYWORDS
},
33914 { (char *)"PyEllipseShape__setCallbackInfo", (PyCFunction
) _wrap_PyEllipseShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
33915 { (char *)"PyEllipseShape_base_OnDraw", (PyCFunction
) _wrap_PyEllipseShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
33916 { (char *)"PyEllipseShape_base_OnDrawContents", (PyCFunction
) _wrap_PyEllipseShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
33917 { (char *)"PyEllipseShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyEllipseShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
33918 { (char *)"PyEllipseShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyEllipseShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
33919 { (char *)"PyEllipseShape_base_OnErase", (PyCFunction
) _wrap_PyEllipseShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
33920 { (char *)"PyEllipseShape_base_OnEraseContents", (PyCFunction
) _wrap_PyEllipseShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
33921 { (char *)"PyEllipseShape_base_OnHighlight", (PyCFunction
) _wrap_PyEllipseShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
33922 { (char *)"PyEllipseShape_base_OnLeftClick", (PyCFunction
) _wrap_PyEllipseShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
33923 { (char *)"PyEllipseShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyEllipseShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
33924 { (char *)"PyEllipseShape_base_OnRightClick", (PyCFunction
) _wrap_PyEllipseShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
33925 { (char *)"PyEllipseShape_base_OnSize", (PyCFunction
) _wrap_PyEllipseShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
33926 { (char *)"PyEllipseShape_base_OnMovePre", (PyCFunction
) _wrap_PyEllipseShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
33927 { (char *)"PyEllipseShape_base_OnMovePost", (PyCFunction
) _wrap_PyEllipseShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
33928 { (char *)"PyEllipseShape_base_OnDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33929 { (char *)"PyEllipseShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33930 { (char *)"PyEllipseShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33931 { (char *)"PyEllipseShape_base_OnDragRight", (PyCFunction
) _wrap_PyEllipseShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33932 { (char *)"PyEllipseShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyEllipseShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33933 { (char *)"PyEllipseShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyEllipseShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33934 { (char *)"PyEllipseShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyEllipseShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
33935 { (char *)"PyEllipseShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyEllipseShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33936 { (char *)"PyEllipseShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyEllipseShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33937 { (char *)"PyEllipseShape_base_OnMoveLink", (PyCFunction
) _wrap_PyEllipseShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
33938 { (char *)"PyEllipseShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33939 { (char *)"PyEllipseShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33940 { (char *)"PyEllipseShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33941 { (char *)"PyEllipseShape_base_OnBeginSize", (PyCFunction
) _wrap_PyEllipseShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
33942 { (char *)"PyEllipseShape_base_OnEndSize", (PyCFunction
) _wrap_PyEllipseShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
33943 { (char *)"PyEllipseShape_swigregister", PyEllipseShape_swigregister
, METH_VARARGS
},
33944 { (char *)"new_PyCircleShape", (PyCFunction
) _wrap_new_PyCircleShape
, METH_VARARGS
| METH_KEYWORDS
},
33945 { (char *)"PyCircleShape__setCallbackInfo", (PyCFunction
) _wrap_PyCircleShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
33946 { (char *)"PyCircleShape_base_OnDraw", (PyCFunction
) _wrap_PyCircleShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
33947 { (char *)"PyCircleShape_base_OnDrawContents", (PyCFunction
) _wrap_PyCircleShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
33948 { (char *)"PyCircleShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyCircleShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
33949 { (char *)"PyCircleShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyCircleShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
33950 { (char *)"PyCircleShape_base_OnErase", (PyCFunction
) _wrap_PyCircleShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
33951 { (char *)"PyCircleShape_base_OnEraseContents", (PyCFunction
) _wrap_PyCircleShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
33952 { (char *)"PyCircleShape_base_OnHighlight", (PyCFunction
) _wrap_PyCircleShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
33953 { (char *)"PyCircleShape_base_OnLeftClick", (PyCFunction
) _wrap_PyCircleShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
33954 { (char *)"PyCircleShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyCircleShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
33955 { (char *)"PyCircleShape_base_OnRightClick", (PyCFunction
) _wrap_PyCircleShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
33956 { (char *)"PyCircleShape_base_OnSize", (PyCFunction
) _wrap_PyCircleShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
33957 { (char *)"PyCircleShape_base_OnMovePre", (PyCFunction
) _wrap_PyCircleShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
33958 { (char *)"PyCircleShape_base_OnMovePost", (PyCFunction
) _wrap_PyCircleShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
33959 { (char *)"PyCircleShape_base_OnDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33960 { (char *)"PyCircleShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33961 { (char *)"PyCircleShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33962 { (char *)"PyCircleShape_base_OnDragRight", (PyCFunction
) _wrap_PyCircleShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33963 { (char *)"PyCircleShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyCircleShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33964 { (char *)"PyCircleShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyCircleShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33965 { (char *)"PyCircleShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyCircleShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
33966 { (char *)"PyCircleShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyCircleShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33967 { (char *)"PyCircleShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyCircleShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33968 { (char *)"PyCircleShape_base_OnMoveLink", (PyCFunction
) _wrap_PyCircleShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
33969 { (char *)"PyCircleShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33970 { (char *)"PyCircleShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33971 { (char *)"PyCircleShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33972 { (char *)"PyCircleShape_base_OnBeginSize", (PyCFunction
) _wrap_PyCircleShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
33973 { (char *)"PyCircleShape_base_OnEndSize", (PyCFunction
) _wrap_PyCircleShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
33974 { (char *)"PyCircleShape_swigregister", PyCircleShape_swigregister
, METH_VARARGS
},
33975 { (char *)"new_ArrowHead", (PyCFunction
) _wrap_new_ArrowHead
, METH_VARARGS
| METH_KEYWORDS
},
33976 { (char *)"delete_ArrowHead", (PyCFunction
) _wrap_delete_ArrowHead
, METH_VARARGS
| METH_KEYWORDS
},
33977 { (char *)"ArrowHead__GetType", (PyCFunction
) _wrap_ArrowHead__GetType
, METH_VARARGS
| METH_KEYWORDS
},
33978 { (char *)"ArrowHead_GetPosition", (PyCFunction
) _wrap_ArrowHead_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
33979 { (char *)"ArrowHead_SetPosition", (PyCFunction
) _wrap_ArrowHead_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
33980 { (char *)"ArrowHead_GetXOffset", (PyCFunction
) _wrap_ArrowHead_GetXOffset
, METH_VARARGS
| METH_KEYWORDS
},
33981 { (char *)"ArrowHead_GetYOffset", (PyCFunction
) _wrap_ArrowHead_GetYOffset
, METH_VARARGS
| METH_KEYWORDS
},
33982 { (char *)"ArrowHead_GetSpacing", (PyCFunction
) _wrap_ArrowHead_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
33983 { (char *)"ArrowHead_GetSize", (PyCFunction
) _wrap_ArrowHead_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
33984 { (char *)"ArrowHead_GetName", (PyCFunction
) _wrap_ArrowHead_GetName
, METH_VARARGS
| METH_KEYWORDS
},
33985 { (char *)"ArrowHead_SetXOffset", (PyCFunction
) _wrap_ArrowHead_SetXOffset
, METH_VARARGS
| METH_KEYWORDS
},
33986 { (char *)"ArrowHead_SetYOffset", (PyCFunction
) _wrap_ArrowHead_SetYOffset
, METH_VARARGS
| METH_KEYWORDS
},
33987 { (char *)"ArrowHead_GetMetaFile", (PyCFunction
) _wrap_ArrowHead_GetMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
33988 { (char *)"ArrowHead_GetId", (PyCFunction
) _wrap_ArrowHead_GetId
, METH_VARARGS
| METH_KEYWORDS
},
33989 { (char *)"ArrowHead_GetArrowEnd", (PyCFunction
) _wrap_ArrowHead_GetArrowEnd
, METH_VARARGS
| METH_KEYWORDS
},
33990 { (char *)"ArrowHead_GetArrowSize", (PyCFunction
) _wrap_ArrowHead_GetArrowSize
, METH_VARARGS
| METH_KEYWORDS
},
33991 { (char *)"ArrowHead_SetSize", (PyCFunction
) _wrap_ArrowHead_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
33992 { (char *)"ArrowHead_SetSpacing", (PyCFunction
) _wrap_ArrowHead_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
33993 { (char *)"ArrowHead_swigregister", ArrowHead_swigregister
, METH_VARARGS
},
33994 { (char *)"new_PyLineShape", (PyCFunction
) _wrap_new_PyLineShape
, METH_VARARGS
| METH_KEYWORDS
},
33995 { (char *)"PyLineShape__setCallbackInfo", (PyCFunction
) _wrap_PyLineShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
33996 { (char *)"PyLineShape_AddArrow", (PyCFunction
) _wrap_PyLineShape_AddArrow
, METH_VARARGS
| METH_KEYWORDS
},
33997 { (char *)"PyLineShape_AddArrowOrdered", (PyCFunction
) _wrap_PyLineShape_AddArrowOrdered
, METH_VARARGS
| METH_KEYWORDS
},
33998 { (char *)"PyLineShape_ClearArrow", (PyCFunction
) _wrap_PyLineShape_ClearArrow
, METH_VARARGS
| METH_KEYWORDS
},
33999 { (char *)"PyLineShape_ClearArrowsAtPosition", (PyCFunction
) _wrap_PyLineShape_ClearArrowsAtPosition
, METH_VARARGS
| METH_KEYWORDS
},
34000 { (char *)"PyLineShape_DrawArrow", (PyCFunction
) _wrap_PyLineShape_DrawArrow
, METH_VARARGS
| METH_KEYWORDS
},
34001 { (char *)"PyLineShape_DeleteArrowHeadId", (PyCFunction
) _wrap_PyLineShape_DeleteArrowHeadId
, METH_VARARGS
| METH_KEYWORDS
},
34002 { (char *)"PyLineShape_DeleteArrowHead", (PyCFunction
) _wrap_PyLineShape_DeleteArrowHead
, METH_VARARGS
| METH_KEYWORDS
},
34003 { (char *)"PyLineShape_DeleteLineControlPoint", (PyCFunction
) _wrap_PyLineShape_DeleteLineControlPoint
, METH_VARARGS
| METH_KEYWORDS
},
34004 { (char *)"PyLineShape_DrawArrows", (PyCFunction
) _wrap_PyLineShape_DrawArrows
, METH_VARARGS
| METH_KEYWORDS
},
34005 { (char *)"PyLineShape_DrawRegion", (PyCFunction
) _wrap_PyLineShape_DrawRegion
, METH_VARARGS
| METH_KEYWORDS
},
34006 { (char *)"PyLineShape_EraseRegion", (PyCFunction
) _wrap_PyLineShape_EraseRegion
, METH_VARARGS
| METH_KEYWORDS
},
34007 { (char *)"PyLineShape_FindArrowHeadId", (PyCFunction
) _wrap_PyLineShape_FindArrowHeadId
, METH_VARARGS
| METH_KEYWORDS
},
34008 { (char *)"PyLineShape_FindArrowHead", (PyCFunction
) _wrap_PyLineShape_FindArrowHead
, METH_VARARGS
| METH_KEYWORDS
},
34009 { (char *)"PyLineShape_FindLineEndPoints", (PyCFunction
) _wrap_PyLineShape_FindLineEndPoints
, METH_VARARGS
| METH_KEYWORDS
},
34010 { (char *)"PyLineShape_FindLinePosition", (PyCFunction
) _wrap_PyLineShape_FindLinePosition
, METH_VARARGS
| METH_KEYWORDS
},
34011 { (char *)"PyLineShape_FindMinimumWidth", (PyCFunction
) _wrap_PyLineShape_FindMinimumWidth
, METH_VARARGS
| METH_KEYWORDS
},
34012 { (char *)"PyLineShape_FindNth", (PyCFunction
) _wrap_PyLineShape_FindNth
, METH_VARARGS
| METH_KEYWORDS
},
34013 { (char *)"PyLineShape_GetAttachmentFrom", (PyCFunction
) _wrap_PyLineShape_GetAttachmentFrom
, METH_VARARGS
| METH_KEYWORDS
},
34014 { (char *)"PyLineShape_GetAttachmentTo", (PyCFunction
) _wrap_PyLineShape_GetAttachmentTo
, METH_VARARGS
| METH_KEYWORDS
},
34015 { (char *)"PyLineShape_GetEnds", (PyCFunction
) _wrap_PyLineShape_GetEnds
, METH_VARARGS
| METH_KEYWORDS
},
34016 { (char *)"PyLineShape_GetFrom", (PyCFunction
) _wrap_PyLineShape_GetFrom
, METH_VARARGS
| METH_KEYWORDS
},
34017 { (char *)"PyLineShape_GetLabelPosition", (PyCFunction
) _wrap_PyLineShape_GetLabelPosition
, METH_VARARGS
| METH_KEYWORDS
},
34018 { (char *)"PyLineShape_GetNextControlPoint", (PyCFunction
) _wrap_PyLineShape_GetNextControlPoint
, METH_VARARGS
| METH_KEYWORDS
},
34019 { (char *)"PyLineShape_GetTo", (PyCFunction
) _wrap_PyLineShape_GetTo
, METH_VARARGS
| METH_KEYWORDS
},
34020 { (char *)"PyLineShape_Initialise", (PyCFunction
) _wrap_PyLineShape_Initialise
, METH_VARARGS
| METH_KEYWORDS
},
34021 { (char *)"PyLineShape_InsertLineControlPoint", (PyCFunction
) _wrap_PyLineShape_InsertLineControlPoint
, METH_VARARGS
| METH_KEYWORDS
},
34022 { (char *)"PyLineShape_IsEnd", (PyCFunction
) _wrap_PyLineShape_IsEnd
, METH_VARARGS
| METH_KEYWORDS
},
34023 { (char *)"PyLineShape_IsSpline", (PyCFunction
) _wrap_PyLineShape_IsSpline
, METH_VARARGS
| METH_KEYWORDS
},
34024 { (char *)"PyLineShape_MakeLineControlPoints", (PyCFunction
) _wrap_PyLineShape_MakeLineControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
34025 { (char *)"PyLineShape_GetLineControlPoints", (PyCFunction
) _wrap_PyLineShape_GetLineControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
34026 { (char *)"PyLineShape_SetAttachmentFrom", (PyCFunction
) _wrap_PyLineShape_SetAttachmentFrom
, METH_VARARGS
| METH_KEYWORDS
},
34027 { (char *)"PyLineShape_SetAttachments", (PyCFunction
) _wrap_PyLineShape_SetAttachments
, METH_VARARGS
| METH_KEYWORDS
},
34028 { (char *)"PyLineShape_SetAttachmentTo", (PyCFunction
) _wrap_PyLineShape_SetAttachmentTo
, METH_VARARGS
| METH_KEYWORDS
},
34029 { (char *)"PyLineShape_SetEnds", (PyCFunction
) _wrap_PyLineShape_SetEnds
, METH_VARARGS
| METH_KEYWORDS
},
34030 { (char *)"PyLineShape_SetFrom", (PyCFunction
) _wrap_PyLineShape_SetFrom
, METH_VARARGS
| METH_KEYWORDS
},
34031 { (char *)"PyLineShape_SetIgnoreOffsets", (PyCFunction
) _wrap_PyLineShape_SetIgnoreOffsets
, METH_VARARGS
| METH_KEYWORDS
},
34032 { (char *)"PyLineShape_SetSpline", (PyCFunction
) _wrap_PyLineShape_SetSpline
, METH_VARARGS
| METH_KEYWORDS
},
34033 { (char *)"PyLineShape_SetTo", (PyCFunction
) _wrap_PyLineShape_SetTo
, METH_VARARGS
| METH_KEYWORDS
},
34034 { (char *)"PyLineShape_Straighten", (PyCFunction
) _wrap_PyLineShape_Straighten
, METH_VARARGS
| METH_KEYWORDS
},
34035 { (char *)"PyLineShape_Unlink", (PyCFunction
) _wrap_PyLineShape_Unlink
, METH_VARARGS
| METH_KEYWORDS
},
34036 { (char *)"PyLineShape_SetAlignmentOrientation", (PyCFunction
) _wrap_PyLineShape_SetAlignmentOrientation
, METH_VARARGS
| METH_KEYWORDS
},
34037 { (char *)"PyLineShape_SetAlignmentType", (PyCFunction
) _wrap_PyLineShape_SetAlignmentType
, METH_VARARGS
| METH_KEYWORDS
},
34038 { (char *)"PyLineShape_GetAlignmentOrientation", (PyCFunction
) _wrap_PyLineShape_GetAlignmentOrientation
, METH_VARARGS
| METH_KEYWORDS
},
34039 { (char *)"PyLineShape_GetAlignmentType", (PyCFunction
) _wrap_PyLineShape_GetAlignmentType
, METH_VARARGS
| METH_KEYWORDS
},
34040 { (char *)"PyLineShape_GetAlignmentStart", (PyCFunction
) _wrap_PyLineShape_GetAlignmentStart
, METH_VARARGS
| METH_KEYWORDS
},
34041 { (char *)"PyLineShape_GetAlignmentEnd", (PyCFunction
) _wrap_PyLineShape_GetAlignmentEnd
, METH_VARARGS
| METH_KEYWORDS
},
34042 { (char *)"PyLineShape_base_OnDraw", (PyCFunction
) _wrap_PyLineShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
34043 { (char *)"PyLineShape_base_OnDrawContents", (PyCFunction
) _wrap_PyLineShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
34044 { (char *)"PyLineShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyLineShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
34045 { (char *)"PyLineShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyLineShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
34046 { (char *)"PyLineShape_base_OnErase", (PyCFunction
) _wrap_PyLineShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
34047 { (char *)"PyLineShape_base_OnEraseContents", (PyCFunction
) _wrap_PyLineShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
34048 { (char *)"PyLineShape_base_OnHighlight", (PyCFunction
) _wrap_PyLineShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
34049 { (char *)"PyLineShape_base_OnLeftClick", (PyCFunction
) _wrap_PyLineShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
34050 { (char *)"PyLineShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyLineShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
34051 { (char *)"PyLineShape_base_OnRightClick", (PyCFunction
) _wrap_PyLineShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
34052 { (char *)"PyLineShape_base_OnSize", (PyCFunction
) _wrap_PyLineShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
34053 { (char *)"PyLineShape_base_OnMovePre", (PyCFunction
) _wrap_PyLineShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
34054 { (char *)"PyLineShape_base_OnMovePost", (PyCFunction
) _wrap_PyLineShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
34055 { (char *)"PyLineShape_base_OnDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
34056 { (char *)"PyLineShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
34057 { (char *)"PyLineShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
34058 { (char *)"PyLineShape_base_OnDragRight", (PyCFunction
) _wrap_PyLineShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
34059 { (char *)"PyLineShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyLineShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
34060 { (char *)"PyLineShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyLineShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
34061 { (char *)"PyLineShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyLineShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
34062 { (char *)"PyLineShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyLineShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
34063 { (char *)"PyLineShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyLineShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
34064 { (char *)"PyLineShape_base_OnMoveLink", (PyCFunction
) _wrap_PyLineShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
34065 { (char *)"PyLineShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
34066 { (char *)"PyLineShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
34067 { (char *)"PyLineShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
34068 { (char *)"PyLineShape_base_OnBeginSize", (PyCFunction
) _wrap_PyLineShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
34069 { (char *)"PyLineShape_base_OnEndSize", (PyCFunction
) _wrap_PyLineShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
34070 { (char *)"PyLineShape_swigregister", PyLineShape_swigregister
, METH_VARARGS
},
34071 { (char *)"new_PyPolygonShape", (PyCFunction
) _wrap_new_PyPolygonShape
, METH_VARARGS
| METH_KEYWORDS
},
34072 { (char *)"PyPolygonShape__setCallbackInfo", (PyCFunction
) _wrap_PyPolygonShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
34073 { (char *)"PyPolygonShape_Create", (PyCFunction
) _wrap_PyPolygonShape_Create
, METH_VARARGS
| METH_KEYWORDS
},
34074 { (char *)"PyPolygonShape_AddPolygonPoint", (PyCFunction
) _wrap_PyPolygonShape_AddPolygonPoint
, METH_VARARGS
| METH_KEYWORDS
},
34075 { (char *)"PyPolygonShape_CalculatePolygonCentre", (PyCFunction
) _wrap_PyPolygonShape_CalculatePolygonCentre
, METH_VARARGS
| METH_KEYWORDS
},
34076 { (char *)"PyPolygonShape_DeletePolygonPoint", (PyCFunction
) _wrap_PyPolygonShape_DeletePolygonPoint
, METH_VARARGS
| METH_KEYWORDS
},
34077 { (char *)"PyPolygonShape_GetPoints", (PyCFunction
) _wrap_PyPolygonShape_GetPoints
, METH_VARARGS
| METH_KEYWORDS
},
34078 { (char *)"PyPolygonShape_GetOriginalPoints", (PyCFunction
) _wrap_PyPolygonShape_GetOriginalPoints
, METH_VARARGS
| METH_KEYWORDS
},
34079 { (char *)"PyPolygonShape_GetOriginalWidth", (PyCFunction
) _wrap_PyPolygonShape_GetOriginalWidth
, METH_VARARGS
| METH_KEYWORDS
},
34080 { (char *)"PyPolygonShape_GetOriginalHeight", (PyCFunction
) _wrap_PyPolygonShape_GetOriginalHeight
, METH_VARARGS
| METH_KEYWORDS
},
34081 { (char *)"PyPolygonShape_SetOriginalWidth", (PyCFunction
) _wrap_PyPolygonShape_SetOriginalWidth
, METH_VARARGS
| METH_KEYWORDS
},
34082 { (char *)"PyPolygonShape_SetOriginalHeight", (PyCFunction
) _wrap_PyPolygonShape_SetOriginalHeight
, METH_VARARGS
| METH_KEYWORDS
},
34083 { (char *)"PyPolygonShape_UpdateOriginalPoints", (PyCFunction
) _wrap_PyPolygonShape_UpdateOriginalPoints
, METH_VARARGS
| METH_KEYWORDS
},
34084 { (char *)"PyPolygonShape_base_OnDraw", (PyCFunction
) _wrap_PyPolygonShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
34085 { (char *)"PyPolygonShape_base_OnDrawContents", (PyCFunction
) _wrap_PyPolygonShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
34086 { (char *)"PyPolygonShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyPolygonShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
34087 { (char *)"PyPolygonShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyPolygonShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
34088 { (char *)"PyPolygonShape_base_OnErase", (PyCFunction
) _wrap_PyPolygonShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
34089 { (char *)"PyPolygonShape_base_OnEraseContents", (PyCFunction
) _wrap_PyPolygonShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
34090 { (char *)"PyPolygonShape_base_OnHighlight", (PyCFunction
) _wrap_PyPolygonShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
34091 { (char *)"PyPolygonShape_base_OnLeftClick", (PyCFunction
) _wrap_PyPolygonShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
34092 { (char *)"PyPolygonShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyPolygonShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
34093 { (char *)"PyPolygonShape_base_OnRightClick", (PyCFunction
) _wrap_PyPolygonShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
34094 { (char *)"PyPolygonShape_base_OnSize", (PyCFunction
) _wrap_PyPolygonShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
34095 { (char *)"PyPolygonShape_base_OnMovePre", (PyCFunction
) _wrap_PyPolygonShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
34096 { (char *)"PyPolygonShape_base_OnMovePost", (PyCFunction
) _wrap_PyPolygonShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
34097 { (char *)"PyPolygonShape_base_OnDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
34098 { (char *)"PyPolygonShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
34099 { (char *)"PyPolygonShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
34100 { (char *)"PyPolygonShape_base_OnDragRight", (PyCFunction
) _wrap_PyPolygonShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
34101 { (char *)"PyPolygonShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyPolygonShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
34102 { (char *)"PyPolygonShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyPolygonShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
34103 { (char *)"PyPolygonShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyPolygonShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
34104 { (char *)"PyPolygonShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyPolygonShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
34105 { (char *)"PyPolygonShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyPolygonShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
34106 { (char *)"PyPolygonShape_base_OnMoveLink", (PyCFunction
) _wrap_PyPolygonShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
34107 { (char *)"PyPolygonShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
34108 { (char *)"PyPolygonShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
34109 { (char *)"PyPolygonShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
34110 { (char *)"PyPolygonShape_base_OnBeginSize", (PyCFunction
) _wrap_PyPolygonShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
34111 { (char *)"PyPolygonShape_base_OnEndSize", (PyCFunction
) _wrap_PyPolygonShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
34112 { (char *)"PyPolygonShape_swigregister", PyPolygonShape_swigregister
, METH_VARARGS
},
34113 { (char *)"new_PyTextShape", (PyCFunction
) _wrap_new_PyTextShape
, METH_VARARGS
| METH_KEYWORDS
},
34114 { (char *)"PyTextShape__setCallbackInfo", (PyCFunction
) _wrap_PyTextShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
34115 { (char *)"PyTextShape_base_OnDelete", (PyCFunction
) _wrap_PyTextShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
34116 { (char *)"PyTextShape_base_OnDraw", (PyCFunction
) _wrap_PyTextShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
34117 { (char *)"PyTextShape_base_OnDrawContents", (PyCFunction
) _wrap_PyTextShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
34118 { (char *)"PyTextShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyTextShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
34119 { (char *)"PyTextShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyTextShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
34120 { (char *)"PyTextShape_base_OnErase", (PyCFunction
) _wrap_PyTextShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
34121 { (char *)"PyTextShape_base_OnEraseContents", (PyCFunction
) _wrap_PyTextShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
34122 { (char *)"PyTextShape_base_OnHighlight", (PyCFunction
) _wrap_PyTextShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
34123 { (char *)"PyTextShape_base_OnLeftClick", (PyCFunction
) _wrap_PyTextShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
34124 { (char *)"PyTextShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyTextShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
34125 { (char *)"PyTextShape_base_OnRightClick", (PyCFunction
) _wrap_PyTextShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
34126 { (char *)"PyTextShape_base_OnSize", (PyCFunction
) _wrap_PyTextShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
34127 { (char *)"PyTextShape_base_OnMovePre", (PyCFunction
) _wrap_PyTextShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
34128 { (char *)"PyTextShape_base_OnMovePost", (PyCFunction
) _wrap_PyTextShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
34129 { (char *)"PyTextShape_base_OnDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
34130 { (char *)"PyTextShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
34131 { (char *)"PyTextShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
34132 { (char *)"PyTextShape_base_OnDragRight", (PyCFunction
) _wrap_PyTextShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
34133 { (char *)"PyTextShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyTextShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
34134 { (char *)"PyTextShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyTextShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
34135 { (char *)"PyTextShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyTextShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
34136 { (char *)"PyTextShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyTextShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
34137 { (char *)"PyTextShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyTextShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
34138 { (char *)"PyTextShape_base_OnMoveLink", (PyCFunction
) _wrap_PyTextShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
34139 { (char *)"PyTextShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
34140 { (char *)"PyTextShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
34141 { (char *)"PyTextShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
34142 { (char *)"PyTextShape_base_OnBeginSize", (PyCFunction
) _wrap_PyTextShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
34143 { (char *)"PyTextShape_base_OnEndSize", (PyCFunction
) _wrap_PyTextShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
34144 { (char *)"PyTextShape_swigregister", PyTextShape_swigregister
, METH_VARARGS
},
34145 { (char *)"new_Diagram", (PyCFunction
) _wrap_new_Diagram
, METH_VARARGS
| METH_KEYWORDS
},
34146 { (char *)"Diagram_AddShape", (PyCFunction
) _wrap_Diagram_AddShape
, METH_VARARGS
| METH_KEYWORDS
},
34147 { (char *)"Diagram_Clear", (PyCFunction
) _wrap_Diagram_Clear
, METH_VARARGS
| METH_KEYWORDS
},
34148 { (char *)"Diagram_DeleteAllShapes", (PyCFunction
) _wrap_Diagram_DeleteAllShapes
, METH_VARARGS
| METH_KEYWORDS
},
34149 { (char *)"Diagram_DrawOutline", (PyCFunction
) _wrap_Diagram_DrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
34150 { (char *)"Diagram_FindShape", (PyCFunction
) _wrap_Diagram_FindShape
, METH_VARARGS
| METH_KEYWORDS
},
34151 { (char *)"Diagram_GetCanvas", (PyCFunction
) _wrap_Diagram_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
34152 { (char *)"Diagram_GetCount", (PyCFunction
) _wrap_Diagram_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
34153 { (char *)"Diagram_GetGridSpacing", (PyCFunction
) _wrap_Diagram_GetGridSpacing
, METH_VARARGS
| METH_KEYWORDS
},
34154 { (char *)"Diagram_GetMouseTolerance", (PyCFunction
) _wrap_Diagram_GetMouseTolerance
, METH_VARARGS
| METH_KEYWORDS
},
34155 { (char *)"Diagram_GetShapeList", (PyCFunction
) _wrap_Diagram_GetShapeList
, METH_VARARGS
| METH_KEYWORDS
},
34156 { (char *)"Diagram_GetQuickEditMode", (PyCFunction
) _wrap_Diagram_GetQuickEditMode
, METH_VARARGS
| METH_KEYWORDS
},
34157 { (char *)"Diagram_GetSnapToGrid", (PyCFunction
) _wrap_Diagram_GetSnapToGrid
, METH_VARARGS
| METH_KEYWORDS
},
34158 { (char *)"Diagram_InsertShape", (PyCFunction
) _wrap_Diagram_InsertShape
, METH_VARARGS
| METH_KEYWORDS
},
34159 { (char *)"Diagram_RecentreAll", (PyCFunction
) _wrap_Diagram_RecentreAll
, METH_VARARGS
| METH_KEYWORDS
},
34160 { (char *)"Diagram_Redraw", (PyCFunction
) _wrap_Diagram_Redraw
, METH_VARARGS
| METH_KEYWORDS
},
34161 { (char *)"Diagram_RemoveAllShapes", (PyCFunction
) _wrap_Diagram_RemoveAllShapes
, METH_VARARGS
| METH_KEYWORDS
},
34162 { (char *)"Diagram_RemoveShape", (PyCFunction
) _wrap_Diagram_RemoveShape
, METH_VARARGS
| METH_KEYWORDS
},
34163 { (char *)"Diagram_SetCanvas", (PyCFunction
) _wrap_Diagram_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
34164 { (char *)"Diagram_SetGridSpacing", (PyCFunction
) _wrap_Diagram_SetGridSpacing
, METH_VARARGS
| METH_KEYWORDS
},
34165 { (char *)"Diagram_SetMouseTolerance", (PyCFunction
) _wrap_Diagram_SetMouseTolerance
, METH_VARARGS
| METH_KEYWORDS
},
34166 { (char *)"Diagram_SetQuickEditMode", (PyCFunction
) _wrap_Diagram_SetQuickEditMode
, METH_VARARGS
| METH_KEYWORDS
},
34167 { (char *)"Diagram_SetSnapToGrid", (PyCFunction
) _wrap_Diagram_SetSnapToGrid
, METH_VARARGS
| METH_KEYWORDS
},
34168 { (char *)"Diagram_ShowAll", (PyCFunction
) _wrap_Diagram_ShowAll
, METH_VARARGS
| METH_KEYWORDS
},
34169 { (char *)"Diagram_Snap", (PyCFunction
) _wrap_Diagram_Snap
, METH_VARARGS
| METH_KEYWORDS
},
34170 { (char *)"Diagram_swigregister", Diagram_swigregister
, METH_VARARGS
},
34171 { (char *)"new_PyShapeCanvas", (PyCFunction
) _wrap_new_PyShapeCanvas
, METH_VARARGS
| METH_KEYWORDS
},
34172 { (char *)"PyShapeCanvas__setCallbackInfo", (PyCFunction
) _wrap_PyShapeCanvas__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
34173 { (char *)"PyShapeCanvas_AddShape", (PyCFunction
) _wrap_PyShapeCanvas_AddShape
, METH_VARARGS
| METH_KEYWORDS
},
34174 { (char *)"PyShapeCanvas_FindShape", (PyCFunction
) _wrap_PyShapeCanvas_FindShape
, METH_VARARGS
| METH_KEYWORDS
},
34175 { (char *)"PyShapeCanvas_FindFirstSensitiveShape", (PyCFunction
) _wrap_PyShapeCanvas_FindFirstSensitiveShape
, METH_VARARGS
| METH_KEYWORDS
},
34176 { (char *)"PyShapeCanvas_GetDiagram", (PyCFunction
) _wrap_PyShapeCanvas_GetDiagram
, METH_VARARGS
| METH_KEYWORDS
},
34177 { (char *)"PyShapeCanvas_GetQuickEditMode", (PyCFunction
) _wrap_PyShapeCanvas_GetQuickEditMode
, METH_VARARGS
| METH_KEYWORDS
},
34178 { (char *)"PyShapeCanvas_InsertShape", (PyCFunction
) _wrap_PyShapeCanvas_InsertShape
, METH_VARARGS
| METH_KEYWORDS
},
34179 { (char *)"PyShapeCanvas_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyShapeCanvas_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
34180 { (char *)"PyShapeCanvas_base_OnBeginDragRight", (PyCFunction
) _wrap_PyShapeCanvas_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
34181 { (char *)"PyShapeCanvas_base_OnEndDragLeft", (PyCFunction
) _wrap_PyShapeCanvas_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
34182 { (char *)"PyShapeCanvas_base_OnEndDragRight", (PyCFunction
) _wrap_PyShapeCanvas_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
34183 { (char *)"PyShapeCanvas_base_OnDragLeft", (PyCFunction
) _wrap_PyShapeCanvas_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
34184 { (char *)"PyShapeCanvas_base_OnDragRight", (PyCFunction
) _wrap_PyShapeCanvas_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
34185 { (char *)"PyShapeCanvas_base_OnLeftClick", (PyCFunction
) _wrap_PyShapeCanvas_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
34186 { (char *)"PyShapeCanvas_base_OnRightClick", (PyCFunction
) _wrap_PyShapeCanvas_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
34187 { (char *)"PyShapeCanvas_Redraw", (PyCFunction
) _wrap_PyShapeCanvas_Redraw
, METH_VARARGS
| METH_KEYWORDS
},
34188 { (char *)"PyShapeCanvas_RemoveShape", (PyCFunction
) _wrap_PyShapeCanvas_RemoveShape
, METH_VARARGS
| METH_KEYWORDS
},
34189 { (char *)"PyShapeCanvas_SetDiagram", (PyCFunction
) _wrap_PyShapeCanvas_SetDiagram
, METH_VARARGS
| METH_KEYWORDS
},
34190 { (char *)"PyShapeCanvas_Snap", (PyCFunction
) _wrap_PyShapeCanvas_Snap
, METH_VARARGS
| METH_KEYWORDS
},
34191 { (char *)"PyShapeCanvas_swigregister", PyShapeCanvas_swigregister
, METH_VARARGS
},
34192 { (char *)"OGLInitialize", (PyCFunction
) _wrap_OGLInitialize
, METH_VARARGS
| METH_KEYWORDS
},
34193 { (char *)"OGLCleanUp", (PyCFunction
) _wrap_OGLCleanUp
, METH_VARARGS
| METH_KEYWORDS
},
34198 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
34200 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
34201 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
34203 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
34204 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
34206 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
34207 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
34209 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
34210 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
34212 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
34213 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
34215 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
34216 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
34218 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
34219 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
34221 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
34222 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
34224 static void *_p_wxPyShapeCanvasTo_p_wxPanel(void *x
) {
34225 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
34227 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
34228 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
34230 static void *_p_wxPyShapeCanvasTo_p_wxScrolledWindow(void *x
) {
34231 return (void *)((wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
34233 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
34234 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
34236 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
34237 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
34239 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
34240 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
34242 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
34243 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
34245 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
34246 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
34248 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
34249 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
34251 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
34252 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
34254 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
34255 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
34257 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
34258 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
34260 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
34261 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
34263 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
34264 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
34266 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
34267 return (void *)((wxWindow
*) ((wxPanel
*) x
));
34269 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
34270 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
34272 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
34273 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
34275 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
34276 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
34278 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
34279 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
34281 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
34282 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
34284 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
34285 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
34287 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
34288 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
34290 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
34291 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
34293 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
34294 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
34296 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
34297 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
34299 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
34300 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
34302 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
34303 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
34305 static void *_p_wxControlTo_p_wxWindow(void *x
) {
34306 return (void *)((wxWindow
*) ((wxControl
*) x
));
34308 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
34309 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
34311 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
34312 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
34314 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
34315 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
34317 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
34318 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
34320 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
34321 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
34323 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
34324 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
34326 static void *_p_wxPyShapeCanvasTo_p_wxWindow(void *x
) {
34327 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
34329 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
34330 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
34332 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
34333 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
34335 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
34336 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
34338 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
34339 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
34341 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
34342 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
34344 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
34345 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
34347 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
34348 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
34350 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
34351 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
34353 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
34354 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
34356 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
34357 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
34359 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
34360 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
34362 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
34363 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
34365 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
34366 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
34368 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
34369 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
34371 static void *_p_wxPyControlPointTo_p_wxObject(void *x
) {
34372 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyControlPoint
*) x
));
34374 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
34375 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
34377 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
34378 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
34380 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
34381 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
34383 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
34384 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
34386 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
34387 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
34389 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
34390 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
34392 static void *_p_wxOGLConstraintTo_p_wxObject(void *x
) {
34393 return (void *)((wxObject
*) ((wxOGLConstraint
*) x
));
34395 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
34396 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
34398 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
34399 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
34401 static void *_p_wxSizerTo_p_wxObject(void *x
) {
34402 return (void *)((wxObject
*) ((wxSizer
*) x
));
34404 static void *_p_wxPyDrawnShapeTo_p_wxObject(void *x
) {
34405 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyDrawnShape
*) x
));
34407 static void *_p_wxPyDivisionShapeTo_p_wxObject(void *x
) {
34408 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*)(wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
34410 static void *_p_wxPyPolygonShapeTo_p_wxObject(void *x
) {
34411 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*) ((wxPyPolygonShape
*) x
));
34413 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
34414 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
34416 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
34417 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
34419 static void *_p_wxArrowHeadTo_p_wxObject(void *x
) {
34420 return (void *)((wxObject
*) ((wxArrowHead
*) x
));
34422 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
34423 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
34425 static void *_p_wxEventTo_p_wxObject(void *x
) {
34426 return (void *)((wxObject
*) ((wxEvent
*) x
));
34428 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
34429 return (void *)((wxObject
*) ((wxFontData
*) x
));
34431 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
34432 return (void *)((wxObject
*) ((wxPrintData
*) x
));
34434 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
34435 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
34437 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
34438 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
34440 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
34441 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
34443 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
34444 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
34446 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
34447 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
34449 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
34450 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
34452 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
34453 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
34455 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
34456 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
34458 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
34459 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
34461 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
34462 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
34464 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
34465 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
34467 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
34468 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
34470 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
34471 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
34473 static void *_p_wxPyShapeCanvasTo_p_wxObject(void *x
) {
34474 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
34476 static void *_p_wxControlTo_p_wxObject(void *x
) {
34477 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
34479 static void *_p_wxPyEllipseShapeTo_p_wxObject(void *x
) {
34480 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*) ((wxPyEllipseShape
*) x
));
34482 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
34483 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
34485 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
34486 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
34488 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
34489 return (void *)((wxObject
*) ((wxFSFile
*) x
));
34491 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
34492 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
34494 static void *_p_wxPyBitmapShapeTo_p_wxObject(void *x
) {
34495 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyBitmapShape
*) x
));
34497 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
34498 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
34500 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
34501 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
34503 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
34504 return (void *)((wxObject
*) ((wxColourData
*) x
));
34506 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
34507 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
34509 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
34510 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
34512 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
34513 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
34515 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
34516 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
34518 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
34519 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
34521 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
34522 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
34524 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
34525 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
34527 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
34528 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
34530 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
34531 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
34533 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
34534 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
34536 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
34537 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
34539 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
34540 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
34542 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
34543 return (void *)((wxObject
*) ((wxPrinter
*) x
));
34545 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
34546 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
34548 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
34549 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
34551 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
34552 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
34554 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
34555 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
34557 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
34558 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
34560 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
34561 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
34563 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
34564 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
34566 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
34567 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
34569 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
34570 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
34572 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
34573 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
34575 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
34576 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
34578 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
34579 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
34581 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
34582 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
34584 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
34585 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
34587 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
34588 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
34590 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
34591 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
34593 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
34594 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
34596 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
34597 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
34599 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
34600 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
34602 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
34603 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
34605 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
34606 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
34608 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
34609 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
34611 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
34612 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
34614 static void *_p_wxPyShapeEvtHandlerTo_p_wxObject(void *x
) {
34615 return (void *)((wxObject
*) ((wxPyShapeEvtHandler
*) x
));
34617 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
34618 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
34620 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
34621 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
34623 static void *_p_wxPyTextShapeTo_p_wxObject(void *x
) {
34624 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyTextShape
*) x
));
34626 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
34627 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
34629 static void *_p_wxPyDividedShapeTo_p_wxObject(void *x
) {
34630 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyDividedShape
*) x
));
34632 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
34633 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
34635 static void *_p_wxImageTo_p_wxObject(void *x
) {
34636 return (void *)((wxObject
*) ((wxImage
*) x
));
34638 static void *_p_wxFrameTo_p_wxObject(void *x
) {
34639 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
34641 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
34642 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
34644 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
34645 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
34647 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
34648 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
34650 static void *_p_wxDiagramTo_p_wxObject(void *x
) {
34651 return (void *)((wxObject
*) ((wxDiagram
*) x
));
34653 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
34654 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
34656 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
34657 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
34659 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
34660 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
34662 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
34663 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
34665 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
34666 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
34668 static void *_p_wxWindowTo_p_wxObject(void *x
) {
34669 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
34671 static void *_p_wxMenuTo_p_wxObject(void *x
) {
34672 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
34674 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
34675 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
34677 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
34678 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
34680 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
34681 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
34683 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
34684 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
34686 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
34687 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
34689 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
34690 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
34692 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
34693 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
34695 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
34696 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
34698 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
34699 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
34701 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
34702 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
34704 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
34705 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
34707 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
34708 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
34710 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
34711 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
34713 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
34714 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
34716 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
34717 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
34719 static void *_p_wxPanelTo_p_wxObject(void *x
) {
34720 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
34722 static void *_p_wxDialogTo_p_wxObject(void *x
) {
34723 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
34725 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
34726 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
34728 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
34729 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
34731 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
34732 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
34734 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
34735 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
34737 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
34738 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
34740 static void *_p_wxAttachmentPointTo_p_wxObject(void *x
) {
34741 return (void *)((wxObject
*) ((wxAttachmentPoint
*) x
));
34743 static void *_p_wxPyShapeTo_p_wxObject(void *x
) {
34744 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*) ((wxPyShape
*) x
));
34746 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
34747 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
34749 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
34750 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
34752 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
34753 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
34755 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
34756 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
34758 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
34759 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
34761 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
34762 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
34764 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
34765 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
34767 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
34768 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
34770 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
34771 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
34773 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
34774 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
34776 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
34777 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
34779 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
34780 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
34782 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
34783 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
34785 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
34786 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
34788 static void *_p_wxPyRectangleShapeTo_p_wxObject(void *x
) {
34789 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*) ((wxPyRectangleShape
*) x
));
34791 static void *_p_wxPyCompositeShapeTo_p_wxObject(void *x
) {
34792 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyCompositeShape
*) x
));
34794 static void *_p_wxPyCircleShapeTo_p_wxObject(void *x
) {
34795 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyEllipseShape
*) ((wxPyCircleShape
*) x
));
34797 static void *_p_wxPyLineShapeTo_p_wxObject(void *x
) {
34798 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*) ((wxPyLineShape
*) x
));
34800 static void *_p_wxPseudoMetaFileTo_p_wxObject(void *x
) {
34801 return (void *)((wxObject
*) ((wxPseudoMetaFile
*) x
));
34803 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
34804 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
34806 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
34807 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
34809 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
34810 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
34812 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
34813 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
34815 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
34816 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
34818 static void *_p_wxShapeRegionTo_p_wxObject(void *x
) {
34819 return (void *)((wxObject
*) ((wxShapeRegion
*) x
));
34821 static void *_p_wxPyRectangleShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34822 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*) ((wxPyRectangleShape
*) x
));
34824 static void *_p_wxPyBitmapShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34825 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyBitmapShape
*) x
));
34827 static void *_p_wxPyCompositeShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34828 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyCompositeShape
*) x
));
34830 static void *_p_wxPyCircleShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34831 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyEllipseShape
*) ((wxPyCircleShape
*) x
));
34833 static void *_p_wxPyLineShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34834 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*) ((wxPyLineShape
*) x
));
34836 static void *_p_wxPyTextShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34837 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyTextShape
*) x
));
34839 static void *_p_wxPyControlPointTo_p_wxPyShapeEvtHandler(void *x
) {
34840 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyControlPoint
*) x
));
34842 static void *_p_wxPyDrawnShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34843 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyDrawnShape
*) x
));
34845 static void *_p_wxPyDivisionShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34846 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*)(wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
34848 static void *_p_wxPyPolygonShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34849 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*) ((wxPyPolygonShape
*) x
));
34851 static void *_p_wxPyDividedShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34852 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyDividedShape
*) x
));
34854 static void *_p_wxPyShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34855 return (void *)((wxPyShapeEvtHandler
*) ((wxPyShape
*) x
));
34857 static void *_p_wxPyEllipseShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34858 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*) ((wxPyEllipseShape
*) x
));
34860 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
34861 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
34863 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
34864 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
34866 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
34867 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
34869 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
34870 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
34872 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
34873 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
34875 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
34876 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
34878 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
34879 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
34881 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
34882 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
34884 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
34885 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
34887 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
34888 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
34890 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
34891 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
34893 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
34894 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
34896 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
34897 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
34899 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
34900 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
34902 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
34903 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
34905 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
34906 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
34908 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
34909 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
34911 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
34912 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
34914 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
34915 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
34917 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
34918 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
34920 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
34921 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
34923 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
34924 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
34926 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
34927 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
34929 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
34930 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
34932 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
34933 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
34935 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
34936 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
34938 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
34939 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
34941 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
34942 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
34944 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
34945 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
34947 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
34948 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
34950 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
34951 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
34953 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
34954 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
34956 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
34957 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
34959 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
34960 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
34962 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
34963 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
34965 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
34966 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
34968 static void *_p_wxPyShapeCanvasTo_p_wxEvtHandler(void *x
) {
34969 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
34971 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
34972 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
34974 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
34975 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
34977 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
34978 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
34980 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
34981 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
34983 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
34984 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
34986 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
34987 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
34989 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
34990 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
34992 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
34993 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
34995 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
34996 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
34998 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
34999 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
35001 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
35002 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
35004 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
35005 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
35007 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
35008 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
35010 static void *_p_wxPyCircleShapeTo_p_wxPyEllipseShape(void *x
) {
35011 return (void *)((wxPyEllipseShape
*) ((wxPyCircleShape
*) x
));
35013 static void *_p_wxPyRectangleShapeTo_p_wxPyShape(void *x
) {
35014 return (void *)((wxPyShape
*) ((wxPyRectangleShape
*) x
));
35016 static void *_p_wxPyBitmapShapeTo_p_wxPyShape(void *x
) {
35017 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyBitmapShape
*) x
));
35019 static void *_p_wxPyCompositeShapeTo_p_wxPyShape(void *x
) {
35020 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyCompositeShape
*) x
));
35022 static void *_p_wxPyCircleShapeTo_p_wxPyShape(void *x
) {
35023 return (void *)((wxPyShape
*) (wxPyEllipseShape
*) ((wxPyCircleShape
*) x
));
35025 static void *_p_wxPyLineShapeTo_p_wxPyShape(void *x
) {
35026 return (void *)((wxPyShape
*) ((wxPyLineShape
*) x
));
35028 static void *_p_wxPyTextShapeTo_p_wxPyShape(void *x
) {
35029 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyTextShape
*) x
));
35031 static void *_p_wxPyControlPointTo_p_wxPyShape(void *x
) {
35032 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyControlPoint
*) x
));
35034 static void *_p_wxPyDrawnShapeTo_p_wxPyShape(void *x
) {
35035 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyDrawnShape
*) x
));
35037 static void *_p_wxPyDivisionShapeTo_p_wxPyShape(void *x
) {
35038 return (void *)((wxPyShape
*) (wxPyRectangleShape
*)(wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
35040 static void *_p_wxPyPolygonShapeTo_p_wxPyShape(void *x
) {
35041 return (void *)((wxPyShape
*) ((wxPyPolygonShape
*) x
));
35043 static void *_p_wxPyDividedShapeTo_p_wxPyShape(void *x
) {
35044 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyDividedShape
*) x
));
35046 static void *_p_wxPyEllipseShapeTo_p_wxPyShape(void *x
) {
35047 return (void *)((wxPyShape
*) ((wxPyEllipseShape
*) x
));
35049 static void *_p_wxPyBitmapShapeTo_p_wxPyRectangleShape(void *x
) {
35050 return (void *)((wxPyRectangleShape
*) ((wxPyBitmapShape
*) x
));
35052 static void *_p_wxPyCompositeShapeTo_p_wxPyRectangleShape(void *x
) {
35053 return (void *)((wxPyRectangleShape
*) ((wxPyCompositeShape
*) x
));
35055 static void *_p_wxPyTextShapeTo_p_wxPyRectangleShape(void *x
) {
35056 return (void *)((wxPyRectangleShape
*) ((wxPyTextShape
*) x
));
35058 static void *_p_wxPyControlPointTo_p_wxPyRectangleShape(void *x
) {
35059 return (void *)((wxPyRectangleShape
*) ((wxPyControlPoint
*) x
));
35061 static void *_p_wxPyDrawnShapeTo_p_wxPyRectangleShape(void *x
) {
35062 return (void *)((wxPyRectangleShape
*) ((wxPyDrawnShape
*) x
));
35064 static void *_p_wxPyDivisionShapeTo_p_wxPyRectangleShape(void *x
) {
35065 return (void *)((wxPyRectangleShape
*) (wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
35067 static void *_p_wxPyDividedShapeTo_p_wxPyRectangleShape(void *x
) {
35068 return (void *)((wxPyRectangleShape
*) ((wxPyDividedShape
*) x
));
35070 static void *_p_wxPyDivisionShapeTo_p_wxPyCompositeShape(void *x
) {
35071 return (void *)((wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
35073 static swig_type_info _swigt__p_wxOGLConstraint
[] = {{"_p_wxOGLConstraint", 0, "wxOGLConstraint *", 0},{"_p_wxOGLConstraint"},{0}};
35074 static swig_type_info _swigt__p_wxBrush
[] = {{"_p_wxBrush", 0, "wxBrush *", 0},{"_p_wxBrush"},{0}};
35075 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
35076 static swig_type_info _swigt__p_wxShapeRegion
[] = {{"_p_wxShapeRegion", 0, "wxShapeRegion *", 0},{"_p_wxShapeRegion"},{0}};
35077 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
35078 static swig_type_info _swigt__p_wxRealPoint
[] = {{"_p_wxRealPoint", 0, "wxRealPoint *", 0},{"_p_wxRealPoint"},{0}};
35079 static swig_type_info _swigt__p_wxPyControlPoint
[] = {{"_p_wxPyControlPoint", 0, "wxPyControlPoint *", 0},{"_p_wxPyControlPoint"},{0}};
35080 static swig_type_info _swigt__p_wxArrowHead
[] = {{"_p_wxArrowHead", 0, "wxArrowHead *", 0},{"_p_wxArrowHead"},{0}};
35081 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
35082 static swig_type_info _swigt__p_wxStringList
[] = {{"_p_wxStringList", 0, "wxStringList *", 0},{"_p_wxStringList"},{0}};
35083 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}};
35084 static swig_type_info _swigt__p_bool
[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
35085 static swig_type_info _swigt__p_wxList
[] = {{"_p_wxList", 0, "wxList *", 0},{"_p_wxList"},{0}};
35086 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
35087 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}};
35088 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}};
35089 static swig_type_info _swigt__p_double
[] = {{"_p_double", 0, "double *", 0},{"_p_double"},{0}};
35090 static swig_type_info _swigt__p_wxPyDivisionShape
[] = {{"_p_wxPyDivisionShape", 0, "wxPyDivisionShape *", 0},{"_p_wxPyDivisionShape"},{0}};
35091 static swig_type_info _swigt__p_wxPyDrawnShape
[] = {{"_p_wxPyDrawnShape", 0, "wxPyDrawnShape *", 0},{"_p_wxPyDrawnShape"},{0}};
35092 static swig_type_info _swigt__p_wxPyPolygonShape
[] = {{"_p_wxPyPolygonShape", 0, "wxPyPolygonShape *", 0},{"_p_wxPyPolygonShape"},{0}};
35093 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
35094 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}};
35095 static swig_type_info _swigt__p_wxPyBitmapShape
[] = {{"_p_wxPyBitmapShape", 0, "wxPyBitmapShape *", 0},{"_p_wxPyBitmapShape"},{0}};
35096 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}};
35097 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}};
35098 static swig_type_info _swigt__p_wxPyEllipseShape
[] = {{"_p_wxPyEllipseShape", 0, "wxPyEllipseShape *", 0},{"_p_wxPyCircleShape", _p_wxPyCircleShapeTo_p_wxPyEllipseShape
},{"_p_wxPyEllipseShape"},{0}};
35099 static swig_type_info _swigt__p_wxPyShapeCanvas
[] = {{"_p_wxPyShapeCanvas", 0, "wxPyShapeCanvas *", 0},{"_p_wxPyShapeCanvas"},{0}};
35100 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
35101 static swig_type_info _swigt__p_wxDiagram
[] = {{"_p_wxDiagram", 0, "wxDiagram *", 0},{"_p_wxDiagram"},{0}};
35102 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}};
35103 static swig_type_info _swigt__p_wxAttachmentPoint
[] = {{"_p_wxAttachmentPoint", 0, "wxAttachmentPoint *", 0},{"_p_wxAttachmentPoint"},{0}};
35104 static swig_type_info _swigt__p_wxClassInfo
[] = {{"_p_wxClassInfo", 0, "wxClassInfo *", 0},{"_p_wxClassInfo"},{0}};
35105 static swig_type_info _swigt__p_wxPyLineShape
[] = {{"_p_wxPyLineShape", 0, "wxPyLineShape *", 0},{"_p_wxPyLineShape"},{0}};
35106 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}};
35107 static swig_type_info _swigt__p_wxPyCompositeShape
[] = {{"_p_wxPyCompositeShape", 0, "wxPyCompositeShape *", 0},{"_p_wxPyCompositeShape"},{"_p_wxPyDivisionShape", _p_wxPyDivisionShapeTo_p_wxPyCompositeShape
},{0}};
35108 static swig_type_info _swigt__p_wxPyCircleShape
[] = {{"_p_wxPyCircleShape", 0, "wxPyCircleShape *", 0},{"_p_wxPyCircleShape"},{0}};
35109 static swig_type_info _swigt__p_wxPen
[] = {{"_p_wxPen", 0, "wxPen *", 0},{"_p_wxPen"},{0}};
35110 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
35111 static swig_type_info _swigt__p_wxPseudoMetaFile
[] = {{"_p_wxPseudoMetaFile", 0, "wxPseudoMetaFile *", 0},{"_p_wxPseudoMetaFile"},{0}};
35112 static swig_type_info _swigt__p_wxPyTextShape
[] = {{"_p_wxPyTextShape", 0, "wxPyTextShape *", 0},{"_p_wxPyTextShape"},{0}};
35113 static swig_type_info _swigt__p_wxPyDividedShape
[] = {{"_p_wxPyDividedShape", 0, "wxPyDividedShape *", 0},{"_p_wxPyDividedShape"},{0}};
35115 static swig_type_info
*swig_types_initial
[] = {
35116 _swigt__p_wxOGLConstraint
,
35118 _swigt__p_wxColour
,
35119 _swigt__p_wxShapeRegion
,
35121 _swigt__p_wxRealPoint
,
35122 _swigt__p_wxPyControlPoint
,
35123 _swigt__p_wxArrowHead
,
35125 _swigt__p_wxStringList
,
35130 _swigt__p_wxScrolledWindow
,
35131 _swigt__p_wxWindow
,
35133 _swigt__p_wxPyDivisionShape
,
35134 _swigt__p_wxPyDrawnShape
,
35135 _swigt__p_wxPyPolygonShape
,
35136 _swigt__p_wxBitmap
,
35137 _swigt__p_wxObject
,
35138 _swigt__p_wxPyBitmapShape
,
35139 _swigt__p_wxPyShapeEvtHandler
,
35140 _swigt__p_wxEvtHandler
,
35141 _swigt__p_wxPyEllipseShape
,
35142 _swigt__p_wxPyShapeCanvas
,
35144 _swigt__p_wxDiagram
,
35145 _swigt__p_wxPyShape
,
35146 _swigt__p_wxAttachmentPoint
,
35147 _swigt__p_wxClassInfo
,
35148 _swigt__p_wxPyLineShape
,
35149 _swigt__p_wxPyRectangleShape
,
35150 _swigt__p_wxPyCompositeShape
,
35151 _swigt__p_wxPyCircleShape
,
35154 _swigt__p_wxPseudoMetaFile
,
35155 _swigt__p_wxPyTextShape
,
35156 _swigt__p_wxPyDividedShape
,
35161 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
35163 static swig_const_info swig_const_table
[] = {
35173 SWIGEXPORT(void) SWIG_init(void) {
35174 static PyObject
*SWIG_globals
= 0;
35175 static int typeinit
= 0;
35178 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
35179 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
35180 d
= PyModule_GetDict(m
);
35183 for (i
= 0; swig_types_initial
[i
]; i
++) {
35184 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
35188 SWIG_InstallConstants(d
,swig_const_table
);
35190 PyDict_SetItemString(d
,"oglMETAFLAGS_OUTLINE", SWIG_PyObj_FromInt((int)oglMETAFLAGS_OUTLINE
));
35191 PyDict_SetItemString(d
,"oglMETAFLAGS_ATTACHMENTS", SWIG_PyObj_FromInt((int)oglMETAFLAGS_ATTACHMENTS
));
35192 PyDict_SetItemString(d
,"KEY_SHIFT", SWIG_PyObj_FromInt((int)KEY_SHIFT
));
35193 PyDict_SetItemString(d
,"KEY_CTRL", SWIG_PyObj_FromInt((int)KEY_CTRL
));
35194 PyDict_SetItemString(d
,"ARROW_NONE", SWIG_PyObj_FromInt((int)ARROW_NONE
));
35195 PyDict_SetItemString(d
,"ARROW_END", SWIG_PyObj_FromInt((int)ARROW_END
));
35196 PyDict_SetItemString(d
,"ARROW_BOTH", SWIG_PyObj_FromInt((int)ARROW_BOTH
));
35197 PyDict_SetItemString(d
,"ARROW_MIDDLE", SWIG_PyObj_FromInt((int)ARROW_MIDDLE
));
35198 PyDict_SetItemString(d
,"ARROW_START", SWIG_PyObj_FromInt((int)ARROW_START
));
35199 PyDict_SetItemString(d
,"ARROW_HOLLOW_CIRCLE", SWIG_PyObj_FromInt((int)ARROW_HOLLOW_CIRCLE
));
35200 PyDict_SetItemString(d
,"ARROW_FILLED_CIRCLE", SWIG_PyObj_FromInt((int)ARROW_FILLED_CIRCLE
));
35201 PyDict_SetItemString(d
,"ARROW_ARROW", SWIG_PyObj_FromInt((int)ARROW_ARROW
));
35202 PyDict_SetItemString(d
,"ARROW_SINGLE_OBLIQUE", SWIG_PyObj_FromInt((int)ARROW_SINGLE_OBLIQUE
));
35203 PyDict_SetItemString(d
,"ARROW_DOUBLE_OBLIQUE", SWIG_PyObj_FromInt((int)ARROW_DOUBLE_OBLIQUE
));
35204 PyDict_SetItemString(d
,"ARROW_METAFILE", SWIG_PyObj_FromInt((int)ARROW_METAFILE
));
35205 PyDict_SetItemString(d
,"ARROW_POSITION_END", SWIG_PyObj_FromInt((int)ARROW_POSITION_END
));
35206 PyDict_SetItemString(d
,"ARROW_POSITION_START", SWIG_PyObj_FromInt((int)ARROW_POSITION_START
));
35207 PyDict_SetItemString(d
,"CONTROL_POINT_VERTICAL", SWIG_PyObj_FromInt((int)CONTROL_POINT_VERTICAL
));
35208 PyDict_SetItemString(d
,"CONTROL_POINT_HORIZONTAL", SWIG_PyObj_FromInt((int)CONTROL_POINT_HORIZONTAL
));
35209 PyDict_SetItemString(d
,"CONTROL_POINT_DIAGONAL", SWIG_PyObj_FromInt((int)CONTROL_POINT_DIAGONAL
));
35210 PyDict_SetItemString(d
,"CONTROL_POINT_ENDPOINT_TO", SWIG_PyObj_FromInt((int)CONTROL_POINT_ENDPOINT_TO
));
35211 PyDict_SetItemString(d
,"CONTROL_POINT_ENDPOINT_FROM", SWIG_PyObj_FromInt((int)CONTROL_POINT_ENDPOINT_FROM
));
35212 PyDict_SetItemString(d
,"CONTROL_POINT_LINE", SWIG_PyObj_FromInt((int)CONTROL_POINT_LINE
));
35213 PyDict_SetItemString(d
,"FORMAT_NONE", SWIG_PyObj_FromInt((int)FORMAT_NONE
));
35214 PyDict_SetItemString(d
,"FORMAT_CENTRE_HORIZ", SWIG_PyObj_FromInt((int)FORMAT_CENTRE_HORIZ
));
35215 PyDict_SetItemString(d
,"FORMAT_CENTRE_VERT", SWIG_PyObj_FromInt((int)FORMAT_CENTRE_VERT
));
35216 PyDict_SetItemString(d
,"FORMAT_SIZE_TO_CONTENTS", SWIG_PyObj_FromInt((int)FORMAT_SIZE_TO_CONTENTS
));
35217 PyDict_SetItemString(d
,"LINE_ALIGNMENT_HORIZ", SWIG_PyObj_FromInt((int)LINE_ALIGNMENT_HORIZ
));
35218 PyDict_SetItemString(d
,"LINE_ALIGNMENT_VERT", SWIG_PyObj_FromInt((int)LINE_ALIGNMENT_VERT
));
35219 PyDict_SetItemString(d
,"LINE_ALIGNMENT_TO_NEXT_HANDLE", SWIG_PyObj_FromInt((int)LINE_ALIGNMENT_TO_NEXT_HANDLE
));
35220 PyDict_SetItemString(d
,"LINE_ALIGNMENT_NONE", SWIG_PyObj_FromInt((int)LINE_ALIGNMENT_NONE
));
35221 PyDict_SetItemString(d
,"SHADOW_NONE", SWIG_PyObj_FromInt((int)SHADOW_NONE
));
35222 PyDict_SetItemString(d
,"SHADOW_LEFT", SWIG_PyObj_FromInt((int)SHADOW_LEFT
));
35223 PyDict_SetItemString(d
,"SHADOW_RIGHT", SWIG_PyObj_FromInt((int)SHADOW_RIGHT
));
35224 PyDict_SetItemString(d
,"OP_CLICK_LEFT", SWIG_PyObj_FromInt((int)OP_CLICK_LEFT
));
35225 PyDict_SetItemString(d
,"OP_CLICK_RIGHT", SWIG_PyObj_FromInt((int)OP_CLICK_RIGHT
));
35226 PyDict_SetItemString(d
,"OP_DRAG_LEFT", SWIG_PyObj_FromInt((int)OP_DRAG_LEFT
));
35227 PyDict_SetItemString(d
,"OP_DRAG_RIGHT", SWIG_PyObj_FromInt((int)OP_DRAG_RIGHT
));
35228 PyDict_SetItemString(d
,"OP_ALL", SWIG_PyObj_FromInt((int)OP_ALL
));
35229 PyDict_SetItemString(d
,"ATTACHMENT_MODE_NONE", SWIG_PyObj_FromInt((int)ATTACHMENT_MODE_NONE
));
35230 PyDict_SetItemString(d
,"ATTACHMENT_MODE_EDGE", SWIG_PyObj_FromInt((int)ATTACHMENT_MODE_EDGE
));
35231 PyDict_SetItemString(d
,"ATTACHMENT_MODE_BRANCHING", SWIG_PyObj_FromInt((int)ATTACHMENT_MODE_BRANCHING
));
35232 PyDict_SetItemString(d
,"BRANCHING_ATTACHMENT_NORMAL", SWIG_PyObj_FromInt((int)BRANCHING_ATTACHMENT_NORMAL
));
35233 PyDict_SetItemString(d
,"BRANCHING_ATTACHMENT_BLOB", SWIG_PyObj_FromInt((int)BRANCHING_ATTACHMENT_BLOB
));
35234 PyDict_SetItemString(d
,"gyCONSTRAINT_CENTRED_VERTICALLY", SWIG_PyObj_FromInt((int)gyCONSTRAINT_CENTRED_VERTICALLY
));
35235 PyDict_SetItemString(d
,"gyCONSTRAINT_CENTRED_HORIZONTALLY", SWIG_PyObj_FromInt((int)gyCONSTRAINT_CENTRED_HORIZONTALLY
));
35236 PyDict_SetItemString(d
,"gyCONSTRAINT_CENTRED_BOTH", SWIG_PyObj_FromInt((int)gyCONSTRAINT_CENTRED_BOTH
));
35237 PyDict_SetItemString(d
,"gyCONSTRAINT_LEFT_OF", SWIG_PyObj_FromInt((int)gyCONSTRAINT_LEFT_OF
));
35238 PyDict_SetItemString(d
,"gyCONSTRAINT_RIGHT_OF", SWIG_PyObj_FromInt((int)gyCONSTRAINT_RIGHT_OF
));
35239 PyDict_SetItemString(d
,"gyCONSTRAINT_ABOVE", SWIG_PyObj_FromInt((int)gyCONSTRAINT_ABOVE
));
35240 PyDict_SetItemString(d
,"gyCONSTRAINT_BELOW", SWIG_PyObj_FromInt((int)gyCONSTRAINT_BELOW
));
35241 PyDict_SetItemString(d
,"gyCONSTRAINT_ALIGNED_TOP", SWIG_PyObj_FromInt((int)gyCONSTRAINT_ALIGNED_TOP
));
35242 PyDict_SetItemString(d
,"gyCONSTRAINT_ALIGNED_BOTTOM", SWIG_PyObj_FromInt((int)gyCONSTRAINT_ALIGNED_BOTTOM
));
35243 PyDict_SetItemString(d
,"gyCONSTRAINT_ALIGNED_LEFT", SWIG_PyObj_FromInt((int)gyCONSTRAINT_ALIGNED_LEFT
));
35244 PyDict_SetItemString(d
,"gyCONSTRAINT_ALIGNED_RIGHT", SWIG_PyObj_FromInt((int)gyCONSTRAINT_ALIGNED_RIGHT
));
35245 PyDict_SetItemString(d
,"gyCONSTRAINT_MIDALIGNED_TOP", SWIG_PyObj_FromInt((int)gyCONSTRAINT_MIDALIGNED_TOP
));
35246 PyDict_SetItemString(d
,"gyCONSTRAINT_MIDALIGNED_BOTTOM", SWIG_PyObj_FromInt((int)gyCONSTRAINT_MIDALIGNED_BOTTOM
));
35247 PyDict_SetItemString(d
,"gyCONSTRAINT_MIDALIGNED_LEFT", SWIG_PyObj_FromInt((int)gyCONSTRAINT_MIDALIGNED_LEFT
));
35248 PyDict_SetItemString(d
,"gyCONSTRAINT_MIDALIGNED_RIGHT", SWIG_PyObj_FromInt((int)gyCONSTRAINT_MIDALIGNED_RIGHT
));
35249 PyDict_SetItemString(d
,"DIVISION_SIDE_NONE", SWIG_PyObj_FromInt((int)DIVISION_SIDE_NONE
));
35250 PyDict_SetItemString(d
,"DIVISION_SIDE_LEFT", SWIG_PyObj_FromInt((int)DIVISION_SIDE_LEFT
));
35251 PyDict_SetItemString(d
,"DIVISION_SIDE_TOP", SWIG_PyObj_FromInt((int)DIVISION_SIDE_TOP
));
35252 PyDict_SetItemString(d
,"DIVISION_SIDE_RIGHT", SWIG_PyObj_FromInt((int)DIVISION_SIDE_RIGHT
));
35253 PyDict_SetItemString(d
,"DIVISION_SIDE_BOTTOM", SWIG_PyObj_FromInt((int)DIVISION_SIDE_BOTTOM
));
35256 // initoglbasicc();
35257 // initoglshapesc();
35258 // initoglshapes2c();
35259 // initoglcanvasc();
35262 wxPyPtrTypeMap_Add("wxControlPoint", "wxPyControlPoint");
35263 wxPyPtrTypeMap_Add("wxShapeCanvas", "wxPyShapeCanvas");
35264 wxPyPtrTypeMap_Add("wxShapeEvtHandler", "wxPyShapeEvtHandler");
35265 wxPyPtrTypeMap_Add("wxShape", "wxPyShape");
35266 wxPyPtrTypeMap_Add("wxRectangleShape", "wxPyRectangleShape");
35267 wxPyPtrTypeMap_Add("wxDrawnShape", "wxPyDrawnShape");
35268 wxPyPtrTypeMap_Add("wxCompositeShape", "wxPyCompositeShape");
35269 wxPyPtrTypeMap_Add("wxDividedShape", "wxPyDividedShape");
35270 wxPyPtrTypeMap_Add("wxDivisionShape", "wxPyDivisionShape");
35271 wxPyPtrTypeMap_Add("wxEllipseShape", "wxPyEllipseShape");
35272 wxPyPtrTypeMap_Add("wxCircleShape", "wxPyCircleShape");
35273 wxPyPtrTypeMap_Add("wxLineShape", "wxPyLineShape");
35274 wxPyPtrTypeMap_Add("wxPolygonShape", "wxPyPolygonShape");
35275 wxPyPtrTypeMap_Add("wxTextShape", "wxPyTextShape");