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);
128 /***********************************************************************
129 * pyrun.swg for wxPython
131 * Include only the function prototypes and such from SWIG's pyrun.swg,
132 * but not the runtime functions themselves. This helps keep the
133 * wrapper files clean of unnecessary stuff that is in the libpy.c file
136 ************************************************************************/
144 #define SWIG_PY_INT 1
145 #define SWIG_PY_FLOAT 2
146 #define SWIG_PY_STRING 3
147 #define SWIG_PY_POINTER 4
148 #define SWIG_PY_BINARY 5
150 /* Flags for pointer conversion */
152 #define SWIG_POINTER_EXCEPTION 0x1
153 #define SWIG_POINTER_DISOWN 0x2
155 /* Exception handling in wrappers */
156 #define SWIG_fail goto fail
158 /* Constant information structure */
159 typedef struct swig_const_info
{
165 swig_type_info
**ptype
;
168 /* Common SWIG API */
169 #define SWIG_ConvertPtr(obj, pp, type, flags) \
170 SWIG_Python_ConvertPtr(obj, pp, type, flags)
171 #define SWIG_NewPointerObj(p, type, flags) \
172 SWIG_Python_NewPointerObj(p, type, flags)
173 #define SWIG_MustGetPtr(p, type, argnum, flags) \
174 SWIG_Python_MustGetPtr(p, type, argnum, flags)
176 /* Python-specific SWIG API */
177 #define SWIG_newvarlink() \
178 SWIG_Python_newvarlink()
179 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
180 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
181 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
182 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
183 #define SWIG_NewPackedObj(ptr, sz, type) \
184 SWIG_Python_NewPackedObj(ptr, sz, type)
185 #define SWIG_InstallConstants(d, constants) \
186 SWIG_Python_InstallConstants(d, constants)
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
[]);
200 /* Contract support */
202 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
210 /* -------- TYPES TABLE (BEGIN) -------- */
212 #define SWIGTYPE_p_wxOGLConstraint swig_types[0]
213 #define SWIGTYPE_p_wxBrush swig_types[1]
214 #define SWIGTYPE_p_wxColour swig_types[2]
215 #define SWIGTYPE_p_wxShapeRegion swig_types[3]
216 #define SWIGTYPE_p_wxDC swig_types[4]
217 #define SWIGTYPE_p_wxRealPoint swig_types[5]
218 #define SWIGTYPE_p_wxPyControlPoint swig_types[6]
219 #define SWIGTYPE_p_wxArrowHead swig_types[7]
220 #define SWIGTYPE_p_wxStringList swig_types[8]
221 #define SWIGTYPE_p_wxPanel swig_types[9]
222 #define SWIGTYPE_p_bool swig_types[10]
223 #define SWIGTYPE_p_wxList swig_types[11]
224 #define SWIGTYPE_p_wxFont swig_types[12]
225 #define SWIGTYPE_p_wxScrolledWindow swig_types[13]
226 #define SWIGTYPE_p_wxWindow swig_types[14]
227 #define SWIGTYPE_p_double swig_types[15]
228 #define SWIGTYPE_p_wxPyDivisionShape swig_types[16]
229 #define SWIGTYPE_p_wxPyDrawnShape swig_types[17]
230 #define SWIGTYPE_p_wxPyPolygonShape swig_types[18]
231 #define SWIGTYPE_p_wxBitmap swig_types[19]
232 #define SWIGTYPE_p_wxObject swig_types[20]
233 #define SWIGTYPE_p_wxPyBitmapShape swig_types[21]
234 #define SWIGTYPE_p_wxString swig_types[22]
235 #define SWIGTYPE_p_wxPyShapeEvtHandler swig_types[23]
236 #define SWIGTYPE_p_wxEvtHandler swig_types[24]
237 #define SWIGTYPE_p_wxPyEllipseShape swig_types[25]
238 #define SWIGTYPE_p_wxPyShapeCanvas swig_types[26]
239 #define SWIGTYPE_p_wxPoint swig_types[27]
240 #define SWIGTYPE_p_wxDiagram swig_types[28]
241 #define SWIGTYPE_p_wxPyShape swig_types[29]
242 #define SWIGTYPE_p_wxAttachmentPoint swig_types[30]
243 #define SWIGTYPE_p_wxClassInfo swig_types[31]
244 #define SWIGTYPE_p_wxPyLineShape swig_types[32]
245 #define SWIGTYPE_p_wxPyRectangleShape swig_types[33]
246 #define SWIGTYPE_p_wxPyCompositeShape swig_types[34]
247 #define SWIGTYPE_p_wxPyCircleShape swig_types[35]
248 #define SWIGTYPE_p_wxPen swig_types[36]
249 #define SWIGTYPE_p_int swig_types[37]
250 #define SWIGTYPE_p_wxPseudoMetaFile swig_types[38]
251 #define SWIGTYPE_p_wxPyTextShape swig_types[39]
252 #define SWIGTYPE_p_wxPyDividedShape swig_types[40]
253 static swig_type_info
*swig_types
[42];
255 /* -------- TYPES TABLE (END) -------- */
258 /*-----------------------------------------------
260 ------------------------------------------------*/
261 #define SWIG_init init_ogl
263 #define SWIG_name "_ogl"
265 #include "wx/wxPython/wxPython.h"
266 #include "wx/wxPython/pyclasses.h"
267 #include "oglhelpers.h"
270 static const wxString
wxPyEmptyString(wxEmptyString
);
272 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
278 } else if (target
== Py_None
) {
282 if (!PyTuple_Check(target
)) {
284 target
= PyTuple_New(1);
285 PyTuple_SetItem(target
, 0, o2
);
288 PyTuple_SetItem(o3
, 0, o
);
291 target
= PySequence_Concat(o2
, o3
);
299 WXSHAPE_IMP_CALLBACKS(wxPyShapeEvtHandler
,wxShapeEvtHandler
);
301 void wxPyShapeEvtHandler__setOORInfo(wxPyShapeEvtHandler
*self
,PyObject
*_self
){
302 self
->SetClientObject(new wxPyOORClientData(_self
));
305 WXSHAPE_IMP_CALLBACKS(wxPyShape
, wxShape
);
307 PyObject
*wxPyShape_GetChildren(wxPyShape
*self
){
308 wxList
& list
= self
->GetChildren();
309 return wxPy_ConvertShapeList(&list
);
311 PyObject
*wxPyShape_GetLines(wxPyShape
*self
){
312 wxList
& list
= self
->GetLines();
313 return wxPy_ConvertShapeList(&list
);
315 PyObject
*wxPyShape_GetRegions(wxPyShape
*self
){
316 wxList
& list
= self
->GetRegions();
317 return wxPy_ConvertList(&list
);
319 PyObject
*wxPyShape_GetAttachments(wxPyShape
*self
){
320 wxList
& list
= self
->GetAttachments();
321 return wxPy_ConvertList(&list
);
323 void wxPyShape_ApplyAttachmentOrdering(wxPyShape
*self
,PyObject
*linesToSort
){
324 wxList
* list
= wxPy_wxListHelper(linesToSort
, wxT("wxPyLineShape"));
325 self
->ApplyAttachmentOrdering(*list
);
329 // Using this macro can sometimes provoke an Internal Compiler Error in MSVC
330 // 6, so instead I'l just expand it out by hand...
331 // WXSHAPE_IMP_CALLBACKS(wxPyRectangleShape, wxRectangleShape);
333 IMP_PYCALLBACK__ (wxPyRectangleShape
, wxRectangleShape
, OnDelete
);
334 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnDraw
);
335 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnDrawContents
);
336 IMP_PYCALLBACK__DCBOOL (wxPyRectangleShape
, wxRectangleShape
, OnDrawBranches
);
337 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnMoveLinks
);
338 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnErase
);
339 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnEraseContents
);
340 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnHighlight
);
341 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnLeftClick
);
342 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnLeftDoubleClick
);
343 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnRightClick
);
344 IMP_PYCALLBACK__2DBL (wxPyRectangleShape
, wxRectangleShape
, OnSize
);
345 IMP_PYCALLBACK_BOOL_DC4DBLBOOL (wxPyRectangleShape
, wxRectangleShape
, OnMovePre
);
346 IMP_PYCALLBACK__DC4DBLBOOL (wxPyRectangleShape
, wxRectangleShape
, OnMovePost
);
347 IMP_PYCALLBACK__BOOL2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnDragLeft
);
348 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnBeginDragLeft
);
349 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnEndDragLeft
);
350 IMP_PYCALLBACK__BOOL2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnDragRight
);
351 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnBeginDragRight
);
352 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnEndDragRight
);
353 IMP_PYCALLBACK__DC4DBL (wxPyRectangleShape
, wxRectangleShape
, OnDrawOutline
);
354 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnDrawControlPoints
);
355 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnEraseControlPoints
);
356 IMP_PYCALLBACK__DCBOOL (wxPyRectangleShape
, wxRectangleShape
, OnMoveLink
);
357 IMP_PYCALLBACK__WXCPBOOL2DBL2INT(wxPyRectangleShape
, wxRectangleShape
, OnSizingDragLeft
);
358 IMP_PYCALLBACK__WXCP2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnSizingBeginDragLeft
);
359 IMP_PYCALLBACK__WXCP2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnSizingEndDragLeft
);
360 IMP_PYCALLBACK__2DBL (wxPyRectangleShape
, wxRectangleShape
, OnBeginSize
);
361 IMP_PYCALLBACK__2DBL (wxPyRectangleShape
, wxRectangleShape
, OnEndSize
)
365 WXSHAPE_IMP_CALLBACKS(wxPyControlPoint
, wxControlPoint
);
368 WXSHAPE_IMP_CALLBACKS(wxPyBitmapShape
, wxBitmapShape
);
371 WXSHAPE_IMP_CALLBACKS(wxPyDrawnShape
, wxDrawnShape
);
373 wxOGLConstraint
*new_wxOGLConstraint(int type
,wxPyShape
*constraining
,PyObject
*constrained
){
374 wxList
* list
= wxPy_wxListHelper(constrained
, wxT("wxPyShape"));
375 wxOGLConstraint
* rv
= new wxOGLConstraint(type
, constraining
, *list
);
380 WXSHAPE_IMP_CALLBACKS(wxPyCompositeShape
, wxCompositeShape
);
382 wxOGLConstraint
*wxPyCompositeShape_AddConstrainedShapes(wxPyCompositeShape
*self
,int type
,wxPyShape
*constraining
,PyObject
*constrained
){
383 wxList
* list
= wxPy_wxListHelper(constrained
, wxT("wxPyShape"));
384 wxOGLConstraint
* rv
= self
->AddConstraint(type
, constraining
, *list
);
388 PyObject
*wxPyCompositeShape_GetConstraints(wxPyCompositeShape
*self
){
389 wxList
& list
= self
->GetConstraints();
390 return wxPy_ConvertList(&list
);
392 PyObject
*wxPyCompositeShape_GetDivisions(wxPyCompositeShape
*self
){
393 wxList
& list
= self
->GetDivisions();
394 return wxPy_ConvertShapeList(&list
);
397 WXSHAPE_IMP_CALLBACKS(wxPyDividedShape
, wxDividedShape
);
400 WXSHAPE_IMP_CALLBACKS(wxPyDivisionShape
, wxDivisionShape
);
403 WXSHAPE_IMP_CALLBACKS(wxPyEllipseShape
, wxEllipseShape
);
406 WXSHAPE_IMP_CALLBACKS(wxPyCircleShape
, wxCircleShape
);
409 WXSHAPE_IMP_CALLBACKS(wxPyLineShape
, wxLineShape
);
411 void wxPyLineShape_AddArrowOrdered(wxPyLineShape
*self
,wxArrowHead
*arrow
,PyObject
*referenceList
,int end
){
412 wxList
* list
= wxPy_wxListHelper(referenceList
, wxT("wxArrowHead"));
413 self
->AddArrowOrdered(arrow
, *list
, end
);
416 PyObject
*wxPyLineShape_GetLineControlPoints(wxPyLineShape
*self
){
417 wxList
* list
= self
->GetLineControlPoints();
418 return wxPy_ConvertShapeList(list
);
421 WXSHAPE_IMP_CALLBACKS(wxPyPolygonShape
, wxPolygonShape
);
423 PyObject
*wxPyPolygonShape_Create(wxPyPolygonShape
*self
,PyObject
*points
){
424 wxList
* list
= wxPy_wxRealPoint_ListHelper(points
);
432 PyObject
*wxPyPolygonShape_GetPoints(wxPyPolygonShape
*self
){
433 wxList
* list
= self
->GetPoints();
437 wxNode
* node
= list
->GetFirst();
439 wxPyBeginBlockThreads();
440 pyList
= PyList_New(0);
442 wxObj
= node
->GetData();
443 pyObj
= wxPyConstructObject(wxObj
, wxT("wxRealPoint"), 0);
444 PyList_Append(pyList
, pyObj
);
445 node
= node
->GetNext();
447 wxPyEndBlockThreads();
450 PyObject
*wxPyPolygonShape_GetOriginalPoints(wxPyPolygonShape
*self
){
451 wxList
* list
= self
->GetOriginalPoints();
455 wxNode
* node
= list
->GetFirst();
457 wxPyBeginBlockThreads();
458 pyList
= PyList_New(0);
460 wxObj
= node
->GetData();
461 pyObj
= wxPyConstructObject(wxObj
, wxT("wxRealPoint"), 0);
462 PyList_Append(pyList
, pyObj
);
463 node
= node
->GetNext();
465 wxPyEndBlockThreads();
469 WXSHAPE_IMP_CALLBACKS(wxPyTextShape
, wxTextShape
);
472 // Put some wx default wxChar* values into wxStrings.
473 DECLARE_DEF_STRING(ShapeCanvasNameStr
);
475 PyObject
*wxDiagram_GetShapeList(wxDiagram
*self
){
476 wxList
* list
= self
->GetShapeList();
477 return wxPy_ConvertShapeList(list
);
480 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnBeginDragLeft
);
481 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnBeginDragRight
);
482 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnEndDragLeft
);
483 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnEndDragRight
);
484 IMP_PYCALLBACK__BOOL2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnDragLeft
);
485 IMP_PYCALLBACK__BOOL2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnDragRight
);
486 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnLeftClick
);
487 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnRightClick
);
490 //---------------------------------------------------------------------------
492 // Convert from a Python list to a list of className objects. This one will
493 // work for any class for the VERY generic cases, but beyond that the helper
494 // needs to know more about the type.
495 wxList
* wxPy_wxListHelper(PyObject
* pyList
, const wxChar
* className
) {
496 wxPyBeginBlockThreads();
497 if (!PyList_Check(pyList
)) {
498 PyErr_SetString(PyExc_TypeError
, "Expected a list object.");
499 wxPyEndBlockThreads();
502 int count
= PyList_Size(pyList
);
503 wxList
* list
= new wxList
;
505 PyErr_SetString(PyExc_MemoryError
, "Unable to allocate wxList object");
506 wxPyEndBlockThreads();
509 for (int x
=0; x
<count
; x
++) {
510 PyObject
* pyo
= PyList_GetItem(pyList
, x
);
511 wxObject
* wxo
= NULL
;
513 if ( !wxPyConvertSwigPtr(pyo
, (void **)&wxo
, className
) ) {
515 errmsg
.Printf(wxT("Type error, expected list of %s objects"), className
);
516 PyErr_SetString(PyExc_TypeError
, errmsg
.mb_str());
517 wxPyEndBlockThreads();
522 wxPyEndBlockThreads();
526 //---------------------------------------------------------------------------
528 wxList
* wxPy_wxRealPoint_ListHelper(PyObject
* pyList
) {
529 wxPyBeginBlockThreads();
530 if (!PyList_Check(pyList
)) {
531 PyErr_SetString(PyExc_TypeError
, "Expected a list object.");
532 wxPyEndBlockThreads();
535 int count
= PyList_Size(pyList
);
536 wxList
* list
= new wxList
;
538 PyErr_SetString(PyExc_MemoryError
, "Unable to allocate wxList object");
539 wxPyEndBlockThreads();
542 for (int x
=0; x
<count
; x
++) {
543 PyObject
* pyo
= PyList_GetItem(pyList
, x
);
545 if (PyTuple_Check(pyo
)) {
546 PyObject
* o1
= PyNumber_Float(PyTuple_GetItem(pyo
, 0));
547 PyObject
* o2
= PyNumber_Float(PyTuple_GetItem(pyo
, 1));
549 double val1
= (o1
? PyFloat_AsDouble(o1
) : 0.0);
550 double val2
= (o2
? PyFloat_AsDouble(o2
) : 0.0);
552 list
->Append((wxObject
*) new wxRealPoint(val1
, val2
));
555 wxRealPoint
* wxo
= NULL
;
556 if (wxPyConvertSwigPtr(pyo
, (void **)&wxo
, wxT("wxRealPoint"))) {
557 PyErr_SetString(PyExc_TypeError
, "Type error, expected list of wxRealPoint objects or 2-tuples");
558 wxPyEndBlockThreads();
561 list
->Append((wxObject
*) new wxRealPoint(*wxo
));
564 wxPyEndBlockThreads();
568 //---------------------------------------------------------------------------
570 PyObject
* wxPyMake_wxShapeEvtHandler(wxShapeEvtHandler
* source
) {
571 PyObject
* target
= NULL
;
573 if (source
&& wxIsKindOf(source
, wxShapeEvtHandler
)) {
574 // If it's derived from wxShapeEvtHandler then there may
575 // already be a pointer to a Python object that we can use
577 wxShapeEvtHandler
* seh
= (wxShapeEvtHandler
*)source
;
578 wxPyOORClientData
* data
= (wxPyOORClientData
*)seh
->GetClientObject();
580 target
= data
->m_obj
;
585 target
= wxPyMake_wxObject2(source
, FALSE
);
586 if (target
!= Py_None
)
587 ((wxShapeEvtHandler
*)source
)->SetClientObject(new wxPyOORClientData(target
));
592 //---------------------------------------------------------------------------
594 PyObject
* wxPy_ConvertShapeList(wxListBase
* listbase
) {
595 wxList
* list
= (wxList
*)listbase
;
599 wxNode
* node
= list
->GetFirst();
601 wxPyBeginBlockThreads();
602 pyList
= PyList_New(0);
604 wxObj
= node
->GetData();
605 pyObj
= wxPyMake_wxShapeEvtHandler((wxShapeEvtHandler
*)wxObj
);
606 PyList_Append(pyList
, pyObj
);
607 node
= node
->GetNext();
609 wxPyEndBlockThreads();
614 //---------------------------------------------------------------------------
616 IMPLEMENT_DYNAMIC_CLASS(wxPyShapeCanvas
, wxShapeCanvas
);
617 IMPLEMENT_DYNAMIC_CLASS(wxPyShapeEvtHandler
, wxShapeEvtHandler
);
618 IMPLEMENT_ABSTRACT_CLASS(wxPyShape
, wxShape
);
619 IMPLEMENT_DYNAMIC_CLASS(wxPyRectangleShape
, wxRectangleShape
);
620 IMPLEMENT_DYNAMIC_CLASS(wxPyControlPoint
, wxControlPoint
);
621 IMPLEMENT_DYNAMIC_CLASS(wxPyBitmapShape
, wxBitmapShape
);
622 IMPLEMENT_DYNAMIC_CLASS(wxPyDrawnShape
, wxDrawnShape
);
623 IMPLEMENT_DYNAMIC_CLASS(wxPyCompositeShape
, wxCompositeShape
);
624 IMPLEMENT_DYNAMIC_CLASS(wxPyDividedShape
, wxDividedShape
);
625 IMPLEMENT_DYNAMIC_CLASS(wxPyDivisionShape
, wxDivisionShape
);
626 IMPLEMENT_DYNAMIC_CLASS(wxPyEllipseShape
, wxEllipseShape
);
627 IMPLEMENT_DYNAMIC_CLASS(wxPyCircleShape
, wxCircleShape
);
628 IMPLEMENT_DYNAMIC_CLASS(wxPyLineShape
, wxLineShape
);
629 IMPLEMENT_DYNAMIC_CLASS(wxPyPolygonShape
, wxPolygonShape
);
630 IMPLEMENT_DYNAMIC_CLASS(wxPyTextShape
, wxTextShape
);
632 //---------------------------------------------------------------------------
634 // extern "C" SWIGEXPORT(void) initoglbasicc();
635 // extern "C" SWIGEXPORT(void) initoglshapesc();
636 // extern "C" SWIGEXPORT(void) initoglshapes2c();
637 // extern "C" SWIGEXPORT(void) initoglcanvasc();
642 static PyObject
*_wrap_new_ShapeRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
644 wxShapeRegion
*result
;
649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ShapeRegion",kwnames
)) goto fail
;
651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
652 result
= (wxShapeRegion
*)new wxShapeRegion();
654 wxPyEndAllowThreads(__tstate
);
655 if (PyErr_Occurred()) SWIG_fail
;
657 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxShapeRegion
, 1);
664 static PyObject
*_wrap_ShapeRegion_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
666 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
669 PyObject
* obj0
= 0 ;
670 PyObject
* obj1
= 0 ;
672 (char *) "self",(char *) "s", NULL
675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
676 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
678 arg2
= wxString_in_helper(obj1
);
679 if (arg2
== NULL
) SWIG_fail
;
683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
684 (arg1
)->SetText((wxString
const &)*arg2
);
686 wxPyEndAllowThreads(__tstate
);
687 if (PyErr_Occurred()) SWIG_fail
;
689 Py_INCREF(Py_None
); resultobj
= Py_None
;
704 static PyObject
*_wrap_ShapeRegion_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
706 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
707 wxFont
*arg2
= (wxFont
*) 0 ;
708 PyObject
* obj0
= 0 ;
709 PyObject
* obj1
= 0 ;
711 (char *) "self",(char *) "f", NULL
714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
715 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
719 if (obj1
== Py_None
) {
722 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxFont"))) {
723 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxFont.");
728 arg2
= wxTheFontList
->FindOrCreateFont(temp
->GetPointSize(),
732 temp
->GetUnderlined(),
734 temp
->GetEncoding());
739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
740 (arg1
)->SetFont(arg2
);
742 wxPyEndAllowThreads(__tstate
);
743 if (PyErr_Occurred()) SWIG_fail
;
745 Py_INCREF(Py_None
); resultobj
= Py_None
;
752 static PyObject
*_wrap_ShapeRegion_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
754 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
757 PyObject
* obj0
= 0 ;
759 (char *) "self",(char *) "w",(char *) "h", NULL
762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:ShapeRegion_SetMinSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
766 (arg1
)->SetMinSize(arg2
,arg3
);
768 wxPyEndAllowThreads(__tstate
);
769 if (PyErr_Occurred()) SWIG_fail
;
771 Py_INCREF(Py_None
); resultobj
= Py_None
;
778 static PyObject
*_wrap_ShapeRegion_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
780 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
783 PyObject
* obj0
= 0 ;
785 (char *) "self",(char *) "w",(char *) "h", NULL
788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:ShapeRegion_SetSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
792 (arg1
)->SetSize(arg2
,arg3
);
794 wxPyEndAllowThreads(__tstate
);
795 if (PyErr_Occurred()) SWIG_fail
;
797 Py_INCREF(Py_None
); resultobj
= Py_None
;
804 static PyObject
*_wrap_ShapeRegion_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
806 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
809 PyObject
* obj0
= 0 ;
811 (char *) "self",(char *) "x",(char *) "y", NULL
814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:ShapeRegion_SetPosition",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
815 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
818 (arg1
)->SetPosition(arg2
,arg3
);
820 wxPyEndAllowThreads(__tstate
);
821 if (PyErr_Occurred()) SWIG_fail
;
823 Py_INCREF(Py_None
); resultobj
= Py_None
;
830 static PyObject
*_wrap_ShapeRegion_SetProportions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
832 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
835 PyObject
* obj0
= 0 ;
837 (char *) "self",(char *) "x",(char *) "y", NULL
840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:ShapeRegion_SetProportions",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
844 (arg1
)->SetProportions(arg2
,arg3
);
846 wxPyEndAllowThreads(__tstate
);
847 if (PyErr_Occurred()) SWIG_fail
;
849 Py_INCREF(Py_None
); resultobj
= Py_None
;
856 static PyObject
*_wrap_ShapeRegion_SetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
858 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
860 PyObject
* obj0
= 0 ;
862 (char *) "self",(char *) "mode", NULL
865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ShapeRegion_SetFormatMode",kwnames
,&obj0
,&arg2
)) goto fail
;
866 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
869 (arg1
)->SetFormatMode(arg2
);
871 wxPyEndAllowThreads(__tstate
);
872 if (PyErr_Occurred()) SWIG_fail
;
874 Py_INCREF(Py_None
); resultobj
= Py_None
;
881 static PyObject
*_wrap_ShapeRegion_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
883 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
886 PyObject
* obj0
= 0 ;
887 PyObject
* obj1
= 0 ;
889 (char *) "self",(char *) "s", NULL
892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
895 arg2
= wxString_in_helper(obj1
);
896 if (arg2
== NULL
) SWIG_fail
;
900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
901 (arg1
)->SetName((wxString
const &)*arg2
);
903 wxPyEndAllowThreads(__tstate
);
904 if (PyErr_Occurred()) SWIG_fail
;
906 Py_INCREF(Py_None
); resultobj
= Py_None
;
921 static PyObject
*_wrap_ShapeRegion_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
923 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
926 PyObject
* obj0
= 0 ;
927 PyObject
* obj1
= 0 ;
929 (char *) "self",(char *) "col", NULL
932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
935 arg2
= wxString_in_helper(obj1
);
936 if (arg2
== NULL
) SWIG_fail
;
940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
941 (arg1
)->SetColour((wxString
const &)*arg2
);
943 wxPyEndAllowThreads(__tstate
);
944 if (PyErr_Occurred()) SWIG_fail
;
946 Py_INCREF(Py_None
); resultobj
= Py_None
;
961 static PyObject
*_wrap_ShapeRegion_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
963 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
965 PyObject
* obj0
= 0 ;
967 (char *) "self", NULL
970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetText",kwnames
,&obj0
)) goto fail
;
971 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
974 result
= (arg1
)->GetText();
976 wxPyEndAllowThreads(__tstate
);
977 if (PyErr_Occurred()) SWIG_fail
;
981 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
983 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
992 static PyObject
*_wrap_ShapeRegion_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
994 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
996 PyObject
* obj0
= 0 ;
998 (char *) "self", NULL
1001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetFont",kwnames
,&obj0
)) goto fail
;
1002 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1005 result
= (wxFont
*)(arg1
)->GetFont();
1007 wxPyEndAllowThreads(__tstate
);
1008 if (PyErr_Occurred()) SWIG_fail
;
1010 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
1017 static PyObject
*_wrap_ShapeRegion_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1018 PyObject
*resultobj
;
1019 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1020 double *arg2
= (double *) 0 ;
1021 double *arg3
= (double *) 0 ;
1024 PyObject
* obj0
= 0 ;
1026 (char *) "self", NULL
1031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetMinSize",kwnames
,&obj0
)) goto fail
;
1032 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1035 (arg1
)->GetMinSize(arg2
,arg3
);
1037 wxPyEndAllowThreads(__tstate
);
1038 if (PyErr_Occurred()) SWIG_fail
;
1040 Py_INCREF(Py_None
); resultobj
= Py_None
;
1042 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
1043 resultobj
= t_output_helper(resultobj
,o
);
1046 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
1047 resultobj
= t_output_helper(resultobj
,o
);
1055 static PyObject
*_wrap_ShapeRegion_GetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1056 PyObject
*resultobj
;
1057 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1058 double *arg2
= (double *) 0 ;
1059 double *arg3
= (double *) 0 ;
1062 PyObject
* obj0
= 0 ;
1064 (char *) "self", NULL
1069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetProportion",kwnames
,&obj0
)) goto fail
;
1070 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1073 (arg1
)->GetProportion(arg2
,arg3
);
1075 wxPyEndAllowThreads(__tstate
);
1076 if (PyErr_Occurred()) SWIG_fail
;
1078 Py_INCREF(Py_None
); resultobj
= Py_None
;
1080 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
1081 resultobj
= t_output_helper(resultobj
,o
);
1084 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
1085 resultobj
= t_output_helper(resultobj
,o
);
1093 static PyObject
*_wrap_ShapeRegion_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1094 PyObject
*resultobj
;
1095 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1096 double *arg2
= (double *) 0 ;
1097 double *arg3
= (double *) 0 ;
1100 PyObject
* obj0
= 0 ;
1102 (char *) "self", NULL
1107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetSize",kwnames
,&obj0
)) goto fail
;
1108 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1111 (arg1
)->GetSize(arg2
,arg3
);
1113 wxPyEndAllowThreads(__tstate
);
1114 if (PyErr_Occurred()) SWIG_fail
;
1116 Py_INCREF(Py_None
); resultobj
= Py_None
;
1118 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
1119 resultobj
= t_output_helper(resultobj
,o
);
1122 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
1123 resultobj
= t_output_helper(resultobj
,o
);
1131 static PyObject
*_wrap_ShapeRegion_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1132 PyObject
*resultobj
;
1133 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1134 double *arg2
= (double *) 0 ;
1135 double *arg3
= (double *) 0 ;
1138 PyObject
* obj0
= 0 ;
1140 (char *) "self", NULL
1145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetPosition",kwnames
,&obj0
)) goto fail
;
1146 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1149 (arg1
)->GetPosition(arg2
,arg3
);
1151 wxPyEndAllowThreads(__tstate
);
1152 if (PyErr_Occurred()) SWIG_fail
;
1154 Py_INCREF(Py_None
); resultobj
= Py_None
;
1156 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
1157 resultobj
= t_output_helper(resultobj
,o
);
1160 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
1161 resultobj
= t_output_helper(resultobj
,o
);
1169 static PyObject
*_wrap_ShapeRegion_GetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1170 PyObject
*resultobj
;
1171 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1173 PyObject
* obj0
= 0 ;
1175 (char *) "self", NULL
1178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetFormatMode",kwnames
,&obj0
)) goto fail
;
1179 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1182 result
= (int)(arg1
)->GetFormatMode();
1184 wxPyEndAllowThreads(__tstate
);
1185 if (PyErr_Occurred()) SWIG_fail
;
1187 resultobj
= PyInt_FromLong((long)result
);
1194 static PyObject
*_wrap_ShapeRegion_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1195 PyObject
*resultobj
;
1196 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1198 PyObject
* obj0
= 0 ;
1200 (char *) "self", NULL
1203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetName",kwnames
,&obj0
)) goto fail
;
1204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1207 result
= (arg1
)->GetName();
1209 wxPyEndAllowThreads(__tstate
);
1210 if (PyErr_Occurred()) SWIG_fail
;
1214 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1216 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1225 static PyObject
*_wrap_ShapeRegion_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1226 PyObject
*resultobj
;
1227 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1229 PyObject
* obj0
= 0 ;
1231 (char *) "self", NULL
1234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetColour",kwnames
,&obj0
)) goto fail
;
1235 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1238 result
= (arg1
)->GetColour();
1240 wxPyEndAllowThreads(__tstate
);
1241 if (PyErr_Occurred()) SWIG_fail
;
1245 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1247 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1256 static PyObject
*_wrap_ShapeRegion_GetActualColourObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1257 PyObject
*resultobj
;
1258 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1260 PyObject
* obj0
= 0 ;
1262 (char *) "self", NULL
1265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetActualColourObject",kwnames
,&obj0
)) goto fail
;
1266 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1269 result
= (wxColour
*)(arg1
)->GetActualColourObject();
1271 wxPyEndAllowThreads(__tstate
);
1272 if (PyErr_Occurred()) SWIG_fail
;
1274 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
1281 static PyObject
*_wrap_ShapeRegion_GetFormattedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1282 PyObject
*resultobj
;
1283 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1285 PyObject
* obj0
= 0 ;
1287 (char *) "self", NULL
1290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetFormattedText",kwnames
,&obj0
)) goto fail
;
1291 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1295 wxList
&_result_ref
= (arg1
)->GetFormattedText();
1296 result
= (wxList
*) &_result_ref
;
1299 wxPyEndAllowThreads(__tstate
);
1300 if (PyErr_Occurred()) SWIG_fail
;
1302 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxList
, 0);
1309 static PyObject
*_wrap_ShapeRegion_GetPenColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1310 PyObject
*resultobj
;
1311 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1313 PyObject
* obj0
= 0 ;
1315 (char *) "self", NULL
1318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetPenColour",kwnames
,&obj0
)) goto fail
;
1319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1322 result
= (arg1
)->GetPenColour();
1324 wxPyEndAllowThreads(__tstate
);
1325 if (PyErr_Occurred()) SWIG_fail
;
1329 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1331 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1340 static PyObject
*_wrap_ShapeRegion_GetPenStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1341 PyObject
*resultobj
;
1342 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1344 PyObject
* obj0
= 0 ;
1346 (char *) "self", NULL
1349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetPenStyle",kwnames
,&obj0
)) goto fail
;
1350 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1353 result
= (int)(arg1
)->GetPenStyle();
1355 wxPyEndAllowThreads(__tstate
);
1356 if (PyErr_Occurred()) SWIG_fail
;
1358 resultobj
= PyInt_FromLong((long)result
);
1365 static PyObject
*_wrap_ShapeRegion_SetPenStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1366 PyObject
*resultobj
;
1367 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1369 PyObject
* obj0
= 0 ;
1371 (char *) "self",(char *) "style", NULL
1374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ShapeRegion_SetPenStyle",kwnames
,&obj0
,&arg2
)) goto fail
;
1375 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1378 (arg1
)->SetPenStyle(arg2
);
1380 wxPyEndAllowThreads(__tstate
);
1381 if (PyErr_Occurred()) SWIG_fail
;
1383 Py_INCREF(Py_None
); resultobj
= Py_None
;
1390 static PyObject
*_wrap_ShapeRegion_SetPenColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1391 PyObject
*resultobj
;
1392 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1393 wxString
*arg2
= 0 ;
1394 bool temp2
= False
;
1395 PyObject
* obj0
= 0 ;
1396 PyObject
* obj1
= 0 ;
1398 (char *) "self",(char *) "col", NULL
1401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetPenColour",kwnames
,&obj0
,&obj1
)) goto fail
;
1402 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1404 arg2
= wxString_in_helper(obj1
);
1405 if (arg2
== NULL
) SWIG_fail
;
1409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1410 (arg1
)->SetPenColour((wxString
const &)*arg2
);
1412 wxPyEndAllowThreads(__tstate
);
1413 if (PyErr_Occurred()) SWIG_fail
;
1415 Py_INCREF(Py_None
); resultobj
= Py_None
;
1430 static PyObject
*_wrap_ShapeRegion_GetActualPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1431 PyObject
*resultobj
;
1432 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1434 PyObject
* obj0
= 0 ;
1436 (char *) "self", NULL
1439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetActualPen",kwnames
,&obj0
)) goto fail
;
1440 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1443 result
= (wxPen
*)(arg1
)->GetActualPen();
1445 wxPyEndAllowThreads(__tstate
);
1446 if (PyErr_Occurred()) SWIG_fail
;
1448 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPen
, 0);
1455 static PyObject
*_wrap_ShapeRegion_GetWidth(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_GetWidth",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
= (double)(arg1
)->GetWidth();
1470 wxPyEndAllowThreads(__tstate
);
1471 if (PyErr_Occurred()) SWIG_fail
;
1473 resultobj
= PyFloat_FromDouble(result
);
1480 static PyObject
*_wrap_ShapeRegion_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1481 PyObject
*resultobj
;
1482 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1484 PyObject
* obj0
= 0 ;
1486 (char *) "self", NULL
1489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetHeight",kwnames
,&obj0
)) goto fail
;
1490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1493 result
= (double)(arg1
)->GetHeight();
1495 wxPyEndAllowThreads(__tstate
);
1496 if (PyErr_Occurred()) SWIG_fail
;
1498 resultobj
= PyFloat_FromDouble(result
);
1505 static PyObject
*_wrap_ShapeRegion_ClearText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1506 PyObject
*resultobj
;
1507 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1508 PyObject
* obj0
= 0 ;
1510 (char *) "self", NULL
1513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_ClearText",kwnames
,&obj0
)) goto fail
;
1514 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1517 (arg1
)->ClearText();
1519 wxPyEndAllowThreads(__tstate
);
1520 if (PyErr_Occurred()) SWIG_fail
;
1522 Py_INCREF(Py_None
); resultobj
= Py_None
;
1529 static PyObject
* ShapeRegion_swigregister(PyObject
*self
, PyObject
*args
) {
1531 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1532 SWIG_TypeClientData(SWIGTYPE_p_wxShapeRegion
, obj
);
1534 return Py_BuildValue((char *)"");
1536 static PyObject
*_wrap_new_AttachmentPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1537 PyObject
*resultobj
;
1538 int arg1
= (int) 0 ;
1539 double arg2
= (double) 0.0 ;
1540 double arg3
= (double) 0.0 ;
1541 wxAttachmentPoint
*result
;
1543 (char *) "id",(char *) "x",(char *) "y", NULL
1546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|idd:new_AttachmentPoint",kwnames
,&arg1
,&arg2
,&arg3
)) goto fail
;
1548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1549 result
= (wxAttachmentPoint
*)new wxAttachmentPoint(arg1
,arg2
,arg3
);
1551 wxPyEndAllowThreads(__tstate
);
1552 if (PyErr_Occurred()) SWIG_fail
;
1554 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAttachmentPoint
, 1);
1561 static PyObject
*_wrap_AttachmentPoint_m_id_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1562 PyObject
*resultobj
;
1563 wxAttachmentPoint
*arg1
= (wxAttachmentPoint
*) 0 ;
1565 PyObject
* obj0
= 0 ;
1567 (char *) "self",(char *) "m_id", NULL
1570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:AttachmentPoint_m_id_set",kwnames
,&obj0
,&arg2
)) goto fail
;
1571 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAttachmentPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1572 if (arg1
) (arg1
)->m_id
= arg2
;
1574 Py_INCREF(Py_None
); resultobj
= Py_None
;
1581 static PyObject
*_wrap_AttachmentPoint_m_id_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1582 PyObject
*resultobj
;
1583 wxAttachmentPoint
*arg1
= (wxAttachmentPoint
*) 0 ;
1585 PyObject
* obj0
= 0 ;
1587 (char *) "self", NULL
1590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AttachmentPoint_m_id_get",kwnames
,&obj0
)) goto fail
;
1591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAttachmentPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1592 result
= (int) ((arg1
)->m_id
);
1594 resultobj
= PyInt_FromLong((long)result
);
1601 static PyObject
*_wrap_AttachmentPoint_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1602 PyObject
*resultobj
;
1603 wxAttachmentPoint
*arg1
= (wxAttachmentPoint
*) 0 ;
1605 PyObject
* obj0
= 0 ;
1607 (char *) "self",(char *) "m_x", NULL
1610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:AttachmentPoint_m_x_set",kwnames
,&obj0
,&arg2
)) goto fail
;
1611 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAttachmentPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1612 if (arg1
) (arg1
)->m_x
= arg2
;
1614 Py_INCREF(Py_None
); resultobj
= Py_None
;
1621 static PyObject
*_wrap_AttachmentPoint_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1622 PyObject
*resultobj
;
1623 wxAttachmentPoint
*arg1
= (wxAttachmentPoint
*) 0 ;
1625 PyObject
* obj0
= 0 ;
1627 (char *) "self", NULL
1630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AttachmentPoint_m_x_get",kwnames
,&obj0
)) goto fail
;
1631 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAttachmentPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1632 result
= (double) ((arg1
)->m_x
);
1634 resultobj
= PyFloat_FromDouble(result
);
1641 static PyObject
*_wrap_AttachmentPoint_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1642 PyObject
*resultobj
;
1643 wxAttachmentPoint
*arg1
= (wxAttachmentPoint
*) 0 ;
1645 PyObject
* obj0
= 0 ;
1647 (char *) "self",(char *) "m_y", NULL
1650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:AttachmentPoint_m_y_set",kwnames
,&obj0
,&arg2
)) goto fail
;
1651 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAttachmentPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1652 if (arg1
) (arg1
)->m_y
= arg2
;
1654 Py_INCREF(Py_None
); resultobj
= Py_None
;
1661 static PyObject
*_wrap_AttachmentPoint_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1662 PyObject
*resultobj
;
1663 wxAttachmentPoint
*arg1
= (wxAttachmentPoint
*) 0 ;
1665 PyObject
* obj0
= 0 ;
1667 (char *) "self", NULL
1670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AttachmentPoint_m_y_get",kwnames
,&obj0
)) goto fail
;
1671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAttachmentPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1672 result
= (double) ((arg1
)->m_y
);
1674 resultobj
= PyFloat_FromDouble(result
);
1681 static PyObject
* AttachmentPoint_swigregister(PyObject
*self
, PyObject
*args
) {
1683 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1684 SWIG_TypeClientData(SWIGTYPE_p_wxAttachmentPoint
, obj
);
1686 return Py_BuildValue((char *)"");
1688 static PyObject
*_wrap_new_PyShapeEvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1689 PyObject
*resultobj
;
1690 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) NULL
;
1691 wxPyShape
*arg2
= (wxPyShape
*) NULL
;
1692 wxPyShapeEvtHandler
*result
;
1693 PyObject
* obj0
= 0 ;
1694 PyObject
* obj1
= 0 ;
1696 (char *) "prev",(char *) "shape", NULL
1699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyShapeEvtHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
1701 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1704 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1708 result
= (wxPyShapeEvtHandler
*)new wxPyShapeEvtHandler(arg1
,arg2
);
1710 wxPyEndAllowThreads(__tstate
);
1711 if (PyErr_Occurred()) SWIG_fail
;
1714 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
1722 static PyObject
*_wrap_PyShapeEvtHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1723 PyObject
*resultobj
;
1724 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
1725 PyObject
*arg2
= (PyObject
*) 0 ;
1726 PyObject
*arg3
= (PyObject
*) 0 ;
1727 PyObject
* obj0
= 0 ;
1728 PyObject
* obj1
= 0 ;
1729 PyObject
* obj2
= 0 ;
1731 (char *) "self",(char *) "self",(char *) "_class", NULL
1734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeEvtHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1740 (arg1
)->_setCallbackInfo(arg2
,arg3
);
1742 wxPyEndAllowThreads(__tstate
);
1743 if (PyErr_Occurred()) SWIG_fail
;
1745 Py_INCREF(Py_None
); resultobj
= Py_None
;
1752 static PyObject
*_wrap_PyShapeEvtHandler__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1753 PyObject
*resultobj
;
1754 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
1755 PyObject
*arg2
= (PyObject
*) 0 ;
1756 PyObject
* obj0
= 0 ;
1757 PyObject
* obj1
= 0 ;
1759 (char *) "self",(char *) "_self", NULL
1762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
1763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1767 wxPyShapeEvtHandler__setOORInfo(arg1
,arg2
);
1769 wxPyEndAllowThreads(__tstate
);
1770 if (PyErr_Occurred()) SWIG_fail
;
1772 Py_INCREF(Py_None
); resultobj
= Py_None
;
1779 static PyObject
*_wrap_PyShapeEvtHandler_SetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1780 PyObject
*resultobj
;
1781 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
1782 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
1783 PyObject
* obj0
= 0 ;
1784 PyObject
* obj1
= 0 ;
1786 (char *) "self",(char *) "sh", NULL
1789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
1790 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1791 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1794 (arg1
)->SetShape(arg2
);
1796 wxPyEndAllowThreads(__tstate
);
1797 if (PyErr_Occurred()) SWIG_fail
;
1799 Py_INCREF(Py_None
); resultobj
= Py_None
;
1806 static PyObject
*_wrap_PyShapeEvtHandler_GetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1807 PyObject
*resultobj
;
1808 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
1810 PyObject
* obj0
= 0 ;
1812 (char *) "self", NULL
1815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeEvtHandler_GetShape",kwnames
,&obj0
)) goto fail
;
1816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1819 result
= (wxPyShape
*)(arg1
)->GetShape();
1821 wxPyEndAllowThreads(__tstate
);
1822 if (PyErr_Occurred()) SWIG_fail
;
1825 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
1833 static PyObject
*_wrap_PyShapeEvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1834 PyObject
*resultobj
;
1835 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
1836 wxPyShapeEvtHandler
*arg2
= (wxPyShapeEvtHandler
*) 0 ;
1837 PyObject
* obj0
= 0 ;
1838 PyObject
* obj1
= 0 ;
1840 (char *) "self",(char *) "handler", NULL
1843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
1844 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1845 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1848 (arg1
)->SetPreviousHandler(arg2
);
1850 wxPyEndAllowThreads(__tstate
);
1851 if (PyErr_Occurred()) SWIG_fail
;
1853 Py_INCREF(Py_None
); resultobj
= Py_None
;
1860 static PyObject
*_wrap_PyShapeEvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1861 PyObject
*resultobj
;
1862 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
1863 wxPyShapeEvtHandler
*result
;
1864 PyObject
* obj0
= 0 ;
1866 (char *) "self", NULL
1869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeEvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
1870 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1873 result
= (wxPyShapeEvtHandler
*)(arg1
)->GetPreviousHandler();
1875 wxPyEndAllowThreads(__tstate
);
1876 if (PyErr_Occurred()) SWIG_fail
;
1879 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
1887 static PyObject
*_wrap_PyShapeEvtHandler_CreateNewCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1888 PyObject
*resultobj
;
1889 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
1890 wxPyShapeEvtHandler
*result
;
1891 PyObject
* obj0
= 0 ;
1893 (char *) "self", NULL
1896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeEvtHandler_CreateNewCopy",kwnames
,&obj0
)) goto fail
;
1897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1900 result
= (wxPyShapeEvtHandler
*)(arg1
)->CreateNewCopy();
1902 wxPyEndAllowThreads(__tstate
);
1903 if (PyErr_Occurred()) SWIG_fail
;
1906 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
1914 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1915 PyObject
*resultobj
;
1916 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
1917 PyObject
* obj0
= 0 ;
1919 (char *) "self", NULL
1922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeEvtHandler_base_OnDelete",kwnames
,&obj0
)) goto fail
;
1923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1926 (arg1
)->base_OnDelete();
1928 wxPyEndAllowThreads(__tstate
);
1929 if (PyErr_Occurred()) SWIG_fail
;
1931 Py_INCREF(Py_None
); resultobj
= Py_None
;
1938 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1939 PyObject
*resultobj
;
1940 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
1942 PyObject
* obj0
= 0 ;
1943 PyObject
* obj1
= 0 ;
1945 (char *) "self",(char *) "dc", NULL
1948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
1949 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1950 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1952 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1956 (arg1
)->base_OnDraw(*arg2
);
1958 wxPyEndAllowThreads(__tstate
);
1959 if (PyErr_Occurred()) SWIG_fail
;
1961 Py_INCREF(Py_None
); resultobj
= Py_None
;
1968 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1969 PyObject
*resultobj
;
1970 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
1972 PyObject
* obj0
= 0 ;
1973 PyObject
* obj1
= 0 ;
1975 (char *) "self",(char *) "dc", NULL
1978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
1979 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1980 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1982 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1986 (arg1
)->base_OnDrawContents(*arg2
);
1988 wxPyEndAllowThreads(__tstate
);
1989 if (PyErr_Occurred()) SWIG_fail
;
1991 Py_INCREF(Py_None
); resultobj
= Py_None
;
1998 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1999 PyObject
*resultobj
;
2000 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2002 bool arg3
= (bool) False
;
2003 PyObject
* obj0
= 0 ;
2004 PyObject
* obj1
= 0 ;
2005 PyObject
* obj2
= 0 ;
2007 (char *) "self",(char *) "dc",(char *) "erase", NULL
2010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShapeEvtHandler_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2011 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2012 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2014 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2017 arg3
= PyInt_AsLong(obj2
) ? true : false;
2018 if (PyErr_Occurred()) SWIG_fail
;
2021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2022 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
2024 wxPyEndAllowThreads(__tstate
);
2025 if (PyErr_Occurred()) SWIG_fail
;
2027 Py_INCREF(Py_None
); resultobj
= Py_None
;
2034 static PyObject
*_wrap_PyShapeEvtHandler_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2035 PyObject
*resultobj
;
2036 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2038 PyObject
* obj0
= 0 ;
2039 PyObject
* obj1
= 0 ;
2041 (char *) "self",(char *) "dc", NULL
2044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
2045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2046 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2048 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2052 (arg1
)->base_OnMoveLinks(*arg2
);
2054 wxPyEndAllowThreads(__tstate
);
2055 if (PyErr_Occurred()) SWIG_fail
;
2057 Py_INCREF(Py_None
); resultobj
= Py_None
;
2064 static PyObject
*_wrap_PyShapeEvtHandler_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2065 PyObject
*resultobj
;
2066 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2068 PyObject
* obj0
= 0 ;
2069 PyObject
* obj1
= 0 ;
2071 (char *) "self",(char *) "dc", NULL
2074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
2075 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2076 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2078 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2082 (arg1
)->base_OnErase(*arg2
);
2084 wxPyEndAllowThreads(__tstate
);
2085 if (PyErr_Occurred()) SWIG_fail
;
2087 Py_INCREF(Py_None
); resultobj
= Py_None
;
2094 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2095 PyObject
*resultobj
;
2096 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2098 PyObject
* obj0
= 0 ;
2099 PyObject
* obj1
= 0 ;
2101 (char *) "self",(char *) "dc", NULL
2104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
2105 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2106 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2108 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2112 (arg1
)->base_OnEraseContents(*arg2
);
2114 wxPyEndAllowThreads(__tstate
);
2115 if (PyErr_Occurred()) SWIG_fail
;
2117 Py_INCREF(Py_None
); resultobj
= Py_None
;
2124 static PyObject
*_wrap_PyShapeEvtHandler_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2125 PyObject
*resultobj
;
2126 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2128 PyObject
* obj0
= 0 ;
2129 PyObject
* obj1
= 0 ;
2131 (char *) "self",(char *) "dc", NULL
2134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
2135 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2136 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2138 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2142 (arg1
)->base_OnHighlight(*arg2
);
2144 wxPyEndAllowThreads(__tstate
);
2145 if (PyErr_Occurred()) SWIG_fail
;
2147 Py_INCREF(Py_None
); resultobj
= Py_None
;
2154 static PyObject
*_wrap_PyShapeEvtHandler_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2155 PyObject
*resultobj
;
2156 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2159 int arg4
= (int) 0 ;
2160 int arg5
= (int) 0 ;
2161 PyObject
* obj0
= 0 ;
2163 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyShapeEvtHandler_base_OnLeftClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
2167 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2170 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
2172 wxPyEndAllowThreads(__tstate
);
2173 if (PyErr_Occurred()) SWIG_fail
;
2175 Py_INCREF(Py_None
); resultobj
= Py_None
;
2182 static PyObject
*_wrap_PyShapeEvtHandler_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2183 PyObject
*resultobj
;
2184 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2187 int arg4
= (int) 0 ;
2188 int arg5
= (int) 0 ;
2189 PyObject
* obj0
= 0 ;
2191 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyShapeEvtHandler_base_OnLeftDoubleClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
2195 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2198 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
2200 wxPyEndAllowThreads(__tstate
);
2201 if (PyErr_Occurred()) SWIG_fail
;
2203 Py_INCREF(Py_None
); resultobj
= Py_None
;
2210 static PyObject
*_wrap_PyShapeEvtHandler_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2211 PyObject
*resultobj
;
2212 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2215 int arg4
= (int) 0 ;
2216 int arg5
= (int) 0 ;
2217 PyObject
* obj0
= 0 ;
2219 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyShapeEvtHandler_base_OnRightClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
2223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2226 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
2228 wxPyEndAllowThreads(__tstate
);
2229 if (PyErr_Occurred()) SWIG_fail
;
2231 Py_INCREF(Py_None
); resultobj
= Py_None
;
2238 static PyObject
*_wrap_PyShapeEvtHandler_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2239 PyObject
*resultobj
;
2240 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2243 PyObject
* obj0
= 0 ;
2245 (char *) "self",(char *) "x",(char *) "y", NULL
2248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyShapeEvtHandler_base_OnSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
2249 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2252 (arg1
)->base_OnSize(arg2
,arg3
);
2254 wxPyEndAllowThreads(__tstate
);
2255 if (PyErr_Occurred()) SWIG_fail
;
2257 Py_INCREF(Py_None
); resultobj
= Py_None
;
2264 static PyObject
*_wrap_PyShapeEvtHandler_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2265 PyObject
*resultobj
;
2266 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2272 bool arg7
= (bool) True
;
2274 PyObject
* obj0
= 0 ;
2275 PyObject
* obj1
= 0 ;
2276 PyObject
* obj6
= 0 ;
2278 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
2281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyShapeEvtHandler_base_OnMovePre",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
2282 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2283 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2285 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2288 arg7
= PyInt_AsLong(obj6
) ? true : false;
2289 if (PyErr_Occurred()) SWIG_fail
;
2292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2293 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
2295 wxPyEndAllowThreads(__tstate
);
2296 if (PyErr_Occurred()) SWIG_fail
;
2298 resultobj
= PyInt_FromLong((long)result
);
2305 static PyObject
*_wrap_PyShapeEvtHandler_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2306 PyObject
*resultobj
;
2307 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2313 bool arg7
= (bool) True
;
2314 PyObject
* obj0
= 0 ;
2315 PyObject
* obj1
= 0 ;
2316 PyObject
* obj6
= 0 ;
2318 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
2321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyShapeEvtHandler_base_OnMovePost",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
2322 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2323 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2325 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2328 arg7
= PyInt_AsLong(obj6
) ? true : false;
2329 if (PyErr_Occurred()) SWIG_fail
;
2332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2333 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
2335 wxPyEndAllowThreads(__tstate
);
2336 if (PyErr_Occurred()) SWIG_fail
;
2338 Py_INCREF(Py_None
); resultobj
= Py_None
;
2345 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2346 PyObject
*resultobj
;
2347 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2351 int arg5
= (int) 0 ;
2352 int arg6
= (int) 0 ;
2353 PyObject
* obj0
= 0 ;
2354 PyObject
* obj1
= 0 ;
2356 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyShapeEvtHandler_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
2360 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2361 arg2
= PyInt_AsLong(obj1
) ? true : false;
2362 if (PyErr_Occurred()) SWIG_fail
;
2364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2365 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
2367 wxPyEndAllowThreads(__tstate
);
2368 if (PyErr_Occurred()) SWIG_fail
;
2370 Py_INCREF(Py_None
); resultobj
= Py_None
;
2377 static PyObject
*_wrap_PyShapeEvtHandler_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2378 PyObject
*resultobj
;
2379 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2382 int arg4
= (int) 0 ;
2383 int arg5
= (int) 0 ;
2384 PyObject
* obj0
= 0 ;
2386 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyShapeEvtHandler_base_OnBeginDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
2390 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2393 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
2395 wxPyEndAllowThreads(__tstate
);
2396 if (PyErr_Occurred()) SWIG_fail
;
2398 Py_INCREF(Py_None
); resultobj
= Py_None
;
2405 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2406 PyObject
*resultobj
;
2407 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2410 int arg4
= (int) 0 ;
2411 int arg5
= (int) 0 ;
2412 PyObject
* obj0
= 0 ;
2414 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyShapeEvtHandler_base_OnEndDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
2418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2421 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
2423 wxPyEndAllowThreads(__tstate
);
2424 if (PyErr_Occurred()) SWIG_fail
;
2426 Py_INCREF(Py_None
); resultobj
= Py_None
;
2433 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2434 PyObject
*resultobj
;
2435 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2439 int arg5
= (int) 0 ;
2440 int arg6
= (int) 0 ;
2441 PyObject
* obj0
= 0 ;
2442 PyObject
* obj1
= 0 ;
2444 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyShapeEvtHandler_base_OnDragRight",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
2448 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2449 arg2
= PyInt_AsLong(obj1
) ? true : false;
2450 if (PyErr_Occurred()) SWIG_fail
;
2452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2453 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
2455 wxPyEndAllowThreads(__tstate
);
2456 if (PyErr_Occurred()) SWIG_fail
;
2458 Py_INCREF(Py_None
); resultobj
= Py_None
;
2465 static PyObject
*_wrap_PyShapeEvtHandler_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2466 PyObject
*resultobj
;
2467 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2470 int arg4
= (int) 0 ;
2471 int arg5
= (int) 0 ;
2472 PyObject
* obj0
= 0 ;
2474 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyShapeEvtHandler_base_OnBeginDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
2478 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2481 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
2483 wxPyEndAllowThreads(__tstate
);
2484 if (PyErr_Occurred()) SWIG_fail
;
2486 Py_INCREF(Py_None
); resultobj
= Py_None
;
2493 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2494 PyObject
*resultobj
;
2495 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2498 int arg4
= (int) 0 ;
2499 int arg5
= (int) 0 ;
2500 PyObject
* obj0
= 0 ;
2502 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyShapeEvtHandler_base_OnEndDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
2506 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2509 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
2511 wxPyEndAllowThreads(__tstate
);
2512 if (PyErr_Occurred()) SWIG_fail
;
2514 Py_INCREF(Py_None
); resultobj
= Py_None
;
2521 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2522 PyObject
*resultobj
;
2523 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2529 PyObject
* obj0
= 0 ;
2530 PyObject
* obj1
= 0 ;
2532 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
2535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd:PyShapeEvtHandler_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
2536 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2537 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2539 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2543 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
2545 wxPyEndAllowThreads(__tstate
);
2546 if (PyErr_Occurred()) SWIG_fail
;
2548 Py_INCREF(Py_None
); resultobj
= Py_None
;
2555 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2556 PyObject
*resultobj
;
2557 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2559 PyObject
* obj0
= 0 ;
2560 PyObject
* obj1
= 0 ;
2562 (char *) "self",(char *) "dc", NULL
2565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
2566 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2567 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2569 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2573 (arg1
)->base_OnDrawControlPoints(*arg2
);
2575 wxPyEndAllowThreads(__tstate
);
2576 if (PyErr_Occurred()) SWIG_fail
;
2578 Py_INCREF(Py_None
); resultobj
= Py_None
;
2585 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2586 PyObject
*resultobj
;
2587 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2589 PyObject
* obj0
= 0 ;
2590 PyObject
* obj1
= 0 ;
2592 (char *) "self",(char *) "dc", NULL
2595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
2596 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2597 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2599 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2603 (arg1
)->base_OnEraseControlPoints(*arg2
);
2605 wxPyEndAllowThreads(__tstate
);
2606 if (PyErr_Occurred()) SWIG_fail
;
2608 Py_INCREF(Py_None
); resultobj
= Py_None
;
2615 static PyObject
*_wrap_PyShapeEvtHandler_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2616 PyObject
*resultobj
;
2617 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2619 bool arg3
= (bool) True
;
2620 PyObject
* obj0
= 0 ;
2621 PyObject
* obj1
= 0 ;
2622 PyObject
* obj2
= 0 ;
2624 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
2627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShapeEvtHandler_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2628 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2629 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2631 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2634 arg3
= PyInt_AsLong(obj2
) ? true : false;
2635 if (PyErr_Occurred()) SWIG_fail
;
2638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2639 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
2641 wxPyEndAllowThreads(__tstate
);
2642 if (PyErr_Occurred()) SWIG_fail
;
2644 Py_INCREF(Py_None
); resultobj
= Py_None
;
2651 static PyObject
*_wrap_PyShapeEvtHandler_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2652 PyObject
*resultobj
;
2653 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2654 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
2658 int arg6
= (int) 0 ;
2659 int arg7
= (int) 0 ;
2660 PyObject
* obj0
= 0 ;
2661 PyObject
* obj1
= 0 ;
2662 PyObject
* obj2
= 0 ;
2664 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd|ii:PyShapeEvtHandler_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
2668 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2669 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2670 arg3
= PyInt_AsLong(obj2
) ? true : false;
2671 if (PyErr_Occurred()) SWIG_fail
;
2673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2674 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
2676 wxPyEndAllowThreads(__tstate
);
2677 if (PyErr_Occurred()) SWIG_fail
;
2679 Py_INCREF(Py_None
); resultobj
= Py_None
;
2686 static PyObject
*_wrap_PyShapeEvtHandler_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2687 PyObject
*resultobj
;
2688 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2689 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
2692 int arg5
= (int) 0 ;
2693 int arg6
= (int) 0 ;
2694 PyObject
* obj0
= 0 ;
2695 PyObject
* obj1
= 0 ;
2697 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyShapeEvtHandler_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
2701 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2702 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2705 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
2707 wxPyEndAllowThreads(__tstate
);
2708 if (PyErr_Occurred()) SWIG_fail
;
2710 Py_INCREF(Py_None
); resultobj
= Py_None
;
2717 static PyObject
*_wrap_PyShapeEvtHandler_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2718 PyObject
*resultobj
;
2719 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2720 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
2723 int arg5
= (int) 0 ;
2724 int arg6
= (int) 0 ;
2725 PyObject
* obj0
= 0 ;
2726 PyObject
* obj1
= 0 ;
2728 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyShapeEvtHandler_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
2732 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2733 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2736 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
2738 wxPyEndAllowThreads(__tstate
);
2739 if (PyErr_Occurred()) SWIG_fail
;
2741 Py_INCREF(Py_None
); resultobj
= Py_None
;
2748 static PyObject
*_wrap_PyShapeEvtHandler_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2749 PyObject
*resultobj
;
2750 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2753 PyObject
* obj0
= 0 ;
2755 (char *) "self",(char *) "w",(char *) "h", NULL
2758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyShapeEvtHandler_base_OnBeginSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
2759 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2762 (arg1
)->base_OnBeginSize(arg2
,arg3
);
2764 wxPyEndAllowThreads(__tstate
);
2765 if (PyErr_Occurred()) SWIG_fail
;
2767 Py_INCREF(Py_None
); resultobj
= Py_None
;
2774 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2775 PyObject
*resultobj
;
2776 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2779 PyObject
* obj0
= 0 ;
2781 (char *) "self",(char *) "w",(char *) "h", NULL
2784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyShapeEvtHandler_base_OnEndSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
2785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2788 (arg1
)->base_OnEndSize(arg2
,arg3
);
2790 wxPyEndAllowThreads(__tstate
);
2791 if (PyErr_Occurred()) SWIG_fail
;
2793 Py_INCREF(Py_None
); resultobj
= Py_None
;
2800 static PyObject
* PyShapeEvtHandler_swigregister(PyObject
*self
, PyObject
*args
) {
2802 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2803 SWIG_TypeClientData(SWIGTYPE_p_wxPyShapeEvtHandler
, obj
);
2805 return Py_BuildValue((char *)"");
2807 static PyObject
*_wrap_new_PyShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2808 PyObject
*resultobj
;
2809 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) NULL
;
2811 PyObject
* obj0
= 0 ;
2813 (char *) "can", NULL
2816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyShape",kwnames
,&obj0
)) goto fail
;
2818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2822 result
= (wxPyShape
*)new wxPyShape(arg1
);
2824 wxPyEndAllowThreads(__tstate
);
2825 if (PyErr_Occurred()) SWIG_fail
;
2828 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
2836 static PyObject
*_wrap_PyShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2837 PyObject
*resultobj
;
2838 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
2839 PyObject
*arg2
= (PyObject
*) 0 ;
2840 PyObject
*arg3
= (PyObject
*) 0 ;
2841 PyObject
* obj0
= 0 ;
2842 PyObject
* obj1
= 0 ;
2843 PyObject
* obj2
= 0 ;
2845 (char *) "self",(char *) "self",(char *) "_class", NULL
2848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2849 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2854 (arg1
)->_setCallbackInfo(arg2
,arg3
);
2856 wxPyEndAllowThreads(__tstate
);
2857 if (PyErr_Occurred()) SWIG_fail
;
2859 Py_INCREF(Py_None
); resultobj
= Py_None
;
2866 static PyObject
*_wrap_PyShape_GetBoundingBoxMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2867 PyObject
*resultobj
;
2868 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
2869 double *arg2
= (double *) 0 ;
2870 double *arg3
= (double *) 0 ;
2873 PyObject
* obj0
= 0 ;
2875 (char *) "self", NULL
2880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBoundingBoxMax",kwnames
,&obj0
)) goto fail
;
2881 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2884 (arg1
)->GetBoundingBoxMax(arg2
,arg3
);
2886 wxPyEndAllowThreads(__tstate
);
2887 if (PyErr_Occurred()) SWIG_fail
;
2889 Py_INCREF(Py_None
); resultobj
= Py_None
;
2891 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
2892 resultobj
= t_output_helper(resultobj
,o
);
2895 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
2896 resultobj
= t_output_helper(resultobj
,o
);
2904 static PyObject
*_wrap_PyShape_GetBoundingBoxMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2905 PyObject
*resultobj
;
2906 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
2907 double *arg2
= (double *) 0 ;
2908 double *arg3
= (double *) 0 ;
2911 PyObject
* obj0
= 0 ;
2913 (char *) "self", NULL
2918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBoundingBoxMin",kwnames
,&obj0
)) goto fail
;
2919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2922 (arg1
)->GetBoundingBoxMin(arg2
,arg3
);
2924 wxPyEndAllowThreads(__tstate
);
2925 if (PyErr_Occurred()) SWIG_fail
;
2927 Py_INCREF(Py_None
); resultobj
= Py_None
;
2929 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
2930 resultobj
= t_output_helper(resultobj
,o
);
2933 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
2934 resultobj
= t_output_helper(resultobj
,o
);
2942 static PyObject
*_wrap_PyShape_GetPerimeterPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2943 PyObject
*resultobj
;
2944 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
2949 double *arg6
= (double *) 0 ;
2950 double *arg7
= (double *) 0 ;
2954 PyObject
* obj0
= 0 ;
2956 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
2961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odddd:PyShape_GetPerimeterPoint",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
2962 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2965 result
= (bool)(arg1
)->GetPerimeterPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
2967 wxPyEndAllowThreads(__tstate
);
2968 if (PyErr_Occurred()) SWIG_fail
;
2970 resultobj
= PyInt_FromLong((long)result
);
2972 PyObject
*o
= PyFloat_FromDouble((double) (*arg6
));
2973 resultobj
= t_output_helper(resultobj
,o
);
2976 PyObject
*o
= PyFloat_FromDouble((double) (*arg7
));
2977 resultobj
= t_output_helper(resultobj
,o
);
2985 static PyObject
*_wrap_PyShape_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2986 PyObject
*resultobj
;
2987 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
2988 wxPyShapeCanvas
*result
;
2989 PyObject
* obj0
= 0 ;
2991 (char *) "self", NULL
2994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetCanvas",kwnames
,&obj0
)) goto fail
;
2995 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2998 result
= (wxPyShapeCanvas
*)(arg1
)->GetCanvas();
3000 wxPyEndAllowThreads(__tstate
);
3001 if (PyErr_Occurred()) SWIG_fail
;
3004 resultobj
= wxPyMake_wxObject(result
);
3012 static PyObject
*_wrap_PyShape_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3013 PyObject
*resultobj
;
3014 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3015 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
3016 PyObject
* obj0
= 0 ;
3017 PyObject
* obj1
= 0 ;
3019 (char *) "self",(char *) "the_canvas", NULL
3022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
3023 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3024 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3027 (arg1
)->SetCanvas(arg2
);
3029 wxPyEndAllowThreads(__tstate
);
3030 if (PyErr_Occurred()) SWIG_fail
;
3032 Py_INCREF(Py_None
); resultobj
= Py_None
;
3039 static PyObject
*_wrap_PyShape_AddToCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3040 PyObject
*resultobj
;
3041 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3042 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
3043 wxPyShape
*arg3
= (wxPyShape
*) NULL
;
3044 PyObject
* obj0
= 0 ;
3045 PyObject
* obj1
= 0 ;
3046 PyObject
* obj2
= 0 ;
3048 (char *) "self",(char *) "the_canvas",(char *) "addAfter", NULL
3051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_AddToCanvas",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3052 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3053 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3055 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3059 (arg1
)->AddToCanvas(arg2
,arg3
);
3061 wxPyEndAllowThreads(__tstate
);
3062 if (PyErr_Occurred()) SWIG_fail
;
3064 Py_INCREF(Py_None
); resultobj
= Py_None
;
3071 static PyObject
*_wrap_PyShape_InsertInCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3072 PyObject
*resultobj
;
3073 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3074 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
3075 PyObject
* obj0
= 0 ;
3076 PyObject
* obj1
= 0 ;
3078 (char *) "self",(char *) "the_canvas", NULL
3081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_InsertInCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
3082 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3083 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3086 (arg1
)->InsertInCanvas(arg2
);
3088 wxPyEndAllowThreads(__tstate
);
3089 if (PyErr_Occurred()) SWIG_fail
;
3091 Py_INCREF(Py_None
); resultobj
= Py_None
;
3098 static PyObject
*_wrap_PyShape_RemoveFromCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3099 PyObject
*resultobj
;
3100 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3101 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
3102 PyObject
* obj0
= 0 ;
3103 PyObject
* obj1
= 0 ;
3105 (char *) "self",(char *) "the_canvas", NULL
3108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_RemoveFromCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
3109 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3110 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3113 (arg1
)->RemoveFromCanvas(arg2
);
3115 wxPyEndAllowThreads(__tstate
);
3116 if (PyErr_Occurred()) SWIG_fail
;
3118 Py_INCREF(Py_None
); resultobj
= Py_None
;
3125 static PyObject
*_wrap_PyShape_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3126 PyObject
*resultobj
;
3127 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3129 PyObject
* obj0
= 0 ;
3131 (char *) "self", NULL
3134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetX",kwnames
,&obj0
)) goto fail
;
3135 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3138 result
= (double)(arg1
)->GetX();
3140 wxPyEndAllowThreads(__tstate
);
3141 if (PyErr_Occurred()) SWIG_fail
;
3143 resultobj
= PyFloat_FromDouble(result
);
3150 static PyObject
*_wrap_PyShape_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3151 PyObject
*resultobj
;
3152 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3154 PyObject
* obj0
= 0 ;
3156 (char *) "self", NULL
3159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetY",kwnames
,&obj0
)) goto fail
;
3160 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3163 result
= (double)(arg1
)->GetY();
3165 wxPyEndAllowThreads(__tstate
);
3166 if (PyErr_Occurred()) SWIG_fail
;
3168 resultobj
= PyFloat_FromDouble(result
);
3175 static PyObject
*_wrap_PyShape_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3176 PyObject
*resultobj
;
3177 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3179 PyObject
* obj0
= 0 ;
3181 (char *) "self",(char *) "x", NULL
3184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:PyShape_SetX",kwnames
,&obj0
,&arg2
)) goto fail
;
3185 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3190 wxPyEndAllowThreads(__tstate
);
3191 if (PyErr_Occurred()) SWIG_fail
;
3193 Py_INCREF(Py_None
); resultobj
= Py_None
;
3200 static PyObject
*_wrap_PyShape_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3201 PyObject
*resultobj
;
3202 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3204 PyObject
* obj0
= 0 ;
3206 (char *) "self",(char *) "y", NULL
3209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:PyShape_SetY",kwnames
,&obj0
,&arg2
)) goto fail
;
3210 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3215 wxPyEndAllowThreads(__tstate
);
3216 if (PyErr_Occurred()) SWIG_fail
;
3218 Py_INCREF(Py_None
); resultobj
= Py_None
;
3225 static PyObject
*_wrap_PyShape_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3226 PyObject
*resultobj
;
3227 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3229 PyObject
* obj0
= 0 ;
3231 (char *) "self", NULL
3234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetParent",kwnames
,&obj0
)) goto fail
;
3235 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3238 result
= (wxPyShape
*)(arg1
)->GetParent();
3240 wxPyEndAllowThreads(__tstate
);
3241 if (PyErr_Occurred()) SWIG_fail
;
3244 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
3252 static PyObject
*_wrap_PyShape_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3253 PyObject
*resultobj
;
3254 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3255 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
3256 PyObject
* obj0
= 0 ;
3257 PyObject
* obj1
= 0 ;
3259 (char *) "self",(char *) "p", NULL
3262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
3263 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3264 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3267 (arg1
)->SetParent(arg2
);
3269 wxPyEndAllowThreads(__tstate
);
3270 if (PyErr_Occurred()) SWIG_fail
;
3272 Py_INCREF(Py_None
); resultobj
= Py_None
;
3279 static PyObject
*_wrap_PyShape_GetTopAncestor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3280 PyObject
*resultobj
;
3281 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3283 PyObject
* obj0
= 0 ;
3285 (char *) "self", NULL
3288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetTopAncestor",kwnames
,&obj0
)) goto fail
;
3289 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3292 result
= (wxPyShape
*)(arg1
)->GetTopAncestor();
3294 wxPyEndAllowThreads(__tstate
);
3295 if (PyErr_Occurred()) SWIG_fail
;
3298 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
3306 static PyObject
*_wrap_PyShape_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3307 PyObject
*resultobj
;
3308 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3310 PyObject
* obj0
= 0 ;
3312 (char *) "self", NULL
3315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetChildren",kwnames
,&obj0
)) goto fail
;
3316 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3319 result
= (PyObject
*)wxPyShape_GetChildren(arg1
);
3321 wxPyEndAllowThreads(__tstate
);
3322 if (PyErr_Occurred()) SWIG_fail
;
3331 static PyObject
*_wrap_PyShape_Unlink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3332 PyObject
*resultobj
;
3333 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3334 PyObject
* obj0
= 0 ;
3336 (char *) "self", NULL
3339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Unlink",kwnames
,&obj0
)) goto fail
;
3340 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3345 wxPyEndAllowThreads(__tstate
);
3346 if (PyErr_Occurred()) SWIG_fail
;
3348 Py_INCREF(Py_None
); resultobj
= Py_None
;
3355 static PyObject
*_wrap_PyShape_SetDrawHandles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3356 PyObject
*resultobj
;
3357 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3359 PyObject
* obj0
= 0 ;
3360 PyObject
* obj1
= 0 ;
3362 (char *) "self",(char *) "drawH", NULL
3365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetDrawHandles",kwnames
,&obj0
,&obj1
)) goto fail
;
3366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3367 arg2
= PyInt_AsLong(obj1
) ? true : false;
3368 if (PyErr_Occurred()) SWIG_fail
;
3370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3371 (arg1
)->SetDrawHandles(arg2
);
3373 wxPyEndAllowThreads(__tstate
);
3374 if (PyErr_Occurred()) SWIG_fail
;
3376 Py_INCREF(Py_None
); resultobj
= Py_None
;
3383 static PyObject
*_wrap_PyShape_GetDrawHandles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3384 PyObject
*resultobj
;
3385 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3387 PyObject
* obj0
= 0 ;
3389 (char *) "self", NULL
3392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetDrawHandles",kwnames
,&obj0
)) goto fail
;
3393 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3396 result
= (bool)(arg1
)->GetDrawHandles();
3398 wxPyEndAllowThreads(__tstate
);
3399 if (PyErr_Occurred()) SWIG_fail
;
3401 resultobj
= PyInt_FromLong((long)result
);
3408 static PyObject
*_wrap_PyShape_MakeControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3409 PyObject
*resultobj
;
3410 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3411 PyObject
* obj0
= 0 ;
3413 (char *) "self", NULL
3416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_MakeControlPoints",kwnames
,&obj0
)) goto fail
;
3417 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3420 (arg1
)->MakeControlPoints();
3422 wxPyEndAllowThreads(__tstate
);
3423 if (PyErr_Occurred()) SWIG_fail
;
3425 Py_INCREF(Py_None
); resultobj
= Py_None
;
3432 static PyObject
*_wrap_PyShape_DeleteControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3433 PyObject
*resultobj
;
3434 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3435 wxDC
*arg2
= (wxDC
*) NULL
;
3436 PyObject
* obj0
= 0 ;
3437 PyObject
* obj1
= 0 ;
3439 (char *) "self",(char *) "dc", NULL
3442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyShape_DeleteControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
3443 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3445 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3449 (arg1
)->DeleteControlPoints(arg2
);
3451 wxPyEndAllowThreads(__tstate
);
3452 if (PyErr_Occurred()) SWIG_fail
;
3454 Py_INCREF(Py_None
); resultobj
= Py_None
;
3461 static PyObject
*_wrap_PyShape_ResetControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3462 PyObject
*resultobj
;
3463 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3464 PyObject
* obj0
= 0 ;
3466 (char *) "self", NULL
3469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_ResetControlPoints",kwnames
,&obj0
)) goto fail
;
3470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3473 (arg1
)->ResetControlPoints();
3475 wxPyEndAllowThreads(__tstate
);
3476 if (PyErr_Occurred()) SWIG_fail
;
3478 Py_INCREF(Py_None
); resultobj
= Py_None
;
3485 static PyObject
*_wrap_PyShape_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3486 PyObject
*resultobj
;
3487 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3488 wxPyShapeEvtHandler
*result
;
3489 PyObject
* obj0
= 0 ;
3491 (char *) "self", NULL
3494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetEventHandler",kwnames
,&obj0
)) goto fail
;
3495 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3498 result
= (wxPyShapeEvtHandler
*)(arg1
)->GetEventHandler();
3500 wxPyEndAllowThreads(__tstate
);
3501 if (PyErr_Occurred()) SWIG_fail
;
3504 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
3512 static PyObject
*_wrap_PyShape_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3513 PyObject
*resultobj
;
3514 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3515 wxPyShapeEvtHandler
*arg2
= (wxPyShapeEvtHandler
*) 0 ;
3516 PyObject
* obj0
= 0 ;
3517 PyObject
* obj1
= 0 ;
3519 (char *) "self",(char *) "handler", NULL
3522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
3523 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3524 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3527 (arg1
)->SetEventHandler(arg2
);
3529 wxPyEndAllowThreads(__tstate
);
3530 if (PyErr_Occurred()) SWIG_fail
;
3532 Py_INCREF(Py_None
); resultobj
= Py_None
;
3539 static PyObject
*_wrap_PyShape_MakeMandatoryControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3540 PyObject
*resultobj
;
3541 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3542 PyObject
* obj0
= 0 ;
3544 (char *) "self", NULL
3547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_MakeMandatoryControlPoints",kwnames
,&obj0
)) goto fail
;
3548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3551 (arg1
)->MakeMandatoryControlPoints();
3553 wxPyEndAllowThreads(__tstate
);
3554 if (PyErr_Occurred()) SWIG_fail
;
3556 Py_INCREF(Py_None
); resultobj
= Py_None
;
3563 static PyObject
*_wrap_PyShape_ResetMandatoryControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3564 PyObject
*resultobj
;
3565 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3566 PyObject
* obj0
= 0 ;
3568 (char *) "self", NULL
3571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_ResetMandatoryControlPoints",kwnames
,&obj0
)) goto fail
;
3572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3575 (arg1
)->ResetMandatoryControlPoints();
3577 wxPyEndAllowThreads(__tstate
);
3578 if (PyErr_Occurred()) SWIG_fail
;
3580 Py_INCREF(Py_None
); resultobj
= Py_None
;
3587 static PyObject
*_wrap_PyShape_Recompute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3588 PyObject
*resultobj
;
3589 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3591 PyObject
* obj0
= 0 ;
3593 (char *) "self", NULL
3596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Recompute",kwnames
,&obj0
)) goto fail
;
3597 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3600 result
= (bool)(arg1
)->Recompute();
3602 wxPyEndAllowThreads(__tstate
);
3603 if (PyErr_Occurred()) SWIG_fail
;
3605 resultobj
= PyInt_FromLong((long)result
);
3612 static PyObject
*_wrap_PyShape_CalculateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3613 PyObject
*resultobj
;
3614 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3615 PyObject
* obj0
= 0 ;
3617 (char *) "self", NULL
3620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_CalculateSize",kwnames
,&obj0
)) goto fail
;
3621 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3624 (arg1
)->CalculateSize();
3626 wxPyEndAllowThreads(__tstate
);
3627 if (PyErr_Occurred()) SWIG_fail
;
3629 Py_INCREF(Py_None
); resultobj
= Py_None
;
3636 static PyObject
*_wrap_PyShape_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3637 PyObject
*resultobj
;
3638 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3639 bool arg2
= (bool) True
;
3640 wxDC
*arg3
= (wxDC
*) NULL
;
3641 PyObject
* obj0
= 0 ;
3642 PyObject
* obj1
= 0 ;
3643 PyObject
* obj2
= 0 ;
3645 (char *) "self",(char *) "select",(char *) "dc", NULL
3648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyShape_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3651 arg2
= PyInt_AsLong(obj1
) ? true : false;
3652 if (PyErr_Occurred()) SWIG_fail
;
3655 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3659 (arg1
)->Select(arg2
,arg3
);
3661 wxPyEndAllowThreads(__tstate
);
3662 if (PyErr_Occurred()) SWIG_fail
;
3664 Py_INCREF(Py_None
); resultobj
= Py_None
;
3671 static PyObject
*_wrap_PyShape_SetHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3672 PyObject
*resultobj
;
3673 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3674 bool arg2
= (bool) True
;
3675 bool arg3
= (bool) False
;
3676 PyObject
* obj0
= 0 ;
3677 PyObject
* obj1
= 0 ;
3678 PyObject
* obj2
= 0 ;
3680 (char *) "self",(char *) "hi",(char *) "recurse", NULL
3683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyShape_SetHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3686 arg2
= PyInt_AsLong(obj1
) ? true : false;
3687 if (PyErr_Occurred()) SWIG_fail
;
3690 arg3
= PyInt_AsLong(obj2
) ? true : false;
3691 if (PyErr_Occurred()) SWIG_fail
;
3694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3695 (arg1
)->SetHighlight(arg2
,arg3
);
3697 wxPyEndAllowThreads(__tstate
);
3698 if (PyErr_Occurred()) SWIG_fail
;
3700 Py_INCREF(Py_None
); resultobj
= Py_None
;
3707 static PyObject
*_wrap_PyShape_IsHighlighted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3708 PyObject
*resultobj
;
3709 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3711 PyObject
* obj0
= 0 ;
3713 (char *) "self", NULL
3716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_IsHighlighted",kwnames
,&obj0
)) goto fail
;
3717 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3720 result
= (bool)(arg1
)->IsHighlighted();
3722 wxPyEndAllowThreads(__tstate
);
3723 if (PyErr_Occurred()) SWIG_fail
;
3725 resultobj
= PyInt_FromLong((long)result
);
3732 static PyObject
*_wrap_PyShape_Selected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3733 PyObject
*resultobj
;
3734 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3736 PyObject
* obj0
= 0 ;
3738 (char *) "self", NULL
3741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Selected",kwnames
,&obj0
)) goto fail
;
3742 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3745 result
= (bool)(arg1
)->Selected();
3747 wxPyEndAllowThreads(__tstate
);
3748 if (PyErr_Occurred()) SWIG_fail
;
3750 resultobj
= PyInt_FromLong((long)result
);
3757 static PyObject
*_wrap_PyShape_AncestorSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3758 PyObject
*resultobj
;
3759 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3761 PyObject
* obj0
= 0 ;
3763 (char *) "self", NULL
3766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_AncestorSelected",kwnames
,&obj0
)) goto fail
;
3767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3770 result
= (bool)(arg1
)->AncestorSelected();
3772 wxPyEndAllowThreads(__tstate
);
3773 if (PyErr_Occurred()) SWIG_fail
;
3775 resultobj
= PyInt_FromLong((long)result
);
3782 static PyObject
*_wrap_PyShape_SetSensitivityFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3783 PyObject
*resultobj
;
3784 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3785 int arg2
= (int) OP_ALL
;
3786 bool arg3
= (bool) False
;
3787 PyObject
* obj0
= 0 ;
3788 PyObject
* obj2
= 0 ;
3790 (char *) "self",(char *) "sens",(char *) "recursive", NULL
3793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iO:PyShape_SetSensitivityFilter",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
3794 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3796 arg3
= PyInt_AsLong(obj2
) ? true : false;
3797 if (PyErr_Occurred()) SWIG_fail
;
3800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3801 (arg1
)->SetSensitivityFilter(arg2
,arg3
);
3803 wxPyEndAllowThreads(__tstate
);
3804 if (PyErr_Occurred()) SWIG_fail
;
3806 Py_INCREF(Py_None
); resultobj
= Py_None
;
3813 static PyObject
*_wrap_PyShape_GetSensitivityFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3814 PyObject
*resultobj
;
3815 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3817 PyObject
* obj0
= 0 ;
3819 (char *) "self", NULL
3822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetSensitivityFilter",kwnames
,&obj0
)) goto fail
;
3823 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3826 result
= (int)(arg1
)->GetSensitivityFilter();
3828 wxPyEndAllowThreads(__tstate
);
3829 if (PyErr_Occurred()) SWIG_fail
;
3831 resultobj
= PyInt_FromLong((long)result
);
3838 static PyObject
*_wrap_PyShape_SetDraggable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3839 PyObject
*resultobj
;
3840 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3842 bool arg3
= (bool) False
;
3843 PyObject
* obj0
= 0 ;
3844 PyObject
* obj1
= 0 ;
3845 PyObject
* obj2
= 0 ;
3847 (char *) "self",(char *) "drag",(char *) "recursive", NULL
3850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_SetDraggable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3851 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3852 arg2
= PyInt_AsLong(obj1
) ? true : false;
3853 if (PyErr_Occurred()) SWIG_fail
;
3855 arg3
= PyInt_AsLong(obj2
) ? true : false;
3856 if (PyErr_Occurred()) SWIG_fail
;
3859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3860 (arg1
)->SetDraggable(arg2
,arg3
);
3862 wxPyEndAllowThreads(__tstate
);
3863 if (PyErr_Occurred()) SWIG_fail
;
3865 Py_INCREF(Py_None
); resultobj
= Py_None
;
3872 static PyObject
*_wrap_PyShape_SetFixedSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3873 PyObject
*resultobj
;
3874 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3877 PyObject
* obj0
= 0 ;
3878 PyObject
* obj1
= 0 ;
3879 PyObject
* obj2
= 0 ;
3881 (char *) "self",(char *) "x",(char *) "y", NULL
3884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape_SetFixedSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3886 arg2
= PyInt_AsLong(obj1
) ? true : false;
3887 if (PyErr_Occurred()) SWIG_fail
;
3888 arg3
= PyInt_AsLong(obj2
) ? true : false;
3889 if (PyErr_Occurred()) SWIG_fail
;
3891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3892 (arg1
)->SetFixedSize(arg2
,arg3
);
3894 wxPyEndAllowThreads(__tstate
);
3895 if (PyErr_Occurred()) SWIG_fail
;
3897 Py_INCREF(Py_None
); resultobj
= Py_None
;
3904 static PyObject
*_wrap_PyShape_GetFixedSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3905 PyObject
*resultobj
;
3906 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3907 bool *arg2
= (bool *) 0 ;
3908 bool *arg3
= (bool *) 0 ;
3911 PyObject
* obj0
= 0 ;
3913 (char *) "self", NULL
3918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetFixedSize",kwnames
,&obj0
)) goto fail
;
3919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3922 (arg1
)->GetFixedSize(arg2
,arg3
);
3924 wxPyEndAllowThreads(__tstate
);
3925 if (PyErr_Occurred()) SWIG_fail
;
3927 Py_INCREF(Py_None
); resultobj
= Py_None
;
3929 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3930 resultobj
= t_output_helper(resultobj
,o
);
3933 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
3934 resultobj
= t_output_helper(resultobj
,o
);
3942 static PyObject
*_wrap_PyShape_GetFixedWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3943 PyObject
*resultobj
;
3944 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3946 PyObject
* obj0
= 0 ;
3948 (char *) "self", NULL
3951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetFixedWidth",kwnames
,&obj0
)) goto fail
;
3952 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3955 result
= (bool)(arg1
)->GetFixedWidth();
3957 wxPyEndAllowThreads(__tstate
);
3958 if (PyErr_Occurred()) SWIG_fail
;
3960 resultobj
= PyInt_FromLong((long)result
);
3967 static PyObject
*_wrap_PyShape_GetFixedHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3968 PyObject
*resultobj
;
3969 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3971 PyObject
* obj0
= 0 ;
3973 (char *) "self", NULL
3976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetFixedHeight",kwnames
,&obj0
)) goto fail
;
3977 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3980 result
= (bool)(arg1
)->GetFixedHeight();
3982 wxPyEndAllowThreads(__tstate
);
3983 if (PyErr_Occurred()) SWIG_fail
;
3985 resultobj
= PyInt_FromLong((long)result
);
3992 static PyObject
*_wrap_PyShape_SetSpaceAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3993 PyObject
*resultobj
;
3994 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3996 PyObject
* obj0
= 0 ;
3997 PyObject
* obj1
= 0 ;
3999 (char *) "self",(char *) "sp", NULL
4002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetSpaceAttachments",kwnames
,&obj0
,&obj1
)) goto fail
;
4003 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4004 arg2
= PyInt_AsLong(obj1
) ? true : false;
4005 if (PyErr_Occurred()) SWIG_fail
;
4007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4008 (arg1
)->SetSpaceAttachments(arg2
);
4010 wxPyEndAllowThreads(__tstate
);
4011 if (PyErr_Occurred()) SWIG_fail
;
4013 Py_INCREF(Py_None
); resultobj
= Py_None
;
4020 static PyObject
*_wrap_PyShape_GetSpaceAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4021 PyObject
*resultobj
;
4022 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4024 PyObject
* obj0
= 0 ;
4026 (char *) "self", NULL
4029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetSpaceAttachments",kwnames
,&obj0
)) goto fail
;
4030 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4033 result
= (bool)(arg1
)->GetSpaceAttachments();
4035 wxPyEndAllowThreads(__tstate
);
4036 if (PyErr_Occurred()) SWIG_fail
;
4038 resultobj
= PyInt_FromLong((long)result
);
4045 static PyObject
*_wrap_PyShape_SetShadowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4046 PyObject
*resultobj
;
4047 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4049 bool arg3
= (bool) False
;
4050 PyObject
* obj0
= 0 ;
4051 PyObject
* obj2
= 0 ;
4053 (char *) "self",(char *) "mode",(char *) "redraw", NULL
4056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:PyShape_SetShadowMode",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
4057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4059 arg3
= PyInt_AsLong(obj2
) ? true : false;
4060 if (PyErr_Occurred()) SWIG_fail
;
4063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4064 (arg1
)->SetShadowMode(arg2
,arg3
);
4066 wxPyEndAllowThreads(__tstate
);
4067 if (PyErr_Occurred()) SWIG_fail
;
4069 Py_INCREF(Py_None
); resultobj
= Py_None
;
4076 static PyObject
*_wrap_PyShape_GetShadowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4077 PyObject
*resultobj
;
4078 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4080 PyObject
* obj0
= 0 ;
4082 (char *) "self", NULL
4085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetShadowMode",kwnames
,&obj0
)) goto fail
;
4086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4089 result
= (int)(arg1
)->GetShadowMode();
4091 wxPyEndAllowThreads(__tstate
);
4092 if (PyErr_Occurred()) SWIG_fail
;
4094 resultobj
= PyInt_FromLong((long)result
);
4101 static PyObject
*_wrap_PyShape_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4102 PyObject
*resultobj
;
4103 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4106 int *arg4
= (int *) 0 ;
4107 double *arg5
= (double *) 0 ;
4111 PyObject
* obj0
= 0 ;
4113 (char *) "self",(char *) "x",(char *) "y", NULL
4118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyShape_HitTest",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
4119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4122 result
= (bool)(arg1
)->HitTest(arg2
,arg3
,arg4
,arg5
);
4124 wxPyEndAllowThreads(__tstate
);
4125 if (PyErr_Occurred()) SWIG_fail
;
4127 resultobj
= PyInt_FromLong((long)result
);
4129 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
4130 resultobj
= t_output_helper(resultobj
,o
);
4133 PyObject
*o
= PyFloat_FromDouble((double) (*arg5
));
4134 resultobj
= t_output_helper(resultobj
,o
);
4142 static PyObject
*_wrap_PyShape_SetCentreResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4143 PyObject
*resultobj
;
4144 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4146 PyObject
* obj0
= 0 ;
4147 PyObject
* obj1
= 0 ;
4149 (char *) "self",(char *) "cr", NULL
4152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetCentreResize",kwnames
,&obj0
,&obj1
)) goto fail
;
4153 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4154 arg2
= PyInt_AsLong(obj1
) ? true : false;
4155 if (PyErr_Occurred()) SWIG_fail
;
4157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4158 (arg1
)->SetCentreResize(arg2
);
4160 wxPyEndAllowThreads(__tstate
);
4161 if (PyErr_Occurred()) SWIG_fail
;
4163 Py_INCREF(Py_None
); resultobj
= Py_None
;
4170 static PyObject
*_wrap_PyShape_GetCentreResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4171 PyObject
*resultobj
;
4172 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4174 PyObject
* obj0
= 0 ;
4176 (char *) "self", NULL
4179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetCentreResize",kwnames
,&obj0
)) goto fail
;
4180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4183 result
= (bool)(arg1
)->GetCentreResize();
4185 wxPyEndAllowThreads(__tstate
);
4186 if (PyErr_Occurred()) SWIG_fail
;
4188 resultobj
= PyInt_FromLong((long)result
);
4195 static PyObject
*_wrap_PyShape_SetMaintainAspectRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4196 PyObject
*resultobj
;
4197 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4199 PyObject
* obj0
= 0 ;
4200 PyObject
* obj1
= 0 ;
4202 (char *) "self",(char *) "ar", NULL
4205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetMaintainAspectRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
4206 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4207 arg2
= PyInt_AsLong(obj1
) ? true : false;
4208 if (PyErr_Occurred()) SWIG_fail
;
4210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4211 (arg1
)->SetMaintainAspectRatio(arg2
);
4213 wxPyEndAllowThreads(__tstate
);
4214 if (PyErr_Occurred()) SWIG_fail
;
4216 Py_INCREF(Py_None
); resultobj
= Py_None
;
4223 static PyObject
*_wrap_PyShape_GetMaintainAspectRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4224 PyObject
*resultobj
;
4225 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4227 PyObject
* obj0
= 0 ;
4229 (char *) "self", NULL
4232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetMaintainAspectRatio",kwnames
,&obj0
)) goto fail
;
4233 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4236 result
= (bool)(arg1
)->GetMaintainAspectRatio();
4238 wxPyEndAllowThreads(__tstate
);
4239 if (PyErr_Occurred()) SWIG_fail
;
4241 resultobj
= PyInt_FromLong((long)result
);
4248 static PyObject
*_wrap_PyShape_GetLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4249 PyObject
*resultobj
;
4250 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4252 PyObject
* obj0
= 0 ;
4254 (char *) "self", NULL
4257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetLines",kwnames
,&obj0
)) goto fail
;
4258 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4261 result
= (PyObject
*)wxPyShape_GetLines(arg1
);
4263 wxPyEndAllowThreads(__tstate
);
4264 if (PyErr_Occurred()) SWIG_fail
;
4273 static PyObject
*_wrap_PyShape_SetDisableLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4274 PyObject
*resultobj
;
4275 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4277 PyObject
* obj0
= 0 ;
4278 PyObject
* obj1
= 0 ;
4280 (char *) "self",(char *) "flag", NULL
4283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetDisableLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
4284 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4285 arg2
= PyInt_AsLong(obj1
) ? true : false;
4286 if (PyErr_Occurred()) SWIG_fail
;
4288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4289 (arg1
)->SetDisableLabel(arg2
);
4291 wxPyEndAllowThreads(__tstate
);
4292 if (PyErr_Occurred()) SWIG_fail
;
4294 Py_INCREF(Py_None
); resultobj
= Py_None
;
4301 static PyObject
*_wrap_PyShape_GetDisableLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4302 PyObject
*resultobj
;
4303 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4305 PyObject
* obj0
= 0 ;
4307 (char *) "self", NULL
4310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetDisableLabel",kwnames
,&obj0
)) goto fail
;
4311 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4314 result
= (bool)(arg1
)->GetDisableLabel();
4316 wxPyEndAllowThreads(__tstate
);
4317 if (PyErr_Occurred()) SWIG_fail
;
4319 resultobj
= PyInt_FromLong((long)result
);
4326 static PyObject
*_wrap_PyShape_SetAttachmentMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4327 PyObject
*resultobj
;
4328 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4330 PyObject
* obj0
= 0 ;
4332 (char *) "self",(char *) "mode", NULL
4335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyShape_SetAttachmentMode",kwnames
,&obj0
,&arg2
)) goto fail
;
4336 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4339 (arg1
)->SetAttachmentMode(arg2
);
4341 wxPyEndAllowThreads(__tstate
);
4342 if (PyErr_Occurred()) SWIG_fail
;
4344 Py_INCREF(Py_None
); resultobj
= Py_None
;
4351 static PyObject
*_wrap_PyShape_GetAttachmentMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4352 PyObject
*resultobj
;
4353 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4355 PyObject
* obj0
= 0 ;
4357 (char *) "self", NULL
4360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetAttachmentMode",kwnames
,&obj0
)) goto fail
;
4361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4364 result
= (int)(arg1
)->GetAttachmentMode();
4366 wxPyEndAllowThreads(__tstate
);
4367 if (PyErr_Occurred()) SWIG_fail
;
4369 resultobj
= PyInt_FromLong((long)result
);
4376 static PyObject
*_wrap_PyShape_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4377 PyObject
*resultobj
;
4378 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4380 PyObject
* obj0
= 0 ;
4382 (char *) "self",(char *) "i", NULL
4385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:PyShape_SetId",kwnames
,&obj0
,&arg2
)) goto fail
;
4386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4389 (arg1
)->SetId(arg2
);
4391 wxPyEndAllowThreads(__tstate
);
4392 if (PyErr_Occurred()) SWIG_fail
;
4394 Py_INCREF(Py_None
); resultobj
= Py_None
;
4401 static PyObject
*_wrap_PyShape_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4402 PyObject
*resultobj
;
4403 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4405 PyObject
* obj0
= 0 ;
4407 (char *) "self", NULL
4410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetId",kwnames
,&obj0
)) goto fail
;
4411 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4414 result
= (long)(arg1
)->GetId();
4416 wxPyEndAllowThreads(__tstate
);
4417 if (PyErr_Occurred()) SWIG_fail
;
4419 resultobj
= PyInt_FromLong((long)result
);
4426 static PyObject
*_wrap_PyShape_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4427 PyObject
*resultobj
;
4428 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4429 wxPen
*arg2
= (wxPen
*) 0 ;
4430 PyObject
* obj0
= 0 ;
4431 PyObject
* obj1
= 0 ;
4433 (char *) "self",(char *) "pen", NULL
4436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
4437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4441 if (obj1
== Py_None
) {
4444 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
4445 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
4450 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
4457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4458 (arg1
)->SetPen(arg2
);
4460 wxPyEndAllowThreads(__tstate
);
4461 if (PyErr_Occurred()) SWIG_fail
;
4463 Py_INCREF(Py_None
); resultobj
= Py_None
;
4470 static PyObject
*_wrap_PyShape_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4471 PyObject
*resultobj
;
4472 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4473 wxBrush
*arg2
= (wxBrush
*) 0 ;
4474 PyObject
* obj0
= 0 ;
4475 PyObject
* obj1
= 0 ;
4477 (char *) "self",(char *) "brush", NULL
4480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
4481 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4485 if (obj1
== Py_None
) {
4488 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxBrush"))) {
4489 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxBrush.");
4494 arg2
= wxTheBrushList
->FindOrCreateBrush(temp
->GetColour(), temp
->GetStyle());
4499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4500 (arg1
)->SetBrush(arg2
);
4502 wxPyEndAllowThreads(__tstate
);
4503 if (PyErr_Occurred()) SWIG_fail
;
4505 Py_INCREF(Py_None
); resultobj
= Py_None
;
4512 static PyObject
*_wrap_PyShape_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4513 PyObject
*resultobj
;
4514 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4516 PyObject
* obj0
= 0 ;
4517 PyObject
* obj1
= 0 ;
4519 (char *) "self",(char *) "show", NULL
4522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
4523 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4524 arg2
= PyInt_AsLong(obj1
) ? true : false;
4525 if (PyErr_Occurred()) SWIG_fail
;
4527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4530 wxPyEndAllowThreads(__tstate
);
4531 if (PyErr_Occurred()) SWIG_fail
;
4533 Py_INCREF(Py_None
); resultobj
= Py_None
;
4540 static PyObject
*_wrap_PyShape_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4541 PyObject
*resultobj
;
4542 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4544 PyObject
* obj0
= 0 ;
4546 (char *) "self", NULL
4549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_IsShown",kwnames
,&obj0
)) goto fail
;
4550 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4553 result
= (bool)(arg1
)->IsShown();
4555 wxPyEndAllowThreads(__tstate
);
4556 if (PyErr_Occurred()) SWIG_fail
;
4558 resultobj
= PyInt_FromLong((long)result
);
4565 static PyObject
*_wrap_PyShape_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4566 PyObject
*resultobj
;
4567 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4571 bool arg5
= (bool) True
;
4572 PyObject
* obj0
= 0 ;
4573 PyObject
* obj1
= 0 ;
4574 PyObject
* obj4
= 0 ;
4576 (char *) "self",(char *) "dc",(char *) "x1",(char *) "y1",(char *) "display", NULL
4579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|O:PyShape_Move",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&obj4
)) goto fail
;
4580 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4581 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4583 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4586 arg5
= PyInt_AsLong(obj4
) ? true : false;
4587 if (PyErr_Occurred()) SWIG_fail
;
4590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4591 (arg1
)->Move(*arg2
,arg3
,arg4
,arg5
);
4593 wxPyEndAllowThreads(__tstate
);
4594 if (PyErr_Occurred()) SWIG_fail
;
4596 Py_INCREF(Py_None
); resultobj
= Py_None
;
4603 static PyObject
*_wrap_PyShape_Erase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4604 PyObject
*resultobj
;
4605 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4607 PyObject
* obj0
= 0 ;
4608 PyObject
* obj1
= 0 ;
4610 (char *) "self",(char *) "dc", NULL
4613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Erase",kwnames
,&obj0
,&obj1
)) goto fail
;
4614 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4615 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4617 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4621 (arg1
)->Erase(*arg2
);
4623 wxPyEndAllowThreads(__tstate
);
4624 if (PyErr_Occurred()) SWIG_fail
;
4626 Py_INCREF(Py_None
); resultobj
= Py_None
;
4633 static PyObject
*_wrap_PyShape_EraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4634 PyObject
*resultobj
;
4635 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4637 PyObject
* obj0
= 0 ;
4638 PyObject
* obj1
= 0 ;
4640 (char *) "self",(char *) "dc", NULL
4643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_EraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
4644 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4645 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4647 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4651 (arg1
)->EraseContents(*arg2
);
4653 wxPyEndAllowThreads(__tstate
);
4654 if (PyErr_Occurred()) SWIG_fail
;
4656 Py_INCREF(Py_None
); resultobj
= Py_None
;
4663 static PyObject
*_wrap_PyShape_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4664 PyObject
*resultobj
;
4665 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4667 PyObject
* obj0
= 0 ;
4668 PyObject
* obj1
= 0 ;
4670 (char *) "self",(char *) "dc", NULL
4673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Draw",kwnames
,&obj0
,&obj1
)) goto fail
;
4674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4675 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4677 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4681 (arg1
)->Draw(*arg2
);
4683 wxPyEndAllowThreads(__tstate
);
4684 if (PyErr_Occurred()) SWIG_fail
;
4686 Py_INCREF(Py_None
); resultobj
= Py_None
;
4693 static PyObject
*_wrap_PyShape_Flash(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4694 PyObject
*resultobj
;
4695 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4696 PyObject
* obj0
= 0 ;
4698 (char *) "self", NULL
4701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Flash",kwnames
,&obj0
)) goto fail
;
4702 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4707 wxPyEndAllowThreads(__tstate
);
4708 if (PyErr_Occurred()) SWIG_fail
;
4710 Py_INCREF(Py_None
); resultobj
= Py_None
;
4717 static PyObject
*_wrap_PyShape_MoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4718 PyObject
*resultobj
;
4719 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4721 PyObject
* obj0
= 0 ;
4722 PyObject
* obj1
= 0 ;
4724 (char *) "self",(char *) "dc", NULL
4727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_MoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
4728 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4729 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4731 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4735 (arg1
)->MoveLinks(*arg2
);
4737 wxPyEndAllowThreads(__tstate
);
4738 if (PyErr_Occurred()) SWIG_fail
;
4740 Py_INCREF(Py_None
); resultobj
= Py_None
;
4747 static PyObject
*_wrap_PyShape_DrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4748 PyObject
*resultobj
;
4749 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4751 PyObject
* obj0
= 0 ;
4752 PyObject
* obj1
= 0 ;
4754 (char *) "self",(char *) "dc", NULL
4757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_DrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
4758 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4759 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4761 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4765 (arg1
)->DrawContents(*arg2
);
4767 wxPyEndAllowThreads(__tstate
);
4768 if (PyErr_Occurred()) SWIG_fail
;
4770 Py_INCREF(Py_None
); resultobj
= Py_None
;
4777 static PyObject
*_wrap_PyShape_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4778 PyObject
*resultobj
;
4779 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4782 bool arg4
= (bool) True
;
4783 PyObject
* obj0
= 0 ;
4784 PyObject
* obj3
= 0 ;
4786 (char *) "self",(char *) "x",(char *) "y",(char *) "recursive", NULL
4789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|O:PyShape_SetSize",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
4790 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4792 arg4
= PyInt_AsLong(obj3
) ? true : false;
4793 if (PyErr_Occurred()) SWIG_fail
;
4796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4797 (arg1
)->SetSize(arg2
,arg3
,arg4
);
4799 wxPyEndAllowThreads(__tstate
);
4800 if (PyErr_Occurred()) SWIG_fail
;
4802 Py_INCREF(Py_None
); resultobj
= Py_None
;
4809 static PyObject
*_wrap_PyShape_SetAttachmentSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4810 PyObject
*resultobj
;
4811 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4814 PyObject
* obj0
= 0 ;
4816 (char *) "self",(char *) "x",(char *) "y", NULL
4819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyShape_SetAttachmentSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
4820 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4823 (arg1
)->SetAttachmentSize(arg2
,arg3
);
4825 wxPyEndAllowThreads(__tstate
);
4826 if (PyErr_Occurred()) SWIG_fail
;
4828 Py_INCREF(Py_None
); resultobj
= Py_None
;
4835 static PyObject
*_wrap_PyShape_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4836 PyObject
*resultobj
;
4837 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4838 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
4839 PyObject
* obj0
= 0 ;
4840 PyObject
* obj1
= 0 ;
4842 (char *) "self",(char *) "can", NULL
4845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
4846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4847 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4850 (arg1
)->Attach(arg2
);
4852 wxPyEndAllowThreads(__tstate
);
4853 if (PyErr_Occurred()) SWIG_fail
;
4855 Py_INCREF(Py_None
); resultobj
= Py_None
;
4862 static PyObject
*_wrap_PyShape_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4863 PyObject
*resultobj
;
4864 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4865 PyObject
* obj0
= 0 ;
4867 (char *) "self", NULL
4870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Detach",kwnames
,&obj0
)) goto fail
;
4871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4876 wxPyEndAllowThreads(__tstate
);
4877 if (PyErr_Occurred()) SWIG_fail
;
4879 Py_INCREF(Py_None
); resultobj
= Py_None
;
4886 static PyObject
*_wrap_PyShape_Constrain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4887 PyObject
*resultobj
;
4888 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4890 PyObject
* obj0
= 0 ;
4892 (char *) "self", NULL
4895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Constrain",kwnames
,&obj0
)) goto fail
;
4896 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4899 result
= (bool)(arg1
)->Constrain();
4901 wxPyEndAllowThreads(__tstate
);
4902 if (PyErr_Occurred()) SWIG_fail
;
4904 resultobj
= PyInt_FromLong((long)result
);
4911 static PyObject
*_wrap_PyShape_AddLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4912 PyObject
*resultobj
;
4913 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4914 wxPyLineShape
*arg2
= (wxPyLineShape
*) 0 ;
4915 wxPyShape
*arg3
= (wxPyShape
*) 0 ;
4916 int arg4
= (int) 0 ;
4917 int arg5
= (int) 0 ;
4918 int arg6
= (int) -1 ;
4919 int arg7
= (int) -1 ;
4920 PyObject
* obj0
= 0 ;
4921 PyObject
* obj1
= 0 ;
4922 PyObject
* obj2
= 0 ;
4924 (char *) "self",(char *) "line",(char *) "other",(char *) "attachFrom",(char *) "attachTo",(char *) "positionFrom",(char *) "positionTo", NULL
4927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|iiii:PyShape_AddLine",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
4928 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4929 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4930 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4933 (arg1
)->AddLine(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
4935 wxPyEndAllowThreads(__tstate
);
4936 if (PyErr_Occurred()) SWIG_fail
;
4938 Py_INCREF(Py_None
); resultobj
= Py_None
;
4945 static PyObject
*_wrap_PyShape_GetLinePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4946 PyObject
*resultobj
;
4947 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4948 wxPyLineShape
*arg2
= (wxPyLineShape
*) 0 ;
4950 PyObject
* obj0
= 0 ;
4951 PyObject
* obj1
= 0 ;
4953 (char *) "self",(char *) "line", NULL
4956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_GetLinePosition",kwnames
,&obj0
,&obj1
)) goto fail
;
4957 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4958 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4961 result
= (int)(arg1
)->GetLinePosition(arg2
);
4963 wxPyEndAllowThreads(__tstate
);
4964 if (PyErr_Occurred()) SWIG_fail
;
4966 resultobj
= PyInt_FromLong((long)result
);
4973 static PyObject
*_wrap_PyShape_AddText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4974 PyObject
*resultobj
;
4975 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4976 wxString
*arg2
= 0 ;
4977 bool temp2
= False
;
4978 PyObject
* obj0
= 0 ;
4979 PyObject
* obj1
= 0 ;
4981 (char *) "self",(char *) "string", NULL
4984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_AddText",kwnames
,&obj0
,&obj1
)) goto fail
;
4985 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4987 arg2
= wxString_in_helper(obj1
);
4988 if (arg2
== NULL
) SWIG_fail
;
4992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4993 (arg1
)->AddText((wxString
const &)*arg2
);
4995 wxPyEndAllowThreads(__tstate
);
4996 if (PyErr_Occurred()) SWIG_fail
;
4998 Py_INCREF(Py_None
); resultobj
= Py_None
;
5013 static PyObject
*_wrap_PyShape_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5014 PyObject
*resultobj
;
5015 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5017 PyObject
* obj0
= 0 ;
5019 (char *) "self", NULL
5022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetPen",kwnames
,&obj0
)) goto fail
;
5023 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5026 result
= (wxPen
*)(arg1
)->GetPen();
5028 wxPyEndAllowThreads(__tstate
);
5029 if (PyErr_Occurred()) SWIG_fail
;
5031 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPen
, 0);
5038 static PyObject
*_wrap_PyShape_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5039 PyObject
*resultobj
;
5040 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5042 PyObject
* obj0
= 0 ;
5044 (char *) "self", NULL
5047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBrush",kwnames
,&obj0
)) goto fail
;
5048 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5051 result
= (wxBrush
*)(arg1
)->GetBrush();
5053 wxPyEndAllowThreads(__tstate
);
5054 if (PyErr_Occurred()) SWIG_fail
;
5056 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBrush
, 0);
5063 static PyObject
*_wrap_PyShape_SetDefaultRegionSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5064 PyObject
*resultobj
;
5065 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5066 PyObject
* obj0
= 0 ;
5068 (char *) "self", NULL
5071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_SetDefaultRegionSize",kwnames
,&obj0
)) goto fail
;
5072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5075 (arg1
)->SetDefaultRegionSize();
5077 wxPyEndAllowThreads(__tstate
);
5078 if (PyErr_Occurred()) SWIG_fail
;
5080 Py_INCREF(Py_None
); resultobj
= Py_None
;
5087 static PyObject
*_wrap_PyShape_FormatText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5088 PyObject
*resultobj
;
5089 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5091 wxString
*arg3
= 0 ;
5092 int arg4
= (int) 0 ;
5093 bool temp3
= False
;
5094 PyObject
* obj0
= 0 ;
5095 PyObject
* obj1
= 0 ;
5096 PyObject
* obj2
= 0 ;
5098 (char *) "self",(char *) "dc",(char *) "s",(char *) "regionId", NULL
5101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:PyShape_FormatText",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
5102 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5103 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5105 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5108 arg3
= wxString_in_helper(obj2
);
5109 if (arg3
== NULL
) SWIG_fail
;
5113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5114 (arg1
)->FormatText(*arg2
,(wxString
const &)*arg3
,arg4
);
5116 wxPyEndAllowThreads(__tstate
);
5117 if (PyErr_Occurred()) SWIG_fail
;
5119 Py_INCREF(Py_None
); resultobj
= Py_None
;
5134 static PyObject
*_wrap_PyShape_SetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5135 PyObject
*resultobj
;
5136 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5138 int arg3
= (int) 0 ;
5139 PyObject
* obj0
= 0 ;
5141 (char *) "self",(char *) "mode",(char *) "regionId", NULL
5144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|i:PyShape_SetFormatMode",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
5145 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5148 (arg1
)->SetFormatMode(arg2
,arg3
);
5150 wxPyEndAllowThreads(__tstate
);
5151 if (PyErr_Occurred()) SWIG_fail
;
5153 Py_INCREF(Py_None
); resultobj
= Py_None
;
5160 static PyObject
*_wrap_PyShape_GetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5161 PyObject
*resultobj
;
5162 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5163 int arg2
= (int) 0 ;
5165 PyObject
* obj0
= 0 ;
5167 (char *) "self",(char *) "regionId", NULL
5170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:PyShape_GetFormatMode",kwnames
,&obj0
,&arg2
)) goto fail
;
5171 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5174 result
= (int)(arg1
)->GetFormatMode(arg2
);
5176 wxPyEndAllowThreads(__tstate
);
5177 if (PyErr_Occurred()) SWIG_fail
;
5179 resultobj
= PyInt_FromLong((long)result
);
5186 static PyObject
*_wrap_PyShape_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5187 PyObject
*resultobj
;
5188 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5189 wxFont
*arg2
= (wxFont
*) 0 ;
5190 int arg3
= (int) 0 ;
5191 PyObject
* obj0
= 0 ;
5192 PyObject
* obj1
= 0 ;
5194 (char *) "self",(char *) "font",(char *) "regionId", NULL
5197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:PyShape_SetFont",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
5198 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5202 if (obj1
== Py_None
) {
5205 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxFont"))) {
5206 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxFont.");
5211 arg2
= wxTheFontList
->FindOrCreateFont(temp
->GetPointSize(),
5215 temp
->GetUnderlined(),
5216 temp
->GetFaceName(),
5217 temp
->GetEncoding());
5222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5223 (arg1
)->SetFont(arg2
,arg3
);
5225 wxPyEndAllowThreads(__tstate
);
5226 if (PyErr_Occurred()) SWIG_fail
;
5228 Py_INCREF(Py_None
); resultobj
= Py_None
;
5235 static PyObject
*_wrap_PyShape_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5236 PyObject
*resultobj
;
5237 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5238 int arg2
= (int) 0 ;
5240 PyObject
* obj0
= 0 ;
5242 (char *) "self",(char *) "regionId", NULL
5245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:PyShape_GetFont",kwnames
,&obj0
,&arg2
)) goto fail
;
5246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5249 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
5251 wxPyEndAllowThreads(__tstate
);
5252 if (PyErr_Occurred()) SWIG_fail
;
5254 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
5261 static PyObject
*_wrap_PyShape_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5262 PyObject
*resultobj
;
5263 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5264 wxString
*arg2
= 0 ;
5265 int arg3
= (int) 0 ;
5266 bool temp2
= False
;
5267 PyObject
* obj0
= 0 ;
5268 PyObject
* obj1
= 0 ;
5270 (char *) "self",(char *) "colour",(char *) "regionId", NULL
5273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:PyShape_SetTextColour",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
5274 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5276 arg2
= wxString_in_helper(obj1
);
5277 if (arg2
== NULL
) SWIG_fail
;
5281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5282 (arg1
)->SetTextColour((wxString
const &)*arg2
,arg3
);
5284 wxPyEndAllowThreads(__tstate
);
5285 if (PyErr_Occurred()) SWIG_fail
;
5287 Py_INCREF(Py_None
); resultobj
= Py_None
;
5302 static PyObject
*_wrap_PyShape_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5303 PyObject
*resultobj
;
5304 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5305 int arg2
= (int) 0 ;
5307 PyObject
* obj0
= 0 ;
5309 (char *) "self",(char *) "regionId", NULL
5312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:PyShape_GetTextColour",kwnames
,&obj0
,&arg2
)) goto fail
;
5313 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5316 result
= (arg1
)->GetTextColour(arg2
);
5318 wxPyEndAllowThreads(__tstate
);
5319 if (PyErr_Occurred()) SWIG_fail
;
5323 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5325 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5334 static PyObject
*_wrap_PyShape_GetNumberOfTextRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5335 PyObject
*resultobj
;
5336 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5338 PyObject
* obj0
= 0 ;
5340 (char *) "self", NULL
5343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetNumberOfTextRegions",kwnames
,&obj0
)) goto fail
;
5344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5347 result
= (int)(arg1
)->GetNumberOfTextRegions();
5349 wxPyEndAllowThreads(__tstate
);
5350 if (PyErr_Occurred()) SWIG_fail
;
5352 resultobj
= PyInt_FromLong((long)result
);
5359 static PyObject
*_wrap_PyShape_SetRegionName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5360 PyObject
*resultobj
;
5361 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5362 wxString
*arg2
= 0 ;
5363 int arg3
= (int) 0 ;
5364 bool temp2
= False
;
5365 PyObject
* obj0
= 0 ;
5366 PyObject
* obj1
= 0 ;
5368 (char *) "self",(char *) "name",(char *) "regionId", NULL
5371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:PyShape_SetRegionName",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
5372 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5374 arg2
= wxString_in_helper(obj1
);
5375 if (arg2
== NULL
) SWIG_fail
;
5379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5380 (arg1
)->SetRegionName((wxString
const &)*arg2
,arg3
);
5382 wxPyEndAllowThreads(__tstate
);
5383 if (PyErr_Occurred()) SWIG_fail
;
5385 Py_INCREF(Py_None
); resultobj
= Py_None
;
5400 static PyObject
*_wrap_PyShape_GetRegionName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5401 PyObject
*resultobj
;
5402 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5405 PyObject
* obj0
= 0 ;
5407 (char *) "self",(char *) "regionId", NULL
5410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyShape_GetRegionName",kwnames
,&obj0
,&arg2
)) goto fail
;
5411 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5414 result
= (arg1
)->GetRegionName(arg2
);
5416 wxPyEndAllowThreads(__tstate
);
5417 if (PyErr_Occurred()) SWIG_fail
;
5421 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5423 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5432 static PyObject
*_wrap_PyShape_GetRegionId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5433 PyObject
*resultobj
;
5434 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5435 wxString
*arg2
= 0 ;
5437 bool temp2
= False
;
5438 PyObject
* obj0
= 0 ;
5439 PyObject
* obj1
= 0 ;
5441 (char *) "self",(char *) "name", NULL
5444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_GetRegionId",kwnames
,&obj0
,&obj1
)) goto fail
;
5445 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5447 arg2
= wxString_in_helper(obj1
);
5448 if (arg2
== NULL
) SWIG_fail
;
5452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5453 result
= (int)(arg1
)->GetRegionId((wxString
const &)*arg2
);
5455 wxPyEndAllowThreads(__tstate
);
5456 if (PyErr_Occurred()) SWIG_fail
;
5458 resultobj
= PyInt_FromLong((long)result
);
5473 static PyObject
*_wrap_PyShape_NameRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5474 PyObject
*resultobj
;
5475 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5476 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5477 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5478 bool temp2
= False
;
5479 PyObject
* obj0
= 0 ;
5480 PyObject
* obj1
= 0 ;
5482 (char *) "self",(char *) "parentName", NULL
5485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyShape_NameRegions",kwnames
,&obj0
,&obj1
)) goto fail
;
5486 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5489 arg2
= wxString_in_helper(obj1
);
5490 if (arg2
== NULL
) SWIG_fail
;
5495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5496 (arg1
)->NameRegions((wxString
const &)*arg2
);
5498 wxPyEndAllowThreads(__tstate
);
5499 if (PyErr_Occurred()) SWIG_fail
;
5501 Py_INCREF(Py_None
); resultobj
= Py_None
;
5516 static PyObject
*_wrap_PyShape_GetRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5517 PyObject
*resultobj
;
5518 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5520 PyObject
* obj0
= 0 ;
5522 (char *) "self", NULL
5525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetRegions",kwnames
,&obj0
)) goto fail
;
5526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5529 result
= (PyObject
*)wxPyShape_GetRegions(arg1
);
5531 wxPyEndAllowThreads(__tstate
);
5532 if (PyErr_Occurred()) SWIG_fail
;
5541 static PyObject
*_wrap_PyShape_AddRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5542 PyObject
*resultobj
;
5543 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5544 wxShapeRegion
*arg2
= (wxShapeRegion
*) 0 ;
5545 PyObject
* obj0
= 0 ;
5546 PyObject
* obj1
= 0 ;
5548 (char *) "self",(char *) "region", NULL
5551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_AddRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5552 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5553 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5556 (arg1
)->AddRegion(arg2
);
5558 wxPyEndAllowThreads(__tstate
);
5559 if (PyErr_Occurred()) SWIG_fail
;
5561 Py_INCREF(Py_None
); resultobj
= Py_None
;
5568 static PyObject
*_wrap_PyShape_ClearRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5569 PyObject
*resultobj
;
5570 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5571 PyObject
* obj0
= 0 ;
5573 (char *) "self", NULL
5576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_ClearRegions",kwnames
,&obj0
)) goto fail
;
5577 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5580 (arg1
)->ClearRegions();
5582 wxPyEndAllowThreads(__tstate
);
5583 if (PyErr_Occurred()) SWIG_fail
;
5585 Py_INCREF(Py_None
); resultobj
= Py_None
;
5592 static PyObject
*_wrap_PyShape_AssignNewIds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5593 PyObject
*resultobj
;
5594 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5595 PyObject
* obj0
= 0 ;
5597 (char *) "self", NULL
5600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_AssignNewIds",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 (arg1
)->AssignNewIds();
5606 wxPyEndAllowThreads(__tstate
);
5607 if (PyErr_Occurred()) SWIG_fail
;
5609 Py_INCREF(Py_None
); resultobj
= Py_None
;
5616 static PyObject
*_wrap_PyShape_FindRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5617 PyObject
*resultobj
;
5618 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5619 wxString
*arg2
= 0 ;
5620 int *arg3
= (int *) 0 ;
5622 bool temp2
= False
;
5624 PyObject
* obj0
= 0 ;
5625 PyObject
* obj1
= 0 ;
5627 (char *) "self",(char *) "regionName", NULL
5631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_FindRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5632 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5634 arg2
= wxString_in_helper(obj1
);
5635 if (arg2
== NULL
) SWIG_fail
;
5639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5640 result
= (wxPyShape
*)(arg1
)->FindRegion((wxString
const &)*arg2
,arg3
);
5642 wxPyEndAllowThreads(__tstate
);
5643 if (PyErr_Occurred()) SWIG_fail
;
5646 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
5649 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
5650 resultobj
= t_output_helper(resultobj
,o
);
5666 static PyObject
*_wrap_PyShape_FindRegionNames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5667 PyObject
*resultobj
;
5668 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5669 wxStringList
*arg2
= 0 ;
5670 PyObject
* obj0
= 0 ;
5671 PyObject
* obj1
= 0 ;
5673 (char *) "self",(char *) "list", NULL
5676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_FindRegionNames",kwnames
,&obj0
,&obj1
)) goto fail
;
5677 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5678 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxStringList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5680 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5684 (arg1
)->FindRegionNames(*arg2
);
5686 wxPyEndAllowThreads(__tstate
);
5687 if (PyErr_Occurred()) SWIG_fail
;
5689 Py_INCREF(Py_None
); resultobj
= Py_None
;
5696 static PyObject
*_wrap_PyShape_ClearText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5697 PyObject
*resultobj
;
5698 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5699 int arg2
= (int) 0 ;
5700 PyObject
* obj0
= 0 ;
5702 (char *) "self",(char *) "regionId", NULL
5705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:PyShape_ClearText",kwnames
,&obj0
,&arg2
)) goto fail
;
5706 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5709 (arg1
)->ClearText(arg2
);
5711 wxPyEndAllowThreads(__tstate
);
5712 if (PyErr_Occurred()) SWIG_fail
;
5714 Py_INCREF(Py_None
); resultobj
= Py_None
;
5721 static PyObject
*_wrap_PyShape_RemoveLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5722 PyObject
*resultobj
;
5723 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5724 wxPyLineShape
*arg2
= (wxPyLineShape
*) 0 ;
5725 PyObject
* obj0
= 0 ;
5726 PyObject
* obj1
= 0 ;
5728 (char *) "self",(char *) "line", NULL
5731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_RemoveLine",kwnames
,&obj0
,&obj1
)) goto fail
;
5732 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5733 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5736 (arg1
)->RemoveLine(arg2
);
5738 wxPyEndAllowThreads(__tstate
);
5739 if (PyErr_Occurred()) SWIG_fail
;
5741 Py_INCREF(Py_None
); resultobj
= Py_None
;
5748 static PyObject
*_wrap_PyShape_GetAttachmentPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5749 PyObject
*resultobj
;
5750 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5752 double *arg3
= (double *) 0 ;
5753 double *arg4
= (double *) 0 ;
5754 int arg5
= (int) 0 ;
5755 int arg6
= (int) 1 ;
5756 wxPyLineShape
*arg7
= (wxPyLineShape
*) NULL
;
5760 PyObject
* obj0
= 0 ;
5761 PyObject
* obj4
= 0 ;
5763 (char *) "self",(char *) "attachment",(char *) "nth",(char *) "no_arcs",(char *) "line", NULL
5768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|iiO:PyShape_GetAttachmentPosition",kwnames
,&obj0
,&arg2
,&arg5
,&arg6
,&obj4
)) goto fail
;
5769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5771 if ((SWIG_ConvertPtr(obj4
,(void **) &arg7
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5775 result
= (bool)(arg1
)->GetAttachmentPosition(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
5777 wxPyEndAllowThreads(__tstate
);
5778 if (PyErr_Occurred()) SWIG_fail
;
5780 resultobj
= PyInt_FromLong((long)result
);
5782 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
5783 resultobj
= t_output_helper(resultobj
,o
);
5786 PyObject
*o
= PyFloat_FromDouble((double) (*arg4
));
5787 resultobj
= t_output_helper(resultobj
,o
);
5795 static PyObject
*_wrap_PyShape_GetNumberOfAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5796 PyObject
*resultobj
;
5797 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5799 PyObject
* obj0
= 0 ;
5801 (char *) "self", NULL
5804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetNumberOfAttachments",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 result
= (int)(arg1
)->GetNumberOfAttachments();
5810 wxPyEndAllowThreads(__tstate
);
5811 if (PyErr_Occurred()) SWIG_fail
;
5813 resultobj
= PyInt_FromLong((long)result
);
5820 static PyObject
*_wrap_PyShape_AttachmentIsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5821 PyObject
*resultobj
;
5822 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5825 PyObject
* obj0
= 0 ;
5827 (char *) "self",(char *) "attachment", NULL
5830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyShape_AttachmentIsValid",kwnames
,&obj0
,&arg2
)) goto fail
;
5831 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5834 result
= (bool)(arg1
)->AttachmentIsValid(arg2
);
5836 wxPyEndAllowThreads(__tstate
);
5837 if (PyErr_Occurred()) SWIG_fail
;
5839 resultobj
= PyInt_FromLong((long)result
);
5846 static PyObject
*_wrap_PyShape_GetAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5847 PyObject
*resultobj
;
5848 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5850 PyObject
* obj0
= 0 ;
5852 (char *) "self", NULL
5855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetAttachments",kwnames
,&obj0
)) goto fail
;
5856 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5859 result
= (PyObject
*)wxPyShape_GetAttachments(arg1
);
5861 wxPyEndAllowThreads(__tstate
);
5862 if (PyErr_Occurred()) SWIG_fail
;
5871 static PyObject
*_wrap_PyShape_GetAttachmentPositionEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5872 PyObject
*resultobj
;
5873 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5875 double *arg3
= (double *) 0 ;
5876 double *arg4
= (double *) 0 ;
5877 int arg5
= (int) 0 ;
5878 int arg6
= (int) 1 ;
5879 wxPyLineShape
*arg7
= (wxPyLineShape
*) NULL
;
5883 PyObject
* obj0
= 0 ;
5884 PyObject
* obj4
= 0 ;
5886 (char *) "self",(char *) "attachment",(char *) "nth",(char *) "no_arcs",(char *) "line", NULL
5891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|iiO:PyShape_GetAttachmentPositionEdge",kwnames
,&obj0
,&arg2
,&arg5
,&arg6
,&obj4
)) goto fail
;
5892 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5894 if ((SWIG_ConvertPtr(obj4
,(void **) &arg7
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5898 result
= (bool)(arg1
)->GetAttachmentPositionEdge(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
5900 wxPyEndAllowThreads(__tstate
);
5901 if (PyErr_Occurred()) SWIG_fail
;
5903 resultobj
= PyInt_FromLong((long)result
);
5905 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
5906 resultobj
= t_output_helper(resultobj
,o
);
5909 PyObject
*o
= PyFloat_FromDouble((double) (*arg4
));
5910 resultobj
= t_output_helper(resultobj
,o
);
5918 static PyObject
*_wrap_PyShape_CalcSimpleAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5919 PyObject
*resultobj
;
5920 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5921 wxRealPoint
*arg2
= 0 ;
5922 wxRealPoint
*arg3
= 0 ;
5925 wxPyLineShape
*arg6
= (wxPyLineShape
*) 0 ;
5929 PyObject
* obj0
= 0 ;
5930 PyObject
* obj1
= 0 ;
5931 PyObject
* obj2
= 0 ;
5932 PyObject
* obj5
= 0 ;
5934 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "nth",(char *) "noArcs",(char *) "line", NULL
5937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOiiO:PyShape_CalcSimpleAttachment",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&obj5
)) goto fail
;
5938 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5941 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5945 if ( ! wxRealPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5947 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5950 result
= (arg1
)->CalcSimpleAttachment((wxRealPoint
const &)*arg2
,(wxRealPoint
const &)*arg3
,arg4
,arg5
,arg6
);
5952 wxPyEndAllowThreads(__tstate
);
5953 if (PyErr_Occurred()) SWIG_fail
;
5956 wxRealPoint
* resultptr
;
5957 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
5958 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRealPoint
, 1);
5966 static PyObject
*_wrap_PyShape_AttachmentSortTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5967 PyObject
*resultobj
;
5968 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5970 wxRealPoint
*arg3
= 0 ;
5971 wxRealPoint
*arg4
= 0 ;
5975 PyObject
* obj0
= 0 ;
5976 PyObject
* obj2
= 0 ;
5977 PyObject
* obj3
= 0 ;
5979 (char *) "self",(char *) "attachmentPoint",(char *) "pt1",(char *) "pt2", NULL
5982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOO:PyShape_AttachmentSortTest",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
5983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5986 if ( ! wxRealPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5990 if ( ! wxRealPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5994 result
= (bool)(arg1
)->AttachmentSortTest(arg2
,(wxRealPoint
const &)*arg3
,(wxRealPoint
const &)*arg4
);
5996 wxPyEndAllowThreads(__tstate
);
5997 if (PyErr_Occurred()) SWIG_fail
;
5999 resultobj
= PyInt_FromLong((long)result
);
6006 static PyObject
*_wrap_PyShape_EraseLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6007 PyObject
*resultobj
;
6008 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6010 int arg3
= (int) -1 ;
6011 bool arg4
= (bool) False
;
6012 PyObject
* obj0
= 0 ;
6013 PyObject
* obj1
= 0 ;
6014 PyObject
* obj3
= 0 ;
6016 (char *) "self",(char *) "dc",(char *) "attachment",(char *) "recurse", NULL
6019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iO:PyShape_EraseLinks",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
)) goto fail
;
6020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6021 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6023 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6026 arg4
= PyInt_AsLong(obj3
) ? true : false;
6027 if (PyErr_Occurred()) SWIG_fail
;
6030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6031 (arg1
)->EraseLinks(*arg2
,arg3
,arg4
);
6033 wxPyEndAllowThreads(__tstate
);
6034 if (PyErr_Occurred()) SWIG_fail
;
6036 Py_INCREF(Py_None
); resultobj
= Py_None
;
6043 static PyObject
*_wrap_PyShape_DrawLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6044 PyObject
*resultobj
;
6045 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6047 int arg3
= (int) -1 ;
6048 bool arg4
= (bool) False
;
6049 PyObject
* obj0
= 0 ;
6050 PyObject
* obj1
= 0 ;
6051 PyObject
* obj3
= 0 ;
6053 (char *) "self",(char *) "dc",(char *) "attachment",(char *) "recurse", NULL
6056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iO:PyShape_DrawLinks",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
)) goto fail
;
6057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6058 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6060 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6063 arg4
= PyInt_AsLong(obj3
) ? true : false;
6064 if (PyErr_Occurred()) SWIG_fail
;
6067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6068 (arg1
)->DrawLinks(*arg2
,arg3
,arg4
);
6070 wxPyEndAllowThreads(__tstate
);
6071 if (PyErr_Occurred()) SWIG_fail
;
6073 Py_INCREF(Py_None
); resultobj
= Py_None
;
6080 static PyObject
*_wrap_PyShape_MoveLineToNewAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6081 PyObject
*resultobj
;
6082 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6084 wxPyLineShape
*arg3
= (wxPyLineShape
*) 0 ;
6088 PyObject
* obj0
= 0 ;
6089 PyObject
* obj1
= 0 ;
6090 PyObject
* obj2
= 0 ;
6092 (char *) "self",(char *) "dc",(char *) "to_move",(char *) "x",(char *) "y", NULL
6095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd:PyShape_MoveLineToNewAttachment",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
)) goto fail
;
6096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6097 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6099 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6101 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6104 result
= (bool)(arg1
)->MoveLineToNewAttachment(*arg2
,arg3
,arg4
,arg5
);
6106 wxPyEndAllowThreads(__tstate
);
6107 if (PyErr_Occurred()) SWIG_fail
;
6109 resultobj
= PyInt_FromLong((long)result
);
6116 static PyObject
*_wrap_PyShape_ApplyAttachmentOrdering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6117 PyObject
*resultobj
;
6118 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6119 PyObject
*arg2
= (PyObject
*) 0 ;
6120 PyObject
* obj0
= 0 ;
6121 PyObject
* obj1
= 0 ;
6123 (char *) "self",(char *) "linesToSort", NULL
6126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_ApplyAttachmentOrdering",kwnames
,&obj0
,&obj1
)) goto fail
;
6127 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6131 wxPyShape_ApplyAttachmentOrdering(arg1
,arg2
);
6133 wxPyEndAllowThreads(__tstate
);
6134 if (PyErr_Occurred()) SWIG_fail
;
6136 Py_INCREF(Py_None
); resultobj
= Py_None
;
6143 static PyObject
*_wrap_PyShape_GetBranchingAttachmentRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6144 PyObject
*resultobj
;
6145 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6148 PyObject
* obj0
= 0 ;
6150 (char *) "self",(char *) "attachment", NULL
6153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyShape_GetBranchingAttachmentRoot",kwnames
,&obj0
,&arg2
)) goto fail
;
6154 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6157 result
= (arg1
)->GetBranchingAttachmentRoot(arg2
);
6159 wxPyEndAllowThreads(__tstate
);
6160 if (PyErr_Occurred()) SWIG_fail
;
6163 wxRealPoint
* resultptr
;
6164 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
6165 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRealPoint
, 1);
6173 static PyObject
*_wrap_PyShape_GetBranchingAttachmentInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6174 PyObject
*resultobj
;
6175 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6177 wxRealPoint
*arg3
= 0 ;
6178 wxRealPoint
*arg4
= 0 ;
6179 wxRealPoint
*arg5
= 0 ;
6180 wxRealPoint
*arg6
= 0 ;
6186 PyObject
* obj0
= 0 ;
6187 PyObject
* obj2
= 0 ;
6188 PyObject
* obj3
= 0 ;
6189 PyObject
* obj4
= 0 ;
6190 PyObject
* obj5
= 0 ;
6192 (char *) "self",(char *) "attachment",(char *) "root",(char *) "neck",(char *) "shoulder1",(char *) "shoulder2", NULL
6195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOOOO:PyShape_GetBranchingAttachmentInfo",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6196 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6199 if ( ! wxRealPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6203 if ( ! wxRealPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6207 if ( ! wxRealPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6211 if ( ! wxRealPoint_helper(obj5
, &arg6
)) SWIG_fail
;
6214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6215 result
= (bool)(arg1
)->GetBranchingAttachmentInfo(arg2
,*arg3
,*arg4
,*arg5
,*arg6
);
6217 wxPyEndAllowThreads(__tstate
);
6218 if (PyErr_Occurred()) SWIG_fail
;
6220 resultobj
= PyInt_FromLong((long)result
);
6227 static PyObject
*_wrap_PyShape_GetBranchingAttachmentPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6228 PyObject
*resultobj
;
6229 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6232 wxRealPoint
*arg4
= 0 ;
6233 wxRealPoint
*arg5
= 0 ;
6237 PyObject
* obj0
= 0 ;
6238 PyObject
* obj3
= 0 ;
6239 PyObject
* obj4
= 0 ;
6241 (char *) "self",(char *) "attachment",(char *) "n",(char *) "attachmentPoint",(char *) "stemPoint", NULL
6244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiOO:PyShape_GetBranchingAttachmentPoint",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
,&obj4
)) goto fail
;
6245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6248 if ( ! wxRealPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6252 if ( ! wxRealPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6256 result
= (bool)(arg1
)->GetBranchingAttachmentPoint(arg2
,arg3
,*arg4
,*arg5
);
6258 wxPyEndAllowThreads(__tstate
);
6259 if (PyErr_Occurred()) SWIG_fail
;
6261 resultobj
= PyInt_FromLong((long)result
);
6268 static PyObject
*_wrap_PyShape_GetAttachmentLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6269 PyObject
*resultobj
;
6270 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6273 PyObject
* obj0
= 0 ;
6275 (char *) "self",(char *) "attachment", NULL
6278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyShape_GetAttachmentLineCount",kwnames
,&obj0
,&arg2
)) goto fail
;
6279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6282 result
= (int)(arg1
)->GetAttachmentLineCount(arg2
);
6284 wxPyEndAllowThreads(__tstate
);
6285 if (PyErr_Occurred()) SWIG_fail
;
6287 resultobj
= PyInt_FromLong((long)result
);
6294 static PyObject
*_wrap_PyShape_SetBranchNeckLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6295 PyObject
*resultobj
;
6296 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6298 PyObject
* obj0
= 0 ;
6300 (char *) "self",(char *) "len", NULL
6303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyShape_SetBranchNeckLength",kwnames
,&obj0
,&arg2
)) goto fail
;
6304 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6307 (arg1
)->SetBranchNeckLength(arg2
);
6309 wxPyEndAllowThreads(__tstate
);
6310 if (PyErr_Occurred()) SWIG_fail
;
6312 Py_INCREF(Py_None
); resultobj
= Py_None
;
6319 static PyObject
*_wrap_PyShape_GetBranchNeckLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6320 PyObject
*resultobj
;
6321 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6323 PyObject
* obj0
= 0 ;
6325 (char *) "self", NULL
6328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBranchNeckLength",kwnames
,&obj0
)) goto fail
;
6329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6332 result
= (int)(arg1
)->GetBranchNeckLength();
6334 wxPyEndAllowThreads(__tstate
);
6335 if (PyErr_Occurred()) SWIG_fail
;
6337 resultobj
= PyInt_FromLong((long)result
);
6344 static PyObject
*_wrap_PyShape_SetBranchStemLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6345 PyObject
*resultobj
;
6346 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6348 PyObject
* obj0
= 0 ;
6350 (char *) "self",(char *) "len", NULL
6353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyShape_SetBranchStemLength",kwnames
,&obj0
,&arg2
)) goto fail
;
6354 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6357 (arg1
)->SetBranchStemLength(arg2
);
6359 wxPyEndAllowThreads(__tstate
);
6360 if (PyErr_Occurred()) SWIG_fail
;
6362 Py_INCREF(Py_None
); resultobj
= Py_None
;
6369 static PyObject
*_wrap_PyShape_GetBranchStemLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6370 PyObject
*resultobj
;
6371 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6373 PyObject
* obj0
= 0 ;
6375 (char *) "self", NULL
6378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBranchStemLength",kwnames
,&obj0
)) goto fail
;
6379 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6382 result
= (int)(arg1
)->GetBranchStemLength();
6384 wxPyEndAllowThreads(__tstate
);
6385 if (PyErr_Occurred()) SWIG_fail
;
6387 resultobj
= PyInt_FromLong((long)result
);
6394 static PyObject
*_wrap_PyShape_SetBranchSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6395 PyObject
*resultobj
;
6396 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6398 PyObject
* obj0
= 0 ;
6400 (char *) "self",(char *) "len", NULL
6403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyShape_SetBranchSpacing",kwnames
,&obj0
,&arg2
)) goto fail
;
6404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6407 (arg1
)->SetBranchSpacing(arg2
);
6409 wxPyEndAllowThreads(__tstate
);
6410 if (PyErr_Occurred()) SWIG_fail
;
6412 Py_INCREF(Py_None
); resultobj
= Py_None
;
6419 static PyObject
*_wrap_PyShape_GetBranchSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6420 PyObject
*resultobj
;
6421 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6423 PyObject
* obj0
= 0 ;
6425 (char *) "self", NULL
6428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBranchSpacing",kwnames
,&obj0
)) goto fail
;
6429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6432 result
= (int)(arg1
)->GetBranchSpacing();
6434 wxPyEndAllowThreads(__tstate
);
6435 if (PyErr_Occurred()) SWIG_fail
;
6437 resultobj
= PyInt_FromLong((long)result
);
6444 static PyObject
*_wrap_PyShape_SetBranchStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6445 PyObject
*resultobj
;
6446 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6448 PyObject
* obj0
= 0 ;
6450 (char *) "self",(char *) "style", NULL
6453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:PyShape_SetBranchStyle",kwnames
,&obj0
,&arg2
)) goto fail
;
6454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6457 (arg1
)->SetBranchStyle(arg2
);
6459 wxPyEndAllowThreads(__tstate
);
6460 if (PyErr_Occurred()) SWIG_fail
;
6462 Py_INCREF(Py_None
); resultobj
= Py_None
;
6469 static PyObject
*_wrap_PyShape_GetBranchStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6470 PyObject
*resultobj
;
6471 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6473 PyObject
* obj0
= 0 ;
6475 (char *) "self", NULL
6478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBranchStyle",kwnames
,&obj0
)) goto fail
;
6479 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6482 result
= (long)(arg1
)->GetBranchStyle();
6484 wxPyEndAllowThreads(__tstate
);
6485 if (PyErr_Occurred()) SWIG_fail
;
6487 resultobj
= PyInt_FromLong((long)result
);
6494 static PyObject
*_wrap_PyShape_PhysicalToLogicalAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6495 PyObject
*resultobj
;
6496 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6499 PyObject
* obj0
= 0 ;
6501 (char *) "self",(char *) "physicalAttachment", NULL
6504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyShape_PhysicalToLogicalAttachment",kwnames
,&obj0
,&arg2
)) goto fail
;
6505 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6508 result
= (int)(arg1
)->PhysicalToLogicalAttachment(arg2
);
6510 wxPyEndAllowThreads(__tstate
);
6511 if (PyErr_Occurred()) SWIG_fail
;
6513 resultobj
= PyInt_FromLong((long)result
);
6520 static PyObject
*_wrap_PyShape_LogicalToPhysicalAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6521 PyObject
*resultobj
;
6522 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6525 PyObject
* obj0
= 0 ;
6527 (char *) "self",(char *) "logicalAttachment", NULL
6530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyShape_LogicalToPhysicalAttachment",kwnames
,&obj0
,&arg2
)) goto fail
;
6531 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6534 result
= (int)(arg1
)->LogicalToPhysicalAttachment(arg2
);
6536 wxPyEndAllowThreads(__tstate
);
6537 if (PyErr_Occurred()) SWIG_fail
;
6539 resultobj
= PyInt_FromLong((long)result
);
6546 static PyObject
*_wrap_PyShape_Draggable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6547 PyObject
*resultobj
;
6548 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6550 PyObject
* obj0
= 0 ;
6552 (char *) "self", NULL
6555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Draggable",kwnames
,&obj0
)) goto fail
;
6556 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6559 result
= (bool)(arg1
)->Draggable();
6561 wxPyEndAllowThreads(__tstate
);
6562 if (PyErr_Occurred()) SWIG_fail
;
6564 resultobj
= PyInt_FromLong((long)result
);
6571 static PyObject
*_wrap_PyShape_HasDescendant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6572 PyObject
*resultobj
;
6573 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6574 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
6576 PyObject
* obj0
= 0 ;
6577 PyObject
* obj1
= 0 ;
6579 (char *) "self",(char *) "image", NULL
6582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_HasDescendant",kwnames
,&obj0
,&obj1
)) goto fail
;
6583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6584 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6587 result
= (bool)(arg1
)->HasDescendant(arg2
);
6589 wxPyEndAllowThreads(__tstate
);
6590 if (PyErr_Occurred()) SWIG_fail
;
6592 resultobj
= PyInt_FromLong((long)result
);
6599 static PyObject
*_wrap_PyShape_CreateNewCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6600 PyObject
*resultobj
;
6601 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6602 bool arg2
= (bool) True
;
6603 bool arg3
= (bool) True
;
6605 PyObject
* obj0
= 0 ;
6606 PyObject
* obj1
= 0 ;
6607 PyObject
* obj2
= 0 ;
6609 (char *) "self",(char *) "resetMapping",(char *) "recompute", NULL
6612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyShape_CreateNewCopy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6613 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6615 arg2
= PyInt_AsLong(obj1
) ? true : false;
6616 if (PyErr_Occurred()) SWIG_fail
;
6619 arg3
= PyInt_AsLong(obj2
) ? true : false;
6620 if (PyErr_Occurred()) SWIG_fail
;
6623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6624 result
= (wxPyShape
*)(arg1
)->CreateNewCopy(arg2
,arg3
);
6626 wxPyEndAllowThreads(__tstate
);
6627 if (PyErr_Occurred()) SWIG_fail
;
6630 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
6638 static PyObject
*_wrap_PyShape_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6639 PyObject
*resultobj
;
6640 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6641 wxPyShape
*arg2
= 0 ;
6642 PyObject
* obj0
= 0 ;
6643 PyObject
* obj1
= 0 ;
6645 (char *) "self",(char *) "copy", NULL
6648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Copy",kwnames
,&obj0
,&obj1
)) goto fail
;
6649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6650 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6652 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6656 (arg1
)->Copy(*arg2
);
6658 wxPyEndAllowThreads(__tstate
);
6659 if (PyErr_Occurred()) SWIG_fail
;
6661 Py_INCREF(Py_None
); resultobj
= Py_None
;
6668 static PyObject
*_wrap_PyShape_CopyWithHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6669 PyObject
*resultobj
;
6670 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6671 wxPyShape
*arg2
= 0 ;
6672 PyObject
* obj0
= 0 ;
6673 PyObject
* obj1
= 0 ;
6675 (char *) "self",(char *) "copy", NULL
6678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_CopyWithHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
6679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6680 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6682 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6686 (arg1
)->CopyWithHandler(*arg2
);
6688 wxPyEndAllowThreads(__tstate
);
6689 if (PyErr_Occurred()) SWIG_fail
;
6691 Py_INCREF(Py_None
); resultobj
= Py_None
;
6698 static PyObject
*_wrap_PyShape_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6699 PyObject
*resultobj
;
6700 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6704 PyObject
* obj0
= 0 ;
6706 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
6709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oddd:PyShape_Rotate",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
6710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6713 (arg1
)->Rotate(arg2
,arg3
,arg4
);
6715 wxPyEndAllowThreads(__tstate
);
6716 if (PyErr_Occurred()) SWIG_fail
;
6718 Py_INCREF(Py_None
); resultobj
= Py_None
;
6725 static PyObject
*_wrap_PyShape_GetRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6726 PyObject
*resultobj
;
6727 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6729 PyObject
* obj0
= 0 ;
6731 (char *) "self", NULL
6734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetRotation",kwnames
,&obj0
)) goto fail
;
6735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6738 result
= (double)(arg1
)->GetRotation();
6740 wxPyEndAllowThreads(__tstate
);
6741 if (PyErr_Occurred()) SWIG_fail
;
6743 resultobj
= PyFloat_FromDouble(result
);
6750 static PyObject
*_wrap_PyShape_SetRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6751 PyObject
*resultobj
;
6752 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6754 PyObject
* obj0
= 0 ;
6756 (char *) "self",(char *) "rotation", NULL
6759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:PyShape_SetRotation",kwnames
,&obj0
,&arg2
)) goto fail
;
6760 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6763 (arg1
)->SetRotation(arg2
);
6765 wxPyEndAllowThreads(__tstate
);
6766 if (PyErr_Occurred()) SWIG_fail
;
6768 Py_INCREF(Py_None
); resultobj
= Py_None
;
6775 static PyObject
*_wrap_PyShape_ClearAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6776 PyObject
*resultobj
;
6777 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6778 PyObject
* obj0
= 0 ;
6780 (char *) "self", NULL
6783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_ClearAttachments",kwnames
,&obj0
)) goto fail
;
6784 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6787 (arg1
)->ClearAttachments();
6789 wxPyEndAllowThreads(__tstate
);
6790 if (PyErr_Occurred()) SWIG_fail
;
6792 Py_INCREF(Py_None
); resultobj
= Py_None
;
6799 static PyObject
*_wrap_PyShape_Recentre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6800 PyObject
*resultobj
;
6801 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6803 PyObject
* obj0
= 0 ;
6804 PyObject
* obj1
= 0 ;
6806 (char *) "self",(char *) "dc", NULL
6809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Recentre",kwnames
,&obj0
,&obj1
)) goto fail
;
6810 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6811 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6813 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6817 (arg1
)->Recentre(*arg2
);
6819 wxPyEndAllowThreads(__tstate
);
6820 if (PyErr_Occurred()) SWIG_fail
;
6822 Py_INCREF(Py_None
); resultobj
= Py_None
;
6829 static PyObject
*_wrap_PyShape_ClearPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6830 PyObject
*resultobj
;
6831 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6833 PyObject
* obj0
= 0 ;
6834 PyObject
* obj1
= 0 ;
6836 (char *) "self",(char *) "list", NULL
6839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_ClearPointList",kwnames
,&obj0
,&obj1
)) goto fail
;
6840 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6841 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6843 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6847 (arg1
)->ClearPointList(*arg2
);
6849 wxPyEndAllowThreads(__tstate
);
6850 if (PyErr_Occurred()) SWIG_fail
;
6852 Py_INCREF(Py_None
); resultobj
= Py_None
;
6859 static PyObject
*_wrap_PyShape_GetBackgroundPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6860 PyObject
*resultobj
;
6861 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6863 PyObject
* obj0
= 0 ;
6865 (char *) "self", NULL
6868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBackgroundPen",kwnames
,&obj0
)) goto fail
;
6869 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6872 result
= (arg1
)->GetBackgroundPen();
6874 wxPyEndAllowThreads(__tstate
);
6875 if (PyErr_Occurred()) SWIG_fail
;
6879 resultptr
= new wxPen((wxPen
&) result
);
6880 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPen
, 1);
6888 static PyObject
*_wrap_PyShape_GetBackgroundBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6889 PyObject
*resultobj
;
6890 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6892 PyObject
* obj0
= 0 ;
6894 (char *) "self", NULL
6897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBackgroundBrush",kwnames
,&obj0
)) goto fail
;
6898 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6901 result
= (arg1
)->GetBackgroundBrush();
6903 wxPyEndAllowThreads(__tstate
);
6904 if (PyErr_Occurred()) SWIG_fail
;
6907 wxBrush
* resultptr
;
6908 resultptr
= new wxBrush((wxBrush
&) result
);
6909 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBrush
, 1);
6917 static PyObject
*_wrap_PyShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6918 PyObject
*resultobj
;
6919 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6920 PyObject
* obj0
= 0 ;
6922 (char *) "self", NULL
6925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
6926 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6929 (arg1
)->base_OnDelete();
6931 wxPyEndAllowThreads(__tstate
);
6932 if (PyErr_Occurred()) SWIG_fail
;
6934 Py_INCREF(Py_None
); resultobj
= Py_None
;
6941 static PyObject
*_wrap_PyShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6942 PyObject
*resultobj
;
6943 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6945 PyObject
* obj0
= 0 ;
6946 PyObject
* obj1
= 0 ;
6948 (char *) "self",(char *) "dc", NULL
6951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
6952 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6953 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6955 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6959 (arg1
)->base_OnDraw(*arg2
);
6961 wxPyEndAllowThreads(__tstate
);
6962 if (PyErr_Occurred()) SWIG_fail
;
6964 Py_INCREF(Py_None
); resultobj
= Py_None
;
6971 static PyObject
*_wrap_PyShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6972 PyObject
*resultobj
;
6973 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6975 PyObject
* obj0
= 0 ;
6976 PyObject
* obj1
= 0 ;
6978 (char *) "self",(char *) "dc", NULL
6981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
6982 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6983 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6985 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6989 (arg1
)->base_OnDrawContents(*arg2
);
6991 wxPyEndAllowThreads(__tstate
);
6992 if (PyErr_Occurred()) SWIG_fail
;
6994 Py_INCREF(Py_None
); resultobj
= Py_None
;
7001 static PyObject
*_wrap_PyShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7002 PyObject
*resultobj
;
7003 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7005 bool arg3
= (bool) False
;
7006 PyObject
* obj0
= 0 ;
7007 PyObject
* obj1
= 0 ;
7008 PyObject
* obj2
= 0 ;
7010 (char *) "self",(char *) "dc",(char *) "erase", NULL
7013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7014 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7015 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7017 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7020 arg3
= PyInt_AsLong(obj2
) ? true : false;
7021 if (PyErr_Occurred()) SWIG_fail
;
7024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7025 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
7027 wxPyEndAllowThreads(__tstate
);
7028 if (PyErr_Occurred()) SWIG_fail
;
7030 Py_INCREF(Py_None
); resultobj
= Py_None
;
7037 static PyObject
*_wrap_PyShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7038 PyObject
*resultobj
;
7039 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7041 PyObject
* obj0
= 0 ;
7042 PyObject
* obj1
= 0 ;
7044 (char *) "self",(char *) "dc", NULL
7047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
7048 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7049 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7051 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7055 (arg1
)->base_OnMoveLinks(*arg2
);
7057 wxPyEndAllowThreads(__tstate
);
7058 if (PyErr_Occurred()) SWIG_fail
;
7060 Py_INCREF(Py_None
); resultobj
= Py_None
;
7067 static PyObject
*_wrap_PyShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7068 PyObject
*resultobj
;
7069 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7071 PyObject
* obj0
= 0 ;
7072 PyObject
* obj1
= 0 ;
7074 (char *) "self",(char *) "dc", NULL
7077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
7078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7079 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7081 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7085 (arg1
)->base_OnErase(*arg2
);
7087 wxPyEndAllowThreads(__tstate
);
7088 if (PyErr_Occurred()) SWIG_fail
;
7090 Py_INCREF(Py_None
); resultobj
= Py_None
;
7097 static PyObject
*_wrap_PyShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7098 PyObject
*resultobj
;
7099 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7101 PyObject
* obj0
= 0 ;
7102 PyObject
* obj1
= 0 ;
7104 (char *) "self",(char *) "dc", NULL
7107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
7108 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7109 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7111 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7115 (arg1
)->base_OnEraseContents(*arg2
);
7117 wxPyEndAllowThreads(__tstate
);
7118 if (PyErr_Occurred()) SWIG_fail
;
7120 Py_INCREF(Py_None
); resultobj
= Py_None
;
7127 static PyObject
*_wrap_PyShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7128 PyObject
*resultobj
;
7129 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7131 PyObject
* obj0
= 0 ;
7132 PyObject
* obj1
= 0 ;
7134 (char *) "self",(char *) "dc", NULL
7137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
7138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7139 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7141 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7145 (arg1
)->base_OnHighlight(*arg2
);
7147 wxPyEndAllowThreads(__tstate
);
7148 if (PyErr_Occurred()) SWIG_fail
;
7150 Py_INCREF(Py_None
); resultobj
= Py_None
;
7157 static PyObject
*_wrap_PyShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7158 PyObject
*resultobj
;
7159 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7162 int arg4
= (int) 0 ;
7163 int arg5
= (int) 0 ;
7164 PyObject
* obj0
= 0 ;
7166 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyShape_base_OnLeftClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
7170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7173 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
7175 wxPyEndAllowThreads(__tstate
);
7176 if (PyErr_Occurred()) SWIG_fail
;
7178 Py_INCREF(Py_None
); resultobj
= Py_None
;
7185 static PyObject
*_wrap_PyShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7186 PyObject
*resultobj
;
7187 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7190 int arg4
= (int) 0 ;
7191 int arg5
= (int) 0 ;
7192 PyObject
* obj0
= 0 ;
7194 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
7198 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7201 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
7203 wxPyEndAllowThreads(__tstate
);
7204 if (PyErr_Occurred()) SWIG_fail
;
7206 Py_INCREF(Py_None
); resultobj
= Py_None
;
7213 static PyObject
*_wrap_PyShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7214 PyObject
*resultobj
;
7215 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7218 int arg4
= (int) 0 ;
7219 int arg5
= (int) 0 ;
7220 PyObject
* obj0
= 0 ;
7222 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyShape_base_OnRightClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
7226 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7229 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
7231 wxPyEndAllowThreads(__tstate
);
7232 if (PyErr_Occurred()) SWIG_fail
;
7234 Py_INCREF(Py_None
); resultobj
= Py_None
;
7241 static PyObject
*_wrap_PyShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7242 PyObject
*resultobj
;
7243 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7246 PyObject
* obj0
= 0 ;
7248 (char *) "self",(char *) "x",(char *) "y", NULL
7251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyShape_base_OnSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7252 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7255 (arg1
)->base_OnSize(arg2
,arg3
);
7257 wxPyEndAllowThreads(__tstate
);
7258 if (PyErr_Occurred()) SWIG_fail
;
7260 Py_INCREF(Py_None
); resultobj
= Py_None
;
7267 static PyObject
*_wrap_PyShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7268 PyObject
*resultobj
;
7269 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7275 bool arg7
= (bool) True
;
7277 PyObject
* obj0
= 0 ;
7278 PyObject
* obj1
= 0 ;
7279 PyObject
* obj6
= 0 ;
7281 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
7284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
7285 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7286 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7288 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7291 arg7
= PyInt_AsLong(obj6
) ? true : false;
7292 if (PyErr_Occurred()) SWIG_fail
;
7295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7296 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
7298 wxPyEndAllowThreads(__tstate
);
7299 if (PyErr_Occurred()) SWIG_fail
;
7301 resultobj
= PyInt_FromLong((long)result
);
7308 static PyObject
*_wrap_PyShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7309 PyObject
*resultobj
;
7310 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7316 bool arg7
= (bool) True
;
7317 PyObject
* obj0
= 0 ;
7318 PyObject
* obj1
= 0 ;
7319 PyObject
* obj6
= 0 ;
7321 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
7324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
7325 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7326 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7328 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7331 arg7
= PyInt_AsLong(obj6
) ? true : false;
7332 if (PyErr_Occurred()) SWIG_fail
;
7335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7336 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
7338 wxPyEndAllowThreads(__tstate
);
7339 if (PyErr_Occurred()) SWIG_fail
;
7341 Py_INCREF(Py_None
); resultobj
= Py_None
;
7348 static PyObject
*_wrap_PyShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7349 PyObject
*resultobj
;
7350 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7354 int arg5
= (int) 0 ;
7355 int arg6
= (int) 0 ;
7356 PyObject
* obj0
= 0 ;
7357 PyObject
* obj1
= 0 ;
7359 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
7363 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7364 arg2
= PyInt_AsLong(obj1
) ? true : false;
7365 if (PyErr_Occurred()) SWIG_fail
;
7367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7368 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
7370 wxPyEndAllowThreads(__tstate
);
7371 if (PyErr_Occurred()) SWIG_fail
;
7373 Py_INCREF(Py_None
); resultobj
= Py_None
;
7380 static PyObject
*_wrap_PyShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7381 PyObject
*resultobj
;
7382 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7385 int arg4
= (int) 0 ;
7386 int arg5
= (int) 0 ;
7387 PyObject
* obj0
= 0 ;
7389 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyShape_base_OnBeginDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
7393 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7396 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
7398 wxPyEndAllowThreads(__tstate
);
7399 if (PyErr_Occurred()) SWIG_fail
;
7401 Py_INCREF(Py_None
); resultobj
= Py_None
;
7408 static PyObject
*_wrap_PyShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7409 PyObject
*resultobj
;
7410 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7413 int arg4
= (int) 0 ;
7414 int arg5
= (int) 0 ;
7415 PyObject
* obj0
= 0 ;
7417 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyShape_base_OnEndDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
7421 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7424 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
7426 wxPyEndAllowThreads(__tstate
);
7427 if (PyErr_Occurred()) SWIG_fail
;
7429 Py_INCREF(Py_None
); resultobj
= Py_None
;
7436 static PyObject
*_wrap_PyShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7437 PyObject
*resultobj
;
7438 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7442 int arg5
= (int) 0 ;
7443 int arg6
= (int) 0 ;
7444 PyObject
* obj0
= 0 ;
7445 PyObject
* obj1
= 0 ;
7447 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
7451 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7452 arg2
= PyInt_AsLong(obj1
) ? true : false;
7453 if (PyErr_Occurred()) SWIG_fail
;
7455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7456 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
7458 wxPyEndAllowThreads(__tstate
);
7459 if (PyErr_Occurred()) SWIG_fail
;
7461 Py_INCREF(Py_None
); resultobj
= Py_None
;
7468 static PyObject
*_wrap_PyShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7469 PyObject
*resultobj
;
7470 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7473 int arg4
= (int) 0 ;
7474 int arg5
= (int) 0 ;
7475 PyObject
* obj0
= 0 ;
7477 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyShape_base_OnBeginDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
7481 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7484 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
7486 wxPyEndAllowThreads(__tstate
);
7487 if (PyErr_Occurred()) SWIG_fail
;
7489 Py_INCREF(Py_None
); resultobj
= Py_None
;
7496 static PyObject
*_wrap_PyShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7497 PyObject
*resultobj
;
7498 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7501 int arg4
= (int) 0 ;
7502 int arg5
= (int) 0 ;
7503 PyObject
* obj0
= 0 ;
7505 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyShape_base_OnEndDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
7509 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7512 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
7514 wxPyEndAllowThreads(__tstate
);
7515 if (PyErr_Occurred()) SWIG_fail
;
7517 Py_INCREF(Py_None
); resultobj
= Py_None
;
7524 static PyObject
*_wrap_PyShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7525 PyObject
*resultobj
;
7526 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7532 PyObject
* obj0
= 0 ;
7533 PyObject
* obj1
= 0 ;
7535 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
7538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd:PyShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
7539 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7540 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7542 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7546 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
7548 wxPyEndAllowThreads(__tstate
);
7549 if (PyErr_Occurred()) SWIG_fail
;
7551 Py_INCREF(Py_None
); resultobj
= Py_None
;
7558 static PyObject
*_wrap_PyShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7559 PyObject
*resultobj
;
7560 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7562 PyObject
* obj0
= 0 ;
7563 PyObject
* obj1
= 0 ;
7565 (char *) "self",(char *) "dc", NULL
7568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
7569 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7570 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7572 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7576 (arg1
)->base_OnDrawControlPoints(*arg2
);
7578 wxPyEndAllowThreads(__tstate
);
7579 if (PyErr_Occurred()) SWIG_fail
;
7581 Py_INCREF(Py_None
); resultobj
= Py_None
;
7588 static PyObject
*_wrap_PyShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7589 PyObject
*resultobj
;
7590 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7592 PyObject
* obj0
= 0 ;
7593 PyObject
* obj1
= 0 ;
7595 (char *) "self",(char *) "dc", NULL
7598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
7599 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7600 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7602 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7606 (arg1
)->base_OnEraseControlPoints(*arg2
);
7608 wxPyEndAllowThreads(__tstate
);
7609 if (PyErr_Occurred()) SWIG_fail
;
7611 Py_INCREF(Py_None
); resultobj
= Py_None
;
7618 static PyObject
*_wrap_PyShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7619 PyObject
*resultobj
;
7620 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7622 bool arg3
= (bool) True
;
7623 PyObject
* obj0
= 0 ;
7624 PyObject
* obj1
= 0 ;
7625 PyObject
* obj2
= 0 ;
7627 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
7630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7631 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7632 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7634 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7637 arg3
= PyInt_AsLong(obj2
) ? true : false;
7638 if (PyErr_Occurred()) SWIG_fail
;
7641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7642 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
7644 wxPyEndAllowThreads(__tstate
);
7645 if (PyErr_Occurred()) SWIG_fail
;
7647 Py_INCREF(Py_None
); resultobj
= Py_None
;
7654 static PyObject
*_wrap_PyShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7655 PyObject
*resultobj
;
7656 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7657 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
7661 int arg6
= (int) 0 ;
7662 int arg7
= (int) 0 ;
7663 PyObject
* obj0
= 0 ;
7664 PyObject
* obj1
= 0 ;
7665 PyObject
* obj2
= 0 ;
7667 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd|ii:PyShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
7671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7672 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7673 arg3
= PyInt_AsLong(obj2
) ? true : false;
7674 if (PyErr_Occurred()) SWIG_fail
;
7676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7677 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
7679 wxPyEndAllowThreads(__tstate
);
7680 if (PyErr_Occurred()) SWIG_fail
;
7682 Py_INCREF(Py_None
); resultobj
= Py_None
;
7689 static PyObject
*_wrap_PyShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7690 PyObject
*resultobj
;
7691 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7692 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
7695 int arg5
= (int) 0 ;
7696 int arg6
= (int) 0 ;
7697 PyObject
* obj0
= 0 ;
7698 PyObject
* obj1
= 0 ;
7700 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
7704 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7705 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7708 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
7710 wxPyEndAllowThreads(__tstate
);
7711 if (PyErr_Occurred()) SWIG_fail
;
7713 Py_INCREF(Py_None
); resultobj
= Py_None
;
7720 static PyObject
*_wrap_PyShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7721 PyObject
*resultobj
;
7722 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7723 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
7726 int arg5
= (int) 0 ;
7727 int arg6
= (int) 0 ;
7728 PyObject
* obj0
= 0 ;
7729 PyObject
* obj1
= 0 ;
7731 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
7735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7736 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7739 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
7741 wxPyEndAllowThreads(__tstate
);
7742 if (PyErr_Occurred()) SWIG_fail
;
7744 Py_INCREF(Py_None
); resultobj
= Py_None
;
7751 static PyObject
*_wrap_PyShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7752 PyObject
*resultobj
;
7753 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7756 PyObject
* obj0
= 0 ;
7758 (char *) "self",(char *) "w",(char *) "h", NULL
7761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyShape_base_OnBeginSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7762 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7765 (arg1
)->base_OnBeginSize(arg2
,arg3
);
7767 wxPyEndAllowThreads(__tstate
);
7768 if (PyErr_Occurred()) SWIG_fail
;
7770 Py_INCREF(Py_None
); resultobj
= Py_None
;
7777 static PyObject
*_wrap_PyShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7778 PyObject
*resultobj
;
7779 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7782 PyObject
* obj0
= 0 ;
7784 (char *) "self",(char *) "w",(char *) "h", NULL
7787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyShape_base_OnEndSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7788 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7791 (arg1
)->base_OnEndSize(arg2
,arg3
);
7793 wxPyEndAllowThreads(__tstate
);
7794 if (PyErr_Occurred()) SWIG_fail
;
7796 Py_INCREF(Py_None
); resultobj
= Py_None
;
7803 static PyObject
* PyShape_swigregister(PyObject
*self
, PyObject
*args
) {
7805 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7806 SWIG_TypeClientData(SWIGTYPE_p_wxPyShape
, obj
);
7808 return Py_BuildValue((char *)"");
7810 static PyObject
*_wrap_new_PseudoMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7811 PyObject
*resultobj
;
7812 wxPseudoMetaFile
*result
;
7817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PseudoMetaFile",kwnames
)) goto fail
;
7819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7820 result
= (wxPseudoMetaFile
*)new wxPseudoMetaFile();
7822 wxPyEndAllowThreads(__tstate
);
7823 if (PyErr_Occurred()) SWIG_fail
;
7826 resultobj
= wxPyMake_wxObject(result
);
7834 static PyObject
*_wrap_delete_PseudoMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7835 PyObject
*resultobj
;
7836 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
7837 PyObject
* obj0
= 0 ;
7839 (char *) "self", NULL
7842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PseudoMetaFile",kwnames
,&obj0
)) goto fail
;
7843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7848 wxPyEndAllowThreads(__tstate
);
7849 if (PyErr_Occurred()) SWIG_fail
;
7851 Py_INCREF(Py_None
); resultobj
= Py_None
;
7858 static PyObject
*_wrap_PseudoMetaFile_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7859 PyObject
*resultobj
;
7860 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
7864 PyObject
* obj0
= 0 ;
7865 PyObject
* obj1
= 0 ;
7867 (char *) "self",(char *) "dc",(char *) "xoffset",(char *) "yoffset", NULL
7870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd:PseudoMetaFile_Draw",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
7871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7872 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7874 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7878 (arg1
)->Draw(*arg2
,arg3
,arg4
);
7880 wxPyEndAllowThreads(__tstate
);
7881 if (PyErr_Occurred()) SWIG_fail
;
7883 Py_INCREF(Py_None
); resultobj
= Py_None
;
7890 static PyObject
*_wrap_PseudoMetaFile_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7891 PyObject
*resultobj
;
7892 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
7893 PyObject
* obj0
= 0 ;
7895 (char *) "self", NULL
7898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_Clear",kwnames
,&obj0
)) goto fail
;
7899 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7904 wxPyEndAllowThreads(__tstate
);
7905 if (PyErr_Occurred()) SWIG_fail
;
7907 Py_INCREF(Py_None
); resultobj
= Py_None
;
7914 static PyObject
*_wrap_PseudoMetaFile_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7915 PyObject
*resultobj
;
7916 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
7917 wxPseudoMetaFile
*arg2
= 0 ;
7918 PyObject
* obj0
= 0 ;
7919 PyObject
* obj1
= 0 ;
7921 (char *) "self",(char *) "copy", NULL
7924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_Copy",kwnames
,&obj0
,&obj1
)) goto fail
;
7925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7926 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7928 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7932 (arg1
)->Copy(*arg2
);
7934 wxPyEndAllowThreads(__tstate
);
7935 if (PyErr_Occurred()) SWIG_fail
;
7937 Py_INCREF(Py_None
); resultobj
= Py_None
;
7944 static PyObject
*_wrap_PseudoMetaFile_Scale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7945 PyObject
*resultobj
;
7946 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
7949 PyObject
* obj0
= 0 ;
7951 (char *) "self",(char *) "sx",(char *) "sy", NULL
7954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PseudoMetaFile_Scale",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7955 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7958 (arg1
)->Scale(arg2
,arg3
);
7960 wxPyEndAllowThreads(__tstate
);
7961 if (PyErr_Occurred()) SWIG_fail
;
7963 Py_INCREF(Py_None
); resultobj
= Py_None
;
7970 static PyObject
*_wrap_PseudoMetaFile_ScaleTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7971 PyObject
*resultobj
;
7972 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
7975 PyObject
* obj0
= 0 ;
7977 (char *) "self",(char *) "w",(char *) "h", NULL
7980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PseudoMetaFile_ScaleTo",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7981 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7984 (arg1
)->ScaleTo(arg2
,arg3
);
7986 wxPyEndAllowThreads(__tstate
);
7987 if (PyErr_Occurred()) SWIG_fail
;
7989 Py_INCREF(Py_None
); resultobj
= Py_None
;
7996 static PyObject
*_wrap_PseudoMetaFile_Translate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7997 PyObject
*resultobj
;
7998 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8001 PyObject
* obj0
= 0 ;
8003 (char *) "self",(char *) "x",(char *) "y", NULL
8006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PseudoMetaFile_Translate",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8010 (arg1
)->Translate(arg2
,arg3
);
8012 wxPyEndAllowThreads(__tstate
);
8013 if (PyErr_Occurred()) SWIG_fail
;
8015 Py_INCREF(Py_None
); resultobj
= Py_None
;
8022 static PyObject
*_wrap_PseudoMetaFile_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8023 PyObject
*resultobj
;
8024 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8028 PyObject
* obj0
= 0 ;
8030 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
8033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oddd:PseudoMetaFile_Rotate",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
8034 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8037 (arg1
)->Rotate(arg2
,arg3
,arg4
);
8039 wxPyEndAllowThreads(__tstate
);
8040 if (PyErr_Occurred()) SWIG_fail
;
8042 Py_INCREF(Py_None
); resultobj
= Py_None
;
8049 static PyObject
*_wrap_PseudoMetaFile_LoadFromMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8050 PyObject
*resultobj
;
8051 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8052 wxString
*arg2
= 0 ;
8053 double *arg3
= (double *) 0 ;
8054 double *arg4
= (double *) 0 ;
8056 bool temp2
= False
;
8057 PyObject
* obj0
= 0 ;
8058 PyObject
* obj1
= 0 ;
8059 PyObject
* obj2
= 0 ;
8060 PyObject
* obj3
= 0 ;
8062 (char *) "self",(char *) "filename",(char *) "width",(char *) "height", NULL
8065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoMetaFile_LoadFromMetaFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8066 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8068 arg2
= wxString_in_helper(obj1
);
8069 if (arg2
== NULL
) SWIG_fail
;
8072 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_double
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8073 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_double
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8076 result
= (bool)(arg1
)->LoadFromMetaFile((wxString
const &)*arg2
,arg3
,arg4
);
8078 wxPyEndAllowThreads(__tstate
);
8079 if (PyErr_Occurred()) SWIG_fail
;
8081 resultobj
= PyInt_FromLong((long)result
);
8096 static PyObject
*_wrap_PseudoMetaFile_GetBounds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8097 PyObject
*resultobj
;
8098 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8099 double *arg2
= (double *) 0 ;
8100 double *arg3
= (double *) 0 ;
8101 double *arg4
= (double *) 0 ;
8102 double *arg5
= (double *) 0 ;
8103 PyObject
* obj0
= 0 ;
8104 PyObject
* obj1
= 0 ;
8105 PyObject
* obj2
= 0 ;
8106 PyObject
* obj3
= 0 ;
8107 PyObject
* obj4
= 0 ;
8109 (char *) "self",(char *) "minX",(char *) "minY",(char *) "maxX",(char *) "maxY", NULL
8112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoMetaFile_GetBounds",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8114 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_double
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8115 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_double
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8116 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_double
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8117 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_double
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8120 (arg1
)->GetBounds(arg2
,arg3
,arg4
,arg5
);
8122 wxPyEndAllowThreads(__tstate
);
8123 if (PyErr_Occurred()) SWIG_fail
;
8125 Py_INCREF(Py_None
); resultobj
= Py_None
;
8132 static PyObject
*_wrap_PseudoMetaFile_CalculateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8133 PyObject
*resultobj
;
8134 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8135 wxPyDrawnShape
*arg2
= (wxPyDrawnShape
*) 0 ;
8136 PyObject
* obj0
= 0 ;
8137 PyObject
* obj1
= 0 ;
8139 (char *) "self",(char *) "shape", NULL
8142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_CalculateSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8143 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8144 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8147 (arg1
)->CalculateSize(arg2
);
8149 wxPyEndAllowThreads(__tstate
);
8150 if (PyErr_Occurred()) SWIG_fail
;
8152 Py_INCREF(Py_None
); resultobj
= Py_None
;
8159 static PyObject
*_wrap_PseudoMetaFile_SetRotateable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8160 PyObject
*resultobj
;
8161 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8163 PyObject
* obj0
= 0 ;
8164 PyObject
* obj1
= 0 ;
8166 (char *) "self",(char *) "rot", NULL
8169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetRotateable",kwnames
,&obj0
,&obj1
)) goto fail
;
8170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8171 arg2
= PyInt_AsLong(obj1
) ? true : false;
8172 if (PyErr_Occurred()) SWIG_fail
;
8174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8175 (arg1
)->SetRotateable(arg2
);
8177 wxPyEndAllowThreads(__tstate
);
8178 if (PyErr_Occurred()) SWIG_fail
;
8180 Py_INCREF(Py_None
); resultobj
= Py_None
;
8187 static PyObject
*_wrap_PseudoMetaFile_GetRotateable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8188 PyObject
*resultobj
;
8189 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8191 PyObject
* obj0
= 0 ;
8193 (char *) "self", NULL
8196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_GetRotateable",kwnames
,&obj0
)) goto fail
;
8197 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8200 result
= (bool)(arg1
)->GetRotateable();
8202 wxPyEndAllowThreads(__tstate
);
8203 if (PyErr_Occurred()) SWIG_fail
;
8205 resultobj
= PyInt_FromLong((long)result
);
8212 static PyObject
*_wrap_PseudoMetaFile_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8213 PyObject
*resultobj
;
8214 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8217 PyObject
* obj0
= 0 ;
8219 (char *) "self",(char *) "w",(char *) "h", NULL
8222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PseudoMetaFile_SetSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8226 (arg1
)->SetSize(arg2
,arg3
);
8228 wxPyEndAllowThreads(__tstate
);
8229 if (PyErr_Occurred()) SWIG_fail
;
8231 Py_INCREF(Py_None
); resultobj
= Py_None
;
8238 static PyObject
*_wrap_PseudoMetaFile_SetFillBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8239 PyObject
*resultobj
;
8240 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8241 wxBrush
*arg2
= (wxBrush
*) 0 ;
8242 PyObject
* obj0
= 0 ;
8243 PyObject
* obj1
= 0 ;
8245 (char *) "self",(char *) "brush", NULL
8248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetFillBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
8249 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8253 if (obj1
== Py_None
) {
8256 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxBrush"))) {
8257 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxBrush.");
8262 arg2
= wxTheBrushList
->FindOrCreateBrush(temp
->GetColour(), temp
->GetStyle());
8267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8268 (arg1
)->SetFillBrush(arg2
);
8270 wxPyEndAllowThreads(__tstate
);
8271 if (PyErr_Occurred()) SWIG_fail
;
8273 Py_INCREF(Py_None
); resultobj
= Py_None
;
8280 static PyObject
*_wrap_PseudoMetaFile_GetFillBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8281 PyObject
*resultobj
;
8282 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8284 PyObject
* obj0
= 0 ;
8286 (char *) "self", NULL
8289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_GetFillBrush",kwnames
,&obj0
)) goto fail
;
8290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8293 result
= (wxBrush
*)(arg1
)->GetFillBrush();
8295 wxPyEndAllowThreads(__tstate
);
8296 if (PyErr_Occurred()) SWIG_fail
;
8298 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBrush
, 0);
8305 static PyObject
*_wrap_PseudoMetaFile_SetOutlinePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8306 PyObject
*resultobj
;
8307 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8308 wxPen
*arg2
= (wxPen
*) 0 ;
8309 PyObject
* obj0
= 0 ;
8310 PyObject
* obj1
= 0 ;
8312 (char *) "self",(char *) "pen", NULL
8315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetOutlinePen",kwnames
,&obj0
,&obj1
)) goto fail
;
8316 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8320 if (obj1
== Py_None
) {
8323 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
8324 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
8329 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
8336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8337 (arg1
)->SetOutlinePen(arg2
);
8339 wxPyEndAllowThreads(__tstate
);
8340 if (PyErr_Occurred()) SWIG_fail
;
8342 Py_INCREF(Py_None
); resultobj
= Py_None
;
8349 static PyObject
*_wrap_PseudoMetaFile_GetOutlinePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8350 PyObject
*resultobj
;
8351 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8353 PyObject
* obj0
= 0 ;
8355 (char *) "self", NULL
8358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_GetOutlinePen",kwnames
,&obj0
)) goto fail
;
8359 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8362 result
= (wxPen
*)(arg1
)->GetOutlinePen();
8364 wxPyEndAllowThreads(__tstate
);
8365 if (PyErr_Occurred()) SWIG_fail
;
8367 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPen
, 0);
8374 static PyObject
*_wrap_PseudoMetaFile_SetOutlineOp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8375 PyObject
*resultobj
;
8376 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8378 PyObject
* obj0
= 0 ;
8380 (char *) "self",(char *) "op", NULL
8383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PseudoMetaFile_SetOutlineOp",kwnames
,&obj0
,&arg2
)) goto fail
;
8384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8387 (arg1
)->SetOutlineOp(arg2
);
8389 wxPyEndAllowThreads(__tstate
);
8390 if (PyErr_Occurred()) SWIG_fail
;
8392 Py_INCREF(Py_None
); resultobj
= Py_None
;
8399 static PyObject
*_wrap_PseudoMetaFile_GetOutlineOp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8400 PyObject
*resultobj
;
8401 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8403 PyObject
* obj0
= 0 ;
8405 (char *) "self", NULL
8408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_GetOutlineOp",kwnames
,&obj0
)) goto fail
;
8409 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8412 result
= (int)(arg1
)->GetOutlineOp();
8414 wxPyEndAllowThreads(__tstate
);
8415 if (PyErr_Occurred()) SWIG_fail
;
8417 resultobj
= PyInt_FromLong((long)result
);
8424 static PyObject
*_wrap_PseudoMetaFile_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8425 PyObject
*resultobj
;
8426 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8428 PyObject
* obj0
= 0 ;
8430 (char *) "self", NULL
8433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_IsValid",kwnames
,&obj0
)) goto fail
;
8434 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8437 result
= (bool)(arg1
)->IsValid();
8439 wxPyEndAllowThreads(__tstate
);
8440 if (PyErr_Occurred()) SWIG_fail
;
8442 resultobj
= PyInt_FromLong((long)result
);
8449 static PyObject
*_wrap_PseudoMetaFile_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8450 PyObject
*resultobj
;
8451 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8456 PyObject
* obj0
= 0 ;
8457 PyObject
* obj1
= 0 ;
8458 PyObject
* obj2
= 0 ;
8460 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
8463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8464 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8467 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8471 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8475 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
8477 wxPyEndAllowThreads(__tstate
);
8478 if (PyErr_Occurred()) SWIG_fail
;
8480 Py_INCREF(Py_None
); resultobj
= Py_None
;
8487 static PyObject
*_wrap_PseudoMetaFile_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8488 PyObject
*resultobj
;
8489 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8492 PyObject
* obj0
= 0 ;
8493 PyObject
* obj1
= 0 ;
8495 (char *) "self",(char *) "rect", NULL
8498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_DrawRectangle",kwnames
,&obj0
,&obj1
)) goto fail
;
8499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8502 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8506 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
8508 wxPyEndAllowThreads(__tstate
);
8509 if (PyErr_Occurred()) SWIG_fail
;
8511 Py_INCREF(Py_None
); resultobj
= Py_None
;
8518 static PyObject
*_wrap_PseudoMetaFile_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8519 PyObject
*resultobj
;
8520 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8524 PyObject
* obj0
= 0 ;
8525 PyObject
* obj1
= 0 ;
8527 (char *) "self",(char *) "rect",(char *) "radius", NULL
8530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOd:PseudoMetaFile_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
8531 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8534 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8538 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
8540 wxPyEndAllowThreads(__tstate
);
8541 if (PyErr_Occurred()) SWIG_fail
;
8543 Py_INCREF(Py_None
); resultobj
= Py_None
;
8550 static PyObject
*_wrap_PseudoMetaFile_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8551 PyObject
*resultobj
;
8552 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8559 PyObject
* obj0
= 0 ;
8560 PyObject
* obj1
= 0 ;
8561 PyObject
* obj2
= 0 ;
8562 PyObject
* obj3
= 0 ;
8564 (char *) "self",(char *) "centrePt",(char *) "startPt",(char *) "endPt", NULL
8567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoMetaFile_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8568 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8571 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8575 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8579 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8583 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
8585 wxPyEndAllowThreads(__tstate
);
8586 if (PyErr_Occurred()) SWIG_fail
;
8588 Py_INCREF(Py_None
); resultobj
= Py_None
;
8595 static PyObject
*_wrap_PseudoMetaFile_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8596 PyObject
*resultobj
;
8597 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8602 PyObject
* obj0
= 0 ;
8603 PyObject
* obj1
= 0 ;
8605 (char *) "self",(char *) "rect",(char *) "startAngle",(char *) "endAngle", NULL
8608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd:PseudoMetaFile_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
8609 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8612 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8616 (arg1
)->DrawEllipticArc((wxRect
const &)*arg2
,arg3
,arg4
);
8618 wxPyEndAllowThreads(__tstate
);
8619 if (PyErr_Occurred()) SWIG_fail
;
8621 Py_INCREF(Py_None
); resultobj
= Py_None
;
8628 static PyObject
*_wrap_PseudoMetaFile_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8629 PyObject
*resultobj
;
8630 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8633 PyObject
* obj0
= 0 ;
8634 PyObject
* obj1
= 0 ;
8636 (char *) "self",(char *) "rect", NULL
8639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_DrawEllipse",kwnames
,&obj0
,&obj1
)) goto fail
;
8640 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8643 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8647 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
8649 wxPyEndAllowThreads(__tstate
);
8650 if (PyErr_Occurred()) SWIG_fail
;
8652 Py_INCREF(Py_None
); resultobj
= Py_None
;
8659 static PyObject
*_wrap_PseudoMetaFile_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8660 PyObject
*resultobj
;
8661 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8664 PyObject
* obj0
= 0 ;
8665 PyObject
* obj1
= 0 ;
8667 (char *) "self",(char *) "pt", NULL
8670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_DrawPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
8671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8674 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8678 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
8680 wxPyEndAllowThreads(__tstate
);
8681 if (PyErr_Occurred()) SWIG_fail
;
8683 Py_INCREF(Py_None
); resultobj
= Py_None
;
8690 static PyObject
*_wrap_PseudoMetaFile_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8691 PyObject
*resultobj
;
8692 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8693 wxString
*arg2
= 0 ;
8695 bool temp2
= False
;
8697 PyObject
* obj0
= 0 ;
8698 PyObject
* obj1
= 0 ;
8699 PyObject
* obj2
= 0 ;
8701 (char *) "self",(char *) "text",(char *) "pt", NULL
8704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_DrawText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8705 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8707 arg2
= wxString_in_helper(obj1
);
8708 if (arg2
== NULL
) SWIG_fail
;
8713 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8717 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
8719 wxPyEndAllowThreads(__tstate
);
8720 if (PyErr_Occurred()) SWIG_fail
;
8722 Py_INCREF(Py_None
); resultobj
= Py_None
;
8737 static PyObject
*_wrap_PseudoMetaFile_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8738 PyObject
*resultobj
;
8739 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8741 wxPoint
*arg3
= (wxPoint
*) 0 ;
8742 PyObject
* obj0
= 0 ;
8743 PyObject
* obj2
= 0 ;
8745 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
8748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:PseudoMetaFile_DrawLines",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
8749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8750 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8753 (arg1
)->DrawLines(arg2
,arg3
);
8755 wxPyEndAllowThreads(__tstate
);
8756 if (PyErr_Occurred()) SWIG_fail
;
8758 Py_INCREF(Py_None
); resultobj
= Py_None
;
8765 static PyObject
*_wrap_PseudoMetaFile_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8766 PyObject
*resultobj
;
8767 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8769 wxPoint
*arg3
= (wxPoint
*) 0 ;
8770 int arg4
= (int) 0 ;
8771 PyObject
* obj0
= 0 ;
8772 PyObject
* obj2
= 0 ;
8774 (char *) "self",(char *) "PCOUNT",(char *) "points",(char *) "flags", NULL
8777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|i:PseudoMetaFile_DrawPolygon",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
)) goto fail
;
8778 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8779 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8782 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
);
8784 wxPyEndAllowThreads(__tstate
);
8785 if (PyErr_Occurred()) SWIG_fail
;
8787 Py_INCREF(Py_None
); resultobj
= Py_None
;
8794 static PyObject
*_wrap_PseudoMetaFile_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8795 PyObject
*resultobj
;
8796 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8798 wxPoint
*arg3
= (wxPoint
*) 0 ;
8799 PyObject
* obj0
= 0 ;
8800 PyObject
* obj2
= 0 ;
8802 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
8805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:PseudoMetaFile_DrawSpline",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
8806 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8807 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8810 (arg1
)->DrawSpline(arg2
,arg3
);
8812 wxPyEndAllowThreads(__tstate
);
8813 if (PyErr_Occurred()) SWIG_fail
;
8815 Py_INCREF(Py_None
); resultobj
= Py_None
;
8822 static PyObject
*_wrap_PseudoMetaFile_SetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8823 PyObject
*resultobj
;
8824 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8827 PyObject
* obj0
= 0 ;
8828 PyObject
* obj1
= 0 ;
8830 (char *) "self",(char *) "rect", NULL
8833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
8834 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8837 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8841 (arg1
)->SetClippingRect((wxRect
const &)*arg2
);
8843 wxPyEndAllowThreads(__tstate
);
8844 if (PyErr_Occurred()) SWIG_fail
;
8846 Py_INCREF(Py_None
); resultobj
= Py_None
;
8853 static PyObject
*_wrap_PseudoMetaFile_DestroyClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8854 PyObject
*resultobj
;
8855 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8856 PyObject
* obj0
= 0 ;
8858 (char *) "self", NULL
8861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_DestroyClippingRect",kwnames
,&obj0
)) goto fail
;
8862 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8865 (arg1
)->DestroyClippingRect();
8867 wxPyEndAllowThreads(__tstate
);
8868 if (PyErr_Occurred()) SWIG_fail
;
8870 Py_INCREF(Py_None
); resultobj
= Py_None
;
8877 static PyObject
*_wrap_PseudoMetaFile_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8878 PyObject
*resultobj
;
8879 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8880 wxPen
*arg2
= (wxPen
*) 0 ;
8881 bool arg3
= (bool) FALSE
;
8882 PyObject
* obj0
= 0 ;
8883 PyObject
* obj1
= 0 ;
8884 PyObject
* obj2
= 0 ;
8886 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
8889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoMetaFile_SetPen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8890 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8894 if (obj1
== Py_None
) {
8897 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
8898 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
8903 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
8910 arg3
= PyInt_AsLong(obj2
) ? true : false;
8911 if (PyErr_Occurred()) SWIG_fail
;
8914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8915 (arg1
)->SetPen(arg2
,arg3
);
8917 wxPyEndAllowThreads(__tstate
);
8918 if (PyErr_Occurred()) SWIG_fail
;
8920 Py_INCREF(Py_None
); resultobj
= Py_None
;
8927 static PyObject
*_wrap_PseudoMetaFile_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8928 PyObject
*resultobj
;
8929 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8930 wxBrush
*arg2
= (wxBrush
*) 0 ;
8931 bool arg3
= (bool) FALSE
;
8932 PyObject
* obj0
= 0 ;
8933 PyObject
* obj1
= 0 ;
8934 PyObject
* obj2
= 0 ;
8936 (char *) "self",(char *) "brush",(char *) "isFill", NULL
8939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoMetaFile_SetBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8944 if (obj1
== Py_None
) {
8947 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxBrush"))) {
8948 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxBrush.");
8953 arg2
= wxTheBrushList
->FindOrCreateBrush(temp
->GetColour(), temp
->GetStyle());
8958 arg3
= PyInt_AsLong(obj2
) ? true : false;
8959 if (PyErr_Occurred()) SWIG_fail
;
8962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8963 (arg1
)->SetBrush(arg2
,arg3
);
8965 wxPyEndAllowThreads(__tstate
);
8966 if (PyErr_Occurred()) SWIG_fail
;
8968 Py_INCREF(Py_None
); resultobj
= Py_None
;
8975 static PyObject
*_wrap_PseudoMetaFile_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8976 PyObject
*resultobj
;
8977 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8978 wxFont
*arg2
= (wxFont
*) 0 ;
8979 PyObject
* obj0
= 0 ;
8980 PyObject
* obj1
= 0 ;
8982 (char *) "self",(char *) "font", NULL
8985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
8986 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8990 if (obj1
== Py_None
) {
8993 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxFont"))) {
8994 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxFont.");
8999 arg2
= wxTheFontList
->FindOrCreateFont(temp
->GetPointSize(),
9003 temp
->GetUnderlined(),
9004 temp
->GetFaceName(),
9005 temp
->GetEncoding());
9010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9011 (arg1
)->SetFont(arg2
);
9013 wxPyEndAllowThreads(__tstate
);
9014 if (PyErr_Occurred()) SWIG_fail
;
9016 Py_INCREF(Py_None
); resultobj
= Py_None
;
9023 static PyObject
*_wrap_PseudoMetaFile_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9024 PyObject
*resultobj
;
9025 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9026 wxColour
*arg2
= 0 ;
9028 PyObject
* obj0
= 0 ;
9029 PyObject
* obj1
= 0 ;
9031 (char *) "self",(char *) "colour", NULL
9034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
9035 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9038 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9042 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
9044 wxPyEndAllowThreads(__tstate
);
9045 if (PyErr_Occurred()) SWIG_fail
;
9047 Py_INCREF(Py_None
); resultobj
= Py_None
;
9054 static PyObject
*_wrap_PseudoMetaFile_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9055 PyObject
*resultobj
;
9056 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9057 wxColour
*arg2
= 0 ;
9059 PyObject
* obj0
= 0 ;
9060 PyObject
* obj1
= 0 ;
9062 (char *) "self",(char *) "colour", NULL
9065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
9066 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9069 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9073 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
9075 wxPyEndAllowThreads(__tstate
);
9076 if (PyErr_Occurred()) SWIG_fail
;
9078 Py_INCREF(Py_None
); resultobj
= Py_None
;
9085 static PyObject
*_wrap_PseudoMetaFile_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9086 PyObject
*resultobj
;
9087 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9089 PyObject
* obj0
= 0 ;
9091 (char *) "self",(char *) "mode", NULL
9094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PseudoMetaFile_SetBackgroundMode",kwnames
,&obj0
,&arg2
)) goto fail
;
9095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9098 (arg1
)->SetBackgroundMode(arg2
);
9100 wxPyEndAllowThreads(__tstate
);
9101 if (PyErr_Occurred()) SWIG_fail
;
9103 Py_INCREF(Py_None
); resultobj
= Py_None
;
9110 static PyObject
* PseudoMetaFile_swigregister(PyObject
*self
, PyObject
*args
) {
9112 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9113 SWIG_TypeClientData(SWIGTYPE_p_wxPseudoMetaFile
, obj
);
9115 return Py_BuildValue((char *)"");
9117 static PyObject
*_wrap_new_PyRectangleShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9118 PyObject
*resultobj
;
9119 double arg1
= (double) 0.0 ;
9120 double arg2
= (double) 0.0 ;
9121 wxPyRectangleShape
*result
;
9123 (char *) "width",(char *) "height", NULL
9126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|dd:new_PyRectangleShape",kwnames
,&arg1
,&arg2
)) goto fail
;
9128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9129 result
= (wxPyRectangleShape
*)new wxPyRectangleShape(arg1
,arg2
);
9131 wxPyEndAllowThreads(__tstate
);
9132 if (PyErr_Occurred()) SWIG_fail
;
9134 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyRectangleShape
, 1);
9141 static PyObject
*_wrap_PyRectangleShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9142 PyObject
*resultobj
;
9143 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9144 PyObject
*arg2
= (PyObject
*) 0 ;
9145 PyObject
*arg3
= (PyObject
*) 0 ;
9146 PyObject
* obj0
= 0 ;
9147 PyObject
* obj1
= 0 ;
9148 PyObject
* obj2
= 0 ;
9150 (char *) "self",(char *) "self",(char *) "_class", NULL
9153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyRectangleShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9154 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9159 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9161 wxPyEndAllowThreads(__tstate
);
9162 if (PyErr_Occurred()) SWIG_fail
;
9164 Py_INCREF(Py_None
); resultobj
= Py_None
;
9171 static PyObject
*_wrap_PyRectangleShape_SetCornerRadius(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9172 PyObject
*resultobj
;
9173 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9175 PyObject
* obj0
= 0 ;
9177 (char *) "self",(char *) "radius", NULL
9180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:PyRectangleShape_SetCornerRadius",kwnames
,&obj0
,&arg2
)) goto fail
;
9181 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9184 (arg1
)->SetCornerRadius(arg2
);
9186 wxPyEndAllowThreads(__tstate
);
9187 if (PyErr_Occurred()) SWIG_fail
;
9189 Py_INCREF(Py_None
); resultobj
= Py_None
;
9196 static PyObject
*_wrap_PyRectangleShape_GetCornerRadius(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9197 PyObject
*resultobj
;
9198 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9200 PyObject
* obj0
= 0 ;
9202 (char *) "self", NULL
9205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyRectangleShape_GetCornerRadius",kwnames
,&obj0
)) goto fail
;
9206 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9209 result
= (double)(arg1
)->GetCornerRadius();
9211 wxPyEndAllowThreads(__tstate
);
9212 if (PyErr_Occurred()) SWIG_fail
;
9214 resultobj
= PyFloat_FromDouble(result
);
9221 static PyObject
*_wrap_PyRectangleShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9222 PyObject
*resultobj
;
9223 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9224 PyObject
* obj0
= 0 ;
9226 (char *) "self", NULL
9229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyRectangleShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
9230 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9233 (arg1
)->base_OnDelete();
9235 wxPyEndAllowThreads(__tstate
);
9236 if (PyErr_Occurred()) SWIG_fail
;
9238 Py_INCREF(Py_None
); resultobj
= Py_None
;
9245 static PyObject
*_wrap_PyRectangleShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9246 PyObject
*resultobj
;
9247 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9249 PyObject
* obj0
= 0 ;
9250 PyObject
* obj1
= 0 ;
9252 (char *) "self",(char *) "dc", NULL
9255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
9256 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9257 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9259 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9263 (arg1
)->base_OnDraw(*arg2
);
9265 wxPyEndAllowThreads(__tstate
);
9266 if (PyErr_Occurred()) SWIG_fail
;
9268 Py_INCREF(Py_None
); resultobj
= Py_None
;
9275 static PyObject
*_wrap_PyRectangleShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9276 PyObject
*resultobj
;
9277 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9279 PyObject
* obj0
= 0 ;
9280 PyObject
* obj1
= 0 ;
9282 (char *) "self",(char *) "dc", NULL
9285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
9286 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9287 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9289 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9293 (arg1
)->base_OnDrawContents(*arg2
);
9295 wxPyEndAllowThreads(__tstate
);
9296 if (PyErr_Occurred()) SWIG_fail
;
9298 Py_INCREF(Py_None
); resultobj
= Py_None
;
9305 static PyObject
*_wrap_PyRectangleShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9306 PyObject
*resultobj
;
9307 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9309 bool arg3
= (bool) FALSE
;
9310 PyObject
* obj0
= 0 ;
9311 PyObject
* obj1
= 0 ;
9312 PyObject
* obj2
= 0 ;
9314 (char *) "self",(char *) "dc",(char *) "erase", NULL
9317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyRectangleShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9318 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9319 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9321 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9324 arg3
= PyInt_AsLong(obj2
) ? true : false;
9325 if (PyErr_Occurred()) SWIG_fail
;
9328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9329 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
9331 wxPyEndAllowThreads(__tstate
);
9332 if (PyErr_Occurred()) SWIG_fail
;
9334 Py_INCREF(Py_None
); resultobj
= Py_None
;
9341 static PyObject
*_wrap_PyRectangleShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9342 PyObject
*resultobj
;
9343 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9345 PyObject
* obj0
= 0 ;
9346 PyObject
* obj1
= 0 ;
9348 (char *) "self",(char *) "dc", NULL
9351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
9352 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9353 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9355 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9359 (arg1
)->base_OnMoveLinks(*arg2
);
9361 wxPyEndAllowThreads(__tstate
);
9362 if (PyErr_Occurred()) SWIG_fail
;
9364 Py_INCREF(Py_None
); resultobj
= Py_None
;
9371 static PyObject
*_wrap_PyRectangleShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9372 PyObject
*resultobj
;
9373 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9375 PyObject
* obj0
= 0 ;
9376 PyObject
* obj1
= 0 ;
9378 (char *) "self",(char *) "dc", NULL
9381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
9382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9383 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9385 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9389 (arg1
)->base_OnErase(*arg2
);
9391 wxPyEndAllowThreads(__tstate
);
9392 if (PyErr_Occurred()) SWIG_fail
;
9394 Py_INCREF(Py_None
); resultobj
= Py_None
;
9401 static PyObject
*_wrap_PyRectangleShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9402 PyObject
*resultobj
;
9403 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9405 PyObject
* obj0
= 0 ;
9406 PyObject
* obj1
= 0 ;
9408 (char *) "self",(char *) "dc", NULL
9411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
9412 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9413 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9415 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9419 (arg1
)->base_OnEraseContents(*arg2
);
9421 wxPyEndAllowThreads(__tstate
);
9422 if (PyErr_Occurred()) SWIG_fail
;
9424 Py_INCREF(Py_None
); resultobj
= Py_None
;
9431 static PyObject
*_wrap_PyRectangleShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9432 PyObject
*resultobj
;
9433 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9435 PyObject
* obj0
= 0 ;
9436 PyObject
* obj1
= 0 ;
9438 (char *) "self",(char *) "dc", NULL
9441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
9442 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9443 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9445 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9449 (arg1
)->base_OnHighlight(*arg2
);
9451 wxPyEndAllowThreads(__tstate
);
9452 if (PyErr_Occurred()) SWIG_fail
;
9454 Py_INCREF(Py_None
); resultobj
= Py_None
;
9461 static PyObject
*_wrap_PyRectangleShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9462 PyObject
*resultobj
;
9463 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9466 int arg4
= (int) 0 ;
9467 int arg5
= (int) 0 ;
9468 PyObject
* obj0
= 0 ;
9470 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyRectangleShape_base_OnLeftClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
9474 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9477 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
9479 wxPyEndAllowThreads(__tstate
);
9480 if (PyErr_Occurred()) SWIG_fail
;
9482 Py_INCREF(Py_None
); resultobj
= Py_None
;
9489 static PyObject
*_wrap_PyRectangleShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9490 PyObject
*resultobj
;
9491 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9494 int arg4
= (int) 0 ;
9495 int arg5
= (int) 0 ;
9496 PyObject
* obj0
= 0 ;
9498 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyRectangleShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
9502 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9505 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
9507 wxPyEndAllowThreads(__tstate
);
9508 if (PyErr_Occurred()) SWIG_fail
;
9510 Py_INCREF(Py_None
); resultobj
= Py_None
;
9517 static PyObject
*_wrap_PyRectangleShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9518 PyObject
*resultobj
;
9519 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9522 int arg4
= (int) 0 ;
9523 int arg5
= (int) 0 ;
9524 PyObject
* obj0
= 0 ;
9526 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyRectangleShape_base_OnRightClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
9530 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9533 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
9535 wxPyEndAllowThreads(__tstate
);
9536 if (PyErr_Occurred()) SWIG_fail
;
9538 Py_INCREF(Py_None
); resultobj
= Py_None
;
9545 static PyObject
*_wrap_PyRectangleShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9546 PyObject
*resultobj
;
9547 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9550 PyObject
* obj0
= 0 ;
9552 (char *) "self",(char *) "x",(char *) "y", NULL
9555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyRectangleShape_base_OnSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
9556 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9559 (arg1
)->base_OnSize(arg2
,arg3
);
9561 wxPyEndAllowThreads(__tstate
);
9562 if (PyErr_Occurred()) SWIG_fail
;
9564 Py_INCREF(Py_None
); resultobj
= Py_None
;
9571 static PyObject
*_wrap_PyRectangleShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9572 PyObject
*resultobj
;
9573 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9579 bool arg7
= (bool) True
;
9581 PyObject
* obj0
= 0 ;
9582 PyObject
* obj1
= 0 ;
9583 PyObject
* obj6
= 0 ;
9585 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
9588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyRectangleShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
9589 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9590 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9592 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9595 arg7
= PyInt_AsLong(obj6
) ? true : false;
9596 if (PyErr_Occurred()) SWIG_fail
;
9599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9600 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9602 wxPyEndAllowThreads(__tstate
);
9603 if (PyErr_Occurred()) SWIG_fail
;
9605 resultobj
= PyInt_FromLong((long)result
);
9612 static PyObject
*_wrap_PyRectangleShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9613 PyObject
*resultobj
;
9614 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9620 bool arg7
= (bool) True
;
9621 PyObject
* obj0
= 0 ;
9622 PyObject
* obj1
= 0 ;
9623 PyObject
* obj6
= 0 ;
9625 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
9628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyRectangleShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
9629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9630 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9632 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9635 arg7
= PyInt_AsLong(obj6
) ? true : false;
9636 if (PyErr_Occurred()) SWIG_fail
;
9639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9640 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9642 wxPyEndAllowThreads(__tstate
);
9643 if (PyErr_Occurred()) SWIG_fail
;
9645 Py_INCREF(Py_None
); resultobj
= Py_None
;
9652 static PyObject
*_wrap_PyRectangleShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9653 PyObject
*resultobj
;
9654 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9658 int arg5
= (int) 0 ;
9659 int arg6
= (int) 0 ;
9660 PyObject
* obj0
= 0 ;
9661 PyObject
* obj1
= 0 ;
9663 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyRectangleShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
9667 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9668 arg2
= PyInt_AsLong(obj1
) ? true : false;
9669 if (PyErr_Occurred()) SWIG_fail
;
9671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9672 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
9674 wxPyEndAllowThreads(__tstate
);
9675 if (PyErr_Occurred()) SWIG_fail
;
9677 Py_INCREF(Py_None
); resultobj
= Py_None
;
9684 static PyObject
*_wrap_PyRectangleShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9685 PyObject
*resultobj
;
9686 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9689 int arg4
= (int) 0 ;
9690 int arg5
= (int) 0 ;
9691 PyObject
* obj0
= 0 ;
9693 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyRectangleShape_base_OnBeginDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
9697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9700 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
9702 wxPyEndAllowThreads(__tstate
);
9703 if (PyErr_Occurred()) SWIG_fail
;
9705 Py_INCREF(Py_None
); resultobj
= Py_None
;
9712 static PyObject
*_wrap_PyRectangleShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9713 PyObject
*resultobj
;
9714 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9717 int arg4
= (int) 0 ;
9718 int arg5
= (int) 0 ;
9719 PyObject
* obj0
= 0 ;
9721 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyRectangleShape_base_OnEndDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
9725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9728 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
9730 wxPyEndAllowThreads(__tstate
);
9731 if (PyErr_Occurred()) SWIG_fail
;
9733 Py_INCREF(Py_None
); resultobj
= Py_None
;
9740 static PyObject
*_wrap_PyRectangleShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9741 PyObject
*resultobj
;
9742 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9746 int arg5
= (int) 0 ;
9747 int arg6
= (int) 0 ;
9748 PyObject
* obj0
= 0 ;
9749 PyObject
* obj1
= 0 ;
9751 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyRectangleShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
9755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9756 arg2
= PyInt_AsLong(obj1
) ? true : false;
9757 if (PyErr_Occurred()) SWIG_fail
;
9759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9760 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
9762 wxPyEndAllowThreads(__tstate
);
9763 if (PyErr_Occurred()) SWIG_fail
;
9765 Py_INCREF(Py_None
); resultobj
= Py_None
;
9772 static PyObject
*_wrap_PyRectangleShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9773 PyObject
*resultobj
;
9774 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9777 int arg4
= (int) 0 ;
9778 int arg5
= (int) 0 ;
9779 PyObject
* obj0
= 0 ;
9781 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyRectangleShape_base_OnBeginDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
9785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9788 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
9790 wxPyEndAllowThreads(__tstate
);
9791 if (PyErr_Occurred()) SWIG_fail
;
9793 Py_INCREF(Py_None
); resultobj
= Py_None
;
9800 static PyObject
*_wrap_PyRectangleShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9801 PyObject
*resultobj
;
9802 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9805 int arg4
= (int) 0 ;
9806 int arg5
= (int) 0 ;
9807 PyObject
* obj0
= 0 ;
9809 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyRectangleShape_base_OnEndDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
9813 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9816 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
9818 wxPyEndAllowThreads(__tstate
);
9819 if (PyErr_Occurred()) SWIG_fail
;
9821 Py_INCREF(Py_None
); resultobj
= Py_None
;
9828 static PyObject
*_wrap_PyRectangleShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9829 PyObject
*resultobj
;
9830 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9836 PyObject
* obj0
= 0 ;
9837 PyObject
* obj1
= 0 ;
9839 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
9842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd:PyRectangleShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
9843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9844 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9846 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9850 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
9852 wxPyEndAllowThreads(__tstate
);
9853 if (PyErr_Occurred()) SWIG_fail
;
9855 Py_INCREF(Py_None
); resultobj
= Py_None
;
9862 static PyObject
*_wrap_PyRectangleShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9863 PyObject
*resultobj
;
9864 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9866 PyObject
* obj0
= 0 ;
9867 PyObject
* obj1
= 0 ;
9869 (char *) "self",(char *) "dc", NULL
9872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
9873 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9874 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9876 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9880 (arg1
)->base_OnDrawControlPoints(*arg2
);
9882 wxPyEndAllowThreads(__tstate
);
9883 if (PyErr_Occurred()) SWIG_fail
;
9885 Py_INCREF(Py_None
); resultobj
= Py_None
;
9892 static PyObject
*_wrap_PyRectangleShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9893 PyObject
*resultobj
;
9894 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9896 PyObject
* obj0
= 0 ;
9897 PyObject
* obj1
= 0 ;
9899 (char *) "self",(char *) "dc", NULL
9902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
9903 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9904 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9906 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9910 (arg1
)->base_OnEraseControlPoints(*arg2
);
9912 wxPyEndAllowThreads(__tstate
);
9913 if (PyErr_Occurred()) SWIG_fail
;
9915 Py_INCREF(Py_None
); resultobj
= Py_None
;
9922 static PyObject
*_wrap_PyRectangleShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9923 PyObject
*resultobj
;
9924 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9926 bool arg3
= (bool) True
;
9927 PyObject
* obj0
= 0 ;
9928 PyObject
* obj1
= 0 ;
9929 PyObject
* obj2
= 0 ;
9931 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
9934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyRectangleShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9935 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9936 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9938 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9941 arg3
= PyInt_AsLong(obj2
) ? true : false;
9942 if (PyErr_Occurred()) SWIG_fail
;
9945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9946 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
9948 wxPyEndAllowThreads(__tstate
);
9949 if (PyErr_Occurred()) SWIG_fail
;
9951 Py_INCREF(Py_None
); resultobj
= Py_None
;
9958 static PyObject
*_wrap_PyRectangleShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9959 PyObject
*resultobj
;
9960 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9961 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
9965 int arg6
= (int) 0 ;
9966 int arg7
= (int) 0 ;
9967 PyObject
* obj0
= 0 ;
9968 PyObject
* obj1
= 0 ;
9969 PyObject
* obj2
= 0 ;
9971 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd|ii:PyRectangleShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
9975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9976 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9977 arg3
= PyInt_AsLong(obj2
) ? true : false;
9978 if (PyErr_Occurred()) SWIG_fail
;
9980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9981 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9983 wxPyEndAllowThreads(__tstate
);
9984 if (PyErr_Occurred()) SWIG_fail
;
9986 Py_INCREF(Py_None
); resultobj
= Py_None
;
9993 static PyObject
*_wrap_PyRectangleShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9994 PyObject
*resultobj
;
9995 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9996 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
9999 int arg5
= (int) 0 ;
10000 int arg6
= (int) 0 ;
10001 PyObject
* obj0
= 0 ;
10002 PyObject
* obj1
= 0 ;
10003 char *kwnames
[] = {
10004 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyRectangleShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
10008 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10009 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10012 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
10014 wxPyEndAllowThreads(__tstate
);
10015 if (PyErr_Occurred()) SWIG_fail
;
10017 Py_INCREF(Py_None
); resultobj
= Py_None
;
10024 static PyObject
*_wrap_PyRectangleShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10025 PyObject
*resultobj
;
10026 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10027 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
10030 int arg5
= (int) 0 ;
10031 int arg6
= (int) 0 ;
10032 PyObject
* obj0
= 0 ;
10033 PyObject
* obj1
= 0 ;
10034 char *kwnames
[] = {
10035 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyRectangleShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
10039 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10040 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10043 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
10045 wxPyEndAllowThreads(__tstate
);
10046 if (PyErr_Occurred()) SWIG_fail
;
10048 Py_INCREF(Py_None
); resultobj
= Py_None
;
10055 static PyObject
*_wrap_PyRectangleShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10056 PyObject
*resultobj
;
10057 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10060 PyObject
* obj0
= 0 ;
10061 char *kwnames
[] = {
10062 (char *) "self",(char *) "w",(char *) "h", NULL
10065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyRectangleShape_base_OnBeginSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10066 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10069 (arg1
)->base_OnBeginSize(arg2
,arg3
);
10071 wxPyEndAllowThreads(__tstate
);
10072 if (PyErr_Occurred()) SWIG_fail
;
10074 Py_INCREF(Py_None
); resultobj
= Py_None
;
10081 static PyObject
*_wrap_PyRectangleShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10082 PyObject
*resultobj
;
10083 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10086 PyObject
* obj0
= 0 ;
10087 char *kwnames
[] = {
10088 (char *) "self",(char *) "w",(char *) "h", NULL
10091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyRectangleShape_base_OnEndSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10092 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10095 (arg1
)->base_OnEndSize(arg2
,arg3
);
10097 wxPyEndAllowThreads(__tstate
);
10098 if (PyErr_Occurred()) SWIG_fail
;
10100 Py_INCREF(Py_None
); resultobj
= Py_None
;
10107 static PyObject
* PyRectangleShape_swigregister(PyObject
*self
, PyObject
*args
) {
10109 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10110 SWIG_TypeClientData(SWIGTYPE_p_wxPyRectangleShape
, obj
);
10112 return Py_BuildValue((char *)"");
10114 static PyObject
*_wrap_new_PyControlPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10115 PyObject
*resultobj
;
10116 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) NULL
;
10117 wxPyShape
*arg2
= (wxPyShape
*) NULL
;
10118 double arg3
= (double) 0.0 ;
10119 double arg4
= (double) 0.0 ;
10120 double arg5
= (double) 0.0 ;
10121 int arg6
= (int) 0 ;
10122 wxPyControlPoint
*result
;
10123 PyObject
* obj0
= 0 ;
10124 PyObject
* obj1
= 0 ;
10125 char *kwnames
[] = {
10126 (char *) "the_canvas",(char *) "object",(char *) "size",(char *) "the_xoffset",(char *) "the_yoffset",(char *) "the_type", NULL
10129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOdddi:new_PyControlPoint",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
10131 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10134 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10138 result
= (wxPyControlPoint
*)new wxPyControlPoint(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
10140 wxPyEndAllowThreads(__tstate
);
10141 if (PyErr_Occurred()) SWIG_fail
;
10143 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyControlPoint
, 1);
10150 static PyObject
*_wrap_PyControlPoint__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10151 PyObject
*resultobj
;
10152 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10153 PyObject
*arg2
= (PyObject
*) 0 ;
10154 PyObject
*arg3
= (PyObject
*) 0 ;
10155 PyObject
* obj0
= 0 ;
10156 PyObject
* obj1
= 0 ;
10157 PyObject
* obj2
= 0 ;
10158 char *kwnames
[] = {
10159 (char *) "self",(char *) "self",(char *) "_class", NULL
10162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControlPoint__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10168 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10170 wxPyEndAllowThreads(__tstate
);
10171 if (PyErr_Occurred()) SWIG_fail
;
10173 Py_INCREF(Py_None
); resultobj
= Py_None
;
10180 static PyObject
*_wrap_PyControlPoint_SetCornerRadius(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10181 PyObject
*resultobj
;
10182 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10184 PyObject
* obj0
= 0 ;
10185 char *kwnames
[] = {
10186 (char *) "self",(char *) "radius", NULL
10189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:PyControlPoint_SetCornerRadius",kwnames
,&obj0
,&arg2
)) goto fail
;
10190 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10193 (arg1
)->SetCornerRadius(arg2
);
10195 wxPyEndAllowThreads(__tstate
);
10196 if (PyErr_Occurred()) SWIG_fail
;
10198 Py_INCREF(Py_None
); resultobj
= Py_None
;
10205 static PyObject
*_wrap_PyControlPoint_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10206 PyObject
*resultobj
;
10207 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10208 PyObject
* obj0
= 0 ;
10209 char *kwnames
[] = {
10210 (char *) "self", NULL
10213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControlPoint_base_OnDelete",kwnames
,&obj0
)) goto fail
;
10214 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10217 (arg1
)->base_OnDelete();
10219 wxPyEndAllowThreads(__tstate
);
10220 if (PyErr_Occurred()) SWIG_fail
;
10222 Py_INCREF(Py_None
); resultobj
= Py_None
;
10229 static PyObject
*_wrap_PyControlPoint_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10230 PyObject
*resultobj
;
10231 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10233 PyObject
* obj0
= 0 ;
10234 PyObject
* obj1
= 0 ;
10235 char *kwnames
[] = {
10236 (char *) "self",(char *) "dc", NULL
10239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
10240 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10241 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10242 if (arg2
== NULL
) {
10243 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10247 (arg1
)->base_OnDraw(*arg2
);
10249 wxPyEndAllowThreads(__tstate
);
10250 if (PyErr_Occurred()) SWIG_fail
;
10252 Py_INCREF(Py_None
); resultobj
= Py_None
;
10259 static PyObject
*_wrap_PyControlPoint_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10260 PyObject
*resultobj
;
10261 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10263 PyObject
* obj0
= 0 ;
10264 PyObject
* obj1
= 0 ;
10265 char *kwnames
[] = {
10266 (char *) "self",(char *) "dc", NULL
10269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
10270 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10271 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10272 if (arg2
== NULL
) {
10273 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10277 (arg1
)->base_OnDrawContents(*arg2
);
10279 wxPyEndAllowThreads(__tstate
);
10280 if (PyErr_Occurred()) SWIG_fail
;
10282 Py_INCREF(Py_None
); resultobj
= Py_None
;
10289 static PyObject
*_wrap_PyControlPoint_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10290 PyObject
*resultobj
;
10291 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10293 bool arg3
= (bool) FALSE
;
10294 PyObject
* obj0
= 0 ;
10295 PyObject
* obj1
= 0 ;
10296 PyObject
* obj2
= 0 ;
10297 char *kwnames
[] = {
10298 (char *) "self",(char *) "dc",(char *) "erase", NULL
10301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyControlPoint_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10302 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10303 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10304 if (arg2
== NULL
) {
10305 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10308 arg3
= PyInt_AsLong(obj2
) ? true : false;
10309 if (PyErr_Occurred()) SWIG_fail
;
10312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10313 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
10315 wxPyEndAllowThreads(__tstate
);
10316 if (PyErr_Occurred()) SWIG_fail
;
10318 Py_INCREF(Py_None
); resultobj
= Py_None
;
10325 static PyObject
*_wrap_PyControlPoint_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10326 PyObject
*resultobj
;
10327 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10329 PyObject
* obj0
= 0 ;
10330 PyObject
* obj1
= 0 ;
10331 char *kwnames
[] = {
10332 (char *) "self",(char *) "dc", NULL
10335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
10336 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10337 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10338 if (arg2
== NULL
) {
10339 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10343 (arg1
)->base_OnMoveLinks(*arg2
);
10345 wxPyEndAllowThreads(__tstate
);
10346 if (PyErr_Occurred()) SWIG_fail
;
10348 Py_INCREF(Py_None
); resultobj
= Py_None
;
10355 static PyObject
*_wrap_PyControlPoint_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10356 PyObject
*resultobj
;
10357 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10359 PyObject
* obj0
= 0 ;
10360 PyObject
* obj1
= 0 ;
10361 char *kwnames
[] = {
10362 (char *) "self",(char *) "dc", NULL
10365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
10366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10367 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10368 if (arg2
== NULL
) {
10369 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10373 (arg1
)->base_OnErase(*arg2
);
10375 wxPyEndAllowThreads(__tstate
);
10376 if (PyErr_Occurred()) SWIG_fail
;
10378 Py_INCREF(Py_None
); resultobj
= Py_None
;
10385 static PyObject
*_wrap_PyControlPoint_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10386 PyObject
*resultobj
;
10387 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10389 PyObject
* obj0
= 0 ;
10390 PyObject
* obj1
= 0 ;
10391 char *kwnames
[] = {
10392 (char *) "self",(char *) "dc", NULL
10395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
10396 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10397 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10398 if (arg2
== NULL
) {
10399 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10403 (arg1
)->base_OnEraseContents(*arg2
);
10405 wxPyEndAllowThreads(__tstate
);
10406 if (PyErr_Occurred()) SWIG_fail
;
10408 Py_INCREF(Py_None
); resultobj
= Py_None
;
10415 static PyObject
*_wrap_PyControlPoint_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10416 PyObject
*resultobj
;
10417 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10419 PyObject
* obj0
= 0 ;
10420 PyObject
* obj1
= 0 ;
10421 char *kwnames
[] = {
10422 (char *) "self",(char *) "dc", NULL
10425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
10426 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10427 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10428 if (arg2
== NULL
) {
10429 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10433 (arg1
)->base_OnHighlight(*arg2
);
10435 wxPyEndAllowThreads(__tstate
);
10436 if (PyErr_Occurred()) SWIG_fail
;
10438 Py_INCREF(Py_None
); resultobj
= Py_None
;
10445 static PyObject
*_wrap_PyControlPoint_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10446 PyObject
*resultobj
;
10447 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10450 int arg4
= (int) 0 ;
10451 int arg5
= (int) 0 ;
10452 PyObject
* obj0
= 0 ;
10453 char *kwnames
[] = {
10454 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyControlPoint_base_OnLeftClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
10458 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10461 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
10463 wxPyEndAllowThreads(__tstate
);
10464 if (PyErr_Occurred()) SWIG_fail
;
10466 Py_INCREF(Py_None
); resultobj
= Py_None
;
10473 static PyObject
*_wrap_PyControlPoint_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10474 PyObject
*resultobj
;
10475 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10478 int arg4
= (int) 0 ;
10479 int arg5
= (int) 0 ;
10480 PyObject
* obj0
= 0 ;
10481 char *kwnames
[] = {
10482 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyControlPoint_base_OnLeftDoubleClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
10486 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10489 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
10491 wxPyEndAllowThreads(__tstate
);
10492 if (PyErr_Occurred()) SWIG_fail
;
10494 Py_INCREF(Py_None
); resultobj
= Py_None
;
10501 static PyObject
*_wrap_PyControlPoint_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10502 PyObject
*resultobj
;
10503 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10506 int arg4
= (int) 0 ;
10507 int arg5
= (int) 0 ;
10508 PyObject
* obj0
= 0 ;
10509 char *kwnames
[] = {
10510 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyControlPoint_base_OnRightClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
10514 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10517 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
10519 wxPyEndAllowThreads(__tstate
);
10520 if (PyErr_Occurred()) SWIG_fail
;
10522 Py_INCREF(Py_None
); resultobj
= Py_None
;
10529 static PyObject
*_wrap_PyControlPoint_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10530 PyObject
*resultobj
;
10531 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10534 PyObject
* obj0
= 0 ;
10535 char *kwnames
[] = {
10536 (char *) "self",(char *) "x",(char *) "y", NULL
10539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyControlPoint_base_OnSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10540 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10543 (arg1
)->base_OnSize(arg2
,arg3
);
10545 wxPyEndAllowThreads(__tstate
);
10546 if (PyErr_Occurred()) SWIG_fail
;
10548 Py_INCREF(Py_None
); resultobj
= Py_None
;
10555 static PyObject
*_wrap_PyControlPoint_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10556 PyObject
*resultobj
;
10557 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10563 bool arg7
= (bool) True
;
10565 PyObject
* obj0
= 0 ;
10566 PyObject
* obj1
= 0 ;
10567 PyObject
* obj6
= 0 ;
10568 char *kwnames
[] = {
10569 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
10572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyControlPoint_base_OnMovePre",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
10573 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10574 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10575 if (arg2
== NULL
) {
10576 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10579 arg7
= PyInt_AsLong(obj6
) ? true : false;
10580 if (PyErr_Occurred()) SWIG_fail
;
10583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10584 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10586 wxPyEndAllowThreads(__tstate
);
10587 if (PyErr_Occurred()) SWIG_fail
;
10589 resultobj
= PyInt_FromLong((long)result
);
10596 static PyObject
*_wrap_PyControlPoint_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10597 PyObject
*resultobj
;
10598 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10604 bool arg7
= (bool) True
;
10605 PyObject
* obj0
= 0 ;
10606 PyObject
* obj1
= 0 ;
10607 PyObject
* obj6
= 0 ;
10608 char *kwnames
[] = {
10609 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
10612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyControlPoint_base_OnMovePost",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
10613 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10614 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10615 if (arg2
== NULL
) {
10616 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10619 arg7
= PyInt_AsLong(obj6
) ? true : false;
10620 if (PyErr_Occurred()) SWIG_fail
;
10623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10624 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10626 wxPyEndAllowThreads(__tstate
);
10627 if (PyErr_Occurred()) SWIG_fail
;
10629 Py_INCREF(Py_None
); resultobj
= Py_None
;
10636 static PyObject
*_wrap_PyControlPoint_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10637 PyObject
*resultobj
;
10638 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10642 int arg5
= (int) 0 ;
10643 int arg6
= (int) 0 ;
10644 PyObject
* obj0
= 0 ;
10645 PyObject
* obj1
= 0 ;
10646 char *kwnames
[] = {
10647 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyControlPoint_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
10651 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10652 arg2
= PyInt_AsLong(obj1
) ? true : false;
10653 if (PyErr_Occurred()) SWIG_fail
;
10655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10656 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
10658 wxPyEndAllowThreads(__tstate
);
10659 if (PyErr_Occurred()) SWIG_fail
;
10661 Py_INCREF(Py_None
); resultobj
= Py_None
;
10668 static PyObject
*_wrap_PyControlPoint_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10669 PyObject
*resultobj
;
10670 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10673 int arg4
= (int) 0 ;
10674 int arg5
= (int) 0 ;
10675 PyObject
* obj0
= 0 ;
10676 char *kwnames
[] = {
10677 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyControlPoint_base_OnBeginDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
10681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10684 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
10686 wxPyEndAllowThreads(__tstate
);
10687 if (PyErr_Occurred()) SWIG_fail
;
10689 Py_INCREF(Py_None
); resultobj
= Py_None
;
10696 static PyObject
*_wrap_PyControlPoint_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10697 PyObject
*resultobj
;
10698 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10701 int arg4
= (int) 0 ;
10702 int arg5
= (int) 0 ;
10703 PyObject
* obj0
= 0 ;
10704 char *kwnames
[] = {
10705 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyControlPoint_base_OnEndDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
10709 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10712 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
10714 wxPyEndAllowThreads(__tstate
);
10715 if (PyErr_Occurred()) SWIG_fail
;
10717 Py_INCREF(Py_None
); resultobj
= Py_None
;
10724 static PyObject
*_wrap_PyControlPoint_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10725 PyObject
*resultobj
;
10726 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10730 int arg5
= (int) 0 ;
10731 int arg6
= (int) 0 ;
10732 PyObject
* obj0
= 0 ;
10733 PyObject
* obj1
= 0 ;
10734 char *kwnames
[] = {
10735 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyControlPoint_base_OnDragRight",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
10739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10740 arg2
= PyInt_AsLong(obj1
) ? true : false;
10741 if (PyErr_Occurred()) SWIG_fail
;
10743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10744 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
10746 wxPyEndAllowThreads(__tstate
);
10747 if (PyErr_Occurred()) SWIG_fail
;
10749 Py_INCREF(Py_None
); resultobj
= Py_None
;
10756 static PyObject
*_wrap_PyControlPoint_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10757 PyObject
*resultobj
;
10758 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10761 int arg4
= (int) 0 ;
10762 int arg5
= (int) 0 ;
10763 PyObject
* obj0
= 0 ;
10764 char *kwnames
[] = {
10765 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyControlPoint_base_OnBeginDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
10769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10772 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
10774 wxPyEndAllowThreads(__tstate
);
10775 if (PyErr_Occurred()) SWIG_fail
;
10777 Py_INCREF(Py_None
); resultobj
= Py_None
;
10784 static PyObject
*_wrap_PyControlPoint_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10785 PyObject
*resultobj
;
10786 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10789 int arg4
= (int) 0 ;
10790 int arg5
= (int) 0 ;
10791 PyObject
* obj0
= 0 ;
10792 char *kwnames
[] = {
10793 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyControlPoint_base_OnEndDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
10797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10800 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
10802 wxPyEndAllowThreads(__tstate
);
10803 if (PyErr_Occurred()) SWIG_fail
;
10805 Py_INCREF(Py_None
); resultobj
= Py_None
;
10812 static PyObject
*_wrap_PyControlPoint_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10813 PyObject
*resultobj
;
10814 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10820 PyObject
* obj0
= 0 ;
10821 PyObject
* obj1
= 0 ;
10822 char *kwnames
[] = {
10823 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
10826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd:PyControlPoint_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
10827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10828 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10829 if (arg2
== NULL
) {
10830 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10834 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
10836 wxPyEndAllowThreads(__tstate
);
10837 if (PyErr_Occurred()) SWIG_fail
;
10839 Py_INCREF(Py_None
); resultobj
= Py_None
;
10846 static PyObject
*_wrap_PyControlPoint_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10847 PyObject
*resultobj
;
10848 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10850 PyObject
* obj0
= 0 ;
10851 PyObject
* obj1
= 0 ;
10852 char *kwnames
[] = {
10853 (char *) "self",(char *) "dc", NULL
10856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
10857 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10858 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10859 if (arg2
== NULL
) {
10860 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10864 (arg1
)->base_OnDrawControlPoints(*arg2
);
10866 wxPyEndAllowThreads(__tstate
);
10867 if (PyErr_Occurred()) SWIG_fail
;
10869 Py_INCREF(Py_None
); resultobj
= Py_None
;
10876 static PyObject
*_wrap_PyControlPoint_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10877 PyObject
*resultobj
;
10878 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10880 PyObject
* obj0
= 0 ;
10881 PyObject
* obj1
= 0 ;
10882 char *kwnames
[] = {
10883 (char *) "self",(char *) "dc", NULL
10886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
10887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10888 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10889 if (arg2
== NULL
) {
10890 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10894 (arg1
)->base_OnEraseControlPoints(*arg2
);
10896 wxPyEndAllowThreads(__tstate
);
10897 if (PyErr_Occurred()) SWIG_fail
;
10899 Py_INCREF(Py_None
); resultobj
= Py_None
;
10906 static PyObject
*_wrap_PyControlPoint_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10907 PyObject
*resultobj
;
10908 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10910 bool arg3
= (bool) True
;
10911 PyObject
* obj0
= 0 ;
10912 PyObject
* obj1
= 0 ;
10913 PyObject
* obj2
= 0 ;
10914 char *kwnames
[] = {
10915 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
10918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyControlPoint_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10920 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10921 if (arg2
== NULL
) {
10922 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10925 arg3
= PyInt_AsLong(obj2
) ? true : false;
10926 if (PyErr_Occurred()) SWIG_fail
;
10929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10930 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
10932 wxPyEndAllowThreads(__tstate
);
10933 if (PyErr_Occurred()) SWIG_fail
;
10935 Py_INCREF(Py_None
); resultobj
= Py_None
;
10942 static PyObject
*_wrap_PyControlPoint_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10943 PyObject
*resultobj
;
10944 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10945 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
10949 int arg6
= (int) 0 ;
10950 int arg7
= (int) 0 ;
10951 PyObject
* obj0
= 0 ;
10952 PyObject
* obj1
= 0 ;
10953 PyObject
* obj2
= 0 ;
10954 char *kwnames
[] = {
10955 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd|ii:PyControlPoint_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
10959 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10960 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10961 arg3
= PyInt_AsLong(obj2
) ? true : false;
10962 if (PyErr_Occurred()) SWIG_fail
;
10964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10965 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10967 wxPyEndAllowThreads(__tstate
);
10968 if (PyErr_Occurred()) SWIG_fail
;
10970 Py_INCREF(Py_None
); resultobj
= Py_None
;
10977 static PyObject
*_wrap_PyControlPoint_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10978 PyObject
*resultobj
;
10979 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10980 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
10983 int arg5
= (int) 0 ;
10984 int arg6
= (int) 0 ;
10985 PyObject
* obj0
= 0 ;
10986 PyObject
* obj1
= 0 ;
10987 char *kwnames
[] = {
10988 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyControlPoint_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
10992 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10993 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10996 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
10998 wxPyEndAllowThreads(__tstate
);
10999 if (PyErr_Occurred()) SWIG_fail
;
11001 Py_INCREF(Py_None
); resultobj
= Py_None
;
11008 static PyObject
*_wrap_PyControlPoint_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11009 PyObject
*resultobj
;
11010 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
11011 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
11014 int arg5
= (int) 0 ;
11015 int arg6
= (int) 0 ;
11016 PyObject
* obj0
= 0 ;
11017 PyObject
* obj1
= 0 ;
11018 char *kwnames
[] = {
11019 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyControlPoint_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
11023 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11024 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11027 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
11029 wxPyEndAllowThreads(__tstate
);
11030 if (PyErr_Occurred()) SWIG_fail
;
11032 Py_INCREF(Py_None
); resultobj
= Py_None
;
11039 static PyObject
*_wrap_PyControlPoint_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11040 PyObject
*resultobj
;
11041 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
11044 PyObject
* obj0
= 0 ;
11045 char *kwnames
[] = {
11046 (char *) "self",(char *) "w",(char *) "h", NULL
11049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyControlPoint_base_OnBeginSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
11050 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11053 (arg1
)->base_OnBeginSize(arg2
,arg3
);
11055 wxPyEndAllowThreads(__tstate
);
11056 if (PyErr_Occurred()) SWIG_fail
;
11058 Py_INCREF(Py_None
); resultobj
= Py_None
;
11065 static PyObject
*_wrap_PyControlPoint_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11066 PyObject
*resultobj
;
11067 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
11070 PyObject
* obj0
= 0 ;
11071 char *kwnames
[] = {
11072 (char *) "self",(char *) "w",(char *) "h", NULL
11075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyControlPoint_base_OnEndSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
11076 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11079 (arg1
)->base_OnEndSize(arg2
,arg3
);
11081 wxPyEndAllowThreads(__tstate
);
11082 if (PyErr_Occurred()) SWIG_fail
;
11084 Py_INCREF(Py_None
); resultobj
= Py_None
;
11091 static PyObject
* PyControlPoint_swigregister(PyObject
*self
, PyObject
*args
) {
11093 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11094 SWIG_TypeClientData(SWIGTYPE_p_wxPyControlPoint
, obj
);
11096 return Py_BuildValue((char *)"");
11098 static PyObject
*_wrap_new_PyBitmapShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11099 PyObject
*resultobj
;
11100 wxPyBitmapShape
*result
;
11101 char *kwnames
[] = {
11105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyBitmapShape",kwnames
)) goto fail
;
11107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11108 result
= (wxPyBitmapShape
*)new wxPyBitmapShape();
11110 wxPyEndAllowThreads(__tstate
);
11111 if (PyErr_Occurred()) SWIG_fail
;
11113 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyBitmapShape
, 1);
11120 static PyObject
*_wrap_PyBitmapShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11121 PyObject
*resultobj
;
11122 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11123 PyObject
*arg2
= (PyObject
*) 0 ;
11124 PyObject
*arg3
= (PyObject
*) 0 ;
11125 PyObject
* obj0
= 0 ;
11126 PyObject
* obj1
= 0 ;
11127 PyObject
* obj2
= 0 ;
11128 char *kwnames
[] = {
11129 (char *) "self",(char *) "self",(char *) "_class", NULL
11132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11133 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11138 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11140 wxPyEndAllowThreads(__tstate
);
11141 if (PyErr_Occurred()) SWIG_fail
;
11143 Py_INCREF(Py_None
); resultobj
= Py_None
;
11150 static PyObject
*_wrap_PyBitmapShape_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11151 PyObject
*resultobj
;
11152 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11154 PyObject
* obj0
= 0 ;
11155 char *kwnames
[] = {
11156 (char *) "self", NULL
11159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyBitmapShape_GetBitmap",kwnames
,&obj0
)) goto fail
;
11160 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11164 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
11165 result
= (wxBitmap
*) &_result_ref
;
11168 wxPyEndAllowThreads(__tstate
);
11169 if (PyErr_Occurred()) SWIG_fail
;
11171 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
11178 static PyObject
*_wrap_PyBitmapShape_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11179 PyObject
*resultobj
;
11180 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11182 PyObject
* obj0
= 0 ;
11183 char *kwnames
[] = {
11184 (char *) "self", NULL
11187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyBitmapShape_GetFilename",kwnames
,&obj0
)) goto fail
;
11188 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11191 result
= (arg1
)->GetFilename();
11193 wxPyEndAllowThreads(__tstate
);
11194 if (PyErr_Occurred()) SWIG_fail
;
11198 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11200 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11209 static PyObject
*_wrap_PyBitmapShape_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11210 PyObject
*resultobj
;
11211 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11212 wxBitmap
*arg2
= 0 ;
11213 PyObject
* obj0
= 0 ;
11214 PyObject
* obj1
= 0 ;
11215 char *kwnames
[] = {
11216 (char *) "self",(char *) "bitmap", NULL
11219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
11220 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11221 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11222 if (arg2
== NULL
) {
11223 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11227 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
11229 wxPyEndAllowThreads(__tstate
);
11230 if (PyErr_Occurred()) SWIG_fail
;
11232 Py_INCREF(Py_None
); resultobj
= Py_None
;
11239 static PyObject
*_wrap_PyBitmapShape_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11240 PyObject
*resultobj
;
11241 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11242 wxString
*arg2
= 0 ;
11243 bool temp2
= False
;
11244 PyObject
* obj0
= 0 ;
11245 PyObject
* obj1
= 0 ;
11246 char *kwnames
[] = {
11247 (char *) "self",(char *) "filename", NULL
11250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
11251 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11253 arg2
= wxString_in_helper(obj1
);
11254 if (arg2
== NULL
) SWIG_fail
;
11258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11259 (arg1
)->SetFilename((wxString
const &)*arg2
);
11261 wxPyEndAllowThreads(__tstate
);
11262 if (PyErr_Occurred()) SWIG_fail
;
11264 Py_INCREF(Py_None
); resultobj
= Py_None
;
11279 static PyObject
*_wrap_PyBitmapShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11280 PyObject
*resultobj
;
11281 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11282 PyObject
* obj0
= 0 ;
11283 char *kwnames
[] = {
11284 (char *) "self", NULL
11287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyBitmapShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
11288 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11291 (arg1
)->base_OnDelete();
11293 wxPyEndAllowThreads(__tstate
);
11294 if (PyErr_Occurred()) SWIG_fail
;
11296 Py_INCREF(Py_None
); resultobj
= Py_None
;
11303 static PyObject
*_wrap_PyBitmapShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11304 PyObject
*resultobj
;
11305 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11307 PyObject
* obj0
= 0 ;
11308 PyObject
* obj1
= 0 ;
11309 char *kwnames
[] = {
11310 (char *) "self",(char *) "dc", NULL
11313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
11314 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11315 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11316 if (arg2
== NULL
) {
11317 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11321 (arg1
)->base_OnDraw(*arg2
);
11323 wxPyEndAllowThreads(__tstate
);
11324 if (PyErr_Occurred()) SWIG_fail
;
11326 Py_INCREF(Py_None
); resultobj
= Py_None
;
11333 static PyObject
*_wrap_PyBitmapShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11334 PyObject
*resultobj
;
11335 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11337 PyObject
* obj0
= 0 ;
11338 PyObject
* obj1
= 0 ;
11339 char *kwnames
[] = {
11340 (char *) "self",(char *) "dc", NULL
11343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
11344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11345 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11346 if (arg2
== NULL
) {
11347 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11351 (arg1
)->base_OnDrawContents(*arg2
);
11353 wxPyEndAllowThreads(__tstate
);
11354 if (PyErr_Occurred()) SWIG_fail
;
11356 Py_INCREF(Py_None
); resultobj
= Py_None
;
11363 static PyObject
*_wrap_PyBitmapShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11364 PyObject
*resultobj
;
11365 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11367 bool arg3
= (bool) FALSE
;
11368 PyObject
* obj0
= 0 ;
11369 PyObject
* obj1
= 0 ;
11370 PyObject
* obj2
= 0 ;
11371 char *kwnames
[] = {
11372 (char *) "self",(char *) "dc",(char *) "erase", NULL
11375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyBitmapShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11376 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11377 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11378 if (arg2
== NULL
) {
11379 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11382 arg3
= PyInt_AsLong(obj2
) ? true : false;
11383 if (PyErr_Occurred()) SWIG_fail
;
11386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11387 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
11389 wxPyEndAllowThreads(__tstate
);
11390 if (PyErr_Occurred()) SWIG_fail
;
11392 Py_INCREF(Py_None
); resultobj
= Py_None
;
11399 static PyObject
*_wrap_PyBitmapShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11400 PyObject
*resultobj
;
11401 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11403 PyObject
* obj0
= 0 ;
11404 PyObject
* obj1
= 0 ;
11405 char *kwnames
[] = {
11406 (char *) "self",(char *) "dc", NULL
11409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
11410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11411 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11412 if (arg2
== NULL
) {
11413 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11417 (arg1
)->base_OnMoveLinks(*arg2
);
11419 wxPyEndAllowThreads(__tstate
);
11420 if (PyErr_Occurred()) SWIG_fail
;
11422 Py_INCREF(Py_None
); resultobj
= Py_None
;
11429 static PyObject
*_wrap_PyBitmapShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11430 PyObject
*resultobj
;
11431 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11433 PyObject
* obj0
= 0 ;
11434 PyObject
* obj1
= 0 ;
11435 char *kwnames
[] = {
11436 (char *) "self",(char *) "dc", NULL
11439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
11440 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11441 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11442 if (arg2
== NULL
) {
11443 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11447 (arg1
)->base_OnErase(*arg2
);
11449 wxPyEndAllowThreads(__tstate
);
11450 if (PyErr_Occurred()) SWIG_fail
;
11452 Py_INCREF(Py_None
); resultobj
= Py_None
;
11459 static PyObject
*_wrap_PyBitmapShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11460 PyObject
*resultobj
;
11461 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11463 PyObject
* obj0
= 0 ;
11464 PyObject
* obj1
= 0 ;
11465 char *kwnames
[] = {
11466 (char *) "self",(char *) "dc", NULL
11469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
11470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11471 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11472 if (arg2
== NULL
) {
11473 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11477 (arg1
)->base_OnEraseContents(*arg2
);
11479 wxPyEndAllowThreads(__tstate
);
11480 if (PyErr_Occurred()) SWIG_fail
;
11482 Py_INCREF(Py_None
); resultobj
= Py_None
;
11489 static PyObject
*_wrap_PyBitmapShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11490 PyObject
*resultobj
;
11491 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11493 PyObject
* obj0
= 0 ;
11494 PyObject
* obj1
= 0 ;
11495 char *kwnames
[] = {
11496 (char *) "self",(char *) "dc", NULL
11499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
11500 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11501 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11502 if (arg2
== NULL
) {
11503 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11507 (arg1
)->base_OnHighlight(*arg2
);
11509 wxPyEndAllowThreads(__tstate
);
11510 if (PyErr_Occurred()) SWIG_fail
;
11512 Py_INCREF(Py_None
); resultobj
= Py_None
;
11519 static PyObject
*_wrap_PyBitmapShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11520 PyObject
*resultobj
;
11521 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11524 int arg4
= (int) 0 ;
11525 int arg5
= (int) 0 ;
11526 PyObject
* obj0
= 0 ;
11527 char *kwnames
[] = {
11528 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyBitmapShape_base_OnLeftClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
11532 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11535 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
11537 wxPyEndAllowThreads(__tstate
);
11538 if (PyErr_Occurred()) SWIG_fail
;
11540 Py_INCREF(Py_None
); resultobj
= Py_None
;
11547 static PyObject
*_wrap_PyBitmapShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11548 PyObject
*resultobj
;
11549 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11552 int arg4
= (int) 0 ;
11553 int arg5
= (int) 0 ;
11554 PyObject
* obj0
= 0 ;
11555 char *kwnames
[] = {
11556 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyBitmapShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
11560 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11563 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
11565 wxPyEndAllowThreads(__tstate
);
11566 if (PyErr_Occurred()) SWIG_fail
;
11568 Py_INCREF(Py_None
); resultobj
= Py_None
;
11575 static PyObject
*_wrap_PyBitmapShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11576 PyObject
*resultobj
;
11577 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11580 int arg4
= (int) 0 ;
11581 int arg5
= (int) 0 ;
11582 PyObject
* obj0
= 0 ;
11583 char *kwnames
[] = {
11584 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyBitmapShape_base_OnRightClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
11588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11591 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
11593 wxPyEndAllowThreads(__tstate
);
11594 if (PyErr_Occurred()) SWIG_fail
;
11596 Py_INCREF(Py_None
); resultobj
= Py_None
;
11603 static PyObject
*_wrap_PyBitmapShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11604 PyObject
*resultobj
;
11605 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11608 PyObject
* obj0
= 0 ;
11609 char *kwnames
[] = {
11610 (char *) "self",(char *) "x",(char *) "y", NULL
11613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyBitmapShape_base_OnSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
11614 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11617 (arg1
)->base_OnSize(arg2
,arg3
);
11619 wxPyEndAllowThreads(__tstate
);
11620 if (PyErr_Occurred()) SWIG_fail
;
11622 Py_INCREF(Py_None
); resultobj
= Py_None
;
11629 static PyObject
*_wrap_PyBitmapShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11630 PyObject
*resultobj
;
11631 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11637 bool arg7
= (bool) True
;
11639 PyObject
* obj0
= 0 ;
11640 PyObject
* obj1
= 0 ;
11641 PyObject
* obj6
= 0 ;
11642 char *kwnames
[] = {
11643 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
11646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyBitmapShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
11647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11648 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11649 if (arg2
== NULL
) {
11650 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11653 arg7
= PyInt_AsLong(obj6
) ? true : false;
11654 if (PyErr_Occurred()) SWIG_fail
;
11657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11658 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11660 wxPyEndAllowThreads(__tstate
);
11661 if (PyErr_Occurred()) SWIG_fail
;
11663 resultobj
= PyInt_FromLong((long)result
);
11670 static PyObject
*_wrap_PyBitmapShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11671 PyObject
*resultobj
;
11672 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11678 bool arg7
= (bool) True
;
11679 PyObject
* obj0
= 0 ;
11680 PyObject
* obj1
= 0 ;
11681 PyObject
* obj6
= 0 ;
11682 char *kwnames
[] = {
11683 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
11686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyBitmapShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
11687 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11688 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11689 if (arg2
== NULL
) {
11690 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11693 arg7
= PyInt_AsLong(obj6
) ? true : false;
11694 if (PyErr_Occurred()) SWIG_fail
;
11697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11698 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11700 wxPyEndAllowThreads(__tstate
);
11701 if (PyErr_Occurred()) SWIG_fail
;
11703 Py_INCREF(Py_None
); resultobj
= Py_None
;
11710 static PyObject
*_wrap_PyBitmapShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11711 PyObject
*resultobj
;
11712 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11716 int arg5
= (int) 0 ;
11717 int arg6
= (int) 0 ;
11718 PyObject
* obj0
= 0 ;
11719 PyObject
* obj1
= 0 ;
11720 char *kwnames
[] = {
11721 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyBitmapShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
11725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11726 arg2
= PyInt_AsLong(obj1
) ? true : false;
11727 if (PyErr_Occurred()) SWIG_fail
;
11729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11730 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
11732 wxPyEndAllowThreads(__tstate
);
11733 if (PyErr_Occurred()) SWIG_fail
;
11735 Py_INCREF(Py_None
); resultobj
= Py_None
;
11742 static PyObject
*_wrap_PyBitmapShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11743 PyObject
*resultobj
;
11744 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11747 int arg4
= (int) 0 ;
11748 int arg5
= (int) 0 ;
11749 PyObject
* obj0
= 0 ;
11750 char *kwnames
[] = {
11751 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyBitmapShape_base_OnBeginDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
11755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11758 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
11760 wxPyEndAllowThreads(__tstate
);
11761 if (PyErr_Occurred()) SWIG_fail
;
11763 Py_INCREF(Py_None
); resultobj
= Py_None
;
11770 static PyObject
*_wrap_PyBitmapShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11771 PyObject
*resultobj
;
11772 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11775 int arg4
= (int) 0 ;
11776 int arg5
= (int) 0 ;
11777 PyObject
* obj0
= 0 ;
11778 char *kwnames
[] = {
11779 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyBitmapShape_base_OnEndDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
11783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11786 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
11788 wxPyEndAllowThreads(__tstate
);
11789 if (PyErr_Occurred()) SWIG_fail
;
11791 Py_INCREF(Py_None
); resultobj
= Py_None
;
11798 static PyObject
*_wrap_PyBitmapShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11799 PyObject
*resultobj
;
11800 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11804 int arg5
= (int) 0 ;
11805 int arg6
= (int) 0 ;
11806 PyObject
* obj0
= 0 ;
11807 PyObject
* obj1
= 0 ;
11808 char *kwnames
[] = {
11809 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyBitmapShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
11813 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11814 arg2
= PyInt_AsLong(obj1
) ? true : false;
11815 if (PyErr_Occurred()) SWIG_fail
;
11817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11818 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
11820 wxPyEndAllowThreads(__tstate
);
11821 if (PyErr_Occurred()) SWIG_fail
;
11823 Py_INCREF(Py_None
); resultobj
= Py_None
;
11830 static PyObject
*_wrap_PyBitmapShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11831 PyObject
*resultobj
;
11832 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11835 int arg4
= (int) 0 ;
11836 int arg5
= (int) 0 ;
11837 PyObject
* obj0
= 0 ;
11838 char *kwnames
[] = {
11839 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyBitmapShape_base_OnBeginDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
11843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11846 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
11848 wxPyEndAllowThreads(__tstate
);
11849 if (PyErr_Occurred()) SWIG_fail
;
11851 Py_INCREF(Py_None
); resultobj
= Py_None
;
11858 static PyObject
*_wrap_PyBitmapShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11859 PyObject
*resultobj
;
11860 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11863 int arg4
= (int) 0 ;
11864 int arg5
= (int) 0 ;
11865 PyObject
* obj0
= 0 ;
11866 char *kwnames
[] = {
11867 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyBitmapShape_base_OnEndDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
11871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11874 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
11876 wxPyEndAllowThreads(__tstate
);
11877 if (PyErr_Occurred()) SWIG_fail
;
11879 Py_INCREF(Py_None
); resultobj
= Py_None
;
11886 static PyObject
*_wrap_PyBitmapShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11887 PyObject
*resultobj
;
11888 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11894 PyObject
* obj0
= 0 ;
11895 PyObject
* obj1
= 0 ;
11896 char *kwnames
[] = {
11897 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
11900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd:PyBitmapShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
11901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11902 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11903 if (arg2
== NULL
) {
11904 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11908 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
11910 wxPyEndAllowThreads(__tstate
);
11911 if (PyErr_Occurred()) SWIG_fail
;
11913 Py_INCREF(Py_None
); resultobj
= Py_None
;
11920 static PyObject
*_wrap_PyBitmapShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11921 PyObject
*resultobj
;
11922 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11924 PyObject
* obj0
= 0 ;
11925 PyObject
* obj1
= 0 ;
11926 char *kwnames
[] = {
11927 (char *) "self",(char *) "dc", NULL
11930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
11931 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11932 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11933 if (arg2
== NULL
) {
11934 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11938 (arg1
)->base_OnDrawControlPoints(*arg2
);
11940 wxPyEndAllowThreads(__tstate
);
11941 if (PyErr_Occurred()) SWIG_fail
;
11943 Py_INCREF(Py_None
); resultobj
= Py_None
;
11950 static PyObject
*_wrap_PyBitmapShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11951 PyObject
*resultobj
;
11952 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11954 PyObject
* obj0
= 0 ;
11955 PyObject
* obj1
= 0 ;
11956 char *kwnames
[] = {
11957 (char *) "self",(char *) "dc", NULL
11960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
11961 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11962 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11963 if (arg2
== NULL
) {
11964 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11968 (arg1
)->base_OnEraseControlPoints(*arg2
);
11970 wxPyEndAllowThreads(__tstate
);
11971 if (PyErr_Occurred()) SWIG_fail
;
11973 Py_INCREF(Py_None
); resultobj
= Py_None
;
11980 static PyObject
*_wrap_PyBitmapShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11981 PyObject
*resultobj
;
11982 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11984 bool arg3
= (bool) True
;
11985 PyObject
* obj0
= 0 ;
11986 PyObject
* obj1
= 0 ;
11987 PyObject
* obj2
= 0 ;
11988 char *kwnames
[] = {
11989 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
11992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyBitmapShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11993 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11994 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11995 if (arg2
== NULL
) {
11996 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11999 arg3
= PyInt_AsLong(obj2
) ? true : false;
12000 if (PyErr_Occurred()) SWIG_fail
;
12003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12004 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
12006 wxPyEndAllowThreads(__tstate
);
12007 if (PyErr_Occurred()) SWIG_fail
;
12009 Py_INCREF(Py_None
); resultobj
= Py_None
;
12016 static PyObject
*_wrap_PyBitmapShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12017 PyObject
*resultobj
;
12018 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
12019 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
12023 int arg6
= (int) 0 ;
12024 int arg7
= (int) 0 ;
12025 PyObject
* obj0
= 0 ;
12026 PyObject
* obj1
= 0 ;
12027 PyObject
* obj2
= 0 ;
12028 char *kwnames
[] = {
12029 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd|ii:PyBitmapShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
12033 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12034 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12035 arg3
= PyInt_AsLong(obj2
) ? true : false;
12036 if (PyErr_Occurred()) SWIG_fail
;
12038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12039 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12041 wxPyEndAllowThreads(__tstate
);
12042 if (PyErr_Occurred()) SWIG_fail
;
12044 Py_INCREF(Py_None
); resultobj
= Py_None
;
12051 static PyObject
*_wrap_PyBitmapShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12052 PyObject
*resultobj
;
12053 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
12054 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
12057 int arg5
= (int) 0 ;
12058 int arg6
= (int) 0 ;
12059 PyObject
* obj0
= 0 ;
12060 PyObject
* obj1
= 0 ;
12061 char *kwnames
[] = {
12062 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyBitmapShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
12066 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12067 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12070 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
12072 wxPyEndAllowThreads(__tstate
);
12073 if (PyErr_Occurred()) SWIG_fail
;
12075 Py_INCREF(Py_None
); resultobj
= Py_None
;
12082 static PyObject
*_wrap_PyBitmapShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12083 PyObject
*resultobj
;
12084 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
12085 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
12088 int arg5
= (int) 0 ;
12089 int arg6
= (int) 0 ;
12090 PyObject
* obj0
= 0 ;
12091 PyObject
* obj1
= 0 ;
12092 char *kwnames
[] = {
12093 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyBitmapShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
12097 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12098 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12101 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
12103 wxPyEndAllowThreads(__tstate
);
12104 if (PyErr_Occurred()) SWIG_fail
;
12106 Py_INCREF(Py_None
); resultobj
= Py_None
;
12113 static PyObject
*_wrap_PyBitmapShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12114 PyObject
*resultobj
;
12115 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
12118 PyObject
* obj0
= 0 ;
12119 char *kwnames
[] = {
12120 (char *) "self",(char *) "w",(char *) "h", NULL
12123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyBitmapShape_base_OnBeginSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
12124 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12127 (arg1
)->base_OnBeginSize(arg2
,arg3
);
12129 wxPyEndAllowThreads(__tstate
);
12130 if (PyErr_Occurred()) SWIG_fail
;
12132 Py_INCREF(Py_None
); resultobj
= Py_None
;
12139 static PyObject
*_wrap_PyBitmapShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12140 PyObject
*resultobj
;
12141 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
12144 PyObject
* obj0
= 0 ;
12145 char *kwnames
[] = {
12146 (char *) "self",(char *) "w",(char *) "h", NULL
12149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyBitmapShape_base_OnEndSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
12150 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12153 (arg1
)->base_OnEndSize(arg2
,arg3
);
12155 wxPyEndAllowThreads(__tstate
);
12156 if (PyErr_Occurred()) SWIG_fail
;
12158 Py_INCREF(Py_None
); resultobj
= Py_None
;
12165 static PyObject
* PyBitmapShape_swigregister(PyObject
*self
, PyObject
*args
) {
12167 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12168 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapShape
, obj
);
12170 return Py_BuildValue((char *)"");
12172 static PyObject
*_wrap_new_PyDrawnShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12173 PyObject
*resultobj
;
12174 wxPyDrawnShape
*result
;
12175 char *kwnames
[] = {
12179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyDrawnShape",kwnames
)) goto fail
;
12181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12182 result
= (wxPyDrawnShape
*)new wxPyDrawnShape();
12184 wxPyEndAllowThreads(__tstate
);
12185 if (PyErr_Occurred()) SWIG_fail
;
12187 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyDrawnShape
, 1);
12194 static PyObject
*_wrap_PyDrawnShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12195 PyObject
*resultobj
;
12196 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12197 PyObject
*arg2
= (PyObject
*) 0 ;
12198 PyObject
*arg3
= (PyObject
*) 0 ;
12199 PyObject
* obj0
= 0 ;
12200 PyObject
* obj1
= 0 ;
12201 PyObject
* obj2
= 0 ;
12202 char *kwnames
[] = {
12203 (char *) "self",(char *) "self",(char *) "_class", NULL
12206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12207 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12212 (arg1
)->_setCallbackInfo(arg2
,arg3
);
12214 wxPyEndAllowThreads(__tstate
);
12215 if (PyErr_Occurred()) SWIG_fail
;
12217 Py_INCREF(Py_None
); resultobj
= Py_None
;
12224 static PyObject
*_wrap_PyDrawnShape_CalculateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12225 PyObject
*resultobj
;
12226 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12227 PyObject
* obj0
= 0 ;
12228 char *kwnames
[] = {
12229 (char *) "self", NULL
12232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_CalculateSize",kwnames
,&obj0
)) goto fail
;
12233 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12236 (arg1
)->CalculateSize();
12238 wxPyEndAllowThreads(__tstate
);
12239 if (PyErr_Occurred()) SWIG_fail
;
12241 Py_INCREF(Py_None
); resultobj
= Py_None
;
12248 static PyObject
*_wrap_PyDrawnShape_DestroyClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12249 PyObject
*resultobj
;
12250 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12251 PyObject
* obj0
= 0 ;
12252 char *kwnames
[] = {
12253 (char *) "self", NULL
12256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_DestroyClippingRect",kwnames
,&obj0
)) goto fail
;
12257 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12260 (arg1
)->DestroyClippingRect();
12262 wxPyEndAllowThreads(__tstate
);
12263 if (PyErr_Occurred()) SWIG_fail
;
12265 Py_INCREF(Py_None
); resultobj
= Py_None
;
12272 static PyObject
*_wrap_PyDrawnShape_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12273 PyObject
*resultobj
;
12274 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12275 wxPoint
*arg2
= 0 ;
12276 wxPoint
*arg3
= 0 ;
12277 wxPoint
*arg4
= 0 ;
12281 PyObject
* obj0
= 0 ;
12282 PyObject
* obj1
= 0 ;
12283 PyObject
* obj2
= 0 ;
12284 PyObject
* obj3
= 0 ;
12285 char *kwnames
[] = {
12286 (char *) "self",(char *) "centrePoint",(char *) "startPoint",(char *) "endPoint", NULL
12289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyDrawnShape_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12293 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12297 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12301 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12305 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
12307 wxPyEndAllowThreads(__tstate
);
12308 if (PyErr_Occurred()) SWIG_fail
;
12310 Py_INCREF(Py_None
); resultobj
= Py_None
;
12317 static PyObject
*_wrap_PyDrawnShape_DrawAtAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12318 PyObject
*resultobj
;
12319 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12321 PyObject
* obj0
= 0 ;
12322 char *kwnames
[] = {
12323 (char *) "self",(char *) "angle", NULL
12326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyDrawnShape_DrawAtAngle",kwnames
,&obj0
,&arg2
)) goto fail
;
12327 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12330 (arg1
)->DrawAtAngle(arg2
);
12332 wxPyEndAllowThreads(__tstate
);
12333 if (PyErr_Occurred()) SWIG_fail
;
12335 Py_INCREF(Py_None
); resultobj
= Py_None
;
12342 static PyObject
*_wrap_PyDrawnShape_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12343 PyObject
*resultobj
;
12344 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12349 PyObject
* obj0
= 0 ;
12350 PyObject
* obj1
= 0 ;
12351 char *kwnames
[] = {
12352 (char *) "self",(char *) "rect",(char *) "startAngle",(char *) "endAngle", NULL
12355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd:PyDrawnShape_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
12356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12359 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12363 (arg1
)->DrawEllipticArc((wxRect
const &)*arg2
,arg3
,arg4
);
12365 wxPyEndAllowThreads(__tstate
);
12366 if (PyErr_Occurred()) SWIG_fail
;
12368 Py_INCREF(Py_None
); resultobj
= Py_None
;
12375 static PyObject
*_wrap_PyDrawnShape_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12376 PyObject
*resultobj
;
12377 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12378 wxPoint
*arg2
= 0 ;
12379 wxPoint
*arg3
= 0 ;
12382 PyObject
* obj0
= 0 ;
12383 PyObject
* obj1
= 0 ;
12384 PyObject
* obj2
= 0 ;
12385 char *kwnames
[] = {
12386 (char *) "self",(char *) "point1",(char *) "point2", NULL
12389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12390 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12393 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12397 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12401 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
12403 wxPyEndAllowThreads(__tstate
);
12404 if (PyErr_Occurred()) SWIG_fail
;
12406 Py_INCREF(Py_None
); resultobj
= Py_None
;
12413 static PyObject
*_wrap_PyDrawnShape_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12414 PyObject
*resultobj
;
12415 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12417 wxPoint
*arg3
= (wxPoint
*) 0 ;
12418 PyObject
* obj0
= 0 ;
12419 PyObject
* obj2
= 0 ;
12420 char *kwnames
[] = {
12421 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
12424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:PyDrawnShape_DrawLines",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
12425 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12426 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12429 (arg1
)->DrawLines(arg2
,arg3
);
12431 wxPyEndAllowThreads(__tstate
);
12432 if (PyErr_Occurred()) SWIG_fail
;
12434 Py_INCREF(Py_None
); resultobj
= Py_None
;
12441 static PyObject
*_wrap_PyDrawnShape_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12442 PyObject
*resultobj
;
12443 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12444 wxPoint
*arg2
= 0 ;
12446 PyObject
* obj0
= 0 ;
12447 PyObject
* obj1
= 0 ;
12448 char *kwnames
[] = {
12449 (char *) "self",(char *) "point", NULL
12452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_DrawPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
12453 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12456 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12460 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
12462 wxPyEndAllowThreads(__tstate
);
12463 if (PyErr_Occurred()) SWIG_fail
;
12465 Py_INCREF(Py_None
); resultobj
= Py_None
;
12472 static PyObject
*_wrap_PyDrawnShape_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12473 PyObject
*resultobj
;
12474 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12476 wxPoint
*arg3
= (wxPoint
*) 0 ;
12477 int arg4
= (int) 0 ;
12478 PyObject
* obj0
= 0 ;
12479 PyObject
* obj2
= 0 ;
12480 char *kwnames
[] = {
12481 (char *) "self",(char *) "PCOUNT",(char *) "points",(char *) "flags", NULL
12484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|i:PyDrawnShape_DrawPolygon",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
)) goto fail
;
12485 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12486 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12489 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
);
12491 wxPyEndAllowThreads(__tstate
);
12492 if (PyErr_Occurred()) SWIG_fail
;
12494 Py_INCREF(Py_None
); resultobj
= Py_None
;
12501 static PyObject
*_wrap_PyDrawnShape_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12502 PyObject
*resultobj
;
12503 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12506 PyObject
* obj0
= 0 ;
12507 PyObject
* obj1
= 0 ;
12508 char *kwnames
[] = {
12509 (char *) "self",(char *) "rect", NULL
12512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_DrawRectangle",kwnames
,&obj0
,&obj1
)) goto fail
;
12513 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12516 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12520 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
12522 wxPyEndAllowThreads(__tstate
);
12523 if (PyErr_Occurred()) SWIG_fail
;
12525 Py_INCREF(Py_None
); resultobj
= Py_None
;
12532 static PyObject
*_wrap_PyDrawnShape_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12533 PyObject
*resultobj
;
12534 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12538 PyObject
* obj0
= 0 ;
12539 PyObject
* obj1
= 0 ;
12540 char *kwnames
[] = {
12541 (char *) "self",(char *) "rect",(char *) "radius", NULL
12544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOd:PyDrawnShape_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
12545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12548 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12552 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
12554 wxPyEndAllowThreads(__tstate
);
12555 if (PyErr_Occurred()) SWIG_fail
;
12557 Py_INCREF(Py_None
); resultobj
= Py_None
;
12564 static PyObject
*_wrap_PyDrawnShape_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12565 PyObject
*resultobj
;
12566 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12568 wxPoint
*arg3
= (wxPoint
*) 0 ;
12569 PyObject
* obj0
= 0 ;
12570 PyObject
* obj2
= 0 ;
12571 char *kwnames
[] = {
12572 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
12575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:PyDrawnShape_DrawSpline",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
12576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12577 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12580 (arg1
)->DrawSpline(arg2
,arg3
);
12582 wxPyEndAllowThreads(__tstate
);
12583 if (PyErr_Occurred()) SWIG_fail
;
12585 Py_INCREF(Py_None
); resultobj
= Py_None
;
12592 static PyObject
*_wrap_PyDrawnShape_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12593 PyObject
*resultobj
;
12594 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12595 wxString
*arg2
= 0 ;
12596 wxPoint
*arg3
= 0 ;
12597 bool temp2
= False
;
12599 PyObject
* obj0
= 0 ;
12600 PyObject
* obj1
= 0 ;
12601 PyObject
* obj2
= 0 ;
12602 char *kwnames
[] = {
12603 (char *) "self",(char *) "text",(char *) "point", NULL
12606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_DrawText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12609 arg2
= wxString_in_helper(obj1
);
12610 if (arg2
== NULL
) SWIG_fail
;
12615 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12619 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
12621 wxPyEndAllowThreads(__tstate
);
12622 if (PyErr_Occurred()) SWIG_fail
;
12624 Py_INCREF(Py_None
); resultobj
= Py_None
;
12639 static PyObject
*_wrap_PyDrawnShape_GetAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12640 PyObject
*resultobj
;
12641 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12643 PyObject
* obj0
= 0 ;
12644 char *kwnames
[] = {
12645 (char *) "self", NULL
12648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_GetAngle",kwnames
,&obj0
)) goto fail
;
12649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12652 result
= (int)(arg1
)->GetAngle();
12654 wxPyEndAllowThreads(__tstate
);
12655 if (PyErr_Occurred()) SWIG_fail
;
12657 resultobj
= PyInt_FromLong((long)result
);
12664 static PyObject
*_wrap_PyDrawnShape_GetMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12665 PyObject
*resultobj
;
12666 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12667 wxPseudoMetaFile
*result
;
12668 PyObject
* obj0
= 0 ;
12669 char *kwnames
[] = {
12670 (char *) "self", NULL
12673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_GetMetaFile",kwnames
,&obj0
)) goto fail
;
12674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12678 wxPseudoMetaFile
&_result_ref
= (arg1
)->GetMetaFile();
12679 result
= (wxPseudoMetaFile
*) &_result_ref
;
12682 wxPyEndAllowThreads(__tstate
);
12683 if (PyErr_Occurred()) SWIG_fail
;
12685 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPseudoMetaFile
, 0);
12692 static PyObject
*_wrap_PyDrawnShape_GetRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12693 PyObject
*resultobj
;
12694 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12696 PyObject
* obj0
= 0 ;
12697 char *kwnames
[] = {
12698 (char *) "self", NULL
12701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_GetRotation",kwnames
,&obj0
)) goto fail
;
12702 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12705 result
= (double)(arg1
)->GetRotation();
12707 wxPyEndAllowThreads(__tstate
);
12708 if (PyErr_Occurred()) SWIG_fail
;
12710 resultobj
= PyFloat_FromDouble(result
);
12717 static PyObject
*_wrap_PyDrawnShape_LoadFromMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12718 PyObject
*resultobj
;
12719 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12720 wxString
*arg2
= 0 ;
12722 bool temp2
= False
;
12723 PyObject
* obj0
= 0 ;
12724 PyObject
* obj1
= 0 ;
12725 char *kwnames
[] = {
12726 (char *) "self",(char *) "filename", NULL
12729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_LoadFromMetaFile",kwnames
,&obj0
,&obj1
)) goto fail
;
12730 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12732 arg2
= wxString_in_helper(obj1
);
12733 if (arg2
== NULL
) SWIG_fail
;
12737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12738 result
= (bool)(arg1
)->LoadFromMetaFile((wxString
const &)*arg2
);
12740 wxPyEndAllowThreads(__tstate
);
12741 if (PyErr_Occurred()) SWIG_fail
;
12743 resultobj
= PyInt_FromLong((long)result
);
12758 static PyObject
*_wrap_PyDrawnShape_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12759 PyObject
*resultobj
;
12760 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12764 PyObject
* obj0
= 0 ;
12765 char *kwnames
[] = {
12766 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
12769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oddd:PyDrawnShape_Rotate",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
12770 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12773 (arg1
)->Rotate(arg2
,arg3
,arg4
);
12775 wxPyEndAllowThreads(__tstate
);
12776 if (PyErr_Occurred()) SWIG_fail
;
12778 Py_INCREF(Py_None
); resultobj
= Py_None
;
12785 static PyObject
*_wrap_PyDrawnShape_SetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12786 PyObject
*resultobj
;
12787 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12790 PyObject
* obj0
= 0 ;
12791 PyObject
* obj1
= 0 ;
12792 char *kwnames
[] = {
12793 (char *) "self",(char *) "rect", NULL
12796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
12797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12800 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12804 (arg1
)->SetClippingRect((wxRect
const &)*arg2
);
12806 wxPyEndAllowThreads(__tstate
);
12807 if (PyErr_Occurred()) SWIG_fail
;
12809 Py_INCREF(Py_None
); resultobj
= Py_None
;
12816 static PyObject
*_wrap_PyDrawnShape_SetDrawnBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12817 PyObject
*resultobj
;
12818 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12819 wxColour
*arg2
= 0 ;
12821 PyObject
* obj0
= 0 ;
12822 PyObject
* obj1
= 0 ;
12823 char *kwnames
[] = {
12824 (char *) "self",(char *) "colour", NULL
12827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetDrawnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
12828 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12831 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12835 (arg1
)->SetDrawnBackgroundColour((wxColour
const &)*arg2
);
12837 wxPyEndAllowThreads(__tstate
);
12838 if (PyErr_Occurred()) SWIG_fail
;
12840 Py_INCREF(Py_None
); resultobj
= Py_None
;
12847 static PyObject
*_wrap_PyDrawnShape_SetDrawnBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12848 PyObject
*resultobj
;
12849 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12851 PyObject
* obj0
= 0 ;
12852 char *kwnames
[] = {
12853 (char *) "self",(char *) "mode", NULL
12856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyDrawnShape_SetDrawnBackgroundMode",kwnames
,&obj0
,&arg2
)) goto fail
;
12857 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12860 (arg1
)->SetDrawnBackgroundMode(arg2
);
12862 wxPyEndAllowThreads(__tstate
);
12863 if (PyErr_Occurred()) SWIG_fail
;
12865 Py_INCREF(Py_None
); resultobj
= Py_None
;
12872 static PyObject
*_wrap_PyDrawnShape_SetDrawnBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12873 PyObject
*resultobj
;
12874 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12875 wxBrush
*arg2
= (wxBrush
*) 0 ;
12876 bool arg3
= (bool) FALSE
;
12877 PyObject
* obj0
= 0 ;
12878 PyObject
* obj1
= 0 ;
12879 PyObject
* obj2
= 0 ;
12880 char *kwnames
[] = {
12881 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
12884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDrawnShape_SetDrawnBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12889 if (obj1
== Py_None
) {
12892 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxBrush"))) {
12893 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxBrush.");
12898 arg2
= wxTheBrushList
->FindOrCreateBrush(temp
->GetColour(), temp
->GetStyle());
12903 arg3
= PyInt_AsLong(obj2
) ? true : false;
12904 if (PyErr_Occurred()) SWIG_fail
;
12907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12908 (arg1
)->SetDrawnBrush(arg2
,arg3
);
12910 wxPyEndAllowThreads(__tstate
);
12911 if (PyErr_Occurred()) SWIG_fail
;
12913 Py_INCREF(Py_None
); resultobj
= Py_None
;
12920 static PyObject
*_wrap_PyDrawnShape_SetDrawnFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12921 PyObject
*resultobj
;
12922 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12923 wxFont
*arg2
= (wxFont
*) 0 ;
12924 PyObject
* obj0
= 0 ;
12925 PyObject
* obj1
= 0 ;
12926 char *kwnames
[] = {
12927 (char *) "self",(char *) "font", NULL
12930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetDrawnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12931 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12935 if (obj1
== Py_None
) {
12938 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxFont"))) {
12939 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxFont.");
12944 arg2
= wxTheFontList
->FindOrCreateFont(temp
->GetPointSize(),
12948 temp
->GetUnderlined(),
12949 temp
->GetFaceName(),
12950 temp
->GetEncoding());
12955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12956 (arg1
)->SetDrawnFont(arg2
);
12958 wxPyEndAllowThreads(__tstate
);
12959 if (PyErr_Occurred()) SWIG_fail
;
12961 Py_INCREF(Py_None
); resultobj
= Py_None
;
12968 static PyObject
*_wrap_PyDrawnShape_SetDrawnPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12969 PyObject
*resultobj
;
12970 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12971 wxPen
*arg2
= (wxPen
*) 0 ;
12972 bool arg3
= (bool) FALSE
;
12973 PyObject
* obj0
= 0 ;
12974 PyObject
* obj1
= 0 ;
12975 PyObject
* obj2
= 0 ;
12976 char *kwnames
[] = {
12977 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
12980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDrawnShape_SetDrawnPen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12981 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12985 if (obj1
== Py_None
) {
12988 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
12989 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
12994 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
13001 arg3
= PyInt_AsLong(obj2
) ? true : false;
13002 if (PyErr_Occurred()) SWIG_fail
;
13005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13006 (arg1
)->SetDrawnPen(arg2
,arg3
);
13008 wxPyEndAllowThreads(__tstate
);
13009 if (PyErr_Occurred()) SWIG_fail
;
13011 Py_INCREF(Py_None
); resultobj
= Py_None
;
13018 static PyObject
*_wrap_PyDrawnShape_SetDrawnTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13019 PyObject
*resultobj
;
13020 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13021 wxColour
*arg2
= 0 ;
13023 PyObject
* obj0
= 0 ;
13024 PyObject
* obj1
= 0 ;
13025 char *kwnames
[] = {
13026 (char *) "self",(char *) "colour", NULL
13029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetDrawnTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13030 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13033 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13037 (arg1
)->SetDrawnTextColour((wxColour
const &)*arg2
);
13039 wxPyEndAllowThreads(__tstate
);
13040 if (PyErr_Occurred()) SWIG_fail
;
13042 Py_INCREF(Py_None
); resultobj
= Py_None
;
13049 static PyObject
*_wrap_PyDrawnShape_Scale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13050 PyObject
*resultobj
;
13051 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13054 PyObject
* obj0
= 0 ;
13055 char *kwnames
[] = {
13056 (char *) "self",(char *) "sx",(char *) "sy", NULL
13059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyDrawnShape_Scale",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
13060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13063 (arg1
)->Scale(arg2
,arg3
);
13065 wxPyEndAllowThreads(__tstate
);
13066 if (PyErr_Occurred()) SWIG_fail
;
13068 Py_INCREF(Py_None
); resultobj
= Py_None
;
13075 static PyObject
*_wrap_PyDrawnShape_SetSaveToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13076 PyObject
*resultobj
;
13077 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13079 PyObject
* obj0
= 0 ;
13080 PyObject
* obj1
= 0 ;
13081 char *kwnames
[] = {
13082 (char *) "self",(char *) "save", NULL
13085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetSaveToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
13086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13087 arg2
= PyInt_AsLong(obj1
) ? true : false;
13088 if (PyErr_Occurred()) SWIG_fail
;
13090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13091 (arg1
)->SetSaveToFile(arg2
);
13093 wxPyEndAllowThreads(__tstate
);
13094 if (PyErr_Occurred()) SWIG_fail
;
13096 Py_INCREF(Py_None
); resultobj
= Py_None
;
13103 static PyObject
*_wrap_PyDrawnShape_Translate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13104 PyObject
*resultobj
;
13105 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13108 PyObject
* obj0
= 0 ;
13109 char *kwnames
[] = {
13110 (char *) "self",(char *) "x",(char *) "y", NULL
13113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyDrawnShape_Translate",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
13114 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13117 (arg1
)->Translate(arg2
,arg3
);
13119 wxPyEndAllowThreads(__tstate
);
13120 if (PyErr_Occurred()) SWIG_fail
;
13122 Py_INCREF(Py_None
); resultobj
= Py_None
;
13129 static PyObject
*_wrap_PyDrawnShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13130 PyObject
*resultobj
;
13131 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13132 PyObject
* obj0
= 0 ;
13133 char *kwnames
[] = {
13134 (char *) "self", NULL
13137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
13138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13141 (arg1
)->base_OnDelete();
13143 wxPyEndAllowThreads(__tstate
);
13144 if (PyErr_Occurred()) SWIG_fail
;
13146 Py_INCREF(Py_None
); resultobj
= Py_None
;
13153 static PyObject
*_wrap_PyDrawnShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13154 PyObject
*resultobj
;
13155 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13157 PyObject
* obj0
= 0 ;
13158 PyObject
* obj1
= 0 ;
13159 char *kwnames
[] = {
13160 (char *) "self",(char *) "dc", NULL
13163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
13164 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13165 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13166 if (arg2
== NULL
) {
13167 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13171 (arg1
)->base_OnDraw(*arg2
);
13173 wxPyEndAllowThreads(__tstate
);
13174 if (PyErr_Occurred()) SWIG_fail
;
13176 Py_INCREF(Py_None
); resultobj
= Py_None
;
13183 static PyObject
*_wrap_PyDrawnShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13184 PyObject
*resultobj
;
13185 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13187 PyObject
* obj0
= 0 ;
13188 PyObject
* obj1
= 0 ;
13189 char *kwnames
[] = {
13190 (char *) "self",(char *) "dc", NULL
13193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
13194 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13195 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13196 if (arg2
== NULL
) {
13197 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13201 (arg1
)->base_OnDrawContents(*arg2
);
13203 wxPyEndAllowThreads(__tstate
);
13204 if (PyErr_Occurred()) SWIG_fail
;
13206 Py_INCREF(Py_None
); resultobj
= Py_None
;
13213 static PyObject
*_wrap_PyDrawnShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13214 PyObject
*resultobj
;
13215 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13217 bool arg3
= (bool) FALSE
;
13218 PyObject
* obj0
= 0 ;
13219 PyObject
* obj1
= 0 ;
13220 PyObject
* obj2
= 0 ;
13221 char *kwnames
[] = {
13222 (char *) "self",(char *) "dc",(char *) "erase", NULL
13225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDrawnShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13226 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13227 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13228 if (arg2
== NULL
) {
13229 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13232 arg3
= PyInt_AsLong(obj2
) ? true : false;
13233 if (PyErr_Occurred()) SWIG_fail
;
13236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13237 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
13239 wxPyEndAllowThreads(__tstate
);
13240 if (PyErr_Occurred()) SWIG_fail
;
13242 Py_INCREF(Py_None
); resultobj
= Py_None
;
13249 static PyObject
*_wrap_PyDrawnShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13250 PyObject
*resultobj
;
13251 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13253 PyObject
* obj0
= 0 ;
13254 PyObject
* obj1
= 0 ;
13255 char *kwnames
[] = {
13256 (char *) "self",(char *) "dc", NULL
13259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
13260 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13261 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13262 if (arg2
== NULL
) {
13263 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13267 (arg1
)->base_OnMoveLinks(*arg2
);
13269 wxPyEndAllowThreads(__tstate
);
13270 if (PyErr_Occurred()) SWIG_fail
;
13272 Py_INCREF(Py_None
); resultobj
= Py_None
;
13279 static PyObject
*_wrap_PyDrawnShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13280 PyObject
*resultobj
;
13281 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13283 PyObject
* obj0
= 0 ;
13284 PyObject
* obj1
= 0 ;
13285 char *kwnames
[] = {
13286 (char *) "self",(char *) "dc", NULL
13289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
13290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13291 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13292 if (arg2
== NULL
) {
13293 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13297 (arg1
)->base_OnErase(*arg2
);
13299 wxPyEndAllowThreads(__tstate
);
13300 if (PyErr_Occurred()) SWIG_fail
;
13302 Py_INCREF(Py_None
); resultobj
= Py_None
;
13309 static PyObject
*_wrap_PyDrawnShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13310 PyObject
*resultobj
;
13311 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13313 PyObject
* obj0
= 0 ;
13314 PyObject
* obj1
= 0 ;
13315 char *kwnames
[] = {
13316 (char *) "self",(char *) "dc", NULL
13319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
13320 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13321 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13322 if (arg2
== NULL
) {
13323 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13327 (arg1
)->base_OnEraseContents(*arg2
);
13329 wxPyEndAllowThreads(__tstate
);
13330 if (PyErr_Occurred()) SWIG_fail
;
13332 Py_INCREF(Py_None
); resultobj
= Py_None
;
13339 static PyObject
*_wrap_PyDrawnShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13340 PyObject
*resultobj
;
13341 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13343 PyObject
* obj0
= 0 ;
13344 PyObject
* obj1
= 0 ;
13345 char *kwnames
[] = {
13346 (char *) "self",(char *) "dc", NULL
13349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
13350 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13351 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13352 if (arg2
== NULL
) {
13353 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13357 (arg1
)->base_OnHighlight(*arg2
);
13359 wxPyEndAllowThreads(__tstate
);
13360 if (PyErr_Occurred()) SWIG_fail
;
13362 Py_INCREF(Py_None
); resultobj
= Py_None
;
13369 static PyObject
*_wrap_PyDrawnShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13370 PyObject
*resultobj
;
13371 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13374 int arg4
= (int) 0 ;
13375 int arg5
= (int) 0 ;
13376 PyObject
* obj0
= 0 ;
13377 char *kwnames
[] = {
13378 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDrawnShape_base_OnLeftClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
13382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13385 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
13387 wxPyEndAllowThreads(__tstate
);
13388 if (PyErr_Occurred()) SWIG_fail
;
13390 Py_INCREF(Py_None
); resultobj
= Py_None
;
13397 static PyObject
*_wrap_PyDrawnShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13398 PyObject
*resultobj
;
13399 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13402 int arg4
= (int) 0 ;
13403 int arg5
= (int) 0 ;
13404 PyObject
* obj0
= 0 ;
13405 char *kwnames
[] = {
13406 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDrawnShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
13410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13413 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
13415 wxPyEndAllowThreads(__tstate
);
13416 if (PyErr_Occurred()) SWIG_fail
;
13418 Py_INCREF(Py_None
); resultobj
= Py_None
;
13425 static PyObject
*_wrap_PyDrawnShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13426 PyObject
*resultobj
;
13427 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13430 int arg4
= (int) 0 ;
13431 int arg5
= (int) 0 ;
13432 PyObject
* obj0
= 0 ;
13433 char *kwnames
[] = {
13434 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDrawnShape_base_OnRightClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
13438 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13441 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
13443 wxPyEndAllowThreads(__tstate
);
13444 if (PyErr_Occurred()) SWIG_fail
;
13446 Py_INCREF(Py_None
); resultobj
= Py_None
;
13453 static PyObject
*_wrap_PyDrawnShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13454 PyObject
*resultobj
;
13455 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13458 PyObject
* obj0
= 0 ;
13459 char *kwnames
[] = {
13460 (char *) "self",(char *) "x",(char *) "y", NULL
13463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyDrawnShape_base_OnSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
13464 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13467 (arg1
)->base_OnSize(arg2
,arg3
);
13469 wxPyEndAllowThreads(__tstate
);
13470 if (PyErr_Occurred()) SWIG_fail
;
13472 Py_INCREF(Py_None
); resultobj
= Py_None
;
13479 static PyObject
*_wrap_PyDrawnShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13480 PyObject
*resultobj
;
13481 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13487 bool arg7
= (bool) True
;
13489 PyObject
* obj0
= 0 ;
13490 PyObject
* obj1
= 0 ;
13491 PyObject
* obj6
= 0 ;
13492 char *kwnames
[] = {
13493 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
13496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyDrawnShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
13497 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13498 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13499 if (arg2
== NULL
) {
13500 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13503 arg7
= PyInt_AsLong(obj6
) ? true : false;
13504 if (PyErr_Occurred()) SWIG_fail
;
13507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13508 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13510 wxPyEndAllowThreads(__tstate
);
13511 if (PyErr_Occurred()) SWIG_fail
;
13513 resultobj
= PyInt_FromLong((long)result
);
13520 static PyObject
*_wrap_PyDrawnShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13521 PyObject
*resultobj
;
13522 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13528 bool arg7
= (bool) True
;
13529 PyObject
* obj0
= 0 ;
13530 PyObject
* obj1
= 0 ;
13531 PyObject
* obj6
= 0 ;
13532 char *kwnames
[] = {
13533 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
13536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyDrawnShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
13537 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13538 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13539 if (arg2
== NULL
) {
13540 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13543 arg7
= PyInt_AsLong(obj6
) ? true : false;
13544 if (PyErr_Occurred()) SWIG_fail
;
13547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13548 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13550 wxPyEndAllowThreads(__tstate
);
13551 if (PyErr_Occurred()) SWIG_fail
;
13553 Py_INCREF(Py_None
); resultobj
= Py_None
;
13560 static PyObject
*_wrap_PyDrawnShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13561 PyObject
*resultobj
;
13562 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13566 int arg5
= (int) 0 ;
13567 int arg6
= (int) 0 ;
13568 PyObject
* obj0
= 0 ;
13569 PyObject
* obj1
= 0 ;
13570 char *kwnames
[] = {
13571 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyDrawnShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
13575 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13576 arg2
= PyInt_AsLong(obj1
) ? true : false;
13577 if (PyErr_Occurred()) SWIG_fail
;
13579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13580 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
13582 wxPyEndAllowThreads(__tstate
);
13583 if (PyErr_Occurred()) SWIG_fail
;
13585 Py_INCREF(Py_None
); resultobj
= Py_None
;
13592 static PyObject
*_wrap_PyDrawnShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13593 PyObject
*resultobj
;
13594 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13597 int arg4
= (int) 0 ;
13598 int arg5
= (int) 0 ;
13599 PyObject
* obj0
= 0 ;
13600 char *kwnames
[] = {
13601 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDrawnShape_base_OnBeginDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
13605 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13608 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
13610 wxPyEndAllowThreads(__tstate
);
13611 if (PyErr_Occurred()) SWIG_fail
;
13613 Py_INCREF(Py_None
); resultobj
= Py_None
;
13620 static PyObject
*_wrap_PyDrawnShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13621 PyObject
*resultobj
;
13622 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13625 int arg4
= (int) 0 ;
13626 int arg5
= (int) 0 ;
13627 PyObject
* obj0
= 0 ;
13628 char *kwnames
[] = {
13629 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDrawnShape_base_OnEndDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
13633 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13636 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
13638 wxPyEndAllowThreads(__tstate
);
13639 if (PyErr_Occurred()) SWIG_fail
;
13641 Py_INCREF(Py_None
); resultobj
= Py_None
;
13648 static PyObject
*_wrap_PyDrawnShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13649 PyObject
*resultobj
;
13650 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13654 int arg5
= (int) 0 ;
13655 int arg6
= (int) 0 ;
13656 PyObject
* obj0
= 0 ;
13657 PyObject
* obj1
= 0 ;
13658 char *kwnames
[] = {
13659 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyDrawnShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
13663 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13664 arg2
= PyInt_AsLong(obj1
) ? true : false;
13665 if (PyErr_Occurred()) SWIG_fail
;
13667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13668 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
13670 wxPyEndAllowThreads(__tstate
);
13671 if (PyErr_Occurred()) SWIG_fail
;
13673 Py_INCREF(Py_None
); resultobj
= Py_None
;
13680 static PyObject
*_wrap_PyDrawnShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13681 PyObject
*resultobj
;
13682 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13685 int arg4
= (int) 0 ;
13686 int arg5
= (int) 0 ;
13687 PyObject
* obj0
= 0 ;
13688 char *kwnames
[] = {
13689 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDrawnShape_base_OnBeginDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
13693 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13696 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
13698 wxPyEndAllowThreads(__tstate
);
13699 if (PyErr_Occurred()) SWIG_fail
;
13701 Py_INCREF(Py_None
); resultobj
= Py_None
;
13708 static PyObject
*_wrap_PyDrawnShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13709 PyObject
*resultobj
;
13710 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13713 int arg4
= (int) 0 ;
13714 int arg5
= (int) 0 ;
13715 PyObject
* obj0
= 0 ;
13716 char *kwnames
[] = {
13717 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDrawnShape_base_OnEndDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
13721 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13724 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
13726 wxPyEndAllowThreads(__tstate
);
13727 if (PyErr_Occurred()) SWIG_fail
;
13729 Py_INCREF(Py_None
); resultobj
= Py_None
;
13736 static PyObject
*_wrap_PyDrawnShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13737 PyObject
*resultobj
;
13738 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13744 PyObject
* obj0
= 0 ;
13745 PyObject
* obj1
= 0 ;
13746 char *kwnames
[] = {
13747 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
13750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd:PyDrawnShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
13751 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13752 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13753 if (arg2
== NULL
) {
13754 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13758 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
13760 wxPyEndAllowThreads(__tstate
);
13761 if (PyErr_Occurred()) SWIG_fail
;
13763 Py_INCREF(Py_None
); resultobj
= Py_None
;
13770 static PyObject
*_wrap_PyDrawnShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13771 PyObject
*resultobj
;
13772 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13774 PyObject
* obj0
= 0 ;
13775 PyObject
* obj1
= 0 ;
13776 char *kwnames
[] = {
13777 (char *) "self",(char *) "dc", NULL
13780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
13781 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13782 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13783 if (arg2
== NULL
) {
13784 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13788 (arg1
)->base_OnDrawControlPoints(*arg2
);
13790 wxPyEndAllowThreads(__tstate
);
13791 if (PyErr_Occurred()) SWIG_fail
;
13793 Py_INCREF(Py_None
); resultobj
= Py_None
;
13800 static PyObject
*_wrap_PyDrawnShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13801 PyObject
*resultobj
;
13802 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13804 PyObject
* obj0
= 0 ;
13805 PyObject
* obj1
= 0 ;
13806 char *kwnames
[] = {
13807 (char *) "self",(char *) "dc", NULL
13810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
13811 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13812 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13813 if (arg2
== NULL
) {
13814 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13818 (arg1
)->base_OnEraseControlPoints(*arg2
);
13820 wxPyEndAllowThreads(__tstate
);
13821 if (PyErr_Occurred()) SWIG_fail
;
13823 Py_INCREF(Py_None
); resultobj
= Py_None
;
13830 static PyObject
*_wrap_PyDrawnShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13831 PyObject
*resultobj
;
13832 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13834 bool arg3
= (bool) True
;
13835 PyObject
* obj0
= 0 ;
13836 PyObject
* obj1
= 0 ;
13837 PyObject
* obj2
= 0 ;
13838 char *kwnames
[] = {
13839 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
13842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDrawnShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13844 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13845 if (arg2
== NULL
) {
13846 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13849 arg3
= PyInt_AsLong(obj2
) ? true : false;
13850 if (PyErr_Occurred()) SWIG_fail
;
13853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13854 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
13856 wxPyEndAllowThreads(__tstate
);
13857 if (PyErr_Occurred()) SWIG_fail
;
13859 Py_INCREF(Py_None
); resultobj
= Py_None
;
13866 static PyObject
*_wrap_PyDrawnShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13867 PyObject
*resultobj
;
13868 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13869 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
13873 int arg6
= (int) 0 ;
13874 int arg7
= (int) 0 ;
13875 PyObject
* obj0
= 0 ;
13876 PyObject
* obj1
= 0 ;
13877 PyObject
* obj2
= 0 ;
13878 char *kwnames
[] = {
13879 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd|ii:PyDrawnShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
13883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13884 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13885 arg3
= PyInt_AsLong(obj2
) ? true : false;
13886 if (PyErr_Occurred()) SWIG_fail
;
13888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13889 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13891 wxPyEndAllowThreads(__tstate
);
13892 if (PyErr_Occurred()) SWIG_fail
;
13894 Py_INCREF(Py_None
); resultobj
= Py_None
;
13901 static PyObject
*_wrap_PyDrawnShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13902 PyObject
*resultobj
;
13903 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13904 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
13907 int arg5
= (int) 0 ;
13908 int arg6
= (int) 0 ;
13909 PyObject
* obj0
= 0 ;
13910 PyObject
* obj1
= 0 ;
13911 char *kwnames
[] = {
13912 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyDrawnShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
13916 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13917 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13920 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
13922 wxPyEndAllowThreads(__tstate
);
13923 if (PyErr_Occurred()) SWIG_fail
;
13925 Py_INCREF(Py_None
); resultobj
= Py_None
;
13932 static PyObject
*_wrap_PyDrawnShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13933 PyObject
*resultobj
;
13934 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13935 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
13938 int arg5
= (int) 0 ;
13939 int arg6
= (int) 0 ;
13940 PyObject
* obj0
= 0 ;
13941 PyObject
* obj1
= 0 ;
13942 char *kwnames
[] = {
13943 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyDrawnShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
13947 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13948 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13951 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
13953 wxPyEndAllowThreads(__tstate
);
13954 if (PyErr_Occurred()) SWIG_fail
;
13956 Py_INCREF(Py_None
); resultobj
= Py_None
;
13963 static PyObject
*_wrap_PyDrawnShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13964 PyObject
*resultobj
;
13965 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13968 PyObject
* obj0
= 0 ;
13969 char *kwnames
[] = {
13970 (char *) "self",(char *) "w",(char *) "h", NULL
13973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyDrawnShape_base_OnBeginSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
13974 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13977 (arg1
)->base_OnBeginSize(arg2
,arg3
);
13979 wxPyEndAllowThreads(__tstate
);
13980 if (PyErr_Occurred()) SWIG_fail
;
13982 Py_INCREF(Py_None
); resultobj
= Py_None
;
13989 static PyObject
*_wrap_PyDrawnShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13990 PyObject
*resultobj
;
13991 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13994 PyObject
* obj0
= 0 ;
13995 char *kwnames
[] = {
13996 (char *) "self",(char *) "w",(char *) "h", NULL
13999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyDrawnShape_base_OnEndSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
14000 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14003 (arg1
)->base_OnEndSize(arg2
,arg3
);
14005 wxPyEndAllowThreads(__tstate
);
14006 if (PyErr_Occurred()) SWIG_fail
;
14008 Py_INCREF(Py_None
); resultobj
= Py_None
;
14015 static PyObject
* PyDrawnShape_swigregister(PyObject
*self
, PyObject
*args
) {
14017 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14018 SWIG_TypeClientData(SWIGTYPE_p_wxPyDrawnShape
, obj
);
14020 return Py_BuildValue((char *)"");
14022 static PyObject
*_wrap_new_OGLConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14023 PyObject
*resultobj
;
14025 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
14026 PyObject
*arg3
= (PyObject
*) 0 ;
14027 wxOGLConstraint
*result
;
14028 PyObject
* obj1
= 0 ;
14029 PyObject
* obj2
= 0 ;
14030 char *kwnames
[] = {
14031 (char *) "type",(char *) "constraining",(char *) "constrained", NULL
14034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iOO:new_OGLConstraint",kwnames
,&arg1
,&obj1
,&obj2
)) goto fail
;
14035 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14039 result
= (wxOGLConstraint
*)new_wxOGLConstraint(arg1
,arg2
,arg3
);
14041 wxPyEndAllowThreads(__tstate
);
14042 if (PyErr_Occurred()) SWIG_fail
;
14045 resultobj
= wxPyMake_wxObject(result
);
14053 static PyObject
*_wrap_OGLConstraint_Evaluate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14054 PyObject
*resultobj
;
14055 wxOGLConstraint
*arg1
= (wxOGLConstraint
*) 0 ;
14057 PyObject
* obj0
= 0 ;
14058 char *kwnames
[] = {
14059 (char *) "self", NULL
14062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:OGLConstraint_Evaluate",kwnames
,&obj0
)) goto fail
;
14063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxOGLConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14066 result
= (bool)(arg1
)->Evaluate();
14068 wxPyEndAllowThreads(__tstate
);
14069 if (PyErr_Occurred()) SWIG_fail
;
14071 resultobj
= PyInt_FromLong((long)result
);
14078 static PyObject
*_wrap_OGLConstraint_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14079 PyObject
*resultobj
;
14080 wxOGLConstraint
*arg1
= (wxOGLConstraint
*) 0 ;
14083 PyObject
* obj0
= 0 ;
14084 char *kwnames
[] = {
14085 (char *) "self",(char *) "x",(char *) "y", NULL
14088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:OGLConstraint_SetSpacing",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
14089 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxOGLConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14092 (arg1
)->SetSpacing(arg2
,arg3
);
14094 wxPyEndAllowThreads(__tstate
);
14095 if (PyErr_Occurred()) SWIG_fail
;
14097 Py_INCREF(Py_None
); resultobj
= Py_None
;
14104 static PyObject
*_wrap_OGLConstraint_Equals(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14105 PyObject
*resultobj
;
14106 wxOGLConstraint
*arg1
= (wxOGLConstraint
*) 0 ;
14110 PyObject
* obj0
= 0 ;
14111 char *kwnames
[] = {
14112 (char *) "self",(char *) "a",(char *) "b", NULL
14115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:OGLConstraint_Equals",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
14116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxOGLConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14119 result
= (bool)(arg1
)->Equals(arg2
,arg3
);
14121 wxPyEndAllowThreads(__tstate
);
14122 if (PyErr_Occurred()) SWIG_fail
;
14124 resultobj
= PyInt_FromLong((long)result
);
14131 static PyObject
* OGLConstraint_swigregister(PyObject
*self
, PyObject
*args
) {
14133 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14134 SWIG_TypeClientData(SWIGTYPE_p_wxOGLConstraint
, obj
);
14136 return Py_BuildValue((char *)"");
14138 static PyObject
*_wrap_new_PyCompositeShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14139 PyObject
*resultobj
;
14140 wxPyCompositeShape
*result
;
14141 char *kwnames
[] = {
14145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyCompositeShape",kwnames
)) goto fail
;
14147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14148 result
= (wxPyCompositeShape
*)new wxPyCompositeShape();
14150 wxPyEndAllowThreads(__tstate
);
14151 if (PyErr_Occurred()) SWIG_fail
;
14153 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyCompositeShape
, 1);
14160 static PyObject
*_wrap_PyCompositeShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14161 PyObject
*resultobj
;
14162 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14163 PyObject
*arg2
= (PyObject
*) 0 ;
14164 PyObject
*arg3
= (PyObject
*) 0 ;
14165 PyObject
* obj0
= 0 ;
14166 PyObject
* obj1
= 0 ;
14167 PyObject
* obj2
= 0 ;
14168 char *kwnames
[] = {
14169 (char *) "self",(char *) "self",(char *) "_class", NULL
14172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCompositeShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14173 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14178 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14180 wxPyEndAllowThreads(__tstate
);
14181 if (PyErr_Occurred()) SWIG_fail
;
14183 Py_INCREF(Py_None
); resultobj
= Py_None
;
14190 static PyObject
*_wrap_PyCompositeShape_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14191 PyObject
*resultobj
;
14192 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14193 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
14194 wxPyShape
*arg3
= (wxPyShape
*) NULL
;
14195 PyObject
* obj0
= 0 ;
14196 PyObject
* obj1
= 0 ;
14197 PyObject
* obj2
= 0 ;
14198 char *kwnames
[] = {
14199 (char *) "self",(char *) "child",(char *) "addAfter", NULL
14202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCompositeShape_AddChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14203 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14204 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14206 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14210 (arg1
)->AddChild(arg2
,arg3
);
14212 wxPyEndAllowThreads(__tstate
);
14213 if (PyErr_Occurred()) SWIG_fail
;
14215 Py_INCREF(Py_None
); resultobj
= Py_None
;
14222 static PyObject
*_wrap_PyCompositeShape_AddConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14223 PyObject
*resultobj
;
14224 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14225 wxOGLConstraint
*arg2
= (wxOGLConstraint
*) 0 ;
14226 wxOGLConstraint
*result
;
14227 PyObject
* obj0
= 0 ;
14228 PyObject
* obj1
= 0 ;
14229 char *kwnames
[] = {
14230 (char *) "self",(char *) "constraint", NULL
14233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_AddConstraint",kwnames
,&obj0
,&obj1
)) goto fail
;
14234 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14235 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxOGLConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14238 result
= (wxOGLConstraint
*)(arg1
)->AddConstraint(arg2
);
14240 wxPyEndAllowThreads(__tstate
);
14241 if (PyErr_Occurred()) SWIG_fail
;
14244 resultobj
= wxPyMake_wxObject(result
);
14252 static PyObject
*_wrap_PyCompositeShape_AddConstrainedShapes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14253 PyObject
*resultobj
;
14254 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14256 wxPyShape
*arg3
= (wxPyShape
*) 0 ;
14257 PyObject
*arg4
= (PyObject
*) 0 ;
14258 wxOGLConstraint
*result
;
14259 PyObject
* obj0
= 0 ;
14260 PyObject
* obj2
= 0 ;
14261 PyObject
* obj3
= 0 ;
14262 char *kwnames
[] = {
14263 (char *) "self",(char *) "type",(char *) "constraining",(char *) "constrained", NULL
14266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOO:PyCompositeShape_AddConstrainedShapes",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
14267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14268 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14272 result
= (wxOGLConstraint
*)wxPyCompositeShape_AddConstrainedShapes(arg1
,arg2
,arg3
,arg4
);
14274 wxPyEndAllowThreads(__tstate
);
14275 if (PyErr_Occurred()) SWIG_fail
;
14278 resultobj
= wxPyMake_wxObject(result
);
14286 static PyObject
*_wrap_PyCompositeShape_AddSimpleConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14287 PyObject
*resultobj
;
14288 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14290 wxPyShape
*arg3
= (wxPyShape
*) 0 ;
14291 wxPyShape
*arg4
= (wxPyShape
*) 0 ;
14292 wxOGLConstraint
*result
;
14293 PyObject
* obj0
= 0 ;
14294 PyObject
* obj2
= 0 ;
14295 PyObject
* obj3
= 0 ;
14296 char *kwnames
[] = {
14297 (char *) "self",(char *) "type",(char *) "constraining",(char *) "constrained", NULL
14300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOO:PyCompositeShape_AddSimpleConstraint",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
14301 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14302 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14303 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14306 result
= (wxOGLConstraint
*)(arg1
)->AddConstraint(arg2
,arg3
,arg4
);
14308 wxPyEndAllowThreads(__tstate
);
14309 if (PyErr_Occurred()) SWIG_fail
;
14312 resultobj
= wxPyMake_wxObject(result
);
14320 static PyObject
*_wrap_PyCompositeShape_CalculateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14321 PyObject
*resultobj
;
14322 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14323 PyObject
* obj0
= 0 ;
14324 char *kwnames
[] = {
14325 (char *) "self", NULL
14328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_CalculateSize",kwnames
,&obj0
)) goto fail
;
14329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14332 (arg1
)->CalculateSize();
14334 wxPyEndAllowThreads(__tstate
);
14335 if (PyErr_Occurred()) SWIG_fail
;
14337 Py_INCREF(Py_None
); resultobj
= Py_None
;
14344 static PyObject
*_wrap_PyCompositeShape_ContainsDivision(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14345 PyObject
*resultobj
;
14346 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14347 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
14349 PyObject
* obj0
= 0 ;
14350 PyObject
* obj1
= 0 ;
14351 char *kwnames
[] = {
14352 (char *) "self",(char *) "division", NULL
14355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_ContainsDivision",kwnames
,&obj0
,&obj1
)) goto fail
;
14356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14357 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14360 result
= (bool)(arg1
)->ContainsDivision(arg2
);
14362 wxPyEndAllowThreads(__tstate
);
14363 if (PyErr_Occurred()) SWIG_fail
;
14365 resultobj
= PyInt_FromLong((long)result
);
14372 static PyObject
*_wrap_PyCompositeShape_DeleteConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14373 PyObject
*resultobj
;
14374 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14375 wxOGLConstraint
*arg2
= (wxOGLConstraint
*) 0 ;
14376 PyObject
* obj0
= 0 ;
14377 PyObject
* obj1
= 0 ;
14378 char *kwnames
[] = {
14379 (char *) "self",(char *) "constraint", NULL
14382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_DeleteConstraint",kwnames
,&obj0
,&obj1
)) goto fail
;
14383 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14384 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxOGLConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14387 (arg1
)->DeleteConstraint(arg2
);
14389 wxPyEndAllowThreads(__tstate
);
14390 if (PyErr_Occurred()) SWIG_fail
;
14392 Py_INCREF(Py_None
); resultobj
= Py_None
;
14399 static PyObject
*_wrap_PyCompositeShape_DeleteConstraintsInvolvingChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14400 PyObject
*resultobj
;
14401 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14402 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
14403 PyObject
* obj0
= 0 ;
14404 PyObject
* obj1
= 0 ;
14405 char *kwnames
[] = {
14406 (char *) "self",(char *) "child", NULL
14409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_DeleteConstraintsInvolvingChild",kwnames
,&obj0
,&obj1
)) goto fail
;
14410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14411 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14414 (arg1
)->DeleteConstraintsInvolvingChild(arg2
);
14416 wxPyEndAllowThreads(__tstate
);
14417 if (PyErr_Occurred()) SWIG_fail
;
14419 Py_INCREF(Py_None
); resultobj
= Py_None
;
14426 static PyObject
*_wrap_PyCompositeShape_FindContainerImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14427 PyObject
*resultobj
;
14428 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14430 PyObject
* obj0
= 0 ;
14431 char *kwnames
[] = {
14432 (char *) "self", NULL
14435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_FindContainerImage",kwnames
,&obj0
)) goto fail
;
14436 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14439 result
= (wxPyShape
*)(arg1
)->FindContainerImage();
14441 wxPyEndAllowThreads(__tstate
);
14442 if (PyErr_Occurred()) SWIG_fail
;
14445 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
14453 static PyObject
*_wrap_PyCompositeShape_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14454 PyObject
*resultobj
;
14455 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14457 PyObject
* obj0
= 0 ;
14458 char *kwnames
[] = {
14459 (char *) "self", NULL
14462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_GetConstraints",kwnames
,&obj0
)) goto fail
;
14463 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14466 result
= (PyObject
*)wxPyCompositeShape_GetConstraints(arg1
);
14468 wxPyEndAllowThreads(__tstate
);
14469 if (PyErr_Occurred()) SWIG_fail
;
14471 resultobj
= result
;
14478 static PyObject
*_wrap_PyCompositeShape_GetDivisions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14479 PyObject
*resultobj
;
14480 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14482 PyObject
* obj0
= 0 ;
14483 char *kwnames
[] = {
14484 (char *) "self", NULL
14487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_GetDivisions",kwnames
,&obj0
)) goto fail
;
14488 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14491 result
= (PyObject
*)wxPyCompositeShape_GetDivisions(arg1
);
14493 wxPyEndAllowThreads(__tstate
);
14494 if (PyErr_Occurred()) SWIG_fail
;
14496 resultobj
= result
;
14503 static PyObject
*_wrap_PyCompositeShape_MakeContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14504 PyObject
*resultobj
;
14505 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14506 PyObject
* obj0
= 0 ;
14507 char *kwnames
[] = {
14508 (char *) "self", NULL
14511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_MakeContainer",kwnames
,&obj0
)) goto fail
;
14512 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14515 (arg1
)->MakeContainer();
14517 wxPyEndAllowThreads(__tstate
);
14518 if (PyErr_Occurred()) SWIG_fail
;
14520 Py_INCREF(Py_None
); resultobj
= Py_None
;
14527 static PyObject
*_wrap_PyCompositeShape_Recompute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14528 PyObject
*resultobj
;
14529 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14531 PyObject
* obj0
= 0 ;
14532 char *kwnames
[] = {
14533 (char *) "self", NULL
14536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_Recompute",kwnames
,&obj0
)) goto fail
;
14537 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14540 result
= (bool)(arg1
)->Recompute();
14542 wxPyEndAllowThreads(__tstate
);
14543 if (PyErr_Occurred()) SWIG_fail
;
14545 resultobj
= PyInt_FromLong((long)result
);
14552 static PyObject
*_wrap_PyCompositeShape_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14553 PyObject
*resultobj
;
14554 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14555 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
14556 PyObject
* obj0
= 0 ;
14557 PyObject
* obj1
= 0 ;
14558 char *kwnames
[] = {
14559 (char *) "self",(char *) "child", NULL
14562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
14563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14564 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14567 (arg1
)->RemoveChild(arg2
);
14569 wxPyEndAllowThreads(__tstate
);
14570 if (PyErr_Occurred()) SWIG_fail
;
14572 Py_INCREF(Py_None
); resultobj
= Py_None
;
14579 static PyObject
*_wrap_PyCompositeShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14580 PyObject
*resultobj
;
14581 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14582 PyObject
* obj0
= 0 ;
14583 char *kwnames
[] = {
14584 (char *) "self", NULL
14587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
14588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14591 (arg1
)->base_OnDelete();
14593 wxPyEndAllowThreads(__tstate
);
14594 if (PyErr_Occurred()) SWIG_fail
;
14596 Py_INCREF(Py_None
); resultobj
= Py_None
;
14603 static PyObject
*_wrap_PyCompositeShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14604 PyObject
*resultobj
;
14605 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14607 PyObject
* obj0
= 0 ;
14608 PyObject
* obj1
= 0 ;
14609 char *kwnames
[] = {
14610 (char *) "self",(char *) "dc", NULL
14613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
14614 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14615 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14616 if (arg2
== NULL
) {
14617 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14621 (arg1
)->base_OnDraw(*arg2
);
14623 wxPyEndAllowThreads(__tstate
);
14624 if (PyErr_Occurred()) SWIG_fail
;
14626 Py_INCREF(Py_None
); resultobj
= Py_None
;
14633 static PyObject
*_wrap_PyCompositeShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14634 PyObject
*resultobj
;
14635 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14637 PyObject
* obj0
= 0 ;
14638 PyObject
* obj1
= 0 ;
14639 char *kwnames
[] = {
14640 (char *) "self",(char *) "dc", NULL
14643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
14644 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14645 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14646 if (arg2
== NULL
) {
14647 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14651 (arg1
)->base_OnDrawContents(*arg2
);
14653 wxPyEndAllowThreads(__tstate
);
14654 if (PyErr_Occurred()) SWIG_fail
;
14656 Py_INCREF(Py_None
); resultobj
= Py_None
;
14663 static PyObject
*_wrap_PyCompositeShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14664 PyObject
*resultobj
;
14665 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14667 bool arg3
= (bool) FALSE
;
14668 PyObject
* obj0
= 0 ;
14669 PyObject
* obj1
= 0 ;
14670 PyObject
* obj2
= 0 ;
14671 char *kwnames
[] = {
14672 (char *) "self",(char *) "dc",(char *) "erase", NULL
14675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCompositeShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14676 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14677 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14678 if (arg2
== NULL
) {
14679 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14682 arg3
= PyInt_AsLong(obj2
) ? true : false;
14683 if (PyErr_Occurred()) SWIG_fail
;
14686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14687 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
14689 wxPyEndAllowThreads(__tstate
);
14690 if (PyErr_Occurred()) SWIG_fail
;
14692 Py_INCREF(Py_None
); resultobj
= Py_None
;
14699 static PyObject
*_wrap_PyCompositeShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14700 PyObject
*resultobj
;
14701 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14703 PyObject
* obj0
= 0 ;
14704 PyObject
* obj1
= 0 ;
14705 char *kwnames
[] = {
14706 (char *) "self",(char *) "dc", NULL
14709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
14710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14711 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14712 if (arg2
== NULL
) {
14713 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14717 (arg1
)->base_OnMoveLinks(*arg2
);
14719 wxPyEndAllowThreads(__tstate
);
14720 if (PyErr_Occurred()) SWIG_fail
;
14722 Py_INCREF(Py_None
); resultobj
= Py_None
;
14729 static PyObject
*_wrap_PyCompositeShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14730 PyObject
*resultobj
;
14731 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14733 PyObject
* obj0
= 0 ;
14734 PyObject
* obj1
= 0 ;
14735 char *kwnames
[] = {
14736 (char *) "self",(char *) "dc", NULL
14739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
14740 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14741 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14742 if (arg2
== NULL
) {
14743 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14747 (arg1
)->base_OnErase(*arg2
);
14749 wxPyEndAllowThreads(__tstate
);
14750 if (PyErr_Occurred()) SWIG_fail
;
14752 Py_INCREF(Py_None
); resultobj
= Py_None
;
14759 static PyObject
*_wrap_PyCompositeShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14760 PyObject
*resultobj
;
14761 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14763 PyObject
* obj0
= 0 ;
14764 PyObject
* obj1
= 0 ;
14765 char *kwnames
[] = {
14766 (char *) "self",(char *) "dc", NULL
14769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
14770 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14771 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14772 if (arg2
== NULL
) {
14773 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14777 (arg1
)->base_OnEraseContents(*arg2
);
14779 wxPyEndAllowThreads(__tstate
);
14780 if (PyErr_Occurred()) SWIG_fail
;
14782 Py_INCREF(Py_None
); resultobj
= Py_None
;
14789 static PyObject
*_wrap_PyCompositeShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14790 PyObject
*resultobj
;
14791 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14793 PyObject
* obj0
= 0 ;
14794 PyObject
* obj1
= 0 ;
14795 char *kwnames
[] = {
14796 (char *) "self",(char *) "dc", NULL
14799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
14800 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14801 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14802 if (arg2
== NULL
) {
14803 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14807 (arg1
)->base_OnHighlight(*arg2
);
14809 wxPyEndAllowThreads(__tstate
);
14810 if (PyErr_Occurred()) SWIG_fail
;
14812 Py_INCREF(Py_None
); resultobj
= Py_None
;
14819 static PyObject
*_wrap_PyCompositeShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14820 PyObject
*resultobj
;
14821 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14824 int arg4
= (int) 0 ;
14825 int arg5
= (int) 0 ;
14826 PyObject
* obj0
= 0 ;
14827 char *kwnames
[] = {
14828 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyCompositeShape_base_OnLeftClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
14832 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14835 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
14837 wxPyEndAllowThreads(__tstate
);
14838 if (PyErr_Occurred()) SWIG_fail
;
14840 Py_INCREF(Py_None
); resultobj
= Py_None
;
14847 static PyObject
*_wrap_PyCompositeShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14848 PyObject
*resultobj
;
14849 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14852 int arg4
= (int) 0 ;
14853 int arg5
= (int) 0 ;
14854 PyObject
* obj0
= 0 ;
14855 char *kwnames
[] = {
14856 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyCompositeShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
14860 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14863 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
14865 wxPyEndAllowThreads(__tstate
);
14866 if (PyErr_Occurred()) SWIG_fail
;
14868 Py_INCREF(Py_None
); resultobj
= Py_None
;
14875 static PyObject
*_wrap_PyCompositeShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14876 PyObject
*resultobj
;
14877 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14880 int arg4
= (int) 0 ;
14881 int arg5
= (int) 0 ;
14882 PyObject
* obj0
= 0 ;
14883 char *kwnames
[] = {
14884 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyCompositeShape_base_OnRightClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
14888 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14891 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
14893 wxPyEndAllowThreads(__tstate
);
14894 if (PyErr_Occurred()) SWIG_fail
;
14896 Py_INCREF(Py_None
); resultobj
= Py_None
;
14903 static PyObject
*_wrap_PyCompositeShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14904 PyObject
*resultobj
;
14905 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14908 PyObject
* obj0
= 0 ;
14909 char *kwnames
[] = {
14910 (char *) "self",(char *) "x",(char *) "y", NULL
14913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyCompositeShape_base_OnSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
14914 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14917 (arg1
)->base_OnSize(arg2
,arg3
);
14919 wxPyEndAllowThreads(__tstate
);
14920 if (PyErr_Occurred()) SWIG_fail
;
14922 Py_INCREF(Py_None
); resultobj
= Py_None
;
14929 static PyObject
*_wrap_PyCompositeShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14930 PyObject
*resultobj
;
14931 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14937 bool arg7
= (bool) True
;
14939 PyObject
* obj0
= 0 ;
14940 PyObject
* obj1
= 0 ;
14941 PyObject
* obj6
= 0 ;
14942 char *kwnames
[] = {
14943 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
14946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyCompositeShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
14947 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14948 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14949 if (arg2
== NULL
) {
14950 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14953 arg7
= PyInt_AsLong(obj6
) ? true : false;
14954 if (PyErr_Occurred()) SWIG_fail
;
14957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14958 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
14960 wxPyEndAllowThreads(__tstate
);
14961 if (PyErr_Occurred()) SWIG_fail
;
14963 resultobj
= PyInt_FromLong((long)result
);
14970 static PyObject
*_wrap_PyCompositeShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14971 PyObject
*resultobj
;
14972 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14978 bool arg7
= (bool) True
;
14979 PyObject
* obj0
= 0 ;
14980 PyObject
* obj1
= 0 ;
14981 PyObject
* obj6
= 0 ;
14982 char *kwnames
[] = {
14983 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
14986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyCompositeShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
14987 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14988 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14989 if (arg2
== NULL
) {
14990 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14993 arg7
= PyInt_AsLong(obj6
) ? true : false;
14994 if (PyErr_Occurred()) SWIG_fail
;
14997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14998 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
15000 wxPyEndAllowThreads(__tstate
);
15001 if (PyErr_Occurred()) SWIG_fail
;
15003 Py_INCREF(Py_None
); resultobj
= Py_None
;
15010 static PyObject
*_wrap_PyCompositeShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15011 PyObject
*resultobj
;
15012 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
15016 int arg5
= (int) 0 ;
15017 int arg6
= (int) 0 ;
15018 PyObject
* obj0
= 0 ;
15019 PyObject
* obj1
= 0 ;
15020 char *kwnames
[] = {
15021 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyCompositeShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
15025 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15026 arg2
= PyInt_AsLong(obj1
) ? true : false;
15027 if (PyErr_Occurred()) SWIG_fail
;
15029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15030 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
15032 wxPyEndAllowThreads(__tstate
);
15033 if (PyErr_Occurred()) SWIG_fail
;
15035 Py_INCREF(Py_None
); resultobj
= Py_None
;
15042 static PyObject
*_wrap_PyCompositeShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15043 PyObject
*resultobj
;
15044 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
15047 int arg4
= (int) 0 ;
15048 int arg5
= (int) 0 ;
15049 PyObject
* obj0
= 0 ;
15050 char *kwnames
[] = {
15051 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyCompositeShape_base_OnBeginDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
15055 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15058 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
15060 wxPyEndAllowThreads(__tstate
);
15061 if (PyErr_Occurred()) SWIG_fail
;
15063 Py_INCREF(Py_None
); resultobj
= Py_None
;
15070 static PyObject
*_wrap_PyCompositeShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15071 PyObject
*resultobj
;
15072 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
15075 int arg4
= (int) 0 ;
15076 int arg5
= (int) 0 ;
15077 PyObject
* obj0
= 0 ;
15078 char *kwnames
[] = {
15079 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyCompositeShape_base_OnEndDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
15083 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15086 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
15088 wxPyEndAllowThreads(__tstate
);
15089 if (PyErr_Occurred()) SWIG_fail
;
15091 Py_INCREF(Py_None
); resultobj
= Py_None
;
15098 static PyObject
*_wrap_PyCompositeShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15099 PyObject
*resultobj
;
15100 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
15104 int arg5
= (int) 0 ;
15105 int arg6
= (int) 0 ;
15106 PyObject
* obj0
= 0 ;
15107 PyObject
* obj1
= 0 ;
15108 char *kwnames
[] = {
15109 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyCompositeShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
15113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15114 arg2
= PyInt_AsLong(obj1
) ? true : false;
15115 if (PyErr_Occurred()) SWIG_fail
;
15117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15118 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
15120 wxPyEndAllowThreads(__tstate
);
15121 if (PyErr_Occurred()) SWIG_fail
;
15123 Py_INCREF(Py_None
); resultobj
= Py_None
;
15130 static PyObject
*_wrap_PyCompositeShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15131 PyObject
*resultobj
;
15132 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
15135 int arg4
= (int) 0 ;
15136 int arg5
= (int) 0 ;
15137 PyObject
* obj0
= 0 ;
15138 char *kwnames
[] = {
15139 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyCompositeShape_base_OnBeginDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
15143 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15146 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
15148 wxPyEndAllowThreads(__tstate
);
15149 if (PyErr_Occurred()) SWIG_fail
;
15151 Py_INCREF(Py_None
); resultobj
= Py_None
;
15158 static PyObject
*_wrap_PyCompositeShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15159 PyObject
*resultobj
;
15160 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
15163 int arg4
= (int) 0 ;
15164 int arg5
= (int) 0 ;
15165 PyObject
* obj0
= 0 ;
15166 char *kwnames
[] = {
15167 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyCompositeShape_base_OnEndDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
15171 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15174 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
15176 wxPyEndAllowThreads(__tstate
);
15177 if (PyErr_Occurred()) SWIG_fail
;
15179 Py_INCREF(Py_None
); resultobj
= Py_None
;
15186 static PyObject
*_wrap_PyCompositeShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15187 PyObject
*resultobj
;
15188 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
15194 PyObject
* obj0
= 0 ;
15195 PyObject
* obj1
= 0 ;
15196 char *kwnames
[] = {
15197 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
15200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd:PyCompositeShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
15201 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15202 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15203 if (arg2
== NULL
) {
15204 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15208 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
15210 wxPyEndAllowThreads(__tstate
);
15211 if (PyErr_Occurred()) SWIG_fail
;
15213 Py_INCREF(Py_None
); resultobj
= Py_None
;
15220 static PyObject
*_wrap_PyCompositeShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15221 PyObject
*resultobj
;
15222 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
15224 PyObject
* obj0
= 0 ;
15225 PyObject
* obj1
= 0 ;
15226 char *kwnames
[] = {
15227 (char *) "self",(char *) "dc", NULL
15230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
15231 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15232 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15233 if (arg2
== NULL
) {
15234 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15238 (arg1
)->base_OnDrawControlPoints(*arg2
);
15240 wxPyEndAllowThreads(__tstate
);
15241 if (PyErr_Occurred()) SWIG_fail
;
15243 Py_INCREF(Py_None
); resultobj
= Py_None
;
15250 static PyObject
*_wrap_PyCompositeShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15251 PyObject
*resultobj
;
15252 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
15254 PyObject
* obj0
= 0 ;
15255 PyObject
* obj1
= 0 ;
15256 char *kwnames
[] = {
15257 (char *) "self",(char *) "dc", NULL
15260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
15261 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15262 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15263 if (arg2
== NULL
) {
15264 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15268 (arg1
)->base_OnEraseControlPoints(*arg2
);
15270 wxPyEndAllowThreads(__tstate
);
15271 if (PyErr_Occurred()) SWIG_fail
;
15273 Py_INCREF(Py_None
); resultobj
= Py_None
;
15280 static PyObject
*_wrap_PyCompositeShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15281 PyObject
*resultobj
;
15282 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
15284 bool arg3
= (bool) True
;
15285 PyObject
* obj0
= 0 ;
15286 PyObject
* obj1
= 0 ;
15287 PyObject
* obj2
= 0 ;
15288 char *kwnames
[] = {
15289 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
15292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCompositeShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15293 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15294 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15295 if (arg2
== NULL
) {
15296 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15299 arg3
= PyInt_AsLong(obj2
) ? true : false;
15300 if (PyErr_Occurred()) SWIG_fail
;
15303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15304 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
15306 wxPyEndAllowThreads(__tstate
);
15307 if (PyErr_Occurred()) SWIG_fail
;
15309 Py_INCREF(Py_None
); resultobj
= Py_None
;
15316 static PyObject
*_wrap_PyCompositeShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15317 PyObject
*resultobj
;
15318 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
15319 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
15323 int arg6
= (int) 0 ;
15324 int arg7
= (int) 0 ;
15325 PyObject
* obj0
= 0 ;
15326 PyObject
* obj1
= 0 ;
15327 PyObject
* obj2
= 0 ;
15328 char *kwnames
[] = {
15329 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd|ii:PyCompositeShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
15333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15334 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15335 arg3
= PyInt_AsLong(obj2
) ? true : false;
15336 if (PyErr_Occurred()) SWIG_fail
;
15338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15339 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
15341 wxPyEndAllowThreads(__tstate
);
15342 if (PyErr_Occurred()) SWIG_fail
;
15344 Py_INCREF(Py_None
); resultobj
= Py_None
;
15351 static PyObject
*_wrap_PyCompositeShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15352 PyObject
*resultobj
;
15353 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
15354 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
15357 int arg5
= (int) 0 ;
15358 int arg6
= (int) 0 ;
15359 PyObject
* obj0
= 0 ;
15360 PyObject
* obj1
= 0 ;
15361 char *kwnames
[] = {
15362 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyCompositeShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
15366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15367 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15370 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
15372 wxPyEndAllowThreads(__tstate
);
15373 if (PyErr_Occurred()) SWIG_fail
;
15375 Py_INCREF(Py_None
); resultobj
= Py_None
;
15382 static PyObject
*_wrap_PyCompositeShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15383 PyObject
*resultobj
;
15384 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
15385 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
15388 int arg5
= (int) 0 ;
15389 int arg6
= (int) 0 ;
15390 PyObject
* obj0
= 0 ;
15391 PyObject
* obj1
= 0 ;
15392 char *kwnames
[] = {
15393 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyCompositeShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
15397 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15398 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15401 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
15403 wxPyEndAllowThreads(__tstate
);
15404 if (PyErr_Occurred()) SWIG_fail
;
15406 Py_INCREF(Py_None
); resultobj
= Py_None
;
15413 static PyObject
*_wrap_PyCompositeShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15414 PyObject
*resultobj
;
15415 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
15418 PyObject
* obj0
= 0 ;
15419 char *kwnames
[] = {
15420 (char *) "self",(char *) "w",(char *) "h", NULL
15423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyCompositeShape_base_OnBeginSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
15424 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15427 (arg1
)->base_OnBeginSize(arg2
,arg3
);
15429 wxPyEndAllowThreads(__tstate
);
15430 if (PyErr_Occurred()) SWIG_fail
;
15432 Py_INCREF(Py_None
); resultobj
= Py_None
;
15439 static PyObject
*_wrap_PyCompositeShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15440 PyObject
*resultobj
;
15441 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
15444 PyObject
* obj0
= 0 ;
15445 char *kwnames
[] = {
15446 (char *) "self",(char *) "w",(char *) "h", NULL
15449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyCompositeShape_base_OnEndSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
15450 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15453 (arg1
)->base_OnEndSize(arg2
,arg3
);
15455 wxPyEndAllowThreads(__tstate
);
15456 if (PyErr_Occurred()) SWIG_fail
;
15458 Py_INCREF(Py_None
); resultobj
= Py_None
;
15465 static PyObject
* PyCompositeShape_swigregister(PyObject
*self
, PyObject
*args
) {
15467 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15468 SWIG_TypeClientData(SWIGTYPE_p_wxPyCompositeShape
, obj
);
15470 return Py_BuildValue((char *)"");
15472 static PyObject
*_wrap_new_PyDividedShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15473 PyObject
*resultobj
;
15474 double arg1
= (double) 0.0 ;
15475 double arg2
= (double) 0.0 ;
15476 wxPyDividedShape
*result
;
15477 char *kwnames
[] = {
15478 (char *) "width",(char *) "height", NULL
15481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|dd:new_PyDividedShape",kwnames
,&arg1
,&arg2
)) goto fail
;
15483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15484 result
= (wxPyDividedShape
*)new wxPyDividedShape(arg1
,arg2
);
15486 wxPyEndAllowThreads(__tstate
);
15487 if (PyErr_Occurred()) SWIG_fail
;
15489 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyDividedShape
, 1);
15496 static PyObject
*_wrap_PyDividedShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15497 PyObject
*resultobj
;
15498 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15499 PyObject
*arg2
= (PyObject
*) 0 ;
15500 PyObject
*arg3
= (PyObject
*) 0 ;
15501 PyObject
* obj0
= 0 ;
15502 PyObject
* obj1
= 0 ;
15503 PyObject
* obj2
= 0 ;
15504 char *kwnames
[] = {
15505 (char *) "self",(char *) "self",(char *) "_class", NULL
15508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDividedShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15509 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15514 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15516 wxPyEndAllowThreads(__tstate
);
15517 if (PyErr_Occurred()) SWIG_fail
;
15519 Py_INCREF(Py_None
); resultobj
= Py_None
;
15526 static PyObject
*_wrap_PyDividedShape_EditRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15527 PyObject
*resultobj
;
15528 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15529 PyObject
* obj0
= 0 ;
15530 char *kwnames
[] = {
15531 (char *) "self", NULL
15534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDividedShape_EditRegions",kwnames
,&obj0
)) goto fail
;
15535 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15538 (arg1
)->EditRegions();
15540 wxPyEndAllowThreads(__tstate
);
15541 if (PyErr_Occurred()) SWIG_fail
;
15543 Py_INCREF(Py_None
); resultobj
= Py_None
;
15550 static PyObject
*_wrap_PyDividedShape_SetRegionSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15551 PyObject
*resultobj
;
15552 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15553 PyObject
* obj0
= 0 ;
15554 char *kwnames
[] = {
15555 (char *) "self", NULL
15558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDividedShape_SetRegionSizes",kwnames
,&obj0
)) goto fail
;
15559 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15562 (arg1
)->SetRegionSizes();
15564 wxPyEndAllowThreads(__tstate
);
15565 if (PyErr_Occurred()) SWIG_fail
;
15567 Py_INCREF(Py_None
); resultobj
= Py_None
;
15574 static PyObject
*_wrap_PyDividedShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15575 PyObject
*resultobj
;
15576 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15577 PyObject
* obj0
= 0 ;
15578 char *kwnames
[] = {
15579 (char *) "self", NULL
15582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDividedShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
15583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15586 (arg1
)->base_OnDelete();
15588 wxPyEndAllowThreads(__tstate
);
15589 if (PyErr_Occurred()) SWIG_fail
;
15591 Py_INCREF(Py_None
); resultobj
= Py_None
;
15598 static PyObject
*_wrap_PyDividedShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15599 PyObject
*resultobj
;
15600 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15602 PyObject
* obj0
= 0 ;
15603 PyObject
* obj1
= 0 ;
15604 char *kwnames
[] = {
15605 (char *) "self",(char *) "dc", NULL
15608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
15609 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15610 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15611 if (arg2
== NULL
) {
15612 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15616 (arg1
)->base_OnDraw(*arg2
);
15618 wxPyEndAllowThreads(__tstate
);
15619 if (PyErr_Occurred()) SWIG_fail
;
15621 Py_INCREF(Py_None
); resultobj
= Py_None
;
15628 static PyObject
*_wrap_PyDividedShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15629 PyObject
*resultobj
;
15630 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15632 PyObject
* obj0
= 0 ;
15633 PyObject
* obj1
= 0 ;
15634 char *kwnames
[] = {
15635 (char *) "self",(char *) "dc", NULL
15638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
15639 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15640 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15641 if (arg2
== NULL
) {
15642 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15646 (arg1
)->base_OnDrawContents(*arg2
);
15648 wxPyEndAllowThreads(__tstate
);
15649 if (PyErr_Occurred()) SWIG_fail
;
15651 Py_INCREF(Py_None
); resultobj
= Py_None
;
15658 static PyObject
*_wrap_PyDividedShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15659 PyObject
*resultobj
;
15660 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15662 bool arg3
= (bool) FALSE
;
15663 PyObject
* obj0
= 0 ;
15664 PyObject
* obj1
= 0 ;
15665 PyObject
* obj2
= 0 ;
15666 char *kwnames
[] = {
15667 (char *) "self",(char *) "dc",(char *) "erase", NULL
15670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDividedShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15672 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15673 if (arg2
== NULL
) {
15674 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15677 arg3
= PyInt_AsLong(obj2
) ? true : false;
15678 if (PyErr_Occurred()) SWIG_fail
;
15681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15682 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
15684 wxPyEndAllowThreads(__tstate
);
15685 if (PyErr_Occurred()) SWIG_fail
;
15687 Py_INCREF(Py_None
); resultobj
= Py_None
;
15694 static PyObject
*_wrap_PyDividedShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15695 PyObject
*resultobj
;
15696 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15698 PyObject
* obj0
= 0 ;
15699 PyObject
* obj1
= 0 ;
15700 char *kwnames
[] = {
15701 (char *) "self",(char *) "dc", NULL
15704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
15705 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15706 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15707 if (arg2
== NULL
) {
15708 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15712 (arg1
)->base_OnMoveLinks(*arg2
);
15714 wxPyEndAllowThreads(__tstate
);
15715 if (PyErr_Occurred()) SWIG_fail
;
15717 Py_INCREF(Py_None
); resultobj
= Py_None
;
15724 static PyObject
*_wrap_PyDividedShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15725 PyObject
*resultobj
;
15726 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15728 PyObject
* obj0
= 0 ;
15729 PyObject
* obj1
= 0 ;
15730 char *kwnames
[] = {
15731 (char *) "self",(char *) "dc", NULL
15734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
15735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15736 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15737 if (arg2
== NULL
) {
15738 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15742 (arg1
)->base_OnErase(*arg2
);
15744 wxPyEndAllowThreads(__tstate
);
15745 if (PyErr_Occurred()) SWIG_fail
;
15747 Py_INCREF(Py_None
); resultobj
= Py_None
;
15754 static PyObject
*_wrap_PyDividedShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15755 PyObject
*resultobj
;
15756 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15758 PyObject
* obj0
= 0 ;
15759 PyObject
* obj1
= 0 ;
15760 char *kwnames
[] = {
15761 (char *) "self",(char *) "dc", NULL
15764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
15765 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15766 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15767 if (arg2
== NULL
) {
15768 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15772 (arg1
)->base_OnEraseContents(*arg2
);
15774 wxPyEndAllowThreads(__tstate
);
15775 if (PyErr_Occurred()) SWIG_fail
;
15777 Py_INCREF(Py_None
); resultobj
= Py_None
;
15784 static PyObject
*_wrap_PyDividedShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15785 PyObject
*resultobj
;
15786 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15788 PyObject
* obj0
= 0 ;
15789 PyObject
* obj1
= 0 ;
15790 char *kwnames
[] = {
15791 (char *) "self",(char *) "dc", NULL
15794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
15795 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15796 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15797 if (arg2
== NULL
) {
15798 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15802 (arg1
)->base_OnHighlight(*arg2
);
15804 wxPyEndAllowThreads(__tstate
);
15805 if (PyErr_Occurred()) SWIG_fail
;
15807 Py_INCREF(Py_None
); resultobj
= Py_None
;
15814 static PyObject
*_wrap_PyDividedShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15815 PyObject
*resultobj
;
15816 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15819 int arg4
= (int) 0 ;
15820 int arg5
= (int) 0 ;
15821 PyObject
* obj0
= 0 ;
15822 char *kwnames
[] = {
15823 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDividedShape_base_OnLeftClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
15827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15830 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
15832 wxPyEndAllowThreads(__tstate
);
15833 if (PyErr_Occurred()) SWIG_fail
;
15835 Py_INCREF(Py_None
); resultobj
= Py_None
;
15842 static PyObject
*_wrap_PyDividedShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15843 PyObject
*resultobj
;
15844 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15847 int arg4
= (int) 0 ;
15848 int arg5
= (int) 0 ;
15849 PyObject
* obj0
= 0 ;
15850 char *kwnames
[] = {
15851 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDividedShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
15855 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15858 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
15860 wxPyEndAllowThreads(__tstate
);
15861 if (PyErr_Occurred()) SWIG_fail
;
15863 Py_INCREF(Py_None
); resultobj
= Py_None
;
15870 static PyObject
*_wrap_PyDividedShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15871 PyObject
*resultobj
;
15872 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15875 int arg4
= (int) 0 ;
15876 int arg5
= (int) 0 ;
15877 PyObject
* obj0
= 0 ;
15878 char *kwnames
[] = {
15879 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDividedShape_base_OnRightClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
15883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15886 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
15888 wxPyEndAllowThreads(__tstate
);
15889 if (PyErr_Occurred()) SWIG_fail
;
15891 Py_INCREF(Py_None
); resultobj
= Py_None
;
15898 static PyObject
*_wrap_PyDividedShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15899 PyObject
*resultobj
;
15900 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15903 PyObject
* obj0
= 0 ;
15904 char *kwnames
[] = {
15905 (char *) "self",(char *) "x",(char *) "y", NULL
15908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyDividedShape_base_OnSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
15909 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15912 (arg1
)->base_OnSize(arg2
,arg3
);
15914 wxPyEndAllowThreads(__tstate
);
15915 if (PyErr_Occurred()) SWIG_fail
;
15917 Py_INCREF(Py_None
); resultobj
= Py_None
;
15924 static PyObject
*_wrap_PyDividedShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15925 PyObject
*resultobj
;
15926 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15932 bool arg7
= (bool) True
;
15934 PyObject
* obj0
= 0 ;
15935 PyObject
* obj1
= 0 ;
15936 PyObject
* obj6
= 0 ;
15937 char *kwnames
[] = {
15938 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
15941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyDividedShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
15942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15943 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15944 if (arg2
== NULL
) {
15945 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15948 arg7
= PyInt_AsLong(obj6
) ? true : false;
15949 if (PyErr_Occurred()) SWIG_fail
;
15952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15953 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
15955 wxPyEndAllowThreads(__tstate
);
15956 if (PyErr_Occurred()) SWIG_fail
;
15958 resultobj
= PyInt_FromLong((long)result
);
15965 static PyObject
*_wrap_PyDividedShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15966 PyObject
*resultobj
;
15967 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15973 bool arg7
= (bool) True
;
15974 PyObject
* obj0
= 0 ;
15975 PyObject
* obj1
= 0 ;
15976 PyObject
* obj6
= 0 ;
15977 char *kwnames
[] = {
15978 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
15981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyDividedShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
15982 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15983 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15984 if (arg2
== NULL
) {
15985 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15988 arg7
= PyInt_AsLong(obj6
) ? true : false;
15989 if (PyErr_Occurred()) SWIG_fail
;
15992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15993 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
15995 wxPyEndAllowThreads(__tstate
);
15996 if (PyErr_Occurred()) SWIG_fail
;
15998 Py_INCREF(Py_None
); resultobj
= Py_None
;
16005 static PyObject
*_wrap_PyDividedShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16006 PyObject
*resultobj
;
16007 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
16011 int arg5
= (int) 0 ;
16012 int arg6
= (int) 0 ;
16013 PyObject
* obj0
= 0 ;
16014 PyObject
* obj1
= 0 ;
16015 char *kwnames
[] = {
16016 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyDividedShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
16020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16021 arg2
= PyInt_AsLong(obj1
) ? true : false;
16022 if (PyErr_Occurred()) SWIG_fail
;
16024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16025 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
16027 wxPyEndAllowThreads(__tstate
);
16028 if (PyErr_Occurred()) SWIG_fail
;
16030 Py_INCREF(Py_None
); resultobj
= Py_None
;
16037 static PyObject
*_wrap_PyDividedShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16038 PyObject
*resultobj
;
16039 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
16042 int arg4
= (int) 0 ;
16043 int arg5
= (int) 0 ;
16044 PyObject
* obj0
= 0 ;
16045 char *kwnames
[] = {
16046 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDividedShape_base_OnBeginDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
16050 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16053 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
16055 wxPyEndAllowThreads(__tstate
);
16056 if (PyErr_Occurred()) SWIG_fail
;
16058 Py_INCREF(Py_None
); resultobj
= Py_None
;
16065 static PyObject
*_wrap_PyDividedShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16066 PyObject
*resultobj
;
16067 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
16070 int arg4
= (int) 0 ;
16071 int arg5
= (int) 0 ;
16072 PyObject
* obj0
= 0 ;
16073 char *kwnames
[] = {
16074 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDividedShape_base_OnEndDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
16078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16081 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
16083 wxPyEndAllowThreads(__tstate
);
16084 if (PyErr_Occurred()) SWIG_fail
;
16086 Py_INCREF(Py_None
); resultobj
= Py_None
;
16093 static PyObject
*_wrap_PyDividedShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16094 PyObject
*resultobj
;
16095 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
16099 int arg5
= (int) 0 ;
16100 int arg6
= (int) 0 ;
16101 PyObject
* obj0
= 0 ;
16102 PyObject
* obj1
= 0 ;
16103 char *kwnames
[] = {
16104 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyDividedShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
16108 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16109 arg2
= PyInt_AsLong(obj1
) ? true : false;
16110 if (PyErr_Occurred()) SWIG_fail
;
16112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16113 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
16115 wxPyEndAllowThreads(__tstate
);
16116 if (PyErr_Occurred()) SWIG_fail
;
16118 Py_INCREF(Py_None
); resultobj
= Py_None
;
16125 static PyObject
*_wrap_PyDividedShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16126 PyObject
*resultobj
;
16127 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
16130 int arg4
= (int) 0 ;
16131 int arg5
= (int) 0 ;
16132 PyObject
* obj0
= 0 ;
16133 char *kwnames
[] = {
16134 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDividedShape_base_OnBeginDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
16138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16141 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
16143 wxPyEndAllowThreads(__tstate
);
16144 if (PyErr_Occurred()) SWIG_fail
;
16146 Py_INCREF(Py_None
); resultobj
= Py_None
;
16153 static PyObject
*_wrap_PyDividedShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16154 PyObject
*resultobj
;
16155 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
16158 int arg4
= (int) 0 ;
16159 int arg5
= (int) 0 ;
16160 PyObject
* obj0
= 0 ;
16161 char *kwnames
[] = {
16162 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDividedShape_base_OnEndDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
16166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16169 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
16171 wxPyEndAllowThreads(__tstate
);
16172 if (PyErr_Occurred()) SWIG_fail
;
16174 Py_INCREF(Py_None
); resultobj
= Py_None
;
16181 static PyObject
*_wrap_PyDividedShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16182 PyObject
*resultobj
;
16183 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
16189 PyObject
* obj0
= 0 ;
16190 PyObject
* obj1
= 0 ;
16191 char *kwnames
[] = {
16192 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
16195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd:PyDividedShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
16196 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16197 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16198 if (arg2
== NULL
) {
16199 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16203 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
16205 wxPyEndAllowThreads(__tstate
);
16206 if (PyErr_Occurred()) SWIG_fail
;
16208 Py_INCREF(Py_None
); resultobj
= Py_None
;
16215 static PyObject
*_wrap_PyDividedShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16216 PyObject
*resultobj
;
16217 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
16219 PyObject
* obj0
= 0 ;
16220 PyObject
* obj1
= 0 ;
16221 char *kwnames
[] = {
16222 (char *) "self",(char *) "dc", NULL
16225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
16226 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16227 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16228 if (arg2
== NULL
) {
16229 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16233 (arg1
)->base_OnDrawControlPoints(*arg2
);
16235 wxPyEndAllowThreads(__tstate
);
16236 if (PyErr_Occurred()) SWIG_fail
;
16238 Py_INCREF(Py_None
); resultobj
= Py_None
;
16245 static PyObject
*_wrap_PyDividedShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16246 PyObject
*resultobj
;
16247 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
16249 PyObject
* obj0
= 0 ;
16250 PyObject
* obj1
= 0 ;
16251 char *kwnames
[] = {
16252 (char *) "self",(char *) "dc", NULL
16255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
16256 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16257 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16258 if (arg2
== NULL
) {
16259 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16263 (arg1
)->base_OnEraseControlPoints(*arg2
);
16265 wxPyEndAllowThreads(__tstate
);
16266 if (PyErr_Occurred()) SWIG_fail
;
16268 Py_INCREF(Py_None
); resultobj
= Py_None
;
16275 static PyObject
*_wrap_PyDividedShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16276 PyObject
*resultobj
;
16277 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
16279 bool arg3
= (bool) True
;
16280 PyObject
* obj0
= 0 ;
16281 PyObject
* obj1
= 0 ;
16282 PyObject
* obj2
= 0 ;
16283 char *kwnames
[] = {
16284 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
16287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDividedShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16288 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16289 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16290 if (arg2
== NULL
) {
16291 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16294 arg3
= PyInt_AsLong(obj2
) ? true : false;
16295 if (PyErr_Occurred()) SWIG_fail
;
16298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16299 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
16301 wxPyEndAllowThreads(__tstate
);
16302 if (PyErr_Occurred()) SWIG_fail
;
16304 Py_INCREF(Py_None
); resultobj
= Py_None
;
16311 static PyObject
*_wrap_PyDividedShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16312 PyObject
*resultobj
;
16313 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
16314 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
16318 int arg6
= (int) 0 ;
16319 int arg7
= (int) 0 ;
16320 PyObject
* obj0
= 0 ;
16321 PyObject
* obj1
= 0 ;
16322 PyObject
* obj2
= 0 ;
16323 char *kwnames
[] = {
16324 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd|ii:PyDividedShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
16328 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16329 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16330 arg3
= PyInt_AsLong(obj2
) ? true : false;
16331 if (PyErr_Occurred()) SWIG_fail
;
16333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16334 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
16336 wxPyEndAllowThreads(__tstate
);
16337 if (PyErr_Occurred()) SWIG_fail
;
16339 Py_INCREF(Py_None
); resultobj
= Py_None
;
16346 static PyObject
*_wrap_PyDividedShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16347 PyObject
*resultobj
;
16348 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
16349 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
16352 int arg5
= (int) 0 ;
16353 int arg6
= (int) 0 ;
16354 PyObject
* obj0
= 0 ;
16355 PyObject
* obj1
= 0 ;
16356 char *kwnames
[] = {
16357 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyDividedShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
16361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16362 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16365 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
16367 wxPyEndAllowThreads(__tstate
);
16368 if (PyErr_Occurred()) SWIG_fail
;
16370 Py_INCREF(Py_None
); resultobj
= Py_None
;
16377 static PyObject
*_wrap_PyDividedShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16378 PyObject
*resultobj
;
16379 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
16380 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
16383 int arg5
= (int) 0 ;
16384 int arg6
= (int) 0 ;
16385 PyObject
* obj0
= 0 ;
16386 PyObject
* obj1
= 0 ;
16387 char *kwnames
[] = {
16388 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyDividedShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
16392 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16393 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16396 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
16398 wxPyEndAllowThreads(__tstate
);
16399 if (PyErr_Occurred()) SWIG_fail
;
16401 Py_INCREF(Py_None
); resultobj
= Py_None
;
16408 static PyObject
*_wrap_PyDividedShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16409 PyObject
*resultobj
;
16410 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
16413 PyObject
* obj0
= 0 ;
16414 char *kwnames
[] = {
16415 (char *) "self",(char *) "w",(char *) "h", NULL
16418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyDividedShape_base_OnBeginSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
16419 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16422 (arg1
)->base_OnBeginSize(arg2
,arg3
);
16424 wxPyEndAllowThreads(__tstate
);
16425 if (PyErr_Occurred()) SWIG_fail
;
16427 Py_INCREF(Py_None
); resultobj
= Py_None
;
16434 static PyObject
*_wrap_PyDividedShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16435 PyObject
*resultobj
;
16436 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
16439 PyObject
* obj0
= 0 ;
16440 char *kwnames
[] = {
16441 (char *) "self",(char *) "w",(char *) "h", NULL
16444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyDividedShape_base_OnEndSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
16445 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16448 (arg1
)->base_OnEndSize(arg2
,arg3
);
16450 wxPyEndAllowThreads(__tstate
);
16451 if (PyErr_Occurred()) SWIG_fail
;
16453 Py_INCREF(Py_None
); resultobj
= Py_None
;
16460 static PyObject
* PyDividedShape_swigregister(PyObject
*self
, PyObject
*args
) {
16462 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16463 SWIG_TypeClientData(SWIGTYPE_p_wxPyDividedShape
, obj
);
16465 return Py_BuildValue((char *)"");
16467 static PyObject
*_wrap_new_PyDivisionShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16468 PyObject
*resultobj
;
16469 wxPyDivisionShape
*result
;
16470 char *kwnames
[] = {
16474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyDivisionShape",kwnames
)) goto fail
;
16476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16477 result
= (wxPyDivisionShape
*)new wxPyDivisionShape();
16479 wxPyEndAllowThreads(__tstate
);
16480 if (PyErr_Occurred()) SWIG_fail
;
16483 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
16491 static PyObject
*_wrap_PyDivisionShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16492 PyObject
*resultobj
;
16493 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16494 PyObject
*arg2
= (PyObject
*) 0 ;
16495 PyObject
*arg3
= (PyObject
*) 0 ;
16496 PyObject
* obj0
= 0 ;
16497 PyObject
* obj1
= 0 ;
16498 PyObject
* obj2
= 0 ;
16499 char *kwnames
[] = {
16500 (char *) "self",(char *) "self",(char *) "_class", NULL
16503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16504 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16509 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16511 wxPyEndAllowThreads(__tstate
);
16512 if (PyErr_Occurred()) SWIG_fail
;
16514 Py_INCREF(Py_None
); resultobj
= Py_None
;
16521 static PyObject
*_wrap_PyDivisionShape_AdjustBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16522 PyObject
*resultobj
;
16523 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16526 PyObject
* obj0
= 0 ;
16527 PyObject
* obj2
= 0 ;
16528 char *kwnames
[] = {
16529 (char *) "self",(char *) "bottom",(char *) "test", NULL
16532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OdO:PyDivisionShape_AdjustBottom",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
16533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16534 arg3
= PyInt_AsLong(obj2
) ? true : false;
16535 if (PyErr_Occurred()) SWIG_fail
;
16537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16538 (arg1
)->AdjustBottom(arg2
,arg3
);
16540 wxPyEndAllowThreads(__tstate
);
16541 if (PyErr_Occurred()) SWIG_fail
;
16543 Py_INCREF(Py_None
); resultobj
= Py_None
;
16550 static PyObject
*_wrap_PyDivisionShape_AdjustLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16551 PyObject
*resultobj
;
16552 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16555 PyObject
* obj0
= 0 ;
16556 PyObject
* obj2
= 0 ;
16557 char *kwnames
[] = {
16558 (char *) "self",(char *) "left",(char *) "test", NULL
16561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OdO:PyDivisionShape_AdjustLeft",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
16562 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16563 arg3
= PyInt_AsLong(obj2
) ? true : false;
16564 if (PyErr_Occurred()) SWIG_fail
;
16566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16567 (arg1
)->AdjustLeft(arg2
,arg3
);
16569 wxPyEndAllowThreads(__tstate
);
16570 if (PyErr_Occurred()) SWIG_fail
;
16572 Py_INCREF(Py_None
); resultobj
= Py_None
;
16579 static PyObject
*_wrap_PyDivisionShape_AdjustRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16580 PyObject
*resultobj
;
16581 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16584 PyObject
* obj0
= 0 ;
16585 PyObject
* obj2
= 0 ;
16586 char *kwnames
[] = {
16587 (char *) "self",(char *) "right",(char *) "test", NULL
16590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OdO:PyDivisionShape_AdjustRight",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
16591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16592 arg3
= PyInt_AsLong(obj2
) ? true : false;
16593 if (PyErr_Occurred()) SWIG_fail
;
16595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16596 (arg1
)->AdjustRight(arg2
,arg3
);
16598 wxPyEndAllowThreads(__tstate
);
16599 if (PyErr_Occurred()) SWIG_fail
;
16601 Py_INCREF(Py_None
); resultobj
= Py_None
;
16608 static PyObject
*_wrap_PyDivisionShape_AdjustTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16609 PyObject
*resultobj
;
16610 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16613 PyObject
* obj0
= 0 ;
16614 PyObject
* obj2
= 0 ;
16615 char *kwnames
[] = {
16616 (char *) "self",(char *) "top",(char *) "test", NULL
16619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OdO:PyDivisionShape_AdjustTop",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
16620 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16621 arg3
= PyInt_AsLong(obj2
) ? true : false;
16622 if (PyErr_Occurred()) SWIG_fail
;
16624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16625 (arg1
)->AdjustTop(arg2
,arg3
);
16627 wxPyEndAllowThreads(__tstate
);
16628 if (PyErr_Occurred()) SWIG_fail
;
16630 Py_INCREF(Py_None
); resultobj
= Py_None
;
16637 static PyObject
*_wrap_PyDivisionShape_Divide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16638 PyObject
*resultobj
;
16639 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16641 PyObject
* obj0
= 0 ;
16642 char *kwnames
[] = {
16643 (char *) "self",(char *) "direction", NULL
16646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyDivisionShape_Divide",kwnames
,&obj0
,&arg2
)) goto fail
;
16647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16650 (arg1
)->Divide(arg2
);
16652 wxPyEndAllowThreads(__tstate
);
16653 if (PyErr_Occurred()) SWIG_fail
;
16655 Py_INCREF(Py_None
); resultobj
= Py_None
;
16662 static PyObject
*_wrap_PyDivisionShape_EditEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16663 PyObject
*resultobj
;
16664 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16666 PyObject
* obj0
= 0 ;
16667 char *kwnames
[] = {
16668 (char *) "self",(char *) "side", NULL
16671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyDivisionShape_EditEdge",kwnames
,&obj0
,&arg2
)) goto fail
;
16672 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16675 (arg1
)->EditEdge(arg2
);
16677 wxPyEndAllowThreads(__tstate
);
16678 if (PyErr_Occurred()) SWIG_fail
;
16680 Py_INCREF(Py_None
); resultobj
= Py_None
;
16687 static PyObject
*_wrap_PyDivisionShape_GetBottomSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16688 PyObject
*resultobj
;
16689 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16690 wxPyDivisionShape
*result
;
16691 PyObject
* obj0
= 0 ;
16692 char *kwnames
[] = {
16693 (char *) "self", NULL
16696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetBottomSide",kwnames
,&obj0
)) goto fail
;
16697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16700 result
= (wxPyDivisionShape
*)(arg1
)->GetBottomSide();
16702 wxPyEndAllowThreads(__tstate
);
16703 if (PyErr_Occurred()) SWIG_fail
;
16706 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
16714 static PyObject
*_wrap_PyDivisionShape_GetHandleSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16715 PyObject
*resultobj
;
16716 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16718 PyObject
* obj0
= 0 ;
16719 char *kwnames
[] = {
16720 (char *) "self", NULL
16723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetHandleSide",kwnames
,&obj0
)) goto fail
;
16724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16727 result
= (int)(arg1
)->GetHandleSide();
16729 wxPyEndAllowThreads(__tstate
);
16730 if (PyErr_Occurred()) SWIG_fail
;
16732 resultobj
= PyInt_FromLong((long)result
);
16739 static PyObject
*_wrap_PyDivisionShape_GetLeftSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16740 PyObject
*resultobj
;
16741 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16742 wxPyDivisionShape
*result
;
16743 PyObject
* obj0
= 0 ;
16744 char *kwnames
[] = {
16745 (char *) "self", NULL
16748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetLeftSide",kwnames
,&obj0
)) goto fail
;
16749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16752 result
= (wxPyDivisionShape
*)(arg1
)->GetLeftSide();
16754 wxPyEndAllowThreads(__tstate
);
16755 if (PyErr_Occurred()) SWIG_fail
;
16758 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
16766 static PyObject
*_wrap_PyDivisionShape_GetLeftSideColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16767 PyObject
*resultobj
;
16768 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16770 PyObject
* obj0
= 0 ;
16771 char *kwnames
[] = {
16772 (char *) "self", NULL
16775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetLeftSideColour",kwnames
,&obj0
)) goto fail
;
16776 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16779 result
= (arg1
)->GetLeftSideColour();
16781 wxPyEndAllowThreads(__tstate
);
16782 if (PyErr_Occurred()) SWIG_fail
;
16786 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16788 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16797 static PyObject
*_wrap_PyDivisionShape_GetLeftSidePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16798 PyObject
*resultobj
;
16799 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16801 PyObject
* obj0
= 0 ;
16802 char *kwnames
[] = {
16803 (char *) "self", NULL
16806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetLeftSidePen",kwnames
,&obj0
)) goto fail
;
16807 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16810 result
= (wxPen
*)(arg1
)->GetLeftSidePen();
16812 wxPyEndAllowThreads(__tstate
);
16813 if (PyErr_Occurred()) SWIG_fail
;
16815 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPen
, 0);
16822 static PyObject
*_wrap_PyDivisionShape_GetRightSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16823 PyObject
*resultobj
;
16824 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16825 wxPyDivisionShape
*result
;
16826 PyObject
* obj0
= 0 ;
16827 char *kwnames
[] = {
16828 (char *) "self", NULL
16831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetRightSide",kwnames
,&obj0
)) goto fail
;
16832 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16835 result
= (wxPyDivisionShape
*)(arg1
)->GetRightSide();
16837 wxPyEndAllowThreads(__tstate
);
16838 if (PyErr_Occurred()) SWIG_fail
;
16841 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
16849 static PyObject
*_wrap_PyDivisionShape_GetTopSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16850 PyObject
*resultobj
;
16851 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16852 wxPyDivisionShape
*result
;
16853 PyObject
* obj0
= 0 ;
16854 char *kwnames
[] = {
16855 (char *) "self", NULL
16858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetTopSide",kwnames
,&obj0
)) goto fail
;
16859 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16862 result
= (wxPyDivisionShape
*)(arg1
)->GetTopSide();
16864 wxPyEndAllowThreads(__tstate
);
16865 if (PyErr_Occurred()) SWIG_fail
;
16868 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
16876 static PyObject
*_wrap_PyDivisionShape_GetTopSidePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16877 PyObject
*resultobj
;
16878 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16880 PyObject
* obj0
= 0 ;
16881 char *kwnames
[] = {
16882 (char *) "self", NULL
16885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetTopSidePen",kwnames
,&obj0
)) goto fail
;
16886 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16889 result
= (wxPen
*)(arg1
)->GetTopSidePen();
16891 wxPyEndAllowThreads(__tstate
);
16892 if (PyErr_Occurred()) SWIG_fail
;
16894 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPen
, 0);
16901 static PyObject
*_wrap_PyDivisionShape_ResizeAdjoining(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16902 PyObject
*resultobj
;
16903 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16907 PyObject
* obj0
= 0 ;
16908 PyObject
* obj3
= 0 ;
16909 char *kwnames
[] = {
16910 (char *) "self",(char *) "side",(char *) "newPos",(char *) "test", NULL
16913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OidO:PyDivisionShape_ResizeAdjoining",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
16914 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16915 arg4
= PyInt_AsLong(obj3
) ? true : false;
16916 if (PyErr_Occurred()) SWIG_fail
;
16918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16919 (arg1
)->ResizeAdjoining(arg2
,arg3
,arg4
);
16921 wxPyEndAllowThreads(__tstate
);
16922 if (PyErr_Occurred()) SWIG_fail
;
16924 Py_INCREF(Py_None
); resultobj
= Py_None
;
16931 static PyObject
*_wrap_PyDivisionShape_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16932 PyObject
*resultobj
;
16933 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16936 PyObject
* obj0
= 0 ;
16937 char *kwnames
[] = {
16938 (char *) "self",(char *) "x",(char *) "y", NULL
16941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyDivisionShape_PopupMenu",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
16942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16945 (arg1
)->PopupMenu(arg2
,arg3
);
16947 wxPyEndAllowThreads(__tstate
);
16948 if (PyErr_Occurred()) SWIG_fail
;
16950 Py_INCREF(Py_None
); resultobj
= Py_None
;
16957 static PyObject
*_wrap_PyDivisionShape_SetBottomSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16958 PyObject
*resultobj
;
16959 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16960 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
16961 PyObject
* obj0
= 0 ;
16962 PyObject
* obj1
= 0 ;
16963 char *kwnames
[] = {
16964 (char *) "self",(char *) "shape", NULL
16967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetBottomSide",kwnames
,&obj0
,&obj1
)) goto fail
;
16968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16969 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16972 (arg1
)->SetBottomSide(arg2
);
16974 wxPyEndAllowThreads(__tstate
);
16975 if (PyErr_Occurred()) SWIG_fail
;
16977 Py_INCREF(Py_None
); resultobj
= Py_None
;
16984 static PyObject
*_wrap_PyDivisionShape_SetHandleSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16985 PyObject
*resultobj
;
16986 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16988 PyObject
* obj0
= 0 ;
16989 char *kwnames
[] = {
16990 (char *) "self",(char *) "side", NULL
16993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyDivisionShape_SetHandleSide",kwnames
,&obj0
,&arg2
)) goto fail
;
16994 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16997 (arg1
)->SetHandleSide(arg2
);
16999 wxPyEndAllowThreads(__tstate
);
17000 if (PyErr_Occurred()) SWIG_fail
;
17002 Py_INCREF(Py_None
); resultobj
= Py_None
;
17009 static PyObject
*_wrap_PyDivisionShape_SetLeftSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17010 PyObject
*resultobj
;
17011 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17012 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
17013 PyObject
* obj0
= 0 ;
17014 PyObject
* obj1
= 0 ;
17015 char *kwnames
[] = {
17016 (char *) "self",(char *) "shape", NULL
17019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetLeftSide",kwnames
,&obj0
,&obj1
)) goto fail
;
17020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17021 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17024 (arg1
)->SetLeftSide(arg2
);
17026 wxPyEndAllowThreads(__tstate
);
17027 if (PyErr_Occurred()) SWIG_fail
;
17029 Py_INCREF(Py_None
); resultobj
= Py_None
;
17036 static PyObject
*_wrap_PyDivisionShape_SetLeftSideColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17037 PyObject
*resultobj
;
17038 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17039 wxString
*arg2
= 0 ;
17040 bool temp2
= False
;
17041 PyObject
* obj0
= 0 ;
17042 PyObject
* obj1
= 0 ;
17043 char *kwnames
[] = {
17044 (char *) "self",(char *) "colour", NULL
17047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetLeftSideColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17048 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17050 arg2
= wxString_in_helper(obj1
);
17051 if (arg2
== NULL
) SWIG_fail
;
17055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17056 (arg1
)->SetLeftSideColour((wxString
const &)*arg2
);
17058 wxPyEndAllowThreads(__tstate
);
17059 if (PyErr_Occurred()) SWIG_fail
;
17061 Py_INCREF(Py_None
); resultobj
= Py_None
;
17076 static PyObject
*_wrap_PyDivisionShape_SetLeftSidePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17077 PyObject
*resultobj
;
17078 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17079 wxPen
*arg2
= (wxPen
*) 0 ;
17080 PyObject
* obj0
= 0 ;
17081 PyObject
* obj1
= 0 ;
17082 char *kwnames
[] = {
17083 (char *) "self",(char *) "pen", NULL
17086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetLeftSidePen",kwnames
,&obj0
,&obj1
)) goto fail
;
17087 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17091 if (obj1
== Py_None
) {
17094 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
17095 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
17100 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
17107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17108 (arg1
)->SetLeftSidePen(arg2
);
17110 wxPyEndAllowThreads(__tstate
);
17111 if (PyErr_Occurred()) SWIG_fail
;
17113 Py_INCREF(Py_None
); resultobj
= Py_None
;
17120 static PyObject
*_wrap_PyDivisionShape_SetRightSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17121 PyObject
*resultobj
;
17122 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17123 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
17124 PyObject
* obj0
= 0 ;
17125 PyObject
* obj1
= 0 ;
17126 char *kwnames
[] = {
17127 (char *) "self",(char *) "shape", NULL
17130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetRightSide",kwnames
,&obj0
,&obj1
)) goto fail
;
17131 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17132 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17135 (arg1
)->SetRightSide(arg2
);
17137 wxPyEndAllowThreads(__tstate
);
17138 if (PyErr_Occurred()) SWIG_fail
;
17140 Py_INCREF(Py_None
); resultobj
= Py_None
;
17147 static PyObject
*_wrap_PyDivisionShape_SetTopSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17148 PyObject
*resultobj
;
17149 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17150 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
17151 PyObject
* obj0
= 0 ;
17152 PyObject
* obj1
= 0 ;
17153 char *kwnames
[] = {
17154 (char *) "self",(char *) "shape", NULL
17157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetTopSide",kwnames
,&obj0
,&obj1
)) goto fail
;
17158 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17159 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17162 (arg1
)->SetTopSide(arg2
);
17164 wxPyEndAllowThreads(__tstate
);
17165 if (PyErr_Occurred()) SWIG_fail
;
17167 Py_INCREF(Py_None
); resultobj
= Py_None
;
17174 static PyObject
*_wrap_PyDivisionShape_SetTopSideColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17175 PyObject
*resultobj
;
17176 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17177 wxString
*arg2
= 0 ;
17178 bool temp2
= False
;
17179 PyObject
* obj0
= 0 ;
17180 PyObject
* obj1
= 0 ;
17181 char *kwnames
[] = {
17182 (char *) "self",(char *) "colour", NULL
17185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetTopSideColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17186 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17188 arg2
= wxString_in_helper(obj1
);
17189 if (arg2
== NULL
) SWIG_fail
;
17193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17194 (arg1
)->SetTopSideColour((wxString
const &)*arg2
);
17196 wxPyEndAllowThreads(__tstate
);
17197 if (PyErr_Occurred()) SWIG_fail
;
17199 Py_INCREF(Py_None
); resultobj
= Py_None
;
17214 static PyObject
*_wrap_PyDivisionShape_SetTopSidePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17215 PyObject
*resultobj
;
17216 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17217 wxPen
*arg2
= (wxPen
*) 0 ;
17218 PyObject
* obj0
= 0 ;
17219 PyObject
* obj1
= 0 ;
17220 char *kwnames
[] = {
17221 (char *) "self",(char *) "pen", NULL
17224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetTopSidePen",kwnames
,&obj0
,&obj1
)) goto fail
;
17225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17229 if (obj1
== Py_None
) {
17232 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
17233 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
17238 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
17245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17246 (arg1
)->SetTopSidePen(arg2
);
17248 wxPyEndAllowThreads(__tstate
);
17249 if (PyErr_Occurred()) SWIG_fail
;
17251 Py_INCREF(Py_None
); resultobj
= Py_None
;
17258 static PyObject
*_wrap_PyDivisionShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17259 PyObject
*resultobj
;
17260 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17261 PyObject
* obj0
= 0 ;
17262 char *kwnames
[] = {
17263 (char *) "self", NULL
17266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
17267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17270 (arg1
)->base_OnDelete();
17272 wxPyEndAllowThreads(__tstate
);
17273 if (PyErr_Occurred()) SWIG_fail
;
17275 Py_INCREF(Py_None
); resultobj
= Py_None
;
17282 static PyObject
*_wrap_PyDivisionShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17283 PyObject
*resultobj
;
17284 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17286 PyObject
* obj0
= 0 ;
17287 PyObject
* obj1
= 0 ;
17288 char *kwnames
[] = {
17289 (char *) "self",(char *) "dc", NULL
17292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
17293 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17294 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17295 if (arg2
== NULL
) {
17296 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17300 (arg1
)->base_OnDraw(*arg2
);
17302 wxPyEndAllowThreads(__tstate
);
17303 if (PyErr_Occurred()) SWIG_fail
;
17305 Py_INCREF(Py_None
); resultobj
= Py_None
;
17312 static PyObject
*_wrap_PyDivisionShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17313 PyObject
*resultobj
;
17314 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17316 PyObject
* obj0
= 0 ;
17317 PyObject
* obj1
= 0 ;
17318 char *kwnames
[] = {
17319 (char *) "self",(char *) "dc", NULL
17322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
17323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17324 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17325 if (arg2
== NULL
) {
17326 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17330 (arg1
)->base_OnDrawContents(*arg2
);
17332 wxPyEndAllowThreads(__tstate
);
17333 if (PyErr_Occurred()) SWIG_fail
;
17335 Py_INCREF(Py_None
); resultobj
= Py_None
;
17342 static PyObject
*_wrap_PyDivisionShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17343 PyObject
*resultobj
;
17344 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17346 bool arg3
= (bool) FALSE
;
17347 PyObject
* obj0
= 0 ;
17348 PyObject
* obj1
= 0 ;
17349 PyObject
* obj2
= 0 ;
17350 char *kwnames
[] = {
17351 (char *) "self",(char *) "dc",(char *) "erase", NULL
17354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDivisionShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17356 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17357 if (arg2
== NULL
) {
17358 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17361 arg3
= PyInt_AsLong(obj2
) ? true : false;
17362 if (PyErr_Occurred()) SWIG_fail
;
17365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17366 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
17368 wxPyEndAllowThreads(__tstate
);
17369 if (PyErr_Occurred()) SWIG_fail
;
17371 Py_INCREF(Py_None
); resultobj
= Py_None
;
17378 static PyObject
*_wrap_PyDivisionShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17379 PyObject
*resultobj
;
17380 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17382 PyObject
* obj0
= 0 ;
17383 PyObject
* obj1
= 0 ;
17384 char *kwnames
[] = {
17385 (char *) "self",(char *) "dc", NULL
17388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
17389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17390 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17391 if (arg2
== NULL
) {
17392 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17396 (arg1
)->base_OnMoveLinks(*arg2
);
17398 wxPyEndAllowThreads(__tstate
);
17399 if (PyErr_Occurred()) SWIG_fail
;
17401 Py_INCREF(Py_None
); resultobj
= Py_None
;
17408 static PyObject
*_wrap_PyDivisionShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17409 PyObject
*resultobj
;
17410 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17412 PyObject
* obj0
= 0 ;
17413 PyObject
* obj1
= 0 ;
17414 char *kwnames
[] = {
17415 (char *) "self",(char *) "dc", NULL
17418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
17419 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17420 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17421 if (arg2
== NULL
) {
17422 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17426 (arg1
)->base_OnErase(*arg2
);
17428 wxPyEndAllowThreads(__tstate
);
17429 if (PyErr_Occurred()) SWIG_fail
;
17431 Py_INCREF(Py_None
); resultobj
= Py_None
;
17438 static PyObject
*_wrap_PyDivisionShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17439 PyObject
*resultobj
;
17440 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17442 PyObject
* obj0
= 0 ;
17443 PyObject
* obj1
= 0 ;
17444 char *kwnames
[] = {
17445 (char *) "self",(char *) "dc", NULL
17448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
17449 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17450 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17451 if (arg2
== NULL
) {
17452 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17456 (arg1
)->base_OnEraseContents(*arg2
);
17458 wxPyEndAllowThreads(__tstate
);
17459 if (PyErr_Occurred()) SWIG_fail
;
17461 Py_INCREF(Py_None
); resultobj
= Py_None
;
17468 static PyObject
*_wrap_PyDivisionShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17469 PyObject
*resultobj
;
17470 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17472 PyObject
* obj0
= 0 ;
17473 PyObject
* obj1
= 0 ;
17474 char *kwnames
[] = {
17475 (char *) "self",(char *) "dc", NULL
17478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
17479 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17480 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17481 if (arg2
== NULL
) {
17482 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17486 (arg1
)->base_OnHighlight(*arg2
);
17488 wxPyEndAllowThreads(__tstate
);
17489 if (PyErr_Occurred()) SWIG_fail
;
17491 Py_INCREF(Py_None
); resultobj
= Py_None
;
17498 static PyObject
*_wrap_PyDivisionShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17499 PyObject
*resultobj
;
17500 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17503 int arg4
= (int) 0 ;
17504 int arg5
= (int) 0 ;
17505 PyObject
* obj0
= 0 ;
17506 char *kwnames
[] = {
17507 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDivisionShape_base_OnLeftClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
17511 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17514 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
17516 wxPyEndAllowThreads(__tstate
);
17517 if (PyErr_Occurred()) SWIG_fail
;
17519 Py_INCREF(Py_None
); resultobj
= Py_None
;
17526 static PyObject
*_wrap_PyDivisionShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17527 PyObject
*resultobj
;
17528 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17531 int arg4
= (int) 0 ;
17532 int arg5
= (int) 0 ;
17533 PyObject
* obj0
= 0 ;
17534 char *kwnames
[] = {
17535 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDivisionShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
17539 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17542 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
17544 wxPyEndAllowThreads(__tstate
);
17545 if (PyErr_Occurred()) SWIG_fail
;
17547 Py_INCREF(Py_None
); resultobj
= Py_None
;
17554 static PyObject
*_wrap_PyDivisionShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17555 PyObject
*resultobj
;
17556 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17559 int arg4
= (int) 0 ;
17560 int arg5
= (int) 0 ;
17561 PyObject
* obj0
= 0 ;
17562 char *kwnames
[] = {
17563 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDivisionShape_base_OnRightClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
17567 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17570 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
17572 wxPyEndAllowThreads(__tstate
);
17573 if (PyErr_Occurred()) SWIG_fail
;
17575 Py_INCREF(Py_None
); resultobj
= Py_None
;
17582 static PyObject
*_wrap_PyDivisionShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17583 PyObject
*resultobj
;
17584 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17587 PyObject
* obj0
= 0 ;
17588 char *kwnames
[] = {
17589 (char *) "self",(char *) "x",(char *) "y", NULL
17592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyDivisionShape_base_OnSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
17593 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17596 (arg1
)->base_OnSize(arg2
,arg3
);
17598 wxPyEndAllowThreads(__tstate
);
17599 if (PyErr_Occurred()) SWIG_fail
;
17601 Py_INCREF(Py_None
); resultobj
= Py_None
;
17608 static PyObject
*_wrap_PyDivisionShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17609 PyObject
*resultobj
;
17610 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17616 bool arg7
= (bool) True
;
17618 PyObject
* obj0
= 0 ;
17619 PyObject
* obj1
= 0 ;
17620 PyObject
* obj6
= 0 ;
17621 char *kwnames
[] = {
17622 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
17625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyDivisionShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
17626 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17627 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17628 if (arg2
== NULL
) {
17629 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17632 arg7
= PyInt_AsLong(obj6
) ? true : false;
17633 if (PyErr_Occurred()) SWIG_fail
;
17636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17637 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17639 wxPyEndAllowThreads(__tstate
);
17640 if (PyErr_Occurred()) SWIG_fail
;
17642 resultobj
= PyInt_FromLong((long)result
);
17649 static PyObject
*_wrap_PyDivisionShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17650 PyObject
*resultobj
;
17651 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17657 bool arg7
= (bool) True
;
17658 PyObject
* obj0
= 0 ;
17659 PyObject
* obj1
= 0 ;
17660 PyObject
* obj6
= 0 ;
17661 char *kwnames
[] = {
17662 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
17665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyDivisionShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
17666 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17667 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17668 if (arg2
== NULL
) {
17669 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17672 arg7
= PyInt_AsLong(obj6
) ? true : false;
17673 if (PyErr_Occurred()) SWIG_fail
;
17676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17677 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17679 wxPyEndAllowThreads(__tstate
);
17680 if (PyErr_Occurred()) SWIG_fail
;
17682 Py_INCREF(Py_None
); resultobj
= Py_None
;
17689 static PyObject
*_wrap_PyDivisionShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17690 PyObject
*resultobj
;
17691 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17695 int arg5
= (int) 0 ;
17696 int arg6
= (int) 0 ;
17697 PyObject
* obj0
= 0 ;
17698 PyObject
* obj1
= 0 ;
17699 char *kwnames
[] = {
17700 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyDivisionShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
17704 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17705 arg2
= PyInt_AsLong(obj1
) ? true : false;
17706 if (PyErr_Occurred()) SWIG_fail
;
17708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17709 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
17711 wxPyEndAllowThreads(__tstate
);
17712 if (PyErr_Occurred()) SWIG_fail
;
17714 Py_INCREF(Py_None
); resultobj
= Py_None
;
17721 static PyObject
*_wrap_PyDivisionShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17722 PyObject
*resultobj
;
17723 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17726 int arg4
= (int) 0 ;
17727 int arg5
= (int) 0 ;
17728 PyObject
* obj0
= 0 ;
17729 char *kwnames
[] = {
17730 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDivisionShape_base_OnBeginDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
17734 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17737 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
17739 wxPyEndAllowThreads(__tstate
);
17740 if (PyErr_Occurred()) SWIG_fail
;
17742 Py_INCREF(Py_None
); resultobj
= Py_None
;
17749 static PyObject
*_wrap_PyDivisionShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17750 PyObject
*resultobj
;
17751 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17754 int arg4
= (int) 0 ;
17755 int arg5
= (int) 0 ;
17756 PyObject
* obj0
= 0 ;
17757 char *kwnames
[] = {
17758 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDivisionShape_base_OnEndDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
17762 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17765 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
17767 wxPyEndAllowThreads(__tstate
);
17768 if (PyErr_Occurred()) SWIG_fail
;
17770 Py_INCREF(Py_None
); resultobj
= Py_None
;
17777 static PyObject
*_wrap_PyDivisionShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17778 PyObject
*resultobj
;
17779 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17783 int arg5
= (int) 0 ;
17784 int arg6
= (int) 0 ;
17785 PyObject
* obj0
= 0 ;
17786 PyObject
* obj1
= 0 ;
17787 char *kwnames
[] = {
17788 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyDivisionShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
17792 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17793 arg2
= PyInt_AsLong(obj1
) ? true : false;
17794 if (PyErr_Occurred()) SWIG_fail
;
17796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17797 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
17799 wxPyEndAllowThreads(__tstate
);
17800 if (PyErr_Occurred()) SWIG_fail
;
17802 Py_INCREF(Py_None
); resultobj
= Py_None
;
17809 static PyObject
*_wrap_PyDivisionShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17810 PyObject
*resultobj
;
17811 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17814 int arg4
= (int) 0 ;
17815 int arg5
= (int) 0 ;
17816 PyObject
* obj0
= 0 ;
17817 char *kwnames
[] = {
17818 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDivisionShape_base_OnBeginDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
17822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17825 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
17827 wxPyEndAllowThreads(__tstate
);
17828 if (PyErr_Occurred()) SWIG_fail
;
17830 Py_INCREF(Py_None
); resultobj
= Py_None
;
17837 static PyObject
*_wrap_PyDivisionShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17838 PyObject
*resultobj
;
17839 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17842 int arg4
= (int) 0 ;
17843 int arg5
= (int) 0 ;
17844 PyObject
* obj0
= 0 ;
17845 char *kwnames
[] = {
17846 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDivisionShape_base_OnEndDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
17850 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17853 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
17855 wxPyEndAllowThreads(__tstate
);
17856 if (PyErr_Occurred()) SWIG_fail
;
17858 Py_INCREF(Py_None
); resultobj
= Py_None
;
17865 static PyObject
*_wrap_PyDivisionShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17866 PyObject
*resultobj
;
17867 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17873 PyObject
* obj0
= 0 ;
17874 PyObject
* obj1
= 0 ;
17875 char *kwnames
[] = {
17876 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
17879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd:PyDivisionShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
17880 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17881 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17882 if (arg2
== NULL
) {
17883 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17887 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
17889 wxPyEndAllowThreads(__tstate
);
17890 if (PyErr_Occurred()) SWIG_fail
;
17892 Py_INCREF(Py_None
); resultobj
= Py_None
;
17899 static PyObject
*_wrap_PyDivisionShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17900 PyObject
*resultobj
;
17901 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17903 PyObject
* obj0
= 0 ;
17904 PyObject
* obj1
= 0 ;
17905 char *kwnames
[] = {
17906 (char *) "self",(char *) "dc", NULL
17909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
17910 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17911 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17912 if (arg2
== NULL
) {
17913 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17917 (arg1
)->base_OnDrawControlPoints(*arg2
);
17919 wxPyEndAllowThreads(__tstate
);
17920 if (PyErr_Occurred()) SWIG_fail
;
17922 Py_INCREF(Py_None
); resultobj
= Py_None
;
17929 static PyObject
*_wrap_PyDivisionShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17930 PyObject
*resultobj
;
17931 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17933 PyObject
* obj0
= 0 ;
17934 PyObject
* obj1
= 0 ;
17935 char *kwnames
[] = {
17936 (char *) "self",(char *) "dc", NULL
17939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
17940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17941 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17942 if (arg2
== NULL
) {
17943 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17947 (arg1
)->base_OnEraseControlPoints(*arg2
);
17949 wxPyEndAllowThreads(__tstate
);
17950 if (PyErr_Occurred()) SWIG_fail
;
17952 Py_INCREF(Py_None
); resultobj
= Py_None
;
17959 static PyObject
*_wrap_PyDivisionShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17960 PyObject
*resultobj
;
17961 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17963 bool arg3
= (bool) True
;
17964 PyObject
* obj0
= 0 ;
17965 PyObject
* obj1
= 0 ;
17966 PyObject
* obj2
= 0 ;
17967 char *kwnames
[] = {
17968 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
17971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDivisionShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17972 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17973 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17974 if (arg2
== NULL
) {
17975 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17978 arg3
= PyInt_AsLong(obj2
) ? true : false;
17979 if (PyErr_Occurred()) SWIG_fail
;
17982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17983 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
17985 wxPyEndAllowThreads(__tstate
);
17986 if (PyErr_Occurred()) SWIG_fail
;
17988 Py_INCREF(Py_None
); resultobj
= Py_None
;
17995 static PyObject
*_wrap_PyDivisionShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17996 PyObject
*resultobj
;
17997 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17998 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
18002 int arg6
= (int) 0 ;
18003 int arg7
= (int) 0 ;
18004 PyObject
* obj0
= 0 ;
18005 PyObject
* obj1
= 0 ;
18006 PyObject
* obj2
= 0 ;
18007 char *kwnames
[] = {
18008 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd|ii:PyDivisionShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
18012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18013 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18014 arg3
= PyInt_AsLong(obj2
) ? true : false;
18015 if (PyErr_Occurred()) SWIG_fail
;
18017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18018 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18020 wxPyEndAllowThreads(__tstate
);
18021 if (PyErr_Occurred()) SWIG_fail
;
18023 Py_INCREF(Py_None
); resultobj
= Py_None
;
18030 static PyObject
*_wrap_PyDivisionShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18031 PyObject
*resultobj
;
18032 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
18033 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
18036 int arg5
= (int) 0 ;
18037 int arg6
= (int) 0 ;
18038 PyObject
* obj0
= 0 ;
18039 PyObject
* obj1
= 0 ;
18040 char *kwnames
[] = {
18041 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyDivisionShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
18045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18046 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18049 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
18051 wxPyEndAllowThreads(__tstate
);
18052 if (PyErr_Occurred()) SWIG_fail
;
18054 Py_INCREF(Py_None
); resultobj
= Py_None
;
18061 static PyObject
*_wrap_PyDivisionShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18062 PyObject
*resultobj
;
18063 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
18064 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
18067 int arg5
= (int) 0 ;
18068 int arg6
= (int) 0 ;
18069 PyObject
* obj0
= 0 ;
18070 PyObject
* obj1
= 0 ;
18071 char *kwnames
[] = {
18072 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyDivisionShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
18076 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18077 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18080 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
18082 wxPyEndAllowThreads(__tstate
);
18083 if (PyErr_Occurred()) SWIG_fail
;
18085 Py_INCREF(Py_None
); resultobj
= Py_None
;
18092 static PyObject
*_wrap_PyDivisionShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18093 PyObject
*resultobj
;
18094 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
18097 PyObject
* obj0
= 0 ;
18098 char *kwnames
[] = {
18099 (char *) "self",(char *) "w",(char *) "h", NULL
18102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyDivisionShape_base_OnBeginSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18103 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18106 (arg1
)->base_OnBeginSize(arg2
,arg3
);
18108 wxPyEndAllowThreads(__tstate
);
18109 if (PyErr_Occurred()) SWIG_fail
;
18111 Py_INCREF(Py_None
); resultobj
= Py_None
;
18118 static PyObject
*_wrap_PyDivisionShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18119 PyObject
*resultobj
;
18120 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
18123 PyObject
* obj0
= 0 ;
18124 char *kwnames
[] = {
18125 (char *) "self",(char *) "w",(char *) "h", NULL
18128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyDivisionShape_base_OnEndSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18129 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18132 (arg1
)->base_OnEndSize(arg2
,arg3
);
18134 wxPyEndAllowThreads(__tstate
);
18135 if (PyErr_Occurred()) SWIG_fail
;
18137 Py_INCREF(Py_None
); resultobj
= Py_None
;
18144 static PyObject
* PyDivisionShape_swigregister(PyObject
*self
, PyObject
*args
) {
18146 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18147 SWIG_TypeClientData(SWIGTYPE_p_wxPyDivisionShape
, obj
);
18149 return Py_BuildValue((char *)"");
18151 static PyObject
*_wrap_new_PyEllipseShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18152 PyObject
*resultobj
;
18153 double arg1
= (double) 0.0 ;
18154 double arg2
= (double) 0.0 ;
18155 wxPyEllipseShape
*result
;
18156 char *kwnames
[] = {
18157 (char *) "width",(char *) "height", NULL
18160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|dd:new_PyEllipseShape",kwnames
,&arg1
,&arg2
)) goto fail
;
18162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18163 result
= (wxPyEllipseShape
*)new wxPyEllipseShape(arg1
,arg2
);
18165 wxPyEndAllowThreads(__tstate
);
18166 if (PyErr_Occurred()) SWIG_fail
;
18168 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyEllipseShape
, 1);
18175 static PyObject
*_wrap_PyEllipseShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18176 PyObject
*resultobj
;
18177 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18178 PyObject
*arg2
= (PyObject
*) 0 ;
18179 PyObject
*arg3
= (PyObject
*) 0 ;
18180 PyObject
* obj0
= 0 ;
18181 PyObject
* obj1
= 0 ;
18182 PyObject
* obj2
= 0 ;
18183 char *kwnames
[] = {
18184 (char *) "self",(char *) "self",(char *) "_class", NULL
18187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyEllipseShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18188 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18193 (arg1
)->_setCallbackInfo(arg2
,arg3
);
18195 wxPyEndAllowThreads(__tstate
);
18196 if (PyErr_Occurred()) SWIG_fail
;
18198 Py_INCREF(Py_None
); resultobj
= Py_None
;
18205 static PyObject
*_wrap_PyEllipseShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18206 PyObject
*resultobj
;
18207 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18209 PyObject
* obj0
= 0 ;
18210 PyObject
* obj1
= 0 ;
18211 char *kwnames
[] = {
18212 (char *) "self",(char *) "dc", NULL
18215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
18216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18217 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18218 if (arg2
== NULL
) {
18219 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18223 (arg1
)->base_OnDraw(*arg2
);
18225 wxPyEndAllowThreads(__tstate
);
18226 if (PyErr_Occurred()) SWIG_fail
;
18228 Py_INCREF(Py_None
); resultobj
= Py_None
;
18235 static PyObject
*_wrap_PyEllipseShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18236 PyObject
*resultobj
;
18237 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18239 PyObject
* obj0
= 0 ;
18240 PyObject
* obj1
= 0 ;
18241 char *kwnames
[] = {
18242 (char *) "self",(char *) "dc", NULL
18245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
18246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18247 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18248 if (arg2
== NULL
) {
18249 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18253 (arg1
)->base_OnDrawContents(*arg2
);
18255 wxPyEndAllowThreads(__tstate
);
18256 if (PyErr_Occurred()) SWIG_fail
;
18258 Py_INCREF(Py_None
); resultobj
= Py_None
;
18265 static PyObject
*_wrap_PyEllipseShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18266 PyObject
*resultobj
;
18267 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18269 bool arg3
= (bool) FALSE
;
18270 PyObject
* obj0
= 0 ;
18271 PyObject
* obj1
= 0 ;
18272 PyObject
* obj2
= 0 ;
18273 char *kwnames
[] = {
18274 (char *) "self",(char *) "dc",(char *) "erase", NULL
18277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyEllipseShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18278 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18279 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18280 if (arg2
== NULL
) {
18281 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18284 arg3
= PyInt_AsLong(obj2
) ? true : false;
18285 if (PyErr_Occurred()) SWIG_fail
;
18288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18289 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
18291 wxPyEndAllowThreads(__tstate
);
18292 if (PyErr_Occurred()) SWIG_fail
;
18294 Py_INCREF(Py_None
); resultobj
= Py_None
;
18301 static PyObject
*_wrap_PyEllipseShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18302 PyObject
*resultobj
;
18303 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18305 PyObject
* obj0
= 0 ;
18306 PyObject
* obj1
= 0 ;
18307 char *kwnames
[] = {
18308 (char *) "self",(char *) "dc", NULL
18311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
18312 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18313 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18314 if (arg2
== NULL
) {
18315 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18319 (arg1
)->base_OnMoveLinks(*arg2
);
18321 wxPyEndAllowThreads(__tstate
);
18322 if (PyErr_Occurred()) SWIG_fail
;
18324 Py_INCREF(Py_None
); resultobj
= Py_None
;
18331 static PyObject
*_wrap_PyEllipseShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18332 PyObject
*resultobj
;
18333 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18335 PyObject
* obj0
= 0 ;
18336 PyObject
* obj1
= 0 ;
18337 char *kwnames
[] = {
18338 (char *) "self",(char *) "dc", NULL
18341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
18342 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18343 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18344 if (arg2
== NULL
) {
18345 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18349 (arg1
)->base_OnErase(*arg2
);
18351 wxPyEndAllowThreads(__tstate
);
18352 if (PyErr_Occurred()) SWIG_fail
;
18354 Py_INCREF(Py_None
); resultobj
= Py_None
;
18361 static PyObject
*_wrap_PyEllipseShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18362 PyObject
*resultobj
;
18363 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18365 PyObject
* obj0
= 0 ;
18366 PyObject
* obj1
= 0 ;
18367 char *kwnames
[] = {
18368 (char *) "self",(char *) "dc", NULL
18371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
18372 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18373 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18374 if (arg2
== NULL
) {
18375 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18379 (arg1
)->base_OnEraseContents(*arg2
);
18381 wxPyEndAllowThreads(__tstate
);
18382 if (PyErr_Occurred()) SWIG_fail
;
18384 Py_INCREF(Py_None
); resultobj
= Py_None
;
18391 static PyObject
*_wrap_PyEllipseShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18392 PyObject
*resultobj
;
18393 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18395 PyObject
* obj0
= 0 ;
18396 PyObject
* obj1
= 0 ;
18397 char *kwnames
[] = {
18398 (char *) "self",(char *) "dc", NULL
18401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
18402 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18403 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18404 if (arg2
== NULL
) {
18405 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18409 (arg1
)->base_OnHighlight(*arg2
);
18411 wxPyEndAllowThreads(__tstate
);
18412 if (PyErr_Occurred()) SWIG_fail
;
18414 Py_INCREF(Py_None
); resultobj
= Py_None
;
18421 static PyObject
*_wrap_PyEllipseShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18422 PyObject
*resultobj
;
18423 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18426 int arg4
= (int) 0 ;
18427 int arg5
= (int) 0 ;
18428 PyObject
* obj0
= 0 ;
18429 char *kwnames
[] = {
18430 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyEllipseShape_base_OnLeftClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
18434 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18437 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
18439 wxPyEndAllowThreads(__tstate
);
18440 if (PyErr_Occurred()) SWIG_fail
;
18442 Py_INCREF(Py_None
); resultobj
= Py_None
;
18449 static PyObject
*_wrap_PyEllipseShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18450 PyObject
*resultobj
;
18451 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18454 int arg4
= (int) 0 ;
18455 int arg5
= (int) 0 ;
18456 PyObject
* obj0
= 0 ;
18457 char *kwnames
[] = {
18458 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyEllipseShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
18462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18465 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
18467 wxPyEndAllowThreads(__tstate
);
18468 if (PyErr_Occurred()) SWIG_fail
;
18470 Py_INCREF(Py_None
); resultobj
= Py_None
;
18477 static PyObject
*_wrap_PyEllipseShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18478 PyObject
*resultobj
;
18479 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18482 int arg4
= (int) 0 ;
18483 int arg5
= (int) 0 ;
18484 PyObject
* obj0
= 0 ;
18485 char *kwnames
[] = {
18486 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyEllipseShape_base_OnRightClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
18490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18493 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
18495 wxPyEndAllowThreads(__tstate
);
18496 if (PyErr_Occurred()) SWIG_fail
;
18498 Py_INCREF(Py_None
); resultobj
= Py_None
;
18505 static PyObject
*_wrap_PyEllipseShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18506 PyObject
*resultobj
;
18507 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18510 PyObject
* obj0
= 0 ;
18511 char *kwnames
[] = {
18512 (char *) "self",(char *) "x",(char *) "y", NULL
18515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyEllipseShape_base_OnSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18516 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18519 (arg1
)->base_OnSize(arg2
,arg3
);
18521 wxPyEndAllowThreads(__tstate
);
18522 if (PyErr_Occurred()) SWIG_fail
;
18524 Py_INCREF(Py_None
); resultobj
= Py_None
;
18531 static PyObject
*_wrap_PyEllipseShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18532 PyObject
*resultobj
;
18533 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18539 bool arg7
= (bool) True
;
18541 PyObject
* obj0
= 0 ;
18542 PyObject
* obj1
= 0 ;
18543 PyObject
* obj6
= 0 ;
18544 char *kwnames
[] = {
18545 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
18548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyEllipseShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
18549 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18550 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18551 if (arg2
== NULL
) {
18552 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18555 arg7
= PyInt_AsLong(obj6
) ? true : false;
18556 if (PyErr_Occurred()) SWIG_fail
;
18559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18560 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18562 wxPyEndAllowThreads(__tstate
);
18563 if (PyErr_Occurred()) SWIG_fail
;
18565 resultobj
= PyInt_FromLong((long)result
);
18572 static PyObject
*_wrap_PyEllipseShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18573 PyObject
*resultobj
;
18574 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18580 bool arg7
= (bool) True
;
18581 PyObject
* obj0
= 0 ;
18582 PyObject
* obj1
= 0 ;
18583 PyObject
* obj6
= 0 ;
18584 char *kwnames
[] = {
18585 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
18588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyEllipseShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
18589 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18590 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18591 if (arg2
== NULL
) {
18592 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18595 arg7
= PyInt_AsLong(obj6
) ? true : false;
18596 if (PyErr_Occurred()) SWIG_fail
;
18599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18600 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18602 wxPyEndAllowThreads(__tstate
);
18603 if (PyErr_Occurred()) SWIG_fail
;
18605 Py_INCREF(Py_None
); resultobj
= Py_None
;
18612 static PyObject
*_wrap_PyEllipseShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18613 PyObject
*resultobj
;
18614 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18618 int arg5
= (int) 0 ;
18619 int arg6
= (int) 0 ;
18620 PyObject
* obj0
= 0 ;
18621 PyObject
* obj1
= 0 ;
18622 char *kwnames
[] = {
18623 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyEllipseShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
18627 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18628 arg2
= PyInt_AsLong(obj1
) ? true : false;
18629 if (PyErr_Occurred()) SWIG_fail
;
18631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18632 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
18634 wxPyEndAllowThreads(__tstate
);
18635 if (PyErr_Occurred()) SWIG_fail
;
18637 Py_INCREF(Py_None
); resultobj
= Py_None
;
18644 static PyObject
*_wrap_PyEllipseShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18645 PyObject
*resultobj
;
18646 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18649 int arg4
= (int) 0 ;
18650 int arg5
= (int) 0 ;
18651 PyObject
* obj0
= 0 ;
18652 char *kwnames
[] = {
18653 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyEllipseShape_base_OnBeginDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
18657 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18660 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
18662 wxPyEndAllowThreads(__tstate
);
18663 if (PyErr_Occurred()) SWIG_fail
;
18665 Py_INCREF(Py_None
); resultobj
= Py_None
;
18672 static PyObject
*_wrap_PyEllipseShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18673 PyObject
*resultobj
;
18674 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18677 int arg4
= (int) 0 ;
18678 int arg5
= (int) 0 ;
18679 PyObject
* obj0
= 0 ;
18680 char *kwnames
[] = {
18681 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyEllipseShape_base_OnEndDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
18685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18688 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
18690 wxPyEndAllowThreads(__tstate
);
18691 if (PyErr_Occurred()) SWIG_fail
;
18693 Py_INCREF(Py_None
); resultobj
= Py_None
;
18700 static PyObject
*_wrap_PyEllipseShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18701 PyObject
*resultobj
;
18702 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18706 int arg5
= (int) 0 ;
18707 int arg6
= (int) 0 ;
18708 PyObject
* obj0
= 0 ;
18709 PyObject
* obj1
= 0 ;
18710 char *kwnames
[] = {
18711 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyEllipseShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
18715 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18716 arg2
= PyInt_AsLong(obj1
) ? true : false;
18717 if (PyErr_Occurred()) SWIG_fail
;
18719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18720 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
18722 wxPyEndAllowThreads(__tstate
);
18723 if (PyErr_Occurred()) SWIG_fail
;
18725 Py_INCREF(Py_None
); resultobj
= Py_None
;
18732 static PyObject
*_wrap_PyEllipseShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18733 PyObject
*resultobj
;
18734 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18737 int arg4
= (int) 0 ;
18738 int arg5
= (int) 0 ;
18739 PyObject
* obj0
= 0 ;
18740 char *kwnames
[] = {
18741 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyEllipseShape_base_OnBeginDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
18745 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18748 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
18750 wxPyEndAllowThreads(__tstate
);
18751 if (PyErr_Occurred()) SWIG_fail
;
18753 Py_INCREF(Py_None
); resultobj
= Py_None
;
18760 static PyObject
*_wrap_PyEllipseShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18761 PyObject
*resultobj
;
18762 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18765 int arg4
= (int) 0 ;
18766 int arg5
= (int) 0 ;
18767 PyObject
* obj0
= 0 ;
18768 char *kwnames
[] = {
18769 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyEllipseShape_base_OnEndDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
18773 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18776 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
18778 wxPyEndAllowThreads(__tstate
);
18779 if (PyErr_Occurred()) SWIG_fail
;
18781 Py_INCREF(Py_None
); resultobj
= Py_None
;
18788 static PyObject
*_wrap_PyEllipseShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18789 PyObject
*resultobj
;
18790 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18796 PyObject
* obj0
= 0 ;
18797 PyObject
* obj1
= 0 ;
18798 char *kwnames
[] = {
18799 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
18802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd:PyEllipseShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
18803 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18804 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18805 if (arg2
== NULL
) {
18806 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18810 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
18812 wxPyEndAllowThreads(__tstate
);
18813 if (PyErr_Occurred()) SWIG_fail
;
18815 Py_INCREF(Py_None
); resultobj
= Py_None
;
18822 static PyObject
*_wrap_PyEllipseShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18823 PyObject
*resultobj
;
18824 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18826 PyObject
* obj0
= 0 ;
18827 PyObject
* obj1
= 0 ;
18828 char *kwnames
[] = {
18829 (char *) "self",(char *) "dc", NULL
18832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
18833 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18834 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18835 if (arg2
== NULL
) {
18836 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18840 (arg1
)->base_OnDrawControlPoints(*arg2
);
18842 wxPyEndAllowThreads(__tstate
);
18843 if (PyErr_Occurred()) SWIG_fail
;
18845 Py_INCREF(Py_None
); resultobj
= Py_None
;
18852 static PyObject
*_wrap_PyEllipseShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18853 PyObject
*resultobj
;
18854 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18856 PyObject
* obj0
= 0 ;
18857 PyObject
* obj1
= 0 ;
18858 char *kwnames
[] = {
18859 (char *) "self",(char *) "dc", NULL
18862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
18863 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18864 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18865 if (arg2
== NULL
) {
18866 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18870 (arg1
)->base_OnEraseControlPoints(*arg2
);
18872 wxPyEndAllowThreads(__tstate
);
18873 if (PyErr_Occurred()) SWIG_fail
;
18875 Py_INCREF(Py_None
); resultobj
= Py_None
;
18882 static PyObject
*_wrap_PyEllipseShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18883 PyObject
*resultobj
;
18884 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18886 bool arg3
= (bool) True
;
18887 PyObject
* obj0
= 0 ;
18888 PyObject
* obj1
= 0 ;
18889 PyObject
* obj2
= 0 ;
18890 char *kwnames
[] = {
18891 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
18894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyEllipseShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18896 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18897 if (arg2
== NULL
) {
18898 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18901 arg3
= PyInt_AsLong(obj2
) ? true : false;
18902 if (PyErr_Occurred()) SWIG_fail
;
18905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18906 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
18908 wxPyEndAllowThreads(__tstate
);
18909 if (PyErr_Occurred()) SWIG_fail
;
18911 Py_INCREF(Py_None
); resultobj
= Py_None
;
18918 static PyObject
*_wrap_PyEllipseShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18919 PyObject
*resultobj
;
18920 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18921 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
18925 int arg6
= (int) 0 ;
18926 int arg7
= (int) 0 ;
18927 PyObject
* obj0
= 0 ;
18928 PyObject
* obj1
= 0 ;
18929 PyObject
* obj2
= 0 ;
18930 char *kwnames
[] = {
18931 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd|ii:PyEllipseShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
18935 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18936 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18937 arg3
= PyInt_AsLong(obj2
) ? true : false;
18938 if (PyErr_Occurred()) SWIG_fail
;
18940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18941 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18943 wxPyEndAllowThreads(__tstate
);
18944 if (PyErr_Occurred()) SWIG_fail
;
18946 Py_INCREF(Py_None
); resultobj
= Py_None
;
18953 static PyObject
*_wrap_PyEllipseShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18954 PyObject
*resultobj
;
18955 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18956 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
18959 int arg5
= (int) 0 ;
18960 int arg6
= (int) 0 ;
18961 PyObject
* obj0
= 0 ;
18962 PyObject
* obj1
= 0 ;
18963 char *kwnames
[] = {
18964 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyEllipseShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
18968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18969 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18972 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
18974 wxPyEndAllowThreads(__tstate
);
18975 if (PyErr_Occurred()) SWIG_fail
;
18977 Py_INCREF(Py_None
); resultobj
= Py_None
;
18984 static PyObject
*_wrap_PyEllipseShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18985 PyObject
*resultobj
;
18986 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18987 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
18990 int arg5
= (int) 0 ;
18991 int arg6
= (int) 0 ;
18992 PyObject
* obj0
= 0 ;
18993 PyObject
* obj1
= 0 ;
18994 char *kwnames
[] = {
18995 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyEllipseShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
18999 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19000 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19003 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
19005 wxPyEndAllowThreads(__tstate
);
19006 if (PyErr_Occurred()) SWIG_fail
;
19008 Py_INCREF(Py_None
); resultobj
= Py_None
;
19015 static PyObject
*_wrap_PyEllipseShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19016 PyObject
*resultobj
;
19017 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
19020 PyObject
* obj0
= 0 ;
19021 char *kwnames
[] = {
19022 (char *) "self",(char *) "w",(char *) "h", NULL
19025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyEllipseShape_base_OnBeginSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19026 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19029 (arg1
)->base_OnBeginSize(arg2
,arg3
);
19031 wxPyEndAllowThreads(__tstate
);
19032 if (PyErr_Occurred()) SWIG_fail
;
19034 Py_INCREF(Py_None
); resultobj
= Py_None
;
19041 static PyObject
*_wrap_PyEllipseShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19042 PyObject
*resultobj
;
19043 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
19046 PyObject
* obj0
= 0 ;
19047 char *kwnames
[] = {
19048 (char *) "self",(char *) "w",(char *) "h", NULL
19051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyEllipseShape_base_OnEndSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19052 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19055 (arg1
)->base_OnEndSize(arg2
,arg3
);
19057 wxPyEndAllowThreads(__tstate
);
19058 if (PyErr_Occurred()) SWIG_fail
;
19060 Py_INCREF(Py_None
); resultobj
= Py_None
;
19067 static PyObject
* PyEllipseShape_swigregister(PyObject
*self
, PyObject
*args
) {
19069 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19070 SWIG_TypeClientData(SWIGTYPE_p_wxPyEllipseShape
, obj
);
19072 return Py_BuildValue((char *)"");
19074 static PyObject
*_wrap_new_PyCircleShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19075 PyObject
*resultobj
;
19076 double arg1
= (double) 0.0 ;
19077 wxPyCircleShape
*result
;
19078 char *kwnames
[] = {
19079 (char *) "width", NULL
19082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|d:new_PyCircleShape",kwnames
,&arg1
)) goto fail
;
19084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19085 result
= (wxPyCircleShape
*)new wxPyCircleShape(arg1
);
19087 wxPyEndAllowThreads(__tstate
);
19088 if (PyErr_Occurred()) SWIG_fail
;
19090 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyCircleShape
, 1);
19097 static PyObject
*_wrap_PyCircleShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19098 PyObject
*resultobj
;
19099 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19100 PyObject
*arg2
= (PyObject
*) 0 ;
19101 PyObject
*arg3
= (PyObject
*) 0 ;
19102 PyObject
* obj0
= 0 ;
19103 PyObject
* obj1
= 0 ;
19104 PyObject
* obj2
= 0 ;
19105 char *kwnames
[] = {
19106 (char *) "self",(char *) "self",(char *) "_class", NULL
19109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCircleShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19110 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19115 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19117 wxPyEndAllowThreads(__tstate
);
19118 if (PyErr_Occurred()) SWIG_fail
;
19120 Py_INCREF(Py_None
); resultobj
= Py_None
;
19127 static PyObject
*_wrap_PyCircleShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19128 PyObject
*resultobj
;
19129 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19131 PyObject
* obj0
= 0 ;
19132 PyObject
* obj1
= 0 ;
19133 char *kwnames
[] = {
19134 (char *) "self",(char *) "dc", NULL
19137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
19138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19139 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19140 if (arg2
== NULL
) {
19141 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19145 (arg1
)->base_OnDraw(*arg2
);
19147 wxPyEndAllowThreads(__tstate
);
19148 if (PyErr_Occurred()) SWIG_fail
;
19150 Py_INCREF(Py_None
); resultobj
= Py_None
;
19157 static PyObject
*_wrap_PyCircleShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19158 PyObject
*resultobj
;
19159 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19161 PyObject
* obj0
= 0 ;
19162 PyObject
* obj1
= 0 ;
19163 char *kwnames
[] = {
19164 (char *) "self",(char *) "dc", NULL
19167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
19168 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19169 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19170 if (arg2
== NULL
) {
19171 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19175 (arg1
)->base_OnDrawContents(*arg2
);
19177 wxPyEndAllowThreads(__tstate
);
19178 if (PyErr_Occurred()) SWIG_fail
;
19180 Py_INCREF(Py_None
); resultobj
= Py_None
;
19187 static PyObject
*_wrap_PyCircleShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19188 PyObject
*resultobj
;
19189 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19191 bool arg3
= (bool) FALSE
;
19192 PyObject
* obj0
= 0 ;
19193 PyObject
* obj1
= 0 ;
19194 PyObject
* obj2
= 0 ;
19195 char *kwnames
[] = {
19196 (char *) "self",(char *) "dc",(char *) "erase", NULL
19199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCircleShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19200 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19201 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19202 if (arg2
== NULL
) {
19203 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19206 arg3
= PyInt_AsLong(obj2
) ? true : false;
19207 if (PyErr_Occurred()) SWIG_fail
;
19210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19211 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
19213 wxPyEndAllowThreads(__tstate
);
19214 if (PyErr_Occurred()) SWIG_fail
;
19216 Py_INCREF(Py_None
); resultobj
= Py_None
;
19223 static PyObject
*_wrap_PyCircleShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19224 PyObject
*resultobj
;
19225 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19227 PyObject
* obj0
= 0 ;
19228 PyObject
* obj1
= 0 ;
19229 char *kwnames
[] = {
19230 (char *) "self",(char *) "dc", NULL
19233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
19234 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19235 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19236 if (arg2
== NULL
) {
19237 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19241 (arg1
)->base_OnMoveLinks(*arg2
);
19243 wxPyEndAllowThreads(__tstate
);
19244 if (PyErr_Occurred()) SWIG_fail
;
19246 Py_INCREF(Py_None
); resultobj
= Py_None
;
19253 static PyObject
*_wrap_PyCircleShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19254 PyObject
*resultobj
;
19255 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19257 PyObject
* obj0
= 0 ;
19258 PyObject
* obj1
= 0 ;
19259 char *kwnames
[] = {
19260 (char *) "self",(char *) "dc", NULL
19263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
19264 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19265 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19266 if (arg2
== NULL
) {
19267 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19271 (arg1
)->base_OnErase(*arg2
);
19273 wxPyEndAllowThreads(__tstate
);
19274 if (PyErr_Occurred()) SWIG_fail
;
19276 Py_INCREF(Py_None
); resultobj
= Py_None
;
19283 static PyObject
*_wrap_PyCircleShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19284 PyObject
*resultobj
;
19285 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19287 PyObject
* obj0
= 0 ;
19288 PyObject
* obj1
= 0 ;
19289 char *kwnames
[] = {
19290 (char *) "self",(char *) "dc", NULL
19293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
19294 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19295 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19296 if (arg2
== NULL
) {
19297 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19301 (arg1
)->base_OnEraseContents(*arg2
);
19303 wxPyEndAllowThreads(__tstate
);
19304 if (PyErr_Occurred()) SWIG_fail
;
19306 Py_INCREF(Py_None
); resultobj
= Py_None
;
19313 static PyObject
*_wrap_PyCircleShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19314 PyObject
*resultobj
;
19315 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19317 PyObject
* obj0
= 0 ;
19318 PyObject
* obj1
= 0 ;
19319 char *kwnames
[] = {
19320 (char *) "self",(char *) "dc", NULL
19323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
19324 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19325 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19326 if (arg2
== NULL
) {
19327 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19331 (arg1
)->base_OnHighlight(*arg2
);
19333 wxPyEndAllowThreads(__tstate
);
19334 if (PyErr_Occurred()) SWIG_fail
;
19336 Py_INCREF(Py_None
); resultobj
= Py_None
;
19343 static PyObject
*_wrap_PyCircleShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19344 PyObject
*resultobj
;
19345 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19348 int arg4
= (int) 0 ;
19349 int arg5
= (int) 0 ;
19350 PyObject
* obj0
= 0 ;
19351 char *kwnames
[] = {
19352 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyCircleShape_base_OnLeftClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
19356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19359 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
19361 wxPyEndAllowThreads(__tstate
);
19362 if (PyErr_Occurred()) SWIG_fail
;
19364 Py_INCREF(Py_None
); resultobj
= Py_None
;
19371 static PyObject
*_wrap_PyCircleShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19372 PyObject
*resultobj
;
19373 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19376 int arg4
= (int) 0 ;
19377 int arg5
= (int) 0 ;
19378 PyObject
* obj0
= 0 ;
19379 char *kwnames
[] = {
19380 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyCircleShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
19384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19387 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
19389 wxPyEndAllowThreads(__tstate
);
19390 if (PyErr_Occurred()) SWIG_fail
;
19392 Py_INCREF(Py_None
); resultobj
= Py_None
;
19399 static PyObject
*_wrap_PyCircleShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19400 PyObject
*resultobj
;
19401 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19404 int arg4
= (int) 0 ;
19405 int arg5
= (int) 0 ;
19406 PyObject
* obj0
= 0 ;
19407 char *kwnames
[] = {
19408 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyCircleShape_base_OnRightClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
19412 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19415 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
19417 wxPyEndAllowThreads(__tstate
);
19418 if (PyErr_Occurred()) SWIG_fail
;
19420 Py_INCREF(Py_None
); resultobj
= Py_None
;
19427 static PyObject
*_wrap_PyCircleShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19428 PyObject
*resultobj
;
19429 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19432 PyObject
* obj0
= 0 ;
19433 char *kwnames
[] = {
19434 (char *) "self",(char *) "x",(char *) "y", NULL
19437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyCircleShape_base_OnSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19438 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19441 (arg1
)->base_OnSize(arg2
,arg3
);
19443 wxPyEndAllowThreads(__tstate
);
19444 if (PyErr_Occurred()) SWIG_fail
;
19446 Py_INCREF(Py_None
); resultobj
= Py_None
;
19453 static PyObject
*_wrap_PyCircleShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19454 PyObject
*resultobj
;
19455 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19461 bool arg7
= (bool) True
;
19463 PyObject
* obj0
= 0 ;
19464 PyObject
* obj1
= 0 ;
19465 PyObject
* obj6
= 0 ;
19466 char *kwnames
[] = {
19467 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
19470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyCircleShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
19471 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19472 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19473 if (arg2
== NULL
) {
19474 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19477 arg7
= PyInt_AsLong(obj6
) ? true : false;
19478 if (PyErr_Occurred()) SWIG_fail
;
19481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19482 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19484 wxPyEndAllowThreads(__tstate
);
19485 if (PyErr_Occurred()) SWIG_fail
;
19487 resultobj
= PyInt_FromLong((long)result
);
19494 static PyObject
*_wrap_PyCircleShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19495 PyObject
*resultobj
;
19496 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19502 bool arg7
= (bool) True
;
19503 PyObject
* obj0
= 0 ;
19504 PyObject
* obj1
= 0 ;
19505 PyObject
* obj6
= 0 ;
19506 char *kwnames
[] = {
19507 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
19510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyCircleShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
19511 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19512 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19513 if (arg2
== NULL
) {
19514 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19517 arg7
= PyInt_AsLong(obj6
) ? true : false;
19518 if (PyErr_Occurred()) SWIG_fail
;
19521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19522 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19524 wxPyEndAllowThreads(__tstate
);
19525 if (PyErr_Occurred()) SWIG_fail
;
19527 Py_INCREF(Py_None
); resultobj
= Py_None
;
19534 static PyObject
*_wrap_PyCircleShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19535 PyObject
*resultobj
;
19536 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19540 int arg5
= (int) 0 ;
19541 int arg6
= (int) 0 ;
19542 PyObject
* obj0
= 0 ;
19543 PyObject
* obj1
= 0 ;
19544 char *kwnames
[] = {
19545 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyCircleShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
19549 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19550 arg2
= PyInt_AsLong(obj1
) ? true : false;
19551 if (PyErr_Occurred()) SWIG_fail
;
19553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19554 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
19556 wxPyEndAllowThreads(__tstate
);
19557 if (PyErr_Occurred()) SWIG_fail
;
19559 Py_INCREF(Py_None
); resultobj
= Py_None
;
19566 static PyObject
*_wrap_PyCircleShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19567 PyObject
*resultobj
;
19568 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19571 int arg4
= (int) 0 ;
19572 int arg5
= (int) 0 ;
19573 PyObject
* obj0
= 0 ;
19574 char *kwnames
[] = {
19575 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyCircleShape_base_OnBeginDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
19579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19582 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
19584 wxPyEndAllowThreads(__tstate
);
19585 if (PyErr_Occurred()) SWIG_fail
;
19587 Py_INCREF(Py_None
); resultobj
= Py_None
;
19594 static PyObject
*_wrap_PyCircleShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19595 PyObject
*resultobj
;
19596 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19599 int arg4
= (int) 0 ;
19600 int arg5
= (int) 0 ;
19601 PyObject
* obj0
= 0 ;
19602 char *kwnames
[] = {
19603 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyCircleShape_base_OnEndDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
19607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19610 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
19612 wxPyEndAllowThreads(__tstate
);
19613 if (PyErr_Occurred()) SWIG_fail
;
19615 Py_INCREF(Py_None
); resultobj
= Py_None
;
19622 static PyObject
*_wrap_PyCircleShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19623 PyObject
*resultobj
;
19624 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19628 int arg5
= (int) 0 ;
19629 int arg6
= (int) 0 ;
19630 PyObject
* obj0
= 0 ;
19631 PyObject
* obj1
= 0 ;
19632 char *kwnames
[] = {
19633 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyCircleShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
19637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19638 arg2
= PyInt_AsLong(obj1
) ? true : false;
19639 if (PyErr_Occurred()) SWIG_fail
;
19641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19642 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
19644 wxPyEndAllowThreads(__tstate
);
19645 if (PyErr_Occurred()) SWIG_fail
;
19647 Py_INCREF(Py_None
); resultobj
= Py_None
;
19654 static PyObject
*_wrap_PyCircleShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19655 PyObject
*resultobj
;
19656 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19659 int arg4
= (int) 0 ;
19660 int arg5
= (int) 0 ;
19661 PyObject
* obj0
= 0 ;
19662 char *kwnames
[] = {
19663 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyCircleShape_base_OnBeginDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
19667 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19670 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
19672 wxPyEndAllowThreads(__tstate
);
19673 if (PyErr_Occurred()) SWIG_fail
;
19675 Py_INCREF(Py_None
); resultobj
= Py_None
;
19682 static PyObject
*_wrap_PyCircleShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19683 PyObject
*resultobj
;
19684 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19687 int arg4
= (int) 0 ;
19688 int arg5
= (int) 0 ;
19689 PyObject
* obj0
= 0 ;
19690 char *kwnames
[] = {
19691 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyCircleShape_base_OnEndDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
19695 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19698 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
19700 wxPyEndAllowThreads(__tstate
);
19701 if (PyErr_Occurred()) SWIG_fail
;
19703 Py_INCREF(Py_None
); resultobj
= Py_None
;
19710 static PyObject
*_wrap_PyCircleShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19711 PyObject
*resultobj
;
19712 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19718 PyObject
* obj0
= 0 ;
19719 PyObject
* obj1
= 0 ;
19720 char *kwnames
[] = {
19721 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
19724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd:PyCircleShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
19725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19726 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19727 if (arg2
== NULL
) {
19728 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19732 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
19734 wxPyEndAllowThreads(__tstate
);
19735 if (PyErr_Occurred()) SWIG_fail
;
19737 Py_INCREF(Py_None
); resultobj
= Py_None
;
19744 static PyObject
*_wrap_PyCircleShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19745 PyObject
*resultobj
;
19746 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19748 PyObject
* obj0
= 0 ;
19749 PyObject
* obj1
= 0 ;
19750 char *kwnames
[] = {
19751 (char *) "self",(char *) "dc", NULL
19754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
19755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19756 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19757 if (arg2
== NULL
) {
19758 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19762 (arg1
)->base_OnDrawControlPoints(*arg2
);
19764 wxPyEndAllowThreads(__tstate
);
19765 if (PyErr_Occurred()) SWIG_fail
;
19767 Py_INCREF(Py_None
); resultobj
= Py_None
;
19774 static PyObject
*_wrap_PyCircleShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19775 PyObject
*resultobj
;
19776 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19778 PyObject
* obj0
= 0 ;
19779 PyObject
* obj1
= 0 ;
19780 char *kwnames
[] = {
19781 (char *) "self",(char *) "dc", NULL
19784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
19785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19786 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19787 if (arg2
== NULL
) {
19788 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19792 (arg1
)->base_OnEraseControlPoints(*arg2
);
19794 wxPyEndAllowThreads(__tstate
);
19795 if (PyErr_Occurred()) SWIG_fail
;
19797 Py_INCREF(Py_None
); resultobj
= Py_None
;
19804 static PyObject
*_wrap_PyCircleShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19805 PyObject
*resultobj
;
19806 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19808 bool arg3
= (bool) True
;
19809 PyObject
* obj0
= 0 ;
19810 PyObject
* obj1
= 0 ;
19811 PyObject
* obj2
= 0 ;
19812 char *kwnames
[] = {
19813 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
19816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCircleShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19817 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19818 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19819 if (arg2
== NULL
) {
19820 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19823 arg3
= PyInt_AsLong(obj2
) ? true : false;
19824 if (PyErr_Occurred()) SWIG_fail
;
19827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19828 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
19830 wxPyEndAllowThreads(__tstate
);
19831 if (PyErr_Occurred()) SWIG_fail
;
19833 Py_INCREF(Py_None
); resultobj
= Py_None
;
19840 static PyObject
*_wrap_PyCircleShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19841 PyObject
*resultobj
;
19842 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19843 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
19847 int arg6
= (int) 0 ;
19848 int arg7
= (int) 0 ;
19849 PyObject
* obj0
= 0 ;
19850 PyObject
* obj1
= 0 ;
19851 PyObject
* obj2
= 0 ;
19852 char *kwnames
[] = {
19853 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd|ii:PyCircleShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
19857 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19858 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19859 arg3
= PyInt_AsLong(obj2
) ? true : false;
19860 if (PyErr_Occurred()) SWIG_fail
;
19862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19863 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19865 wxPyEndAllowThreads(__tstate
);
19866 if (PyErr_Occurred()) SWIG_fail
;
19868 Py_INCREF(Py_None
); resultobj
= Py_None
;
19875 static PyObject
*_wrap_PyCircleShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19876 PyObject
*resultobj
;
19877 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19878 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
19881 int arg5
= (int) 0 ;
19882 int arg6
= (int) 0 ;
19883 PyObject
* obj0
= 0 ;
19884 PyObject
* obj1
= 0 ;
19885 char *kwnames
[] = {
19886 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyCircleShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
19890 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19891 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19894 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
19896 wxPyEndAllowThreads(__tstate
);
19897 if (PyErr_Occurred()) SWIG_fail
;
19899 Py_INCREF(Py_None
); resultobj
= Py_None
;
19906 static PyObject
*_wrap_PyCircleShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19907 PyObject
*resultobj
;
19908 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19909 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
19912 int arg5
= (int) 0 ;
19913 int arg6
= (int) 0 ;
19914 PyObject
* obj0
= 0 ;
19915 PyObject
* obj1
= 0 ;
19916 char *kwnames
[] = {
19917 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyCircleShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
19921 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19922 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19925 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
19927 wxPyEndAllowThreads(__tstate
);
19928 if (PyErr_Occurred()) SWIG_fail
;
19930 Py_INCREF(Py_None
); resultobj
= Py_None
;
19937 static PyObject
*_wrap_PyCircleShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19938 PyObject
*resultobj
;
19939 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19942 PyObject
* obj0
= 0 ;
19943 char *kwnames
[] = {
19944 (char *) "self",(char *) "w",(char *) "h", NULL
19947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyCircleShape_base_OnBeginSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19948 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19951 (arg1
)->base_OnBeginSize(arg2
,arg3
);
19953 wxPyEndAllowThreads(__tstate
);
19954 if (PyErr_Occurred()) SWIG_fail
;
19956 Py_INCREF(Py_None
); resultobj
= Py_None
;
19963 static PyObject
*_wrap_PyCircleShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19964 PyObject
*resultobj
;
19965 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19968 PyObject
* obj0
= 0 ;
19969 char *kwnames
[] = {
19970 (char *) "self",(char *) "w",(char *) "h", NULL
19973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyCircleShape_base_OnEndSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19974 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19977 (arg1
)->base_OnEndSize(arg2
,arg3
);
19979 wxPyEndAllowThreads(__tstate
);
19980 if (PyErr_Occurred()) SWIG_fail
;
19982 Py_INCREF(Py_None
); resultobj
= Py_None
;
19989 static PyObject
* PyCircleShape_swigregister(PyObject
*self
, PyObject
*args
) {
19991 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19992 SWIG_TypeClientData(SWIGTYPE_p_wxPyCircleShape
, obj
);
19994 return Py_BuildValue((char *)"");
19996 static PyObject
*_wrap_new_ArrowHead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19997 PyObject
*resultobj
;
19998 int arg1
= (int) 0 ;
19999 int arg2
= (int) 0 ;
20000 double arg3
= (double) 0.0 ;
20001 double arg4
= (double) 0.0 ;
20002 wxString
const &arg5_defvalue
= wxPyEmptyString
;
20003 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
20004 wxPseudoMetaFile
*arg6
= (wxPseudoMetaFile
*) NULL
;
20005 long arg7
= (long) -1 ;
20006 wxArrowHead
*result
;
20007 bool temp5
= False
;
20008 PyObject
* obj4
= 0 ;
20009 PyObject
* obj5
= 0 ;
20010 char *kwnames
[] = {
20011 (char *) "type",(char *) "end",(char *) "size",(char *) "dist",(char *) "name",(char *) "mf",(char *) "arrowId", NULL
20014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiddOOl:new_ArrowHead",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
,&obj4
,&obj5
,&arg7
)) goto fail
;
20017 arg5
= wxString_in_helper(obj4
);
20018 if (arg5
== NULL
) SWIG_fail
;
20023 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20027 result
= (wxArrowHead
*)new wxArrowHead(arg1
,arg2
,arg3
,arg4
,(wxString
const &)*arg5
,arg6
,arg7
);
20029 wxPyEndAllowThreads(__tstate
);
20030 if (PyErr_Occurred()) SWIG_fail
;
20033 resultobj
= wxPyMake_wxObject(result
);
20049 static PyObject
*_wrap_delete_ArrowHead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20050 PyObject
*resultobj
;
20051 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
20052 PyObject
* obj0
= 0 ;
20053 char *kwnames
[] = {
20054 (char *) "self", NULL
20057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ArrowHead",kwnames
,&obj0
)) goto fail
;
20058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20063 wxPyEndAllowThreads(__tstate
);
20064 if (PyErr_Occurred()) SWIG_fail
;
20066 Py_INCREF(Py_None
); resultobj
= Py_None
;
20073 static PyObject
*_wrap_ArrowHead__GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20074 PyObject
*resultobj
;
20075 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
20077 PyObject
* obj0
= 0 ;
20078 char *kwnames
[] = {
20079 (char *) "self", NULL
20082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead__GetType",kwnames
,&obj0
)) goto fail
;
20083 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20086 result
= (int)(arg1
)->_GetType();
20088 wxPyEndAllowThreads(__tstate
);
20089 if (PyErr_Occurred()) SWIG_fail
;
20091 resultobj
= PyInt_FromLong((long)result
);
20098 static PyObject
*_wrap_ArrowHead_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20099 PyObject
*resultobj
;
20100 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
20102 PyObject
* obj0
= 0 ;
20103 char *kwnames
[] = {
20104 (char *) "self", NULL
20107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetPosition",kwnames
,&obj0
)) goto fail
;
20108 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20111 result
= (int)(arg1
)->GetPosition();
20113 wxPyEndAllowThreads(__tstate
);
20114 if (PyErr_Occurred()) SWIG_fail
;
20116 resultobj
= PyInt_FromLong((long)result
);
20123 static PyObject
*_wrap_ArrowHead_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20124 PyObject
*resultobj
;
20125 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
20127 PyObject
* obj0
= 0 ;
20128 char *kwnames
[] = {
20129 (char *) "self",(char *) "pos", NULL
20132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ArrowHead_SetPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
20133 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20136 (arg1
)->SetPosition(arg2
);
20138 wxPyEndAllowThreads(__tstate
);
20139 if (PyErr_Occurred()) SWIG_fail
;
20141 Py_INCREF(Py_None
); resultobj
= Py_None
;
20148 static PyObject
*_wrap_ArrowHead_GetXOffset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20149 PyObject
*resultobj
;
20150 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
20152 PyObject
* obj0
= 0 ;
20153 char *kwnames
[] = {
20154 (char *) "self", NULL
20157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetXOffset",kwnames
,&obj0
)) goto fail
;
20158 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20161 result
= (double)(arg1
)->GetXOffset();
20163 wxPyEndAllowThreads(__tstate
);
20164 if (PyErr_Occurred()) SWIG_fail
;
20166 resultobj
= PyFloat_FromDouble(result
);
20173 static PyObject
*_wrap_ArrowHead_GetYOffset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20174 PyObject
*resultobj
;
20175 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
20177 PyObject
* obj0
= 0 ;
20178 char *kwnames
[] = {
20179 (char *) "self", NULL
20182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetYOffset",kwnames
,&obj0
)) goto fail
;
20183 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20186 result
= (double)(arg1
)->GetYOffset();
20188 wxPyEndAllowThreads(__tstate
);
20189 if (PyErr_Occurred()) SWIG_fail
;
20191 resultobj
= PyFloat_FromDouble(result
);
20198 static PyObject
*_wrap_ArrowHead_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20199 PyObject
*resultobj
;
20200 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
20202 PyObject
* obj0
= 0 ;
20203 char *kwnames
[] = {
20204 (char *) "self", NULL
20207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetSpacing",kwnames
,&obj0
)) goto fail
;
20208 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20211 result
= (double)(arg1
)->GetSpacing();
20213 wxPyEndAllowThreads(__tstate
);
20214 if (PyErr_Occurred()) SWIG_fail
;
20216 resultobj
= PyFloat_FromDouble(result
);
20223 static PyObject
*_wrap_ArrowHead_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20224 PyObject
*resultobj
;
20225 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
20227 PyObject
* obj0
= 0 ;
20228 char *kwnames
[] = {
20229 (char *) "self", NULL
20232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetSize",kwnames
,&obj0
)) goto fail
;
20233 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20236 result
= (double)(arg1
)->GetSize();
20238 wxPyEndAllowThreads(__tstate
);
20239 if (PyErr_Occurred()) SWIG_fail
;
20241 resultobj
= PyFloat_FromDouble(result
);
20248 static PyObject
*_wrap_ArrowHead_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20249 PyObject
*resultobj
;
20250 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
20252 PyObject
* obj0
= 0 ;
20253 char *kwnames
[] = {
20254 (char *) "self", NULL
20257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetName",kwnames
,&obj0
)) goto fail
;
20258 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20261 result
= (arg1
)->GetName();
20263 wxPyEndAllowThreads(__tstate
);
20264 if (PyErr_Occurred()) SWIG_fail
;
20268 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20270 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20279 static PyObject
*_wrap_ArrowHead_SetXOffset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20280 PyObject
*resultobj
;
20281 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
20283 PyObject
* obj0
= 0 ;
20284 char *kwnames
[] = {
20285 (char *) "self",(char *) "x", NULL
20288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:ArrowHead_SetXOffset",kwnames
,&obj0
,&arg2
)) goto fail
;
20289 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20292 (arg1
)->SetXOffset(arg2
);
20294 wxPyEndAllowThreads(__tstate
);
20295 if (PyErr_Occurred()) SWIG_fail
;
20297 Py_INCREF(Py_None
); resultobj
= Py_None
;
20304 static PyObject
*_wrap_ArrowHead_SetYOffset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20305 PyObject
*resultobj
;
20306 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
20308 PyObject
* obj0
= 0 ;
20309 char *kwnames
[] = {
20310 (char *) "self",(char *) "y", NULL
20313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:ArrowHead_SetYOffset",kwnames
,&obj0
,&arg2
)) goto fail
;
20314 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20317 (arg1
)->SetYOffset(arg2
);
20319 wxPyEndAllowThreads(__tstate
);
20320 if (PyErr_Occurred()) SWIG_fail
;
20322 Py_INCREF(Py_None
); resultobj
= Py_None
;
20329 static PyObject
*_wrap_ArrowHead_GetMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20330 PyObject
*resultobj
;
20331 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
20332 wxPseudoMetaFile
*result
;
20333 PyObject
* obj0
= 0 ;
20334 char *kwnames
[] = {
20335 (char *) "self", NULL
20338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetMetaFile",kwnames
,&obj0
)) goto fail
;
20339 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20342 result
= (wxPseudoMetaFile
*)(arg1
)->GetMetaFile();
20344 wxPyEndAllowThreads(__tstate
);
20345 if (PyErr_Occurred()) SWIG_fail
;
20348 resultobj
= wxPyMake_wxObject(result
);
20356 static PyObject
*_wrap_ArrowHead_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20357 PyObject
*resultobj
;
20358 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
20360 PyObject
* obj0
= 0 ;
20361 char *kwnames
[] = {
20362 (char *) "self", NULL
20365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetId",kwnames
,&obj0
)) goto fail
;
20366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20369 result
= (long)(arg1
)->GetId();
20371 wxPyEndAllowThreads(__tstate
);
20372 if (PyErr_Occurred()) SWIG_fail
;
20374 resultobj
= PyInt_FromLong((long)result
);
20381 static PyObject
*_wrap_ArrowHead_GetArrowEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20382 PyObject
*resultobj
;
20383 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
20385 PyObject
* obj0
= 0 ;
20386 char *kwnames
[] = {
20387 (char *) "self", NULL
20390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetArrowEnd",kwnames
,&obj0
)) goto fail
;
20391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20394 result
= (int)(arg1
)->GetArrowEnd();
20396 wxPyEndAllowThreads(__tstate
);
20397 if (PyErr_Occurred()) SWIG_fail
;
20399 resultobj
= PyInt_FromLong((long)result
);
20406 static PyObject
*_wrap_ArrowHead_GetArrowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20407 PyObject
*resultobj
;
20408 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
20410 PyObject
* obj0
= 0 ;
20411 char *kwnames
[] = {
20412 (char *) "self", NULL
20415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetArrowSize",kwnames
,&obj0
)) goto fail
;
20416 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20419 result
= (double)(arg1
)->GetArrowSize();
20421 wxPyEndAllowThreads(__tstate
);
20422 if (PyErr_Occurred()) SWIG_fail
;
20424 resultobj
= PyFloat_FromDouble(result
);
20431 static PyObject
*_wrap_ArrowHead_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20432 PyObject
*resultobj
;
20433 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
20435 PyObject
* obj0
= 0 ;
20436 char *kwnames
[] = {
20437 (char *) "self",(char *) "size", NULL
20440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:ArrowHead_SetSize",kwnames
,&obj0
,&arg2
)) goto fail
;
20441 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20444 (arg1
)->SetSize(arg2
);
20446 wxPyEndAllowThreads(__tstate
);
20447 if (PyErr_Occurred()) SWIG_fail
;
20449 Py_INCREF(Py_None
); resultobj
= Py_None
;
20456 static PyObject
*_wrap_ArrowHead_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20457 PyObject
*resultobj
;
20458 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
20460 PyObject
* obj0
= 0 ;
20461 char *kwnames
[] = {
20462 (char *) "self",(char *) "sp", NULL
20465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:ArrowHead_SetSpacing",kwnames
,&obj0
,&arg2
)) goto fail
;
20466 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20469 (arg1
)->SetSpacing(arg2
);
20471 wxPyEndAllowThreads(__tstate
);
20472 if (PyErr_Occurred()) SWIG_fail
;
20474 Py_INCREF(Py_None
); resultobj
= Py_None
;
20481 static PyObject
* ArrowHead_swigregister(PyObject
*self
, PyObject
*args
) {
20483 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20484 SWIG_TypeClientData(SWIGTYPE_p_wxArrowHead
, obj
);
20486 return Py_BuildValue((char *)"");
20488 static PyObject
*_wrap_new_PyLineShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20489 PyObject
*resultobj
;
20490 wxPyLineShape
*result
;
20491 char *kwnames
[] = {
20495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLineShape",kwnames
)) goto fail
;
20497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20498 result
= (wxPyLineShape
*)new wxPyLineShape();
20500 wxPyEndAllowThreads(__tstate
);
20501 if (PyErr_Occurred()) SWIG_fail
;
20503 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyLineShape
, 1);
20510 static PyObject
*_wrap_PyLineShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20511 PyObject
*resultobj
;
20512 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20513 PyObject
*arg2
= (PyObject
*) 0 ;
20514 PyObject
*arg3
= (PyObject
*) 0 ;
20515 PyObject
* obj0
= 0 ;
20516 PyObject
* obj1
= 0 ;
20517 PyObject
* obj2
= 0 ;
20518 char *kwnames
[] = {
20519 (char *) "self",(char *) "self",(char *) "_class", NULL
20522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20523 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20528 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20530 wxPyEndAllowThreads(__tstate
);
20531 if (PyErr_Occurred()) SWIG_fail
;
20533 Py_INCREF(Py_None
); resultobj
= Py_None
;
20540 static PyObject
*_wrap_PyLineShape_AddArrow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20541 PyObject
*resultobj
;
20542 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20544 int arg3
= (int) ARROW_POSITION_END
;
20545 double arg4
= (double) 10.0 ;
20546 double arg5
= (double) 0.0 ;
20547 wxString
const &arg6_defvalue
= wxPyEmptyString
;
20548 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20549 wxPseudoMetaFile
*arg7
= (wxPseudoMetaFile
*) NULL
;
20550 long arg8
= (long) -1 ;
20551 bool temp6
= False
;
20552 PyObject
* obj0
= 0 ;
20553 PyObject
* obj5
= 0 ;
20554 PyObject
* obj6
= 0 ;
20555 char *kwnames
[] = {
20556 (char *) "self",(char *) "type",(char *) "end",(char *) "arrowSize",(char *) "xOffset",(char *) "name",(char *) "mf",(char *) "arrowId", NULL
20559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|iddOOl:PyLineShape_AddArrow",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&obj5
,&obj6
,&arg8
)) goto fail
;
20560 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20563 arg6
= wxString_in_helper(obj5
);
20564 if (arg6
== NULL
) SWIG_fail
;
20569 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20573 (arg1
)->AddArrow(arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
,arg8
);
20575 wxPyEndAllowThreads(__tstate
);
20576 if (PyErr_Occurred()) SWIG_fail
;
20578 Py_INCREF(Py_None
); resultobj
= Py_None
;
20593 static PyObject
*_wrap_PyLineShape_AddArrowOrdered(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20594 PyObject
*resultobj
;
20595 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20596 wxArrowHead
*arg2
= (wxArrowHead
*) 0 ;
20597 PyObject
*arg3
= (PyObject
*) 0 ;
20599 PyObject
* obj0
= 0 ;
20600 PyObject
* obj1
= 0 ;
20601 PyObject
* obj2
= 0 ;
20602 char *kwnames
[] = {
20603 (char *) "self",(char *) "arrow",(char *) "referenceList",(char *) "end", NULL
20606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOi:PyLineShape_AddArrowOrdered",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
20607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20608 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20612 wxPyLineShape_AddArrowOrdered(arg1
,arg2
,arg3
,arg4
);
20614 wxPyEndAllowThreads(__tstate
);
20615 if (PyErr_Occurred()) SWIG_fail
;
20617 Py_INCREF(Py_None
); resultobj
= Py_None
;
20624 static PyObject
*_wrap_PyLineShape_ClearArrow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20625 PyObject
*resultobj
;
20626 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20627 wxString
*arg2
= 0 ;
20629 bool temp2
= False
;
20630 PyObject
* obj0
= 0 ;
20631 PyObject
* obj1
= 0 ;
20632 char *kwnames
[] = {
20633 (char *) "self",(char *) "name", NULL
20636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_ClearArrow",kwnames
,&obj0
,&obj1
)) goto fail
;
20637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20639 arg2
= wxString_in_helper(obj1
);
20640 if (arg2
== NULL
) SWIG_fail
;
20644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20645 result
= (bool)(arg1
)->ClearArrow((wxString
const &)*arg2
);
20647 wxPyEndAllowThreads(__tstate
);
20648 if (PyErr_Occurred()) SWIG_fail
;
20650 resultobj
= PyInt_FromLong((long)result
);
20665 static PyObject
*_wrap_PyLineShape_ClearArrowsAtPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20666 PyObject
*resultobj
;
20667 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20668 int arg2
= (int) -1 ;
20669 PyObject
* obj0
= 0 ;
20670 char *kwnames
[] = {
20671 (char *) "self",(char *) "position", NULL
20674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:PyLineShape_ClearArrowsAtPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
20675 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20678 (arg1
)->ClearArrowsAtPosition(arg2
);
20680 wxPyEndAllowThreads(__tstate
);
20681 if (PyErr_Occurred()) SWIG_fail
;
20683 Py_INCREF(Py_None
); resultobj
= Py_None
;
20690 static PyObject
*_wrap_PyLineShape_DrawArrow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20691 PyObject
*resultobj
;
20692 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20694 wxArrowHead
*arg3
= (wxArrowHead
*) 0 ;
20697 PyObject
* obj0
= 0 ;
20698 PyObject
* obj1
= 0 ;
20699 PyObject
* obj2
= 0 ;
20700 PyObject
* obj4
= 0 ;
20701 char *kwnames
[] = {
20702 (char *) "self",(char *) "dc",(char *) "arrow",(char *) "xOffset",(char *) "proportionalOffset", NULL
20705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdO:PyLineShape_DrawArrow",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&obj4
)) goto fail
;
20706 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20707 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20708 if (arg2
== NULL
) {
20709 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20711 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20712 arg5
= PyInt_AsLong(obj4
) ? true : false;
20713 if (PyErr_Occurred()) SWIG_fail
;
20715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20716 (arg1
)->DrawArrow(*arg2
,arg3
,arg4
,arg5
);
20718 wxPyEndAllowThreads(__tstate
);
20719 if (PyErr_Occurred()) SWIG_fail
;
20721 Py_INCREF(Py_None
); resultobj
= Py_None
;
20728 static PyObject
*_wrap_PyLineShape_DeleteArrowHeadId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20729 PyObject
*resultobj
;
20730 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20733 PyObject
* obj0
= 0 ;
20734 char *kwnames
[] = {
20735 (char *) "self",(char *) "arrowId", NULL
20738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:PyLineShape_DeleteArrowHeadId",kwnames
,&obj0
,&arg2
)) goto fail
;
20739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20742 result
= (bool)(arg1
)->DeleteArrowHead(arg2
);
20744 wxPyEndAllowThreads(__tstate
);
20745 if (PyErr_Occurred()) SWIG_fail
;
20747 resultobj
= PyInt_FromLong((long)result
);
20754 static PyObject
*_wrap_PyLineShape_DeleteArrowHead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20755 PyObject
*resultobj
;
20756 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20758 wxString
*arg3
= 0 ;
20760 bool temp3
= False
;
20761 PyObject
* obj0
= 0 ;
20762 PyObject
* obj2
= 0 ;
20763 char *kwnames
[] = {
20764 (char *) "self",(char *) "position",(char *) "name", NULL
20767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:PyLineShape_DeleteArrowHead",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
20768 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20770 arg3
= wxString_in_helper(obj2
);
20771 if (arg3
== NULL
) SWIG_fail
;
20775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20776 result
= (bool)(arg1
)->DeleteArrowHead(arg2
,(wxString
const &)*arg3
);
20778 wxPyEndAllowThreads(__tstate
);
20779 if (PyErr_Occurred()) SWIG_fail
;
20781 resultobj
= PyInt_FromLong((long)result
);
20796 static PyObject
*_wrap_PyLineShape_DeleteLineControlPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20797 PyObject
*resultobj
;
20798 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20800 PyObject
* obj0
= 0 ;
20801 char *kwnames
[] = {
20802 (char *) "self", NULL
20805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_DeleteLineControlPoint",kwnames
,&obj0
)) goto fail
;
20806 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20809 result
= (bool)(arg1
)->DeleteLineControlPoint();
20811 wxPyEndAllowThreads(__tstate
);
20812 if (PyErr_Occurred()) SWIG_fail
;
20814 resultobj
= PyInt_FromLong((long)result
);
20821 static PyObject
*_wrap_PyLineShape_DrawArrows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20822 PyObject
*resultobj
;
20823 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20825 PyObject
* obj0
= 0 ;
20826 PyObject
* obj1
= 0 ;
20827 char *kwnames
[] = {
20828 (char *) "self",(char *) "dc", NULL
20831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_DrawArrows",kwnames
,&obj0
,&obj1
)) goto fail
;
20832 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20833 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20834 if (arg2
== NULL
) {
20835 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20839 (arg1
)->DrawArrows(*arg2
);
20841 wxPyEndAllowThreads(__tstate
);
20842 if (PyErr_Occurred()) SWIG_fail
;
20844 Py_INCREF(Py_None
); resultobj
= Py_None
;
20851 static PyObject
*_wrap_PyLineShape_DrawRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20852 PyObject
*resultobj
;
20853 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20855 wxShapeRegion
*arg3
= (wxShapeRegion
*) 0 ;
20858 PyObject
* obj0
= 0 ;
20859 PyObject
* obj1
= 0 ;
20860 PyObject
* obj2
= 0 ;
20861 char *kwnames
[] = {
20862 (char *) "self",(char *) "dc",(char *) "region",(char *) "x",(char *) "y", NULL
20865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd:PyLineShape_DrawRegion",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
)) goto fail
;
20866 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20867 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20868 if (arg2
== NULL
) {
20869 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20871 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20874 (arg1
)->DrawRegion(*arg2
,arg3
,arg4
,arg5
);
20876 wxPyEndAllowThreads(__tstate
);
20877 if (PyErr_Occurred()) SWIG_fail
;
20879 Py_INCREF(Py_None
); resultobj
= Py_None
;
20886 static PyObject
*_wrap_PyLineShape_EraseRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20887 PyObject
*resultobj
;
20888 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20890 wxShapeRegion
*arg3
= (wxShapeRegion
*) 0 ;
20893 PyObject
* obj0
= 0 ;
20894 PyObject
* obj1
= 0 ;
20895 PyObject
* obj2
= 0 ;
20896 char *kwnames
[] = {
20897 (char *) "self",(char *) "dc",(char *) "region",(char *) "x",(char *) "y", NULL
20900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd:PyLineShape_EraseRegion",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
)) goto fail
;
20901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20902 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20903 if (arg2
== NULL
) {
20904 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20906 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20909 (arg1
)->EraseRegion(*arg2
,arg3
,arg4
,arg5
);
20911 wxPyEndAllowThreads(__tstate
);
20912 if (PyErr_Occurred()) SWIG_fail
;
20914 Py_INCREF(Py_None
); resultobj
= Py_None
;
20921 static PyObject
*_wrap_PyLineShape_FindArrowHeadId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20922 PyObject
*resultobj
;
20923 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20925 wxArrowHead
*result
;
20926 PyObject
* obj0
= 0 ;
20927 char *kwnames
[] = {
20928 (char *) "self",(char *) "arrowId", NULL
20931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:PyLineShape_FindArrowHeadId",kwnames
,&obj0
,&arg2
)) goto fail
;
20932 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20935 result
= (wxArrowHead
*)(arg1
)->FindArrowHead(arg2
);
20937 wxPyEndAllowThreads(__tstate
);
20938 if (PyErr_Occurred()) SWIG_fail
;
20941 resultobj
= wxPyMake_wxObject(result
);
20949 static PyObject
*_wrap_PyLineShape_FindArrowHead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20950 PyObject
*resultobj
;
20951 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20953 wxString
*arg3
= 0 ;
20954 wxArrowHead
*result
;
20955 bool temp3
= False
;
20956 PyObject
* obj0
= 0 ;
20957 PyObject
* obj2
= 0 ;
20958 char *kwnames
[] = {
20959 (char *) "self",(char *) "position",(char *) "name", NULL
20962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:PyLineShape_FindArrowHead",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
20963 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20965 arg3
= wxString_in_helper(obj2
);
20966 if (arg3
== NULL
) SWIG_fail
;
20970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20971 result
= (wxArrowHead
*)(arg1
)->FindArrowHead(arg2
,(wxString
const &)*arg3
);
20973 wxPyEndAllowThreads(__tstate
);
20974 if (PyErr_Occurred()) SWIG_fail
;
20977 resultobj
= wxPyMake_wxObject(result
);
20993 static PyObject
*_wrap_PyLineShape_FindLineEndPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20994 PyObject
*resultobj
;
20995 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20996 double *arg2
= (double *) 0 ;
20997 double *arg3
= (double *) 0 ;
20998 double *arg4
= (double *) 0 ;
20999 double *arg5
= (double *) 0 ;
21004 PyObject
* obj0
= 0 ;
21005 char *kwnames
[] = {
21006 (char *) "self", NULL
21013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_FindLineEndPoints",kwnames
,&obj0
)) goto fail
;
21014 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21017 (arg1
)->FindLineEndPoints(arg2
,arg3
,arg4
,arg5
);
21019 wxPyEndAllowThreads(__tstate
);
21020 if (PyErr_Occurred()) SWIG_fail
;
21022 Py_INCREF(Py_None
); resultobj
= Py_None
;
21024 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
21025 resultobj
= t_output_helper(resultobj
,o
);
21028 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
21029 resultobj
= t_output_helper(resultobj
,o
);
21032 PyObject
*o
= PyFloat_FromDouble((double) (*arg4
));
21033 resultobj
= t_output_helper(resultobj
,o
);
21036 PyObject
*o
= PyFloat_FromDouble((double) (*arg5
));
21037 resultobj
= t_output_helper(resultobj
,o
);
21045 static PyObject
*_wrap_PyLineShape_FindLinePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21046 PyObject
*resultobj
;
21047 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21051 PyObject
* obj0
= 0 ;
21052 char *kwnames
[] = {
21053 (char *) "self",(char *) "x",(char *) "y", NULL
21056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyLineShape_FindLinePosition",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
21057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21060 result
= (int)(arg1
)->FindLinePosition(arg2
,arg3
);
21062 wxPyEndAllowThreads(__tstate
);
21063 if (PyErr_Occurred()) SWIG_fail
;
21065 resultobj
= PyInt_FromLong((long)result
);
21072 static PyObject
*_wrap_PyLineShape_FindMinimumWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21073 PyObject
*resultobj
;
21074 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21076 PyObject
* obj0
= 0 ;
21077 char *kwnames
[] = {
21078 (char *) "self", NULL
21081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_FindMinimumWidth",kwnames
,&obj0
)) goto fail
;
21082 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21085 result
= (double)(arg1
)->FindMinimumWidth();
21087 wxPyEndAllowThreads(__tstate
);
21088 if (PyErr_Occurred()) SWIG_fail
;
21090 resultobj
= PyFloat_FromDouble(result
);
21097 static PyObject
*_wrap_PyLineShape_FindNth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21098 PyObject
*resultobj
;
21099 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21100 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
21101 int *arg3
= (int *) 0 ;
21102 int *arg4
= (int *) 0 ;
21106 PyObject
* obj0
= 0 ;
21107 PyObject
* obj1
= 0 ;
21108 PyObject
* obj2
= 0 ;
21109 char *kwnames
[] = {
21110 (char *) "self",(char *) "image",(char *) "incoming", NULL
21115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_FindNth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21117 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21118 arg5
= PyInt_AsLong(obj2
) ? true : false;
21119 if (PyErr_Occurred()) SWIG_fail
;
21121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21122 (arg1
)->FindNth(arg2
,arg3
,arg4
,arg5
);
21124 wxPyEndAllowThreads(__tstate
);
21125 if (PyErr_Occurred()) SWIG_fail
;
21127 Py_INCREF(Py_None
); resultobj
= Py_None
;
21129 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21130 resultobj
= t_output_helper(resultobj
,o
);
21133 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
21134 resultobj
= t_output_helper(resultobj
,o
);
21142 static PyObject
*_wrap_PyLineShape_GetAttachmentFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21143 PyObject
*resultobj
;
21144 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21146 PyObject
* obj0
= 0 ;
21147 char *kwnames
[] = {
21148 (char *) "self", NULL
21151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetAttachmentFrom",kwnames
,&obj0
)) goto fail
;
21152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21155 result
= (int)(arg1
)->GetAttachmentFrom();
21157 wxPyEndAllowThreads(__tstate
);
21158 if (PyErr_Occurred()) SWIG_fail
;
21160 resultobj
= PyInt_FromLong((long)result
);
21167 static PyObject
*_wrap_PyLineShape_GetAttachmentTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21168 PyObject
*resultobj
;
21169 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21171 PyObject
* obj0
= 0 ;
21172 char *kwnames
[] = {
21173 (char *) "self", NULL
21176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetAttachmentTo",kwnames
,&obj0
)) goto fail
;
21177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21180 result
= (int)(arg1
)->GetAttachmentTo();
21182 wxPyEndAllowThreads(__tstate
);
21183 if (PyErr_Occurred()) SWIG_fail
;
21185 resultobj
= PyInt_FromLong((long)result
);
21192 static PyObject
*_wrap_PyLineShape_GetEnds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21193 PyObject
*resultobj
;
21194 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21195 double *arg2
= (double *) 0 ;
21196 double *arg3
= (double *) 0 ;
21197 double *arg4
= (double *) 0 ;
21198 double *arg5
= (double *) 0 ;
21203 PyObject
* obj0
= 0 ;
21204 char *kwnames
[] = {
21205 (char *) "self", NULL
21212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetEnds",kwnames
,&obj0
)) goto fail
;
21213 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21216 (arg1
)->GetEnds(arg2
,arg3
,arg4
,arg5
);
21218 wxPyEndAllowThreads(__tstate
);
21219 if (PyErr_Occurred()) SWIG_fail
;
21221 Py_INCREF(Py_None
); resultobj
= Py_None
;
21223 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
21224 resultobj
= t_output_helper(resultobj
,o
);
21227 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
21228 resultobj
= t_output_helper(resultobj
,o
);
21231 PyObject
*o
= PyFloat_FromDouble((double) (*arg4
));
21232 resultobj
= t_output_helper(resultobj
,o
);
21235 PyObject
*o
= PyFloat_FromDouble((double) (*arg5
));
21236 resultobj
= t_output_helper(resultobj
,o
);
21244 static PyObject
*_wrap_PyLineShape_GetFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21245 PyObject
*resultobj
;
21246 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21248 PyObject
* obj0
= 0 ;
21249 char *kwnames
[] = {
21250 (char *) "self", NULL
21253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetFrom",kwnames
,&obj0
)) goto fail
;
21254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21257 result
= (wxPyShape
*)(arg1
)->GetFrom();
21259 wxPyEndAllowThreads(__tstate
);
21260 if (PyErr_Occurred()) SWIG_fail
;
21263 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
21271 static PyObject
*_wrap_PyLineShape_GetLabelPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21272 PyObject
*resultobj
;
21273 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21275 double *arg3
= (double *) 0 ;
21276 double *arg4
= (double *) 0 ;
21279 PyObject
* obj0
= 0 ;
21280 char *kwnames
[] = {
21281 (char *) "self",(char *) "position", NULL
21286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyLineShape_GetLabelPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
21287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21290 (arg1
)->GetLabelPosition(arg2
,arg3
,arg4
);
21292 wxPyEndAllowThreads(__tstate
);
21293 if (PyErr_Occurred()) SWIG_fail
;
21295 Py_INCREF(Py_None
); resultobj
= Py_None
;
21297 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
21298 resultobj
= t_output_helper(resultobj
,o
);
21301 PyObject
*o
= PyFloat_FromDouble((double) (*arg4
));
21302 resultobj
= t_output_helper(resultobj
,o
);
21310 static PyObject
*_wrap_PyLineShape_GetNextControlPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21311 PyObject
*resultobj
;
21312 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21313 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
21314 wxRealPoint
*result
;
21315 PyObject
* obj0
= 0 ;
21316 PyObject
* obj1
= 0 ;
21317 char *kwnames
[] = {
21318 (char *) "self",(char *) "shape", NULL
21321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_GetNextControlPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
21322 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21323 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21326 result
= (wxRealPoint
*)(arg1
)->GetNextControlPoint(arg2
);
21328 wxPyEndAllowThreads(__tstate
);
21329 if (PyErr_Occurred()) SWIG_fail
;
21331 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRealPoint
, 0);
21338 static PyObject
*_wrap_PyLineShape_GetTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21339 PyObject
*resultobj
;
21340 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21342 PyObject
* obj0
= 0 ;
21343 char *kwnames
[] = {
21344 (char *) "self", NULL
21347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetTo",kwnames
,&obj0
)) goto fail
;
21348 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21351 result
= (wxPyShape
*)(arg1
)->GetTo();
21353 wxPyEndAllowThreads(__tstate
);
21354 if (PyErr_Occurred()) SWIG_fail
;
21357 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
21365 static PyObject
*_wrap_PyLineShape_Initialise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21366 PyObject
*resultobj
;
21367 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21368 PyObject
* obj0
= 0 ;
21369 char *kwnames
[] = {
21370 (char *) "self", NULL
21373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_Initialise",kwnames
,&obj0
)) goto fail
;
21374 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21377 (arg1
)->Initialise();
21379 wxPyEndAllowThreads(__tstate
);
21380 if (PyErr_Occurred()) SWIG_fail
;
21382 Py_INCREF(Py_None
); resultobj
= Py_None
;
21389 static PyObject
*_wrap_PyLineShape_InsertLineControlPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21390 PyObject
*resultobj
;
21391 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21392 wxDC
*arg2
= (wxDC
*) 0 ;
21393 PyObject
* obj0
= 0 ;
21394 PyObject
* obj1
= 0 ;
21395 char *kwnames
[] = {
21396 (char *) "self",(char *) "dc", NULL
21399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_InsertLineControlPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
21400 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21401 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21404 (arg1
)->InsertLineControlPoint(arg2
);
21406 wxPyEndAllowThreads(__tstate
);
21407 if (PyErr_Occurred()) SWIG_fail
;
21409 Py_INCREF(Py_None
); resultobj
= Py_None
;
21416 static PyObject
*_wrap_PyLineShape_IsEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21417 PyObject
*resultobj
;
21418 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21419 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
21421 PyObject
* obj0
= 0 ;
21422 PyObject
* obj1
= 0 ;
21423 char *kwnames
[] = {
21424 (char *) "self",(char *) "shape", NULL
21427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_IsEnd",kwnames
,&obj0
,&obj1
)) goto fail
;
21428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21429 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21432 result
= (bool)(arg1
)->IsEnd(arg2
);
21434 wxPyEndAllowThreads(__tstate
);
21435 if (PyErr_Occurred()) SWIG_fail
;
21437 resultobj
= PyInt_FromLong((long)result
);
21444 static PyObject
*_wrap_PyLineShape_IsSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21445 PyObject
*resultobj
;
21446 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21448 PyObject
* obj0
= 0 ;
21449 char *kwnames
[] = {
21450 (char *) "self", NULL
21453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_IsSpline",kwnames
,&obj0
)) goto fail
;
21454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21457 result
= (bool)(arg1
)->IsSpline();
21459 wxPyEndAllowThreads(__tstate
);
21460 if (PyErr_Occurred()) SWIG_fail
;
21462 resultobj
= PyInt_FromLong((long)result
);
21469 static PyObject
*_wrap_PyLineShape_MakeLineControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21470 PyObject
*resultobj
;
21471 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21473 PyObject
* obj0
= 0 ;
21474 char *kwnames
[] = {
21475 (char *) "self",(char *) "n", NULL
21478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyLineShape_MakeLineControlPoints",kwnames
,&obj0
,&arg2
)) goto fail
;
21479 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21482 (arg1
)->MakeLineControlPoints(arg2
);
21484 wxPyEndAllowThreads(__tstate
);
21485 if (PyErr_Occurred()) SWIG_fail
;
21487 Py_INCREF(Py_None
); resultobj
= Py_None
;
21494 static PyObject
*_wrap_PyLineShape_GetLineControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21495 PyObject
*resultobj
;
21496 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21498 PyObject
* obj0
= 0 ;
21499 char *kwnames
[] = {
21500 (char *) "self", NULL
21503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetLineControlPoints",kwnames
,&obj0
)) goto fail
;
21504 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21507 result
= (PyObject
*)wxPyLineShape_GetLineControlPoints(arg1
);
21509 wxPyEndAllowThreads(__tstate
);
21510 if (PyErr_Occurred()) SWIG_fail
;
21512 resultobj
= result
;
21519 static PyObject
*_wrap_PyLineShape_SetAttachmentFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21520 PyObject
*resultobj
;
21521 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21523 PyObject
* obj0
= 0 ;
21524 char *kwnames
[] = {
21525 (char *) "self",(char *) "fromAttach", NULL
21528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyLineShape_SetAttachmentFrom",kwnames
,&obj0
,&arg2
)) goto fail
;
21529 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21532 (arg1
)->SetAttachmentFrom(arg2
);
21534 wxPyEndAllowThreads(__tstate
);
21535 if (PyErr_Occurred()) SWIG_fail
;
21537 Py_INCREF(Py_None
); resultobj
= Py_None
;
21544 static PyObject
*_wrap_PyLineShape_SetAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21545 PyObject
*resultobj
;
21546 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21549 PyObject
* obj0
= 0 ;
21550 char *kwnames
[] = {
21551 (char *) "self",(char *) "fromAttach",(char *) "toAttach", NULL
21554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyLineShape_SetAttachments",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
21555 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21558 (arg1
)->SetAttachments(arg2
,arg3
);
21560 wxPyEndAllowThreads(__tstate
);
21561 if (PyErr_Occurred()) SWIG_fail
;
21563 Py_INCREF(Py_None
); resultobj
= Py_None
;
21570 static PyObject
*_wrap_PyLineShape_SetAttachmentTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21571 PyObject
*resultobj
;
21572 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21574 PyObject
* obj0
= 0 ;
21575 char *kwnames
[] = {
21576 (char *) "self",(char *) "toAttach", NULL
21579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyLineShape_SetAttachmentTo",kwnames
,&obj0
,&arg2
)) goto fail
;
21580 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21583 (arg1
)->SetAttachmentTo(arg2
);
21585 wxPyEndAllowThreads(__tstate
);
21586 if (PyErr_Occurred()) SWIG_fail
;
21588 Py_INCREF(Py_None
); resultobj
= Py_None
;
21595 static PyObject
*_wrap_PyLineShape_SetEnds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21596 PyObject
*resultobj
;
21597 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21602 PyObject
* obj0
= 0 ;
21603 char *kwnames
[] = {
21604 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
21607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odddd:PyLineShape_SetEnds",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
21608 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21611 (arg1
)->SetEnds(arg2
,arg3
,arg4
,arg5
);
21613 wxPyEndAllowThreads(__tstate
);
21614 if (PyErr_Occurred()) SWIG_fail
;
21616 Py_INCREF(Py_None
); resultobj
= Py_None
;
21623 static PyObject
*_wrap_PyLineShape_SetFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21624 PyObject
*resultobj
;
21625 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21626 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
21627 PyObject
* obj0
= 0 ;
21628 PyObject
* obj1
= 0 ;
21629 char *kwnames
[] = {
21630 (char *) "self",(char *) "object", NULL
21633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetFrom",kwnames
,&obj0
,&obj1
)) goto fail
;
21634 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21635 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21638 (arg1
)->SetFrom(arg2
);
21640 wxPyEndAllowThreads(__tstate
);
21641 if (PyErr_Occurred()) SWIG_fail
;
21643 Py_INCREF(Py_None
); resultobj
= Py_None
;
21650 static PyObject
*_wrap_PyLineShape_SetIgnoreOffsets(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21651 PyObject
*resultobj
;
21652 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21654 PyObject
* obj0
= 0 ;
21655 PyObject
* obj1
= 0 ;
21656 char *kwnames
[] = {
21657 (char *) "self",(char *) "ignore", NULL
21660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetIgnoreOffsets",kwnames
,&obj0
,&obj1
)) goto fail
;
21661 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21662 arg2
= PyInt_AsLong(obj1
) ? true : false;
21663 if (PyErr_Occurred()) SWIG_fail
;
21665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21666 (arg1
)->SetIgnoreOffsets(arg2
);
21668 wxPyEndAllowThreads(__tstate
);
21669 if (PyErr_Occurred()) SWIG_fail
;
21671 Py_INCREF(Py_None
); resultobj
= Py_None
;
21678 static PyObject
*_wrap_PyLineShape_SetSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21679 PyObject
*resultobj
;
21680 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21682 PyObject
* obj0
= 0 ;
21683 PyObject
* obj1
= 0 ;
21684 char *kwnames
[] = {
21685 (char *) "self",(char *) "spline", NULL
21688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
21689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21690 arg2
= PyInt_AsLong(obj1
) ? true : false;
21691 if (PyErr_Occurred()) SWIG_fail
;
21693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21694 (arg1
)->SetSpline(arg2
);
21696 wxPyEndAllowThreads(__tstate
);
21697 if (PyErr_Occurred()) SWIG_fail
;
21699 Py_INCREF(Py_None
); resultobj
= Py_None
;
21706 static PyObject
*_wrap_PyLineShape_SetTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21707 PyObject
*resultobj
;
21708 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21709 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
21710 PyObject
* obj0
= 0 ;
21711 PyObject
* obj1
= 0 ;
21712 char *kwnames
[] = {
21713 (char *) "self",(char *) "object", NULL
21716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetTo",kwnames
,&obj0
,&obj1
)) goto fail
;
21717 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21718 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21721 (arg1
)->SetTo(arg2
);
21723 wxPyEndAllowThreads(__tstate
);
21724 if (PyErr_Occurred()) SWIG_fail
;
21726 Py_INCREF(Py_None
); resultobj
= Py_None
;
21733 static PyObject
*_wrap_PyLineShape_Straighten(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21734 PyObject
*resultobj
;
21735 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21736 wxDC
*arg2
= (wxDC
*) NULL
;
21737 PyObject
* obj0
= 0 ;
21738 PyObject
* obj1
= 0 ;
21739 char *kwnames
[] = {
21740 (char *) "self",(char *) "dc", NULL
21743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyLineShape_Straighten",kwnames
,&obj0
,&obj1
)) goto fail
;
21744 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21746 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21750 (arg1
)->Straighten(arg2
);
21752 wxPyEndAllowThreads(__tstate
);
21753 if (PyErr_Occurred()) SWIG_fail
;
21755 Py_INCREF(Py_None
); resultobj
= Py_None
;
21762 static PyObject
*_wrap_PyLineShape_Unlink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21763 PyObject
*resultobj
;
21764 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21765 PyObject
* obj0
= 0 ;
21766 char *kwnames
[] = {
21767 (char *) "self", NULL
21770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_Unlink",kwnames
,&obj0
)) goto fail
;
21771 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21776 wxPyEndAllowThreads(__tstate
);
21777 if (PyErr_Occurred()) SWIG_fail
;
21779 Py_INCREF(Py_None
); resultobj
= Py_None
;
21786 static PyObject
*_wrap_PyLineShape_SetAlignmentOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21787 PyObject
*resultobj
;
21788 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21791 PyObject
* obj0
= 0 ;
21792 PyObject
* obj1
= 0 ;
21793 PyObject
* obj2
= 0 ;
21794 char *kwnames
[] = {
21795 (char *) "self",(char *) "isEnd",(char *) "isHoriz", NULL
21798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_SetAlignmentOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21799 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21800 arg2
= PyInt_AsLong(obj1
) ? true : false;
21801 if (PyErr_Occurred()) SWIG_fail
;
21802 arg3
= PyInt_AsLong(obj2
) ? true : false;
21803 if (PyErr_Occurred()) SWIG_fail
;
21805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21806 (arg1
)->SetAlignmentOrientation(arg2
,arg3
);
21808 wxPyEndAllowThreads(__tstate
);
21809 if (PyErr_Occurred()) SWIG_fail
;
21811 Py_INCREF(Py_None
); resultobj
= Py_None
;
21818 static PyObject
*_wrap_PyLineShape_SetAlignmentType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21819 PyObject
*resultobj
;
21820 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21823 PyObject
* obj0
= 0 ;
21824 PyObject
* obj1
= 0 ;
21825 char *kwnames
[] = {
21826 (char *) "self",(char *) "isEnd",(char *) "alignType", NULL
21829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:PyLineShape_SetAlignmentType",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
21830 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21831 arg2
= PyInt_AsLong(obj1
) ? true : false;
21832 if (PyErr_Occurred()) SWIG_fail
;
21834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21835 (arg1
)->SetAlignmentType(arg2
,arg3
);
21837 wxPyEndAllowThreads(__tstate
);
21838 if (PyErr_Occurred()) SWIG_fail
;
21840 Py_INCREF(Py_None
); resultobj
= Py_None
;
21847 static PyObject
*_wrap_PyLineShape_GetAlignmentOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21848 PyObject
*resultobj
;
21849 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21852 PyObject
* obj0
= 0 ;
21853 PyObject
* obj1
= 0 ;
21854 char *kwnames
[] = {
21855 (char *) "self",(char *) "isEnd", NULL
21858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_GetAlignmentOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
21859 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21860 arg2
= PyInt_AsLong(obj1
) ? true : false;
21861 if (PyErr_Occurred()) SWIG_fail
;
21863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21864 result
= (bool)(arg1
)->GetAlignmentOrientation(arg2
);
21866 wxPyEndAllowThreads(__tstate
);
21867 if (PyErr_Occurred()) SWIG_fail
;
21869 resultobj
= PyInt_FromLong((long)result
);
21876 static PyObject
*_wrap_PyLineShape_GetAlignmentType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21877 PyObject
*resultobj
;
21878 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21881 PyObject
* obj0
= 0 ;
21882 PyObject
* obj1
= 0 ;
21883 char *kwnames
[] = {
21884 (char *) "self",(char *) "isEnd", NULL
21887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_GetAlignmentType",kwnames
,&obj0
,&obj1
)) goto fail
;
21888 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21889 arg2
= PyInt_AsLong(obj1
) ? true : false;
21890 if (PyErr_Occurred()) SWIG_fail
;
21892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21893 result
= (int)(arg1
)->GetAlignmentType(arg2
);
21895 wxPyEndAllowThreads(__tstate
);
21896 if (PyErr_Occurred()) SWIG_fail
;
21898 resultobj
= PyInt_FromLong((long)result
);
21905 static PyObject
*_wrap_PyLineShape_GetAlignmentStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21906 PyObject
*resultobj
;
21907 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21909 PyObject
* obj0
= 0 ;
21910 char *kwnames
[] = {
21911 (char *) "self", NULL
21914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetAlignmentStart",kwnames
,&obj0
)) goto fail
;
21915 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21918 result
= (int)((wxPyLineShape
const *)arg1
)->GetAlignmentStart();
21920 wxPyEndAllowThreads(__tstate
);
21921 if (PyErr_Occurred()) SWIG_fail
;
21923 resultobj
= PyInt_FromLong((long)result
);
21930 static PyObject
*_wrap_PyLineShape_GetAlignmentEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21931 PyObject
*resultobj
;
21932 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21934 PyObject
* obj0
= 0 ;
21935 char *kwnames
[] = {
21936 (char *) "self", NULL
21939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetAlignmentEnd",kwnames
,&obj0
)) goto fail
;
21940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21943 result
= (int)((wxPyLineShape
const *)arg1
)->GetAlignmentEnd();
21945 wxPyEndAllowThreads(__tstate
);
21946 if (PyErr_Occurred()) SWIG_fail
;
21948 resultobj
= PyInt_FromLong((long)result
);
21955 static PyObject
*_wrap_PyLineShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21956 PyObject
*resultobj
;
21957 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21959 PyObject
* obj0
= 0 ;
21960 PyObject
* obj1
= 0 ;
21961 char *kwnames
[] = {
21962 (char *) "self",(char *) "dc", NULL
21965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
21966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21967 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21968 if (arg2
== NULL
) {
21969 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21973 (arg1
)->base_OnDraw(*arg2
);
21975 wxPyEndAllowThreads(__tstate
);
21976 if (PyErr_Occurred()) SWIG_fail
;
21978 Py_INCREF(Py_None
); resultobj
= Py_None
;
21985 static PyObject
*_wrap_PyLineShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21986 PyObject
*resultobj
;
21987 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21989 PyObject
* obj0
= 0 ;
21990 PyObject
* obj1
= 0 ;
21991 char *kwnames
[] = {
21992 (char *) "self",(char *) "dc", NULL
21995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
21996 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21997 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21998 if (arg2
== NULL
) {
21999 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22003 (arg1
)->base_OnDrawContents(*arg2
);
22005 wxPyEndAllowThreads(__tstate
);
22006 if (PyErr_Occurred()) SWIG_fail
;
22008 Py_INCREF(Py_None
); resultobj
= Py_None
;
22015 static PyObject
*_wrap_PyLineShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22016 PyObject
*resultobj
;
22017 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22019 bool arg3
= (bool) FALSE
;
22020 PyObject
* obj0
= 0 ;
22021 PyObject
* obj1
= 0 ;
22022 PyObject
* obj2
= 0 ;
22023 char *kwnames
[] = {
22024 (char *) "self",(char *) "dc",(char *) "erase", NULL
22027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLineShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22028 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22029 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22030 if (arg2
== NULL
) {
22031 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22034 arg3
= PyInt_AsLong(obj2
) ? true : false;
22035 if (PyErr_Occurred()) SWIG_fail
;
22038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22039 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
22041 wxPyEndAllowThreads(__tstate
);
22042 if (PyErr_Occurred()) SWIG_fail
;
22044 Py_INCREF(Py_None
); resultobj
= Py_None
;
22051 static PyObject
*_wrap_PyLineShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22052 PyObject
*resultobj
;
22053 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22055 PyObject
* obj0
= 0 ;
22056 PyObject
* obj1
= 0 ;
22057 char *kwnames
[] = {
22058 (char *) "self",(char *) "dc", NULL
22061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
22062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22063 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22064 if (arg2
== NULL
) {
22065 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22069 (arg1
)->base_OnMoveLinks(*arg2
);
22071 wxPyEndAllowThreads(__tstate
);
22072 if (PyErr_Occurred()) SWIG_fail
;
22074 Py_INCREF(Py_None
); resultobj
= Py_None
;
22081 static PyObject
*_wrap_PyLineShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22082 PyObject
*resultobj
;
22083 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22085 PyObject
* obj0
= 0 ;
22086 PyObject
* obj1
= 0 ;
22087 char *kwnames
[] = {
22088 (char *) "self",(char *) "dc", NULL
22091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
22092 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22093 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22094 if (arg2
== NULL
) {
22095 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22099 (arg1
)->base_OnErase(*arg2
);
22101 wxPyEndAllowThreads(__tstate
);
22102 if (PyErr_Occurred()) SWIG_fail
;
22104 Py_INCREF(Py_None
); resultobj
= Py_None
;
22111 static PyObject
*_wrap_PyLineShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22112 PyObject
*resultobj
;
22113 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22115 PyObject
* obj0
= 0 ;
22116 PyObject
* obj1
= 0 ;
22117 char *kwnames
[] = {
22118 (char *) "self",(char *) "dc", NULL
22121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
22122 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22123 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22124 if (arg2
== NULL
) {
22125 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22129 (arg1
)->base_OnEraseContents(*arg2
);
22131 wxPyEndAllowThreads(__tstate
);
22132 if (PyErr_Occurred()) SWIG_fail
;
22134 Py_INCREF(Py_None
); resultobj
= Py_None
;
22141 static PyObject
*_wrap_PyLineShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22142 PyObject
*resultobj
;
22143 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22145 PyObject
* obj0
= 0 ;
22146 PyObject
* obj1
= 0 ;
22147 char *kwnames
[] = {
22148 (char *) "self",(char *) "dc", NULL
22151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
22152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22153 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22154 if (arg2
== NULL
) {
22155 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22159 (arg1
)->base_OnHighlight(*arg2
);
22161 wxPyEndAllowThreads(__tstate
);
22162 if (PyErr_Occurred()) SWIG_fail
;
22164 Py_INCREF(Py_None
); resultobj
= Py_None
;
22171 static PyObject
*_wrap_PyLineShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22172 PyObject
*resultobj
;
22173 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22176 int arg4
= (int) 0 ;
22177 int arg5
= (int) 0 ;
22178 PyObject
* obj0
= 0 ;
22179 char *kwnames
[] = {
22180 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyLineShape_base_OnLeftClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
22184 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22187 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
22189 wxPyEndAllowThreads(__tstate
);
22190 if (PyErr_Occurred()) SWIG_fail
;
22192 Py_INCREF(Py_None
); resultobj
= Py_None
;
22199 static PyObject
*_wrap_PyLineShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22200 PyObject
*resultobj
;
22201 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22204 int arg4
= (int) 0 ;
22205 int arg5
= (int) 0 ;
22206 PyObject
* obj0
= 0 ;
22207 char *kwnames
[] = {
22208 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyLineShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
22212 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22215 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
22217 wxPyEndAllowThreads(__tstate
);
22218 if (PyErr_Occurred()) SWIG_fail
;
22220 Py_INCREF(Py_None
); resultobj
= Py_None
;
22227 static PyObject
*_wrap_PyLineShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22228 PyObject
*resultobj
;
22229 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22232 int arg4
= (int) 0 ;
22233 int arg5
= (int) 0 ;
22234 PyObject
* obj0
= 0 ;
22235 char *kwnames
[] = {
22236 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyLineShape_base_OnRightClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
22240 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22243 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
22245 wxPyEndAllowThreads(__tstate
);
22246 if (PyErr_Occurred()) SWIG_fail
;
22248 Py_INCREF(Py_None
); resultobj
= Py_None
;
22255 static PyObject
*_wrap_PyLineShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22256 PyObject
*resultobj
;
22257 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22260 PyObject
* obj0
= 0 ;
22261 char *kwnames
[] = {
22262 (char *) "self",(char *) "x",(char *) "y", NULL
22265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyLineShape_base_OnSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
22266 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22269 (arg1
)->base_OnSize(arg2
,arg3
);
22271 wxPyEndAllowThreads(__tstate
);
22272 if (PyErr_Occurred()) SWIG_fail
;
22274 Py_INCREF(Py_None
); resultobj
= Py_None
;
22281 static PyObject
*_wrap_PyLineShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22282 PyObject
*resultobj
;
22283 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22289 bool arg7
= (bool) True
;
22291 PyObject
* obj0
= 0 ;
22292 PyObject
* obj1
= 0 ;
22293 PyObject
* obj6
= 0 ;
22294 char *kwnames
[] = {
22295 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
22298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyLineShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
22299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22300 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22301 if (arg2
== NULL
) {
22302 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22305 arg7
= PyInt_AsLong(obj6
) ? true : false;
22306 if (PyErr_Occurred()) SWIG_fail
;
22309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22310 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22312 wxPyEndAllowThreads(__tstate
);
22313 if (PyErr_Occurred()) SWIG_fail
;
22315 resultobj
= PyInt_FromLong((long)result
);
22322 static PyObject
*_wrap_PyLineShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22323 PyObject
*resultobj
;
22324 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22330 bool arg7
= (bool) True
;
22331 PyObject
* obj0
= 0 ;
22332 PyObject
* obj1
= 0 ;
22333 PyObject
* obj6
= 0 ;
22334 char *kwnames
[] = {
22335 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
22338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyLineShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
22339 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22340 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22341 if (arg2
== NULL
) {
22342 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22345 arg7
= PyInt_AsLong(obj6
) ? true : false;
22346 if (PyErr_Occurred()) SWIG_fail
;
22349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22350 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22352 wxPyEndAllowThreads(__tstate
);
22353 if (PyErr_Occurred()) SWIG_fail
;
22355 Py_INCREF(Py_None
); resultobj
= Py_None
;
22362 static PyObject
*_wrap_PyLineShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22363 PyObject
*resultobj
;
22364 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22368 int arg5
= (int) 0 ;
22369 int arg6
= (int) 0 ;
22370 PyObject
* obj0
= 0 ;
22371 PyObject
* obj1
= 0 ;
22372 char *kwnames
[] = {
22373 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyLineShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
22377 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22378 arg2
= PyInt_AsLong(obj1
) ? true : false;
22379 if (PyErr_Occurred()) SWIG_fail
;
22381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22382 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
22384 wxPyEndAllowThreads(__tstate
);
22385 if (PyErr_Occurred()) SWIG_fail
;
22387 Py_INCREF(Py_None
); resultobj
= Py_None
;
22394 static PyObject
*_wrap_PyLineShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22395 PyObject
*resultobj
;
22396 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22399 int arg4
= (int) 0 ;
22400 int arg5
= (int) 0 ;
22401 PyObject
* obj0
= 0 ;
22402 char *kwnames
[] = {
22403 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyLineShape_base_OnBeginDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
22407 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22410 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
22412 wxPyEndAllowThreads(__tstate
);
22413 if (PyErr_Occurred()) SWIG_fail
;
22415 Py_INCREF(Py_None
); resultobj
= Py_None
;
22422 static PyObject
*_wrap_PyLineShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22423 PyObject
*resultobj
;
22424 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22427 int arg4
= (int) 0 ;
22428 int arg5
= (int) 0 ;
22429 PyObject
* obj0
= 0 ;
22430 char *kwnames
[] = {
22431 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyLineShape_base_OnEndDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
22435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22438 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
22440 wxPyEndAllowThreads(__tstate
);
22441 if (PyErr_Occurred()) SWIG_fail
;
22443 Py_INCREF(Py_None
); resultobj
= Py_None
;
22450 static PyObject
*_wrap_PyLineShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22451 PyObject
*resultobj
;
22452 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22456 int arg5
= (int) 0 ;
22457 int arg6
= (int) 0 ;
22458 PyObject
* obj0
= 0 ;
22459 PyObject
* obj1
= 0 ;
22460 char *kwnames
[] = {
22461 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyLineShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
22465 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22466 arg2
= PyInt_AsLong(obj1
) ? true : false;
22467 if (PyErr_Occurred()) SWIG_fail
;
22469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22470 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
22472 wxPyEndAllowThreads(__tstate
);
22473 if (PyErr_Occurred()) SWIG_fail
;
22475 Py_INCREF(Py_None
); resultobj
= Py_None
;
22482 static PyObject
*_wrap_PyLineShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22483 PyObject
*resultobj
;
22484 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22487 int arg4
= (int) 0 ;
22488 int arg5
= (int) 0 ;
22489 PyObject
* obj0
= 0 ;
22490 char *kwnames
[] = {
22491 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyLineShape_base_OnBeginDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
22495 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22498 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
22500 wxPyEndAllowThreads(__tstate
);
22501 if (PyErr_Occurred()) SWIG_fail
;
22503 Py_INCREF(Py_None
); resultobj
= Py_None
;
22510 static PyObject
*_wrap_PyLineShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22511 PyObject
*resultobj
;
22512 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22515 int arg4
= (int) 0 ;
22516 int arg5
= (int) 0 ;
22517 PyObject
* obj0
= 0 ;
22518 char *kwnames
[] = {
22519 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyLineShape_base_OnEndDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
22523 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22526 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
22528 wxPyEndAllowThreads(__tstate
);
22529 if (PyErr_Occurred()) SWIG_fail
;
22531 Py_INCREF(Py_None
); resultobj
= Py_None
;
22538 static PyObject
*_wrap_PyLineShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22539 PyObject
*resultobj
;
22540 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22546 PyObject
* obj0
= 0 ;
22547 PyObject
* obj1
= 0 ;
22548 char *kwnames
[] = {
22549 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
22552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd:PyLineShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
22553 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22554 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22555 if (arg2
== NULL
) {
22556 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22560 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
22562 wxPyEndAllowThreads(__tstate
);
22563 if (PyErr_Occurred()) SWIG_fail
;
22565 Py_INCREF(Py_None
); resultobj
= Py_None
;
22572 static PyObject
*_wrap_PyLineShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22573 PyObject
*resultobj
;
22574 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22576 PyObject
* obj0
= 0 ;
22577 PyObject
* obj1
= 0 ;
22578 char *kwnames
[] = {
22579 (char *) "self",(char *) "dc", NULL
22582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
22583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22584 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22585 if (arg2
== NULL
) {
22586 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22590 (arg1
)->base_OnDrawControlPoints(*arg2
);
22592 wxPyEndAllowThreads(__tstate
);
22593 if (PyErr_Occurred()) SWIG_fail
;
22595 Py_INCREF(Py_None
); resultobj
= Py_None
;
22602 static PyObject
*_wrap_PyLineShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22603 PyObject
*resultobj
;
22604 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22606 PyObject
* obj0
= 0 ;
22607 PyObject
* obj1
= 0 ;
22608 char *kwnames
[] = {
22609 (char *) "self",(char *) "dc", NULL
22612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
22613 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22614 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22615 if (arg2
== NULL
) {
22616 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22620 (arg1
)->base_OnEraseControlPoints(*arg2
);
22622 wxPyEndAllowThreads(__tstate
);
22623 if (PyErr_Occurred()) SWIG_fail
;
22625 Py_INCREF(Py_None
); resultobj
= Py_None
;
22632 static PyObject
*_wrap_PyLineShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22633 PyObject
*resultobj
;
22634 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22636 bool arg3
= (bool) True
;
22637 PyObject
* obj0
= 0 ;
22638 PyObject
* obj1
= 0 ;
22639 PyObject
* obj2
= 0 ;
22640 char *kwnames
[] = {
22641 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
22644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLineShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22645 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22646 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22647 if (arg2
== NULL
) {
22648 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22651 arg3
= PyInt_AsLong(obj2
) ? true : false;
22652 if (PyErr_Occurred()) SWIG_fail
;
22655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22656 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
22658 wxPyEndAllowThreads(__tstate
);
22659 if (PyErr_Occurred()) SWIG_fail
;
22661 Py_INCREF(Py_None
); resultobj
= Py_None
;
22668 static PyObject
*_wrap_PyLineShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22669 PyObject
*resultobj
;
22670 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22671 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
22675 int arg6
= (int) 0 ;
22676 int arg7
= (int) 0 ;
22677 PyObject
* obj0
= 0 ;
22678 PyObject
* obj1
= 0 ;
22679 PyObject
* obj2
= 0 ;
22680 char *kwnames
[] = {
22681 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd|ii:PyLineShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
22685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22686 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22687 arg3
= PyInt_AsLong(obj2
) ? true : false;
22688 if (PyErr_Occurred()) SWIG_fail
;
22690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22691 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22693 wxPyEndAllowThreads(__tstate
);
22694 if (PyErr_Occurred()) SWIG_fail
;
22696 Py_INCREF(Py_None
); resultobj
= Py_None
;
22703 static PyObject
*_wrap_PyLineShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22704 PyObject
*resultobj
;
22705 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22706 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
22709 int arg5
= (int) 0 ;
22710 int arg6
= (int) 0 ;
22711 PyObject
* obj0
= 0 ;
22712 PyObject
* obj1
= 0 ;
22713 char *kwnames
[] = {
22714 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyLineShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
22718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22719 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22722 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
22724 wxPyEndAllowThreads(__tstate
);
22725 if (PyErr_Occurred()) SWIG_fail
;
22727 Py_INCREF(Py_None
); resultobj
= Py_None
;
22734 static PyObject
*_wrap_PyLineShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22735 PyObject
*resultobj
;
22736 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22737 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
22740 int arg5
= (int) 0 ;
22741 int arg6
= (int) 0 ;
22742 PyObject
* obj0
= 0 ;
22743 PyObject
* obj1
= 0 ;
22744 char *kwnames
[] = {
22745 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyLineShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
22749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22750 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22753 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
22755 wxPyEndAllowThreads(__tstate
);
22756 if (PyErr_Occurred()) SWIG_fail
;
22758 Py_INCREF(Py_None
); resultobj
= Py_None
;
22765 static PyObject
*_wrap_PyLineShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22766 PyObject
*resultobj
;
22767 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22770 PyObject
* obj0
= 0 ;
22771 char *kwnames
[] = {
22772 (char *) "self",(char *) "w",(char *) "h", NULL
22775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyLineShape_base_OnBeginSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
22776 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22779 (arg1
)->base_OnBeginSize(arg2
,arg3
);
22781 wxPyEndAllowThreads(__tstate
);
22782 if (PyErr_Occurred()) SWIG_fail
;
22784 Py_INCREF(Py_None
); resultobj
= Py_None
;
22791 static PyObject
*_wrap_PyLineShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22792 PyObject
*resultobj
;
22793 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22796 PyObject
* obj0
= 0 ;
22797 char *kwnames
[] = {
22798 (char *) "self",(char *) "w",(char *) "h", NULL
22801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyLineShape_base_OnEndSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
22802 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22805 (arg1
)->base_OnEndSize(arg2
,arg3
);
22807 wxPyEndAllowThreads(__tstate
);
22808 if (PyErr_Occurred()) SWIG_fail
;
22810 Py_INCREF(Py_None
); resultobj
= Py_None
;
22817 static PyObject
* PyLineShape_swigregister(PyObject
*self
, PyObject
*args
) {
22819 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22820 SWIG_TypeClientData(SWIGTYPE_p_wxPyLineShape
, obj
);
22822 return Py_BuildValue((char *)"");
22824 static PyObject
*_wrap_new_PyPolygonShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22825 PyObject
*resultobj
;
22826 wxPyPolygonShape
*result
;
22827 char *kwnames
[] = {
22831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyPolygonShape",kwnames
)) goto fail
;
22833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22834 result
= (wxPyPolygonShape
*)new wxPyPolygonShape();
22836 wxPyEndAllowThreads(__tstate
);
22837 if (PyErr_Occurred()) SWIG_fail
;
22839 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPolygonShape
, 1);
22846 static PyObject
*_wrap_PyPolygonShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22847 PyObject
*resultobj
;
22848 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
22849 PyObject
*arg2
= (PyObject
*) 0 ;
22850 PyObject
*arg3
= (PyObject
*) 0 ;
22851 PyObject
* obj0
= 0 ;
22852 PyObject
* obj1
= 0 ;
22853 PyObject
* obj2
= 0 ;
22854 char *kwnames
[] = {
22855 (char *) "self",(char *) "self",(char *) "_class", NULL
22858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPolygonShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22859 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22864 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22866 wxPyEndAllowThreads(__tstate
);
22867 if (PyErr_Occurred()) SWIG_fail
;
22869 Py_INCREF(Py_None
); resultobj
= Py_None
;
22876 static PyObject
*_wrap_PyPolygonShape_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22877 PyObject
*resultobj
;
22878 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
22879 PyObject
*arg2
= (PyObject
*) 0 ;
22881 PyObject
* obj0
= 0 ;
22882 PyObject
* obj1
= 0 ;
22883 char *kwnames
[] = {
22884 (char *) "self",(char *) "points", NULL
22887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
22888 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22892 result
= (PyObject
*)wxPyPolygonShape_Create(arg1
,arg2
);
22894 wxPyEndAllowThreads(__tstate
);
22895 if (PyErr_Occurred()) SWIG_fail
;
22897 resultobj
= result
;
22904 static PyObject
*_wrap_PyPolygonShape_AddPolygonPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22905 PyObject
*resultobj
;
22906 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
22907 int arg2
= (int) 0 ;
22908 PyObject
* obj0
= 0 ;
22909 char *kwnames
[] = {
22910 (char *) "self",(char *) "pos", NULL
22913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:PyPolygonShape_AddPolygonPoint",kwnames
,&obj0
,&arg2
)) goto fail
;
22914 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22917 (arg1
)->AddPolygonPoint(arg2
);
22919 wxPyEndAllowThreads(__tstate
);
22920 if (PyErr_Occurred()) SWIG_fail
;
22922 Py_INCREF(Py_None
); resultobj
= Py_None
;
22929 static PyObject
*_wrap_PyPolygonShape_CalculatePolygonCentre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22930 PyObject
*resultobj
;
22931 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
22932 PyObject
* obj0
= 0 ;
22933 char *kwnames
[] = {
22934 (char *) "self", NULL
22937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_CalculatePolygonCentre",kwnames
,&obj0
)) goto fail
;
22938 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22941 (arg1
)->CalculatePolygonCentre();
22943 wxPyEndAllowThreads(__tstate
);
22944 if (PyErr_Occurred()) SWIG_fail
;
22946 Py_INCREF(Py_None
); resultobj
= Py_None
;
22953 static PyObject
*_wrap_PyPolygonShape_DeletePolygonPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22954 PyObject
*resultobj
;
22955 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
22956 int arg2
= (int) 0 ;
22957 PyObject
* obj0
= 0 ;
22958 char *kwnames
[] = {
22959 (char *) "self",(char *) "pos", NULL
22962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:PyPolygonShape_DeletePolygonPoint",kwnames
,&obj0
,&arg2
)) goto fail
;
22963 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22966 (arg1
)->DeletePolygonPoint(arg2
);
22968 wxPyEndAllowThreads(__tstate
);
22969 if (PyErr_Occurred()) SWIG_fail
;
22971 Py_INCREF(Py_None
); resultobj
= Py_None
;
22978 static PyObject
*_wrap_PyPolygonShape_GetPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22979 PyObject
*resultobj
;
22980 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
22982 PyObject
* obj0
= 0 ;
22983 char *kwnames
[] = {
22984 (char *) "self", NULL
22987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_GetPoints",kwnames
,&obj0
)) goto fail
;
22988 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22991 result
= (PyObject
*)wxPyPolygonShape_GetPoints(arg1
);
22993 wxPyEndAllowThreads(__tstate
);
22994 if (PyErr_Occurred()) SWIG_fail
;
22996 resultobj
= result
;
23003 static PyObject
*_wrap_PyPolygonShape_GetOriginalPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23004 PyObject
*resultobj
;
23005 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23007 PyObject
* obj0
= 0 ;
23008 char *kwnames
[] = {
23009 (char *) "self", NULL
23012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_GetOriginalPoints",kwnames
,&obj0
)) goto fail
;
23013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23016 result
= (PyObject
*)wxPyPolygonShape_GetOriginalPoints(arg1
);
23018 wxPyEndAllowThreads(__tstate
);
23019 if (PyErr_Occurred()) SWIG_fail
;
23021 resultobj
= result
;
23028 static PyObject
*_wrap_PyPolygonShape_GetOriginalWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23029 PyObject
*resultobj
;
23030 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23032 PyObject
* obj0
= 0 ;
23033 char *kwnames
[] = {
23034 (char *) "self", NULL
23037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_GetOriginalWidth",kwnames
,&obj0
)) goto fail
;
23038 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23041 result
= (double)((wxPyPolygonShape
const *)arg1
)->GetOriginalWidth();
23043 wxPyEndAllowThreads(__tstate
);
23044 if (PyErr_Occurred()) SWIG_fail
;
23046 resultobj
= PyFloat_FromDouble(result
);
23053 static PyObject
*_wrap_PyPolygonShape_GetOriginalHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23054 PyObject
*resultobj
;
23055 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23057 PyObject
* obj0
= 0 ;
23058 char *kwnames
[] = {
23059 (char *) "self", NULL
23062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_GetOriginalHeight",kwnames
,&obj0
)) goto fail
;
23063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23066 result
= (double)((wxPyPolygonShape
const *)arg1
)->GetOriginalHeight();
23068 wxPyEndAllowThreads(__tstate
);
23069 if (PyErr_Occurred()) SWIG_fail
;
23071 resultobj
= PyFloat_FromDouble(result
);
23078 static PyObject
*_wrap_PyPolygonShape_SetOriginalWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23079 PyObject
*resultobj
;
23080 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23082 PyObject
* obj0
= 0 ;
23083 char *kwnames
[] = {
23084 (char *) "self",(char *) "w", NULL
23087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:PyPolygonShape_SetOriginalWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
23088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23091 (arg1
)->SetOriginalWidth(arg2
);
23093 wxPyEndAllowThreads(__tstate
);
23094 if (PyErr_Occurred()) SWIG_fail
;
23096 Py_INCREF(Py_None
); resultobj
= Py_None
;
23103 static PyObject
*_wrap_PyPolygonShape_SetOriginalHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23104 PyObject
*resultobj
;
23105 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23107 PyObject
* obj0
= 0 ;
23108 char *kwnames
[] = {
23109 (char *) "self",(char *) "h", NULL
23112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:PyPolygonShape_SetOriginalHeight",kwnames
,&obj0
,&arg2
)) goto fail
;
23113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23116 (arg1
)->SetOriginalHeight(arg2
);
23118 wxPyEndAllowThreads(__tstate
);
23119 if (PyErr_Occurred()) SWIG_fail
;
23121 Py_INCREF(Py_None
); resultobj
= Py_None
;
23128 static PyObject
*_wrap_PyPolygonShape_UpdateOriginalPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23129 PyObject
*resultobj
;
23130 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23131 PyObject
* obj0
= 0 ;
23132 char *kwnames
[] = {
23133 (char *) "self", NULL
23136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_UpdateOriginalPoints",kwnames
,&obj0
)) goto fail
;
23137 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23140 (arg1
)->UpdateOriginalPoints();
23142 wxPyEndAllowThreads(__tstate
);
23143 if (PyErr_Occurred()) SWIG_fail
;
23145 Py_INCREF(Py_None
); resultobj
= Py_None
;
23152 static PyObject
*_wrap_PyPolygonShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23153 PyObject
*resultobj
;
23154 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23156 PyObject
* obj0
= 0 ;
23157 PyObject
* obj1
= 0 ;
23158 char *kwnames
[] = {
23159 (char *) "self",(char *) "dc", NULL
23162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
23163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23164 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23165 if (arg2
== NULL
) {
23166 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23170 (arg1
)->base_OnDraw(*arg2
);
23172 wxPyEndAllowThreads(__tstate
);
23173 if (PyErr_Occurred()) SWIG_fail
;
23175 Py_INCREF(Py_None
); resultobj
= Py_None
;
23182 static PyObject
*_wrap_PyPolygonShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23183 PyObject
*resultobj
;
23184 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23186 PyObject
* obj0
= 0 ;
23187 PyObject
* obj1
= 0 ;
23188 char *kwnames
[] = {
23189 (char *) "self",(char *) "dc", NULL
23192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
23193 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23194 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23195 if (arg2
== NULL
) {
23196 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23200 (arg1
)->base_OnDrawContents(*arg2
);
23202 wxPyEndAllowThreads(__tstate
);
23203 if (PyErr_Occurred()) SWIG_fail
;
23205 Py_INCREF(Py_None
); resultobj
= Py_None
;
23212 static PyObject
*_wrap_PyPolygonShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23213 PyObject
*resultobj
;
23214 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23216 bool arg3
= (bool) FALSE
;
23217 PyObject
* obj0
= 0 ;
23218 PyObject
* obj1
= 0 ;
23219 PyObject
* obj2
= 0 ;
23220 char *kwnames
[] = {
23221 (char *) "self",(char *) "dc",(char *) "erase", NULL
23224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyPolygonShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23226 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23227 if (arg2
== NULL
) {
23228 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23231 arg3
= PyInt_AsLong(obj2
) ? true : false;
23232 if (PyErr_Occurred()) SWIG_fail
;
23235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23236 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
23238 wxPyEndAllowThreads(__tstate
);
23239 if (PyErr_Occurred()) SWIG_fail
;
23241 Py_INCREF(Py_None
); resultobj
= Py_None
;
23248 static PyObject
*_wrap_PyPolygonShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23249 PyObject
*resultobj
;
23250 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23252 PyObject
* obj0
= 0 ;
23253 PyObject
* obj1
= 0 ;
23254 char *kwnames
[] = {
23255 (char *) "self",(char *) "dc", NULL
23258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
23259 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23260 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23261 if (arg2
== NULL
) {
23262 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23266 (arg1
)->base_OnMoveLinks(*arg2
);
23268 wxPyEndAllowThreads(__tstate
);
23269 if (PyErr_Occurred()) SWIG_fail
;
23271 Py_INCREF(Py_None
); resultobj
= Py_None
;
23278 static PyObject
*_wrap_PyPolygonShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23279 PyObject
*resultobj
;
23280 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23282 PyObject
* obj0
= 0 ;
23283 PyObject
* obj1
= 0 ;
23284 char *kwnames
[] = {
23285 (char *) "self",(char *) "dc", NULL
23288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
23289 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23290 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23291 if (arg2
== NULL
) {
23292 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23296 (arg1
)->base_OnErase(*arg2
);
23298 wxPyEndAllowThreads(__tstate
);
23299 if (PyErr_Occurred()) SWIG_fail
;
23301 Py_INCREF(Py_None
); resultobj
= Py_None
;
23308 static PyObject
*_wrap_PyPolygonShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23309 PyObject
*resultobj
;
23310 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23312 PyObject
* obj0
= 0 ;
23313 PyObject
* obj1
= 0 ;
23314 char *kwnames
[] = {
23315 (char *) "self",(char *) "dc", NULL
23318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
23319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23320 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23321 if (arg2
== NULL
) {
23322 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23326 (arg1
)->base_OnEraseContents(*arg2
);
23328 wxPyEndAllowThreads(__tstate
);
23329 if (PyErr_Occurred()) SWIG_fail
;
23331 Py_INCREF(Py_None
); resultobj
= Py_None
;
23338 static PyObject
*_wrap_PyPolygonShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23339 PyObject
*resultobj
;
23340 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23342 PyObject
* obj0
= 0 ;
23343 PyObject
* obj1
= 0 ;
23344 char *kwnames
[] = {
23345 (char *) "self",(char *) "dc", NULL
23348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
23349 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23350 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23351 if (arg2
== NULL
) {
23352 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23356 (arg1
)->base_OnHighlight(*arg2
);
23358 wxPyEndAllowThreads(__tstate
);
23359 if (PyErr_Occurred()) SWIG_fail
;
23361 Py_INCREF(Py_None
); resultobj
= Py_None
;
23368 static PyObject
*_wrap_PyPolygonShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23369 PyObject
*resultobj
;
23370 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23373 int arg4
= (int) 0 ;
23374 int arg5
= (int) 0 ;
23375 PyObject
* obj0
= 0 ;
23376 char *kwnames
[] = {
23377 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyPolygonShape_base_OnLeftClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
23381 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23384 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
23386 wxPyEndAllowThreads(__tstate
);
23387 if (PyErr_Occurred()) SWIG_fail
;
23389 Py_INCREF(Py_None
); resultobj
= Py_None
;
23396 static PyObject
*_wrap_PyPolygonShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23397 PyObject
*resultobj
;
23398 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23401 int arg4
= (int) 0 ;
23402 int arg5
= (int) 0 ;
23403 PyObject
* obj0
= 0 ;
23404 char *kwnames
[] = {
23405 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyPolygonShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
23409 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23412 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
23414 wxPyEndAllowThreads(__tstate
);
23415 if (PyErr_Occurred()) SWIG_fail
;
23417 Py_INCREF(Py_None
); resultobj
= Py_None
;
23424 static PyObject
*_wrap_PyPolygonShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23425 PyObject
*resultobj
;
23426 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23429 int arg4
= (int) 0 ;
23430 int arg5
= (int) 0 ;
23431 PyObject
* obj0
= 0 ;
23432 char *kwnames
[] = {
23433 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyPolygonShape_base_OnRightClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
23437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23440 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
23442 wxPyEndAllowThreads(__tstate
);
23443 if (PyErr_Occurred()) SWIG_fail
;
23445 Py_INCREF(Py_None
); resultobj
= Py_None
;
23452 static PyObject
*_wrap_PyPolygonShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23453 PyObject
*resultobj
;
23454 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23457 PyObject
* obj0
= 0 ;
23458 char *kwnames
[] = {
23459 (char *) "self",(char *) "x",(char *) "y", NULL
23462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyPolygonShape_base_OnSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
23463 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23466 (arg1
)->base_OnSize(arg2
,arg3
);
23468 wxPyEndAllowThreads(__tstate
);
23469 if (PyErr_Occurred()) SWIG_fail
;
23471 Py_INCREF(Py_None
); resultobj
= Py_None
;
23478 static PyObject
*_wrap_PyPolygonShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23479 PyObject
*resultobj
;
23480 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23486 bool arg7
= (bool) True
;
23488 PyObject
* obj0
= 0 ;
23489 PyObject
* obj1
= 0 ;
23490 PyObject
* obj6
= 0 ;
23491 char *kwnames
[] = {
23492 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
23495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyPolygonShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
23496 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23497 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23498 if (arg2
== NULL
) {
23499 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23502 arg7
= PyInt_AsLong(obj6
) ? true : false;
23503 if (PyErr_Occurred()) SWIG_fail
;
23506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23507 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23509 wxPyEndAllowThreads(__tstate
);
23510 if (PyErr_Occurred()) SWIG_fail
;
23512 resultobj
= PyInt_FromLong((long)result
);
23519 static PyObject
*_wrap_PyPolygonShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23520 PyObject
*resultobj
;
23521 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23527 bool arg7
= (bool) True
;
23528 PyObject
* obj0
= 0 ;
23529 PyObject
* obj1
= 0 ;
23530 PyObject
* obj6
= 0 ;
23531 char *kwnames
[] = {
23532 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
23535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyPolygonShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
23536 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23537 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23538 if (arg2
== NULL
) {
23539 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23542 arg7
= PyInt_AsLong(obj6
) ? true : false;
23543 if (PyErr_Occurred()) SWIG_fail
;
23546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23547 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23549 wxPyEndAllowThreads(__tstate
);
23550 if (PyErr_Occurred()) SWIG_fail
;
23552 Py_INCREF(Py_None
); resultobj
= Py_None
;
23559 static PyObject
*_wrap_PyPolygonShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23560 PyObject
*resultobj
;
23561 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23565 int arg5
= (int) 0 ;
23566 int arg6
= (int) 0 ;
23567 PyObject
* obj0
= 0 ;
23568 PyObject
* obj1
= 0 ;
23569 char *kwnames
[] = {
23570 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyPolygonShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
23574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23575 arg2
= PyInt_AsLong(obj1
) ? true : false;
23576 if (PyErr_Occurred()) SWIG_fail
;
23578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23579 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
23581 wxPyEndAllowThreads(__tstate
);
23582 if (PyErr_Occurred()) SWIG_fail
;
23584 Py_INCREF(Py_None
); resultobj
= Py_None
;
23591 static PyObject
*_wrap_PyPolygonShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23592 PyObject
*resultobj
;
23593 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23596 int arg4
= (int) 0 ;
23597 int arg5
= (int) 0 ;
23598 PyObject
* obj0
= 0 ;
23599 char *kwnames
[] = {
23600 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyPolygonShape_base_OnBeginDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
23604 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23607 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
23609 wxPyEndAllowThreads(__tstate
);
23610 if (PyErr_Occurred()) SWIG_fail
;
23612 Py_INCREF(Py_None
); resultobj
= Py_None
;
23619 static PyObject
*_wrap_PyPolygonShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23620 PyObject
*resultobj
;
23621 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23624 int arg4
= (int) 0 ;
23625 int arg5
= (int) 0 ;
23626 PyObject
* obj0
= 0 ;
23627 char *kwnames
[] = {
23628 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyPolygonShape_base_OnEndDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
23632 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23635 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
23637 wxPyEndAllowThreads(__tstate
);
23638 if (PyErr_Occurred()) SWIG_fail
;
23640 Py_INCREF(Py_None
); resultobj
= Py_None
;
23647 static PyObject
*_wrap_PyPolygonShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23648 PyObject
*resultobj
;
23649 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23653 int arg5
= (int) 0 ;
23654 int arg6
= (int) 0 ;
23655 PyObject
* obj0
= 0 ;
23656 PyObject
* obj1
= 0 ;
23657 char *kwnames
[] = {
23658 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyPolygonShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
23662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23663 arg2
= PyInt_AsLong(obj1
) ? true : false;
23664 if (PyErr_Occurred()) SWIG_fail
;
23666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23667 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
23669 wxPyEndAllowThreads(__tstate
);
23670 if (PyErr_Occurred()) SWIG_fail
;
23672 Py_INCREF(Py_None
); resultobj
= Py_None
;
23679 static PyObject
*_wrap_PyPolygonShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23680 PyObject
*resultobj
;
23681 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23684 int arg4
= (int) 0 ;
23685 int arg5
= (int) 0 ;
23686 PyObject
* obj0
= 0 ;
23687 char *kwnames
[] = {
23688 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyPolygonShape_base_OnBeginDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
23692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23695 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
23697 wxPyEndAllowThreads(__tstate
);
23698 if (PyErr_Occurred()) SWIG_fail
;
23700 Py_INCREF(Py_None
); resultobj
= Py_None
;
23707 static PyObject
*_wrap_PyPolygonShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23708 PyObject
*resultobj
;
23709 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23712 int arg4
= (int) 0 ;
23713 int arg5
= (int) 0 ;
23714 PyObject
* obj0
= 0 ;
23715 char *kwnames
[] = {
23716 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyPolygonShape_base_OnEndDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
23720 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23723 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
23725 wxPyEndAllowThreads(__tstate
);
23726 if (PyErr_Occurred()) SWIG_fail
;
23728 Py_INCREF(Py_None
); resultobj
= Py_None
;
23735 static PyObject
*_wrap_PyPolygonShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23736 PyObject
*resultobj
;
23737 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23743 PyObject
* obj0
= 0 ;
23744 PyObject
* obj1
= 0 ;
23745 char *kwnames
[] = {
23746 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
23749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd:PyPolygonShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
23750 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23751 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23752 if (arg2
== NULL
) {
23753 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23757 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
23759 wxPyEndAllowThreads(__tstate
);
23760 if (PyErr_Occurred()) SWIG_fail
;
23762 Py_INCREF(Py_None
); resultobj
= Py_None
;
23769 static PyObject
*_wrap_PyPolygonShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23770 PyObject
*resultobj
;
23771 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23773 PyObject
* obj0
= 0 ;
23774 PyObject
* obj1
= 0 ;
23775 char *kwnames
[] = {
23776 (char *) "self",(char *) "dc", NULL
23779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
23780 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23781 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23782 if (arg2
== NULL
) {
23783 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23787 (arg1
)->base_OnDrawControlPoints(*arg2
);
23789 wxPyEndAllowThreads(__tstate
);
23790 if (PyErr_Occurred()) SWIG_fail
;
23792 Py_INCREF(Py_None
); resultobj
= Py_None
;
23799 static PyObject
*_wrap_PyPolygonShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23800 PyObject
*resultobj
;
23801 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23803 PyObject
* obj0
= 0 ;
23804 PyObject
* obj1
= 0 ;
23805 char *kwnames
[] = {
23806 (char *) "self",(char *) "dc", NULL
23809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
23810 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23811 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23812 if (arg2
== NULL
) {
23813 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23817 (arg1
)->base_OnEraseControlPoints(*arg2
);
23819 wxPyEndAllowThreads(__tstate
);
23820 if (PyErr_Occurred()) SWIG_fail
;
23822 Py_INCREF(Py_None
); resultobj
= Py_None
;
23829 static PyObject
*_wrap_PyPolygonShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23830 PyObject
*resultobj
;
23831 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23833 bool arg3
= (bool) True
;
23834 PyObject
* obj0
= 0 ;
23835 PyObject
* obj1
= 0 ;
23836 PyObject
* obj2
= 0 ;
23837 char *kwnames
[] = {
23838 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
23841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyPolygonShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23842 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23843 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23844 if (arg2
== NULL
) {
23845 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23848 arg3
= PyInt_AsLong(obj2
) ? true : false;
23849 if (PyErr_Occurred()) SWIG_fail
;
23852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23853 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
23855 wxPyEndAllowThreads(__tstate
);
23856 if (PyErr_Occurred()) SWIG_fail
;
23858 Py_INCREF(Py_None
); resultobj
= Py_None
;
23865 static PyObject
*_wrap_PyPolygonShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23866 PyObject
*resultobj
;
23867 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23868 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
23872 int arg6
= (int) 0 ;
23873 int arg7
= (int) 0 ;
23874 PyObject
* obj0
= 0 ;
23875 PyObject
* obj1
= 0 ;
23876 PyObject
* obj2
= 0 ;
23877 char *kwnames
[] = {
23878 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd|ii:PyPolygonShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
23882 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23883 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23884 arg3
= PyInt_AsLong(obj2
) ? true : false;
23885 if (PyErr_Occurred()) SWIG_fail
;
23887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23888 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23890 wxPyEndAllowThreads(__tstate
);
23891 if (PyErr_Occurred()) SWIG_fail
;
23893 Py_INCREF(Py_None
); resultobj
= Py_None
;
23900 static PyObject
*_wrap_PyPolygonShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23901 PyObject
*resultobj
;
23902 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23903 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
23906 int arg5
= (int) 0 ;
23907 int arg6
= (int) 0 ;
23908 PyObject
* obj0
= 0 ;
23909 PyObject
* obj1
= 0 ;
23910 char *kwnames
[] = {
23911 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyPolygonShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
23915 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23916 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23919 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
23921 wxPyEndAllowThreads(__tstate
);
23922 if (PyErr_Occurred()) SWIG_fail
;
23924 Py_INCREF(Py_None
); resultobj
= Py_None
;
23931 static PyObject
*_wrap_PyPolygonShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23932 PyObject
*resultobj
;
23933 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23934 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
23937 int arg5
= (int) 0 ;
23938 int arg6
= (int) 0 ;
23939 PyObject
* obj0
= 0 ;
23940 PyObject
* obj1
= 0 ;
23941 char *kwnames
[] = {
23942 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyPolygonShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
23946 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23947 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23950 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
23952 wxPyEndAllowThreads(__tstate
);
23953 if (PyErr_Occurred()) SWIG_fail
;
23955 Py_INCREF(Py_None
); resultobj
= Py_None
;
23962 static PyObject
*_wrap_PyPolygonShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23963 PyObject
*resultobj
;
23964 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23967 PyObject
* obj0
= 0 ;
23968 char *kwnames
[] = {
23969 (char *) "self",(char *) "w",(char *) "h", NULL
23972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyPolygonShape_base_OnBeginSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
23973 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23976 (arg1
)->base_OnBeginSize(arg2
,arg3
);
23978 wxPyEndAllowThreads(__tstate
);
23979 if (PyErr_Occurred()) SWIG_fail
;
23981 Py_INCREF(Py_None
); resultobj
= Py_None
;
23988 static PyObject
*_wrap_PyPolygonShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23989 PyObject
*resultobj
;
23990 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23993 PyObject
* obj0
= 0 ;
23994 char *kwnames
[] = {
23995 (char *) "self",(char *) "w",(char *) "h", NULL
23998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyPolygonShape_base_OnEndSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
23999 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24002 (arg1
)->base_OnEndSize(arg2
,arg3
);
24004 wxPyEndAllowThreads(__tstate
);
24005 if (PyErr_Occurred()) SWIG_fail
;
24007 Py_INCREF(Py_None
); resultobj
= Py_None
;
24014 static PyObject
* PyPolygonShape_swigregister(PyObject
*self
, PyObject
*args
) {
24016 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24017 SWIG_TypeClientData(SWIGTYPE_p_wxPyPolygonShape
, obj
);
24019 return Py_BuildValue((char *)"");
24021 static PyObject
*_wrap_new_PyTextShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24022 PyObject
*resultobj
;
24023 double arg1
= (double) 0.0 ;
24024 double arg2
= (double) 0.0 ;
24025 wxPyTextShape
*result
;
24026 char *kwnames
[] = {
24027 (char *) "width",(char *) "height", NULL
24030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|dd:new_PyTextShape",kwnames
,&arg1
,&arg2
)) goto fail
;
24032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24033 result
= (wxPyTextShape
*)new wxPyTextShape(arg1
,arg2
);
24035 wxPyEndAllowThreads(__tstate
);
24036 if (PyErr_Occurred()) SWIG_fail
;
24038 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTextShape
, 1);
24045 static PyObject
*_wrap_PyTextShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24046 PyObject
*resultobj
;
24047 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24048 PyObject
*arg2
= (PyObject
*) 0 ;
24049 PyObject
*arg3
= (PyObject
*) 0 ;
24050 PyObject
* obj0
= 0 ;
24051 PyObject
* obj1
= 0 ;
24052 PyObject
* obj2
= 0 ;
24053 char *kwnames
[] = {
24054 (char *) "self",(char *) "self",(char *) "_class", NULL
24057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24063 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24065 wxPyEndAllowThreads(__tstate
);
24066 if (PyErr_Occurred()) SWIG_fail
;
24068 Py_INCREF(Py_None
); resultobj
= Py_None
;
24075 static PyObject
*_wrap_PyTextShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24076 PyObject
*resultobj
;
24077 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24078 PyObject
* obj0
= 0 ;
24079 char *kwnames
[] = {
24080 (char *) "self", NULL
24083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyTextShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
24084 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24087 (arg1
)->base_OnDelete();
24089 wxPyEndAllowThreads(__tstate
);
24090 if (PyErr_Occurred()) SWIG_fail
;
24092 Py_INCREF(Py_None
); resultobj
= Py_None
;
24099 static PyObject
*_wrap_PyTextShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24100 PyObject
*resultobj
;
24101 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24103 PyObject
* obj0
= 0 ;
24104 PyObject
* obj1
= 0 ;
24105 char *kwnames
[] = {
24106 (char *) "self",(char *) "dc", NULL
24109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
24110 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24111 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24112 if (arg2
== NULL
) {
24113 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24117 (arg1
)->base_OnDraw(*arg2
);
24119 wxPyEndAllowThreads(__tstate
);
24120 if (PyErr_Occurred()) SWIG_fail
;
24122 Py_INCREF(Py_None
); resultobj
= Py_None
;
24129 static PyObject
*_wrap_PyTextShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24130 PyObject
*resultobj
;
24131 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24133 PyObject
* obj0
= 0 ;
24134 PyObject
* obj1
= 0 ;
24135 char *kwnames
[] = {
24136 (char *) "self",(char *) "dc", NULL
24139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
24140 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24141 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24142 if (arg2
== NULL
) {
24143 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24147 (arg1
)->base_OnDrawContents(*arg2
);
24149 wxPyEndAllowThreads(__tstate
);
24150 if (PyErr_Occurred()) SWIG_fail
;
24152 Py_INCREF(Py_None
); resultobj
= Py_None
;
24159 static PyObject
*_wrap_PyTextShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24160 PyObject
*resultobj
;
24161 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24163 bool arg3
= (bool) FALSE
;
24164 PyObject
* obj0
= 0 ;
24165 PyObject
* obj1
= 0 ;
24166 PyObject
* obj2
= 0 ;
24167 char *kwnames
[] = {
24168 (char *) "self",(char *) "dc",(char *) "erase", NULL
24171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyTextShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24172 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24173 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24174 if (arg2
== NULL
) {
24175 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24178 arg3
= PyInt_AsLong(obj2
) ? true : false;
24179 if (PyErr_Occurred()) SWIG_fail
;
24182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24183 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
24185 wxPyEndAllowThreads(__tstate
);
24186 if (PyErr_Occurred()) SWIG_fail
;
24188 Py_INCREF(Py_None
); resultobj
= Py_None
;
24195 static PyObject
*_wrap_PyTextShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24196 PyObject
*resultobj
;
24197 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24199 PyObject
* obj0
= 0 ;
24200 PyObject
* obj1
= 0 ;
24201 char *kwnames
[] = {
24202 (char *) "self",(char *) "dc", NULL
24205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
24206 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24207 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24208 if (arg2
== NULL
) {
24209 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24213 (arg1
)->base_OnMoveLinks(*arg2
);
24215 wxPyEndAllowThreads(__tstate
);
24216 if (PyErr_Occurred()) SWIG_fail
;
24218 Py_INCREF(Py_None
); resultobj
= Py_None
;
24225 static PyObject
*_wrap_PyTextShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24226 PyObject
*resultobj
;
24227 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24229 PyObject
* obj0
= 0 ;
24230 PyObject
* obj1
= 0 ;
24231 char *kwnames
[] = {
24232 (char *) "self",(char *) "dc", NULL
24235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
24236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24237 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24238 if (arg2
== NULL
) {
24239 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24243 (arg1
)->base_OnErase(*arg2
);
24245 wxPyEndAllowThreads(__tstate
);
24246 if (PyErr_Occurred()) SWIG_fail
;
24248 Py_INCREF(Py_None
); resultobj
= Py_None
;
24255 static PyObject
*_wrap_PyTextShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24256 PyObject
*resultobj
;
24257 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24259 PyObject
* obj0
= 0 ;
24260 PyObject
* obj1
= 0 ;
24261 char *kwnames
[] = {
24262 (char *) "self",(char *) "dc", NULL
24265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
24266 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24267 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24268 if (arg2
== NULL
) {
24269 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24273 (arg1
)->base_OnEraseContents(*arg2
);
24275 wxPyEndAllowThreads(__tstate
);
24276 if (PyErr_Occurred()) SWIG_fail
;
24278 Py_INCREF(Py_None
); resultobj
= Py_None
;
24285 static PyObject
*_wrap_PyTextShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24286 PyObject
*resultobj
;
24287 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24289 PyObject
* obj0
= 0 ;
24290 PyObject
* obj1
= 0 ;
24291 char *kwnames
[] = {
24292 (char *) "self",(char *) "dc", NULL
24295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
24296 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24297 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24298 if (arg2
== NULL
) {
24299 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24303 (arg1
)->base_OnHighlight(*arg2
);
24305 wxPyEndAllowThreads(__tstate
);
24306 if (PyErr_Occurred()) SWIG_fail
;
24308 Py_INCREF(Py_None
); resultobj
= Py_None
;
24315 static PyObject
*_wrap_PyTextShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24316 PyObject
*resultobj
;
24317 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24320 int arg4
= (int) 0 ;
24321 int arg5
= (int) 0 ;
24322 PyObject
* obj0
= 0 ;
24323 char *kwnames
[] = {
24324 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyTextShape_base_OnLeftClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
24328 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24331 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
24333 wxPyEndAllowThreads(__tstate
);
24334 if (PyErr_Occurred()) SWIG_fail
;
24336 Py_INCREF(Py_None
); resultobj
= Py_None
;
24343 static PyObject
*_wrap_PyTextShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24344 PyObject
*resultobj
;
24345 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24348 int arg4
= (int) 0 ;
24349 int arg5
= (int) 0 ;
24350 PyObject
* obj0
= 0 ;
24351 char *kwnames
[] = {
24352 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyTextShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
24356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24359 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
24361 wxPyEndAllowThreads(__tstate
);
24362 if (PyErr_Occurred()) SWIG_fail
;
24364 Py_INCREF(Py_None
); resultobj
= Py_None
;
24371 static PyObject
*_wrap_PyTextShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24372 PyObject
*resultobj
;
24373 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24376 int arg4
= (int) 0 ;
24377 int arg5
= (int) 0 ;
24378 PyObject
* obj0
= 0 ;
24379 char *kwnames
[] = {
24380 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyTextShape_base_OnRightClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
24384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24387 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
24389 wxPyEndAllowThreads(__tstate
);
24390 if (PyErr_Occurred()) SWIG_fail
;
24392 Py_INCREF(Py_None
); resultobj
= Py_None
;
24399 static PyObject
*_wrap_PyTextShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24400 PyObject
*resultobj
;
24401 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24404 PyObject
* obj0
= 0 ;
24405 char *kwnames
[] = {
24406 (char *) "self",(char *) "x",(char *) "y", NULL
24409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyTextShape_base_OnSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
24410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24413 (arg1
)->base_OnSize(arg2
,arg3
);
24415 wxPyEndAllowThreads(__tstate
);
24416 if (PyErr_Occurred()) SWIG_fail
;
24418 Py_INCREF(Py_None
); resultobj
= Py_None
;
24425 static PyObject
*_wrap_PyTextShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24426 PyObject
*resultobj
;
24427 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24433 bool arg7
= (bool) True
;
24435 PyObject
* obj0
= 0 ;
24436 PyObject
* obj1
= 0 ;
24437 PyObject
* obj6
= 0 ;
24438 char *kwnames
[] = {
24439 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
24442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyTextShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
24443 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24444 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24445 if (arg2
== NULL
) {
24446 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24449 arg7
= PyInt_AsLong(obj6
) ? true : false;
24450 if (PyErr_Occurred()) SWIG_fail
;
24453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24454 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
24456 wxPyEndAllowThreads(__tstate
);
24457 if (PyErr_Occurred()) SWIG_fail
;
24459 resultobj
= PyInt_FromLong((long)result
);
24466 static PyObject
*_wrap_PyTextShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24467 PyObject
*resultobj
;
24468 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24474 bool arg7
= (bool) True
;
24475 PyObject
* obj0
= 0 ;
24476 PyObject
* obj1
= 0 ;
24477 PyObject
* obj6
= 0 ;
24478 char *kwnames
[] = {
24479 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
24482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyTextShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
24483 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24484 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24485 if (arg2
== NULL
) {
24486 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24489 arg7
= PyInt_AsLong(obj6
) ? true : false;
24490 if (PyErr_Occurred()) SWIG_fail
;
24493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24494 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
24496 wxPyEndAllowThreads(__tstate
);
24497 if (PyErr_Occurred()) SWIG_fail
;
24499 Py_INCREF(Py_None
); resultobj
= Py_None
;
24506 static PyObject
*_wrap_PyTextShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24507 PyObject
*resultobj
;
24508 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24512 int arg5
= (int) 0 ;
24513 int arg6
= (int) 0 ;
24514 PyObject
* obj0
= 0 ;
24515 PyObject
* obj1
= 0 ;
24516 char *kwnames
[] = {
24517 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyTextShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
24521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24522 arg2
= PyInt_AsLong(obj1
) ? true : false;
24523 if (PyErr_Occurred()) SWIG_fail
;
24525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24526 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
24528 wxPyEndAllowThreads(__tstate
);
24529 if (PyErr_Occurred()) SWIG_fail
;
24531 Py_INCREF(Py_None
); resultobj
= Py_None
;
24538 static PyObject
*_wrap_PyTextShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24539 PyObject
*resultobj
;
24540 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24543 int arg4
= (int) 0 ;
24544 int arg5
= (int) 0 ;
24545 PyObject
* obj0
= 0 ;
24546 char *kwnames
[] = {
24547 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyTextShape_base_OnBeginDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
24551 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24554 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
24556 wxPyEndAllowThreads(__tstate
);
24557 if (PyErr_Occurred()) SWIG_fail
;
24559 Py_INCREF(Py_None
); resultobj
= Py_None
;
24566 static PyObject
*_wrap_PyTextShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24567 PyObject
*resultobj
;
24568 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24571 int arg4
= (int) 0 ;
24572 int arg5
= (int) 0 ;
24573 PyObject
* obj0
= 0 ;
24574 char *kwnames
[] = {
24575 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyTextShape_base_OnEndDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
24579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24582 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
24584 wxPyEndAllowThreads(__tstate
);
24585 if (PyErr_Occurred()) SWIG_fail
;
24587 Py_INCREF(Py_None
); resultobj
= Py_None
;
24594 static PyObject
*_wrap_PyTextShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24595 PyObject
*resultobj
;
24596 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24600 int arg5
= (int) 0 ;
24601 int arg6
= (int) 0 ;
24602 PyObject
* obj0
= 0 ;
24603 PyObject
* obj1
= 0 ;
24604 char *kwnames
[] = {
24605 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyTextShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
24609 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24610 arg2
= PyInt_AsLong(obj1
) ? true : false;
24611 if (PyErr_Occurred()) SWIG_fail
;
24613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24614 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
24616 wxPyEndAllowThreads(__tstate
);
24617 if (PyErr_Occurred()) SWIG_fail
;
24619 Py_INCREF(Py_None
); resultobj
= Py_None
;
24626 static PyObject
*_wrap_PyTextShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24627 PyObject
*resultobj
;
24628 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24631 int arg4
= (int) 0 ;
24632 int arg5
= (int) 0 ;
24633 PyObject
* obj0
= 0 ;
24634 char *kwnames
[] = {
24635 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyTextShape_base_OnBeginDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
24639 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24642 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
24644 wxPyEndAllowThreads(__tstate
);
24645 if (PyErr_Occurred()) SWIG_fail
;
24647 Py_INCREF(Py_None
); resultobj
= Py_None
;
24654 static PyObject
*_wrap_PyTextShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24655 PyObject
*resultobj
;
24656 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24659 int arg4
= (int) 0 ;
24660 int arg5
= (int) 0 ;
24661 PyObject
* obj0
= 0 ;
24662 char *kwnames
[] = {
24663 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyTextShape_base_OnEndDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
24667 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24670 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
24672 wxPyEndAllowThreads(__tstate
);
24673 if (PyErr_Occurred()) SWIG_fail
;
24675 Py_INCREF(Py_None
); resultobj
= Py_None
;
24682 static PyObject
*_wrap_PyTextShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24683 PyObject
*resultobj
;
24684 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24690 PyObject
* obj0
= 0 ;
24691 PyObject
* obj1
= 0 ;
24692 char *kwnames
[] = {
24693 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
24696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd:PyTextShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
24697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24698 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24699 if (arg2
== NULL
) {
24700 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24704 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
24706 wxPyEndAllowThreads(__tstate
);
24707 if (PyErr_Occurred()) SWIG_fail
;
24709 Py_INCREF(Py_None
); resultobj
= Py_None
;
24716 static PyObject
*_wrap_PyTextShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24717 PyObject
*resultobj
;
24718 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24720 PyObject
* obj0
= 0 ;
24721 PyObject
* obj1
= 0 ;
24722 char *kwnames
[] = {
24723 (char *) "self",(char *) "dc", NULL
24726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
24727 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24728 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24729 if (arg2
== NULL
) {
24730 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24734 (arg1
)->base_OnDrawControlPoints(*arg2
);
24736 wxPyEndAllowThreads(__tstate
);
24737 if (PyErr_Occurred()) SWIG_fail
;
24739 Py_INCREF(Py_None
); resultobj
= Py_None
;
24746 static PyObject
*_wrap_PyTextShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24747 PyObject
*resultobj
;
24748 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24750 PyObject
* obj0
= 0 ;
24751 PyObject
* obj1
= 0 ;
24752 char *kwnames
[] = {
24753 (char *) "self",(char *) "dc", NULL
24756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
24757 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24758 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24759 if (arg2
== NULL
) {
24760 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24764 (arg1
)->base_OnEraseControlPoints(*arg2
);
24766 wxPyEndAllowThreads(__tstate
);
24767 if (PyErr_Occurred()) SWIG_fail
;
24769 Py_INCREF(Py_None
); resultobj
= Py_None
;
24776 static PyObject
*_wrap_PyTextShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24777 PyObject
*resultobj
;
24778 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24780 bool arg3
= (bool) True
;
24781 PyObject
* obj0
= 0 ;
24782 PyObject
* obj1
= 0 ;
24783 PyObject
* obj2
= 0 ;
24784 char *kwnames
[] = {
24785 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
24788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyTextShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24790 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24791 if (arg2
== NULL
) {
24792 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24795 arg3
= PyInt_AsLong(obj2
) ? true : false;
24796 if (PyErr_Occurred()) SWIG_fail
;
24799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24800 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
24802 wxPyEndAllowThreads(__tstate
);
24803 if (PyErr_Occurred()) SWIG_fail
;
24805 Py_INCREF(Py_None
); resultobj
= Py_None
;
24812 static PyObject
*_wrap_PyTextShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24813 PyObject
*resultobj
;
24814 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24815 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
24819 int arg6
= (int) 0 ;
24820 int arg7
= (int) 0 ;
24821 PyObject
* obj0
= 0 ;
24822 PyObject
* obj1
= 0 ;
24823 PyObject
* obj2
= 0 ;
24824 char *kwnames
[] = {
24825 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd|ii:PyTextShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
24829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24830 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24831 arg3
= PyInt_AsLong(obj2
) ? true : false;
24832 if (PyErr_Occurred()) SWIG_fail
;
24834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24835 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
24837 wxPyEndAllowThreads(__tstate
);
24838 if (PyErr_Occurred()) SWIG_fail
;
24840 Py_INCREF(Py_None
); resultobj
= Py_None
;
24847 static PyObject
*_wrap_PyTextShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24848 PyObject
*resultobj
;
24849 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24850 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
24853 int arg5
= (int) 0 ;
24854 int arg6
= (int) 0 ;
24855 PyObject
* obj0
= 0 ;
24856 PyObject
* obj1
= 0 ;
24857 char *kwnames
[] = {
24858 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyTextShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
24862 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24863 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24866 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
24868 wxPyEndAllowThreads(__tstate
);
24869 if (PyErr_Occurred()) SWIG_fail
;
24871 Py_INCREF(Py_None
); resultobj
= Py_None
;
24878 static PyObject
*_wrap_PyTextShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24879 PyObject
*resultobj
;
24880 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24881 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
24884 int arg5
= (int) 0 ;
24885 int arg6
= (int) 0 ;
24886 PyObject
* obj0
= 0 ;
24887 PyObject
* obj1
= 0 ;
24888 char *kwnames
[] = {
24889 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyTextShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
24893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24894 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24897 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
24899 wxPyEndAllowThreads(__tstate
);
24900 if (PyErr_Occurred()) SWIG_fail
;
24902 Py_INCREF(Py_None
); resultobj
= Py_None
;
24909 static PyObject
*_wrap_PyTextShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24910 PyObject
*resultobj
;
24911 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24914 PyObject
* obj0
= 0 ;
24915 char *kwnames
[] = {
24916 (char *) "self",(char *) "w",(char *) "h", NULL
24919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyTextShape_base_OnBeginSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
24920 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24923 (arg1
)->base_OnBeginSize(arg2
,arg3
);
24925 wxPyEndAllowThreads(__tstate
);
24926 if (PyErr_Occurred()) SWIG_fail
;
24928 Py_INCREF(Py_None
); resultobj
= Py_None
;
24935 static PyObject
*_wrap_PyTextShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24936 PyObject
*resultobj
;
24937 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24940 PyObject
* obj0
= 0 ;
24941 char *kwnames
[] = {
24942 (char *) "self",(char *) "w",(char *) "h", NULL
24945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyTextShape_base_OnEndSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
24946 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24949 (arg1
)->base_OnEndSize(arg2
,arg3
);
24951 wxPyEndAllowThreads(__tstate
);
24952 if (PyErr_Occurred()) SWIG_fail
;
24954 Py_INCREF(Py_None
); resultobj
= Py_None
;
24961 static PyObject
* PyTextShape_swigregister(PyObject
*self
, PyObject
*args
) {
24963 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24964 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextShape
, obj
);
24966 return Py_BuildValue((char *)"");
24968 static PyObject
*_wrap_new_Diagram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24969 PyObject
*resultobj
;
24971 char *kwnames
[] = {
24975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Diagram",kwnames
)) goto fail
;
24977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24978 result
= (wxDiagram
*)new wxDiagram();
24980 wxPyEndAllowThreads(__tstate
);
24981 if (PyErr_Occurred()) SWIG_fail
;
24984 resultobj
= wxPyMake_wxObject(result
);
24992 static PyObject
*_wrap_Diagram_AddShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24993 PyObject
*resultobj
;
24994 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
24995 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
24996 wxPyShape
*arg3
= (wxPyShape
*) NULL
;
24997 PyObject
* obj0
= 0 ;
24998 PyObject
* obj1
= 0 ;
24999 PyObject
* obj2
= 0 ;
25000 char *kwnames
[] = {
25001 (char *) "self",(char *) "shape",(char *) "addAfter", NULL
25004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Diagram_AddShape",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25005 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25006 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25008 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25012 (arg1
)->AddShape(arg2
,arg3
);
25014 wxPyEndAllowThreads(__tstate
);
25015 if (PyErr_Occurred()) SWIG_fail
;
25017 Py_INCREF(Py_None
); resultobj
= Py_None
;
25024 static PyObject
*_wrap_Diagram_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25025 PyObject
*resultobj
;
25026 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
25028 PyObject
* obj0
= 0 ;
25029 PyObject
* obj1
= 0 ;
25030 char *kwnames
[] = {
25031 (char *) "self",(char *) "dc", NULL
25034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
25035 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25036 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25037 if (arg2
== NULL
) {
25038 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25042 (arg1
)->Clear(*arg2
);
25044 wxPyEndAllowThreads(__tstate
);
25045 if (PyErr_Occurred()) SWIG_fail
;
25047 Py_INCREF(Py_None
); resultobj
= Py_None
;
25054 static PyObject
*_wrap_Diagram_DeleteAllShapes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25055 PyObject
*resultobj
;
25056 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
25057 PyObject
* obj0
= 0 ;
25058 char *kwnames
[] = {
25059 (char *) "self", NULL
25062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_DeleteAllShapes",kwnames
,&obj0
)) goto fail
;
25063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25066 (arg1
)->DeleteAllShapes();
25068 wxPyEndAllowThreads(__tstate
);
25069 if (PyErr_Occurred()) SWIG_fail
;
25071 Py_INCREF(Py_None
); resultobj
= Py_None
;
25078 static PyObject
*_wrap_Diagram_DrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25079 PyObject
*resultobj
;
25080 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
25086 PyObject
* obj0
= 0 ;
25087 PyObject
* obj1
= 0 ;
25088 char *kwnames
[] = {
25089 (char *) "self",(char *) "dc",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
25092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd:Diagram_DrawOutline",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
25093 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25094 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25095 if (arg2
== NULL
) {
25096 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25100 (arg1
)->DrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
25102 wxPyEndAllowThreads(__tstate
);
25103 if (PyErr_Occurred()) SWIG_fail
;
25105 Py_INCREF(Py_None
); resultobj
= Py_None
;
25112 static PyObject
*_wrap_Diagram_FindShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25113 PyObject
*resultobj
;
25114 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
25117 PyObject
* obj0
= 0 ;
25118 char *kwnames
[] = {
25119 (char *) "self",(char *) "id", NULL
25122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:Diagram_FindShape",kwnames
,&obj0
,&arg2
)) goto fail
;
25123 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25126 result
= (wxPyShape
*)(arg1
)->FindShape(arg2
);
25128 wxPyEndAllowThreads(__tstate
);
25129 if (PyErr_Occurred()) SWIG_fail
;
25132 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
25140 static PyObject
*_wrap_Diagram_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25141 PyObject
*resultobj
;
25142 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
25143 wxPyShapeCanvas
*result
;
25144 PyObject
* obj0
= 0 ;
25145 char *kwnames
[] = {
25146 (char *) "self", NULL
25149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetCanvas",kwnames
,&obj0
)) goto fail
;
25150 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25153 result
= (wxPyShapeCanvas
*)(arg1
)->GetCanvas();
25155 wxPyEndAllowThreads(__tstate
);
25156 if (PyErr_Occurred()) SWIG_fail
;
25159 resultobj
= wxPyMake_wxObject(result
);
25167 static PyObject
*_wrap_Diagram_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25168 PyObject
*resultobj
;
25169 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
25171 PyObject
* obj0
= 0 ;
25172 char *kwnames
[] = {
25173 (char *) "self", NULL
25176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetCount",kwnames
,&obj0
)) goto fail
;
25177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25180 result
= (int)(arg1
)->GetCount();
25182 wxPyEndAllowThreads(__tstate
);
25183 if (PyErr_Occurred()) SWIG_fail
;
25185 resultobj
= PyInt_FromLong((long)result
);
25192 static PyObject
*_wrap_Diagram_GetGridSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25193 PyObject
*resultobj
;
25194 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
25196 PyObject
* obj0
= 0 ;
25197 char *kwnames
[] = {
25198 (char *) "self", NULL
25201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetGridSpacing",kwnames
,&obj0
)) goto fail
;
25202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25205 result
= (double)(arg1
)->GetGridSpacing();
25207 wxPyEndAllowThreads(__tstate
);
25208 if (PyErr_Occurred()) SWIG_fail
;
25210 resultobj
= PyFloat_FromDouble(result
);
25217 static PyObject
*_wrap_Diagram_GetMouseTolerance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25218 PyObject
*resultobj
;
25219 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
25221 PyObject
* obj0
= 0 ;
25222 char *kwnames
[] = {
25223 (char *) "self", NULL
25226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetMouseTolerance",kwnames
,&obj0
)) goto fail
;
25227 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25230 result
= (int)(arg1
)->GetMouseTolerance();
25232 wxPyEndAllowThreads(__tstate
);
25233 if (PyErr_Occurred()) SWIG_fail
;
25235 resultobj
= PyInt_FromLong((long)result
);
25242 static PyObject
*_wrap_Diagram_GetShapeList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25243 PyObject
*resultobj
;
25244 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
25246 PyObject
* obj0
= 0 ;
25247 char *kwnames
[] = {
25248 (char *) "self", NULL
25251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetShapeList",kwnames
,&obj0
)) goto fail
;
25252 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25255 result
= (PyObject
*)wxDiagram_GetShapeList(arg1
);
25257 wxPyEndAllowThreads(__tstate
);
25258 if (PyErr_Occurred()) SWIG_fail
;
25260 resultobj
= result
;
25267 static PyObject
*_wrap_Diagram_GetQuickEditMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25268 PyObject
*resultobj
;
25269 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
25271 PyObject
* obj0
= 0 ;
25272 char *kwnames
[] = {
25273 (char *) "self", NULL
25276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetQuickEditMode",kwnames
,&obj0
)) goto fail
;
25277 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25280 result
= (bool)(arg1
)->GetQuickEditMode();
25282 wxPyEndAllowThreads(__tstate
);
25283 if (PyErr_Occurred()) SWIG_fail
;
25285 resultobj
= PyInt_FromLong((long)result
);
25292 static PyObject
*_wrap_Diagram_GetSnapToGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25293 PyObject
*resultobj
;
25294 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
25296 PyObject
* obj0
= 0 ;
25297 char *kwnames
[] = {
25298 (char *) "self", NULL
25301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetSnapToGrid",kwnames
,&obj0
)) goto fail
;
25302 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25305 result
= (bool)(arg1
)->GetSnapToGrid();
25307 wxPyEndAllowThreads(__tstate
);
25308 if (PyErr_Occurred()) SWIG_fail
;
25310 resultobj
= PyInt_FromLong((long)result
);
25317 static PyObject
*_wrap_Diagram_InsertShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25318 PyObject
*resultobj
;
25319 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
25320 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
25321 PyObject
* obj0
= 0 ;
25322 PyObject
* obj1
= 0 ;
25323 char *kwnames
[] = {
25324 (char *) "self",(char *) "shape", NULL
25327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_InsertShape",kwnames
,&obj0
,&obj1
)) goto fail
;
25328 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25329 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25332 (arg1
)->InsertShape(arg2
);
25334 wxPyEndAllowThreads(__tstate
);
25335 if (PyErr_Occurred()) SWIG_fail
;
25337 Py_INCREF(Py_None
); resultobj
= Py_None
;
25344 static PyObject
*_wrap_Diagram_RecentreAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25345 PyObject
*resultobj
;
25346 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
25348 PyObject
* obj0
= 0 ;
25349 PyObject
* obj1
= 0 ;
25350 char *kwnames
[] = {
25351 (char *) "self",(char *) "dc", NULL
25354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_RecentreAll",kwnames
,&obj0
,&obj1
)) goto fail
;
25355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25356 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25357 if (arg2
== NULL
) {
25358 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25362 (arg1
)->RecentreAll(*arg2
);
25364 wxPyEndAllowThreads(__tstate
);
25365 if (PyErr_Occurred()) SWIG_fail
;
25367 Py_INCREF(Py_None
); resultobj
= Py_None
;
25374 static PyObject
*_wrap_Diagram_Redraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25375 PyObject
*resultobj
;
25376 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
25378 PyObject
* obj0
= 0 ;
25379 PyObject
* obj1
= 0 ;
25380 char *kwnames
[] = {
25381 (char *) "self",(char *) "dc", NULL
25384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_Redraw",kwnames
,&obj0
,&obj1
)) goto fail
;
25385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25386 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25387 if (arg2
== NULL
) {
25388 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25392 (arg1
)->Redraw(*arg2
);
25394 wxPyEndAllowThreads(__tstate
);
25395 if (PyErr_Occurred()) SWIG_fail
;
25397 Py_INCREF(Py_None
); resultobj
= Py_None
;
25404 static PyObject
*_wrap_Diagram_RemoveAllShapes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25405 PyObject
*resultobj
;
25406 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
25407 PyObject
* obj0
= 0 ;
25408 char *kwnames
[] = {
25409 (char *) "self", NULL
25412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_RemoveAllShapes",kwnames
,&obj0
)) goto fail
;
25413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25416 (arg1
)->RemoveAllShapes();
25418 wxPyEndAllowThreads(__tstate
);
25419 if (PyErr_Occurred()) SWIG_fail
;
25421 Py_INCREF(Py_None
); resultobj
= Py_None
;
25428 static PyObject
*_wrap_Diagram_RemoveShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25429 PyObject
*resultobj
;
25430 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
25431 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
25432 PyObject
* obj0
= 0 ;
25433 PyObject
* obj1
= 0 ;
25434 char *kwnames
[] = {
25435 (char *) "self",(char *) "shape", NULL
25438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_RemoveShape",kwnames
,&obj0
,&obj1
)) goto fail
;
25439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25440 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25443 (arg1
)->RemoveShape(arg2
);
25445 wxPyEndAllowThreads(__tstate
);
25446 if (PyErr_Occurred()) SWIG_fail
;
25448 Py_INCREF(Py_None
); resultobj
= Py_None
;
25455 static PyObject
*_wrap_Diagram_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25456 PyObject
*resultobj
;
25457 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
25458 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
25459 PyObject
* obj0
= 0 ;
25460 PyObject
* obj1
= 0 ;
25461 char *kwnames
[] = {
25462 (char *) "self",(char *) "canvas", NULL
25465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
25466 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25467 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25470 (arg1
)->SetCanvas(arg2
);
25472 wxPyEndAllowThreads(__tstate
);
25473 if (PyErr_Occurred()) SWIG_fail
;
25475 Py_INCREF(Py_None
); resultobj
= Py_None
;
25482 static PyObject
*_wrap_Diagram_SetGridSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25483 PyObject
*resultobj
;
25484 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
25486 PyObject
* obj0
= 0 ;
25487 char *kwnames
[] = {
25488 (char *) "self",(char *) "spacing", NULL
25491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:Diagram_SetGridSpacing",kwnames
,&obj0
,&arg2
)) goto fail
;
25492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25495 (arg1
)->SetGridSpacing(arg2
);
25497 wxPyEndAllowThreads(__tstate
);
25498 if (PyErr_Occurred()) SWIG_fail
;
25500 Py_INCREF(Py_None
); resultobj
= Py_None
;
25507 static PyObject
*_wrap_Diagram_SetMouseTolerance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25508 PyObject
*resultobj
;
25509 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
25511 PyObject
* obj0
= 0 ;
25512 char *kwnames
[] = {
25513 (char *) "self",(char *) "tolerance", NULL
25516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Diagram_SetMouseTolerance",kwnames
,&obj0
,&arg2
)) goto fail
;
25517 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25520 (arg1
)->SetMouseTolerance(arg2
);
25522 wxPyEndAllowThreads(__tstate
);
25523 if (PyErr_Occurred()) SWIG_fail
;
25525 Py_INCREF(Py_None
); resultobj
= Py_None
;
25532 static PyObject
*_wrap_Diagram_SetQuickEditMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25533 PyObject
*resultobj
;
25534 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
25536 PyObject
* obj0
= 0 ;
25537 PyObject
* obj1
= 0 ;
25538 char *kwnames
[] = {
25539 (char *) "self",(char *) "mode", NULL
25542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_SetQuickEditMode",kwnames
,&obj0
,&obj1
)) goto fail
;
25543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25544 arg2
= PyInt_AsLong(obj1
) ? true : false;
25545 if (PyErr_Occurred()) SWIG_fail
;
25547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25548 (arg1
)->SetQuickEditMode(arg2
);
25550 wxPyEndAllowThreads(__tstate
);
25551 if (PyErr_Occurred()) SWIG_fail
;
25553 Py_INCREF(Py_None
); resultobj
= Py_None
;
25560 static PyObject
*_wrap_Diagram_SetSnapToGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25561 PyObject
*resultobj
;
25562 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
25564 PyObject
* obj0
= 0 ;
25565 PyObject
* obj1
= 0 ;
25566 char *kwnames
[] = {
25567 (char *) "self",(char *) "snap", NULL
25570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_SetSnapToGrid",kwnames
,&obj0
,&obj1
)) goto fail
;
25571 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25572 arg2
= PyInt_AsLong(obj1
) ? true : false;
25573 if (PyErr_Occurred()) SWIG_fail
;
25575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25576 (arg1
)->SetSnapToGrid(arg2
);
25578 wxPyEndAllowThreads(__tstate
);
25579 if (PyErr_Occurred()) SWIG_fail
;
25581 Py_INCREF(Py_None
); resultobj
= Py_None
;
25588 static PyObject
*_wrap_Diagram_ShowAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25589 PyObject
*resultobj
;
25590 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
25592 PyObject
* obj0
= 0 ;
25593 PyObject
* obj1
= 0 ;
25594 char *kwnames
[] = {
25595 (char *) "self",(char *) "show", NULL
25598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_ShowAll",kwnames
,&obj0
,&obj1
)) goto fail
;
25599 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25600 arg2
= PyInt_AsLong(obj1
) ? true : false;
25601 if (PyErr_Occurred()) SWIG_fail
;
25603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25604 (arg1
)->ShowAll(arg2
);
25606 wxPyEndAllowThreads(__tstate
);
25607 if (PyErr_Occurred()) SWIG_fail
;
25609 Py_INCREF(Py_None
); resultobj
= Py_None
;
25616 static PyObject
*_wrap_Diagram_Snap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25617 PyObject
*resultobj
;
25618 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
25619 double *arg2
= (double *) 0 ;
25620 double *arg3
= (double *) 0 ;
25623 PyObject
* obj0
= 0 ;
25624 PyObject
* obj1
= 0 ;
25625 PyObject
* obj2
= 0 ;
25626 char *kwnames
[] = {
25627 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
25630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Diagram_Snap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25631 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25633 temp2
= PyFloat_AsDouble(obj1
);
25634 if (PyErr_Occurred()) SWIG_fail
;
25638 temp3
= PyFloat_AsDouble(obj2
);
25639 if (PyErr_Occurred()) SWIG_fail
;
25643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25644 (arg1
)->Snap(arg2
,arg3
);
25646 wxPyEndAllowThreads(__tstate
);
25647 if (PyErr_Occurred()) SWIG_fail
;
25649 Py_INCREF(Py_None
); resultobj
= Py_None
;
25651 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
25652 resultobj
= t_output_helper(resultobj
,o
);
25655 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
25656 resultobj
= t_output_helper(resultobj
,o
);
25664 static PyObject
* Diagram_swigregister(PyObject
*self
, PyObject
*args
) {
25666 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25667 SWIG_TypeClientData(SWIGTYPE_p_wxDiagram
, obj
);
25669 return Py_BuildValue((char *)"");
25671 static PyObject
*_wrap_new_PyShapeCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25672 PyObject
*resultobj
;
25673 wxWindow
*arg1
= (wxWindow
*) NULL
;
25674 int arg2
= (int) -1 ;
25675 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25676 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25677 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25678 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25679 long arg5
= (long) wxBORDER
;
25680 wxString
const &arg6_defvalue
= wxPyShapeCanvasNameStr
;
25681 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25682 wxPyShapeCanvas
*result
;
25685 bool temp6
= False
;
25686 PyObject
* obj0
= 0 ;
25687 PyObject
* obj2
= 0 ;
25688 PyObject
* obj3
= 0 ;
25689 PyObject
* obj5
= 0 ;
25690 char *kwnames
[] = {
25691 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OiOOlO:new_PyShapeCanvas",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
25696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25701 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25707 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25712 arg6
= wxString_in_helper(obj5
);
25713 if (arg6
== NULL
) SWIG_fail
;
25718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25719 result
= (wxPyShapeCanvas
*)new wxPyShapeCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25721 wxPyEndAllowThreads(__tstate
);
25722 if (PyErr_Occurred()) SWIG_fail
;
25725 resultobj
= wxPyMake_wxObject(result
);
25741 static PyObject
*_wrap_PyShapeCanvas__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25742 PyObject
*resultobj
;
25743 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
25744 PyObject
*arg2
= (PyObject
*) 0 ;
25745 PyObject
*arg3
= (PyObject
*) 0 ;
25746 PyObject
* obj0
= 0 ;
25747 PyObject
* obj1
= 0 ;
25748 PyObject
* obj2
= 0 ;
25749 char *kwnames
[] = {
25750 (char *) "self",(char *) "self",(char *) "_class", NULL
25753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeCanvas__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25754 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25759 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25761 wxPyEndAllowThreads(__tstate
);
25762 if (PyErr_Occurred()) SWIG_fail
;
25764 Py_INCREF(Py_None
); resultobj
= Py_None
;
25771 static PyObject
*_wrap_PyShapeCanvas_AddShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25772 PyObject
*resultobj
;
25773 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
25774 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
25775 wxPyShape
*arg3
= (wxPyShape
*) NULL
;
25776 PyObject
* obj0
= 0 ;
25777 PyObject
* obj1
= 0 ;
25778 PyObject
* obj2
= 0 ;
25779 char *kwnames
[] = {
25780 (char *) "self",(char *) "shape",(char *) "addAfter", NULL
25783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShapeCanvas_AddShape",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25784 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25785 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25787 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25791 (arg1
)->AddShape(arg2
,arg3
);
25793 wxPyEndAllowThreads(__tstate
);
25794 if (PyErr_Occurred()) SWIG_fail
;
25796 Py_INCREF(Py_None
); resultobj
= Py_None
;
25803 static PyObject
*_wrap_PyShapeCanvas_FindShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25804 PyObject
*resultobj
;
25805 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
25808 int *arg4
= (int *) 0 ;
25809 wxClassInfo
*arg5
= (wxClassInfo
*) NULL
;
25810 wxPyShape
*arg6
= (wxPyShape
*) NULL
;
25813 PyObject
* obj0
= 0 ;
25814 PyObject
* obj3
= 0 ;
25815 PyObject
* obj4
= 0 ;
25816 char *kwnames
[] = {
25817 (char *) "self",(char *) "x1",(char *) "y",(char *) "info",(char *) "notImage", NULL
25821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|OO:PyShapeCanvas_FindShape",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
,&obj4
)) goto fail
;
25822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25824 if ((SWIG_ConvertPtr(obj3
,(void **) &arg5
, SWIGTYPE_p_wxClassInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25827 if ((SWIG_ConvertPtr(obj4
,(void **) &arg6
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25831 result
= (wxPyShape
*)(arg1
)->FindShape(arg2
,arg3
,arg4
,arg5
,arg6
);
25833 wxPyEndAllowThreads(__tstate
);
25834 if (PyErr_Occurred()) SWIG_fail
;
25837 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
25840 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
25841 resultobj
= t_output_helper(resultobj
,o
);
25849 static PyObject
*_wrap_PyShapeCanvas_FindFirstSensitiveShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25850 PyObject
*resultobj
;
25851 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
25854 int *arg4
= (int *) 0 ;
25858 PyObject
* obj0
= 0 ;
25859 char *kwnames
[] = {
25860 (char *) "self",(char *) "x1",(char *) "y",(char *) "op", NULL
25864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oddi:PyShapeCanvas_FindFirstSensitiveShape",kwnames
,&obj0
,&arg2
,&arg3
,&arg5
)) goto fail
;
25865 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25868 result
= (wxPyShape
*)(arg1
)->FindFirstSensitiveShape(arg2
,arg3
,arg4
,arg5
);
25870 wxPyEndAllowThreads(__tstate
);
25871 if (PyErr_Occurred()) SWIG_fail
;
25874 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
25877 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
25878 resultobj
= t_output_helper(resultobj
,o
);
25886 static PyObject
*_wrap_PyShapeCanvas_GetDiagram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25887 PyObject
*resultobj
;
25888 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
25890 PyObject
* obj0
= 0 ;
25891 char *kwnames
[] = {
25892 (char *) "self", NULL
25895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeCanvas_GetDiagram",kwnames
,&obj0
)) goto fail
;
25896 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25899 result
= (wxDiagram
*)(arg1
)->GetDiagram();
25901 wxPyEndAllowThreads(__tstate
);
25902 if (PyErr_Occurred()) SWIG_fail
;
25905 resultobj
= wxPyMake_wxObject(result
);
25913 static PyObject
*_wrap_PyShapeCanvas_GetQuickEditMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25914 PyObject
*resultobj
;
25915 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
25917 PyObject
* obj0
= 0 ;
25918 char *kwnames
[] = {
25919 (char *) "self", NULL
25922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeCanvas_GetQuickEditMode",kwnames
,&obj0
)) goto fail
;
25923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25926 result
= (bool)(arg1
)->GetQuickEditMode();
25928 wxPyEndAllowThreads(__tstate
);
25929 if (PyErr_Occurred()) SWIG_fail
;
25931 resultobj
= PyInt_FromLong((long)result
);
25938 static PyObject
*_wrap_PyShapeCanvas_InsertShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25939 PyObject
*resultobj
;
25940 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
25941 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
25942 PyObject
* obj0
= 0 ;
25943 PyObject
* obj1
= 0 ;
25944 char *kwnames
[] = {
25945 (char *) "self",(char *) "shape", NULL
25948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeCanvas_InsertShape",kwnames
,&obj0
,&obj1
)) goto fail
;
25949 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25950 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25953 (arg1
)->InsertShape(arg2
);
25955 wxPyEndAllowThreads(__tstate
);
25956 if (PyErr_Occurred()) SWIG_fail
;
25958 Py_INCREF(Py_None
); resultobj
= Py_None
;
25965 static PyObject
*_wrap_PyShapeCanvas_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25966 PyObject
*resultobj
;
25967 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
25970 int arg4
= (int) 0 ;
25971 PyObject
* obj0
= 0 ;
25972 char *kwnames
[] = {
25973 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
25976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|i:PyShapeCanvas_base_OnBeginDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
25977 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25980 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
);
25982 wxPyEndAllowThreads(__tstate
);
25983 if (PyErr_Occurred()) SWIG_fail
;
25985 Py_INCREF(Py_None
); resultobj
= Py_None
;
25992 static PyObject
*_wrap_PyShapeCanvas_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25993 PyObject
*resultobj
;
25994 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
25997 int arg4
= (int) 0 ;
25998 PyObject
* obj0
= 0 ;
25999 char *kwnames
[] = {
26000 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
26003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|i:PyShapeCanvas_base_OnBeginDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
26004 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26007 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
);
26009 wxPyEndAllowThreads(__tstate
);
26010 if (PyErr_Occurred()) SWIG_fail
;
26012 Py_INCREF(Py_None
); resultobj
= Py_None
;
26019 static PyObject
*_wrap_PyShapeCanvas_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26020 PyObject
*resultobj
;
26021 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
26024 int arg4
= (int) 0 ;
26025 PyObject
* obj0
= 0 ;
26026 char *kwnames
[] = {
26027 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
26030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|i:PyShapeCanvas_base_OnEndDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
26031 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26034 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
);
26036 wxPyEndAllowThreads(__tstate
);
26037 if (PyErr_Occurred()) SWIG_fail
;
26039 Py_INCREF(Py_None
); resultobj
= Py_None
;
26046 static PyObject
*_wrap_PyShapeCanvas_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26047 PyObject
*resultobj
;
26048 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
26051 int arg4
= (int) 0 ;
26052 PyObject
* obj0
= 0 ;
26053 char *kwnames
[] = {
26054 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
26057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|i:PyShapeCanvas_base_OnEndDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
26058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26061 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
);
26063 wxPyEndAllowThreads(__tstate
);
26064 if (PyErr_Occurred()) SWIG_fail
;
26066 Py_INCREF(Py_None
); resultobj
= Py_None
;
26073 static PyObject
*_wrap_PyShapeCanvas_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26074 PyObject
*resultobj
;
26075 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
26079 int arg5
= (int) 0 ;
26080 PyObject
* obj0
= 0 ;
26081 PyObject
* obj1
= 0 ;
26082 char *kwnames
[] = {
26083 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys", NULL
26086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|i:PyShapeCanvas_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
)) goto fail
;
26087 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26088 arg2
= PyInt_AsLong(obj1
) ? true : false;
26089 if (PyErr_Occurred()) SWIG_fail
;
26091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26092 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
);
26094 wxPyEndAllowThreads(__tstate
);
26095 if (PyErr_Occurred()) SWIG_fail
;
26097 Py_INCREF(Py_None
); resultobj
= Py_None
;
26104 static PyObject
*_wrap_PyShapeCanvas_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26105 PyObject
*resultobj
;
26106 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
26110 int arg5
= (int) 0 ;
26111 PyObject
* obj0
= 0 ;
26112 PyObject
* obj1
= 0 ;
26113 char *kwnames
[] = {
26114 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys", NULL
26117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|i:PyShapeCanvas_base_OnDragRight",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
)) goto fail
;
26118 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26119 arg2
= PyInt_AsLong(obj1
) ? true : false;
26120 if (PyErr_Occurred()) SWIG_fail
;
26122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26123 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
);
26125 wxPyEndAllowThreads(__tstate
);
26126 if (PyErr_Occurred()) SWIG_fail
;
26128 Py_INCREF(Py_None
); resultobj
= Py_None
;
26135 static PyObject
*_wrap_PyShapeCanvas_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26136 PyObject
*resultobj
;
26137 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
26140 int arg4
= (int) 0 ;
26141 PyObject
* obj0
= 0 ;
26142 char *kwnames
[] = {
26143 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
26146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|i:PyShapeCanvas_base_OnLeftClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
26147 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26150 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
);
26152 wxPyEndAllowThreads(__tstate
);
26153 if (PyErr_Occurred()) SWIG_fail
;
26155 Py_INCREF(Py_None
); resultobj
= Py_None
;
26162 static PyObject
*_wrap_PyShapeCanvas_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26163 PyObject
*resultobj
;
26164 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
26167 int arg4
= (int) 0 ;
26168 PyObject
* obj0
= 0 ;
26169 char *kwnames
[] = {
26170 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
26173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|i:PyShapeCanvas_base_OnRightClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
26174 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26177 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
);
26179 wxPyEndAllowThreads(__tstate
);
26180 if (PyErr_Occurred()) SWIG_fail
;
26182 Py_INCREF(Py_None
); resultobj
= Py_None
;
26189 static PyObject
*_wrap_PyShapeCanvas_Redraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26190 PyObject
*resultobj
;
26191 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
26193 PyObject
* obj0
= 0 ;
26194 PyObject
* obj1
= 0 ;
26195 char *kwnames
[] = {
26196 (char *) "self",(char *) "dc", NULL
26199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeCanvas_Redraw",kwnames
,&obj0
,&obj1
)) goto fail
;
26200 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26201 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26202 if (arg2
== NULL
) {
26203 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26207 (arg1
)->Redraw(*arg2
);
26209 wxPyEndAllowThreads(__tstate
);
26210 if (PyErr_Occurred()) SWIG_fail
;
26212 Py_INCREF(Py_None
); resultobj
= Py_None
;
26219 static PyObject
*_wrap_PyShapeCanvas_RemoveShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26220 PyObject
*resultobj
;
26221 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
26222 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
26223 PyObject
* obj0
= 0 ;
26224 PyObject
* obj1
= 0 ;
26225 char *kwnames
[] = {
26226 (char *) "self",(char *) "shape", NULL
26229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeCanvas_RemoveShape",kwnames
,&obj0
,&obj1
)) goto fail
;
26230 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26231 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26234 (arg1
)->RemoveShape(arg2
);
26236 wxPyEndAllowThreads(__tstate
);
26237 if (PyErr_Occurred()) SWIG_fail
;
26239 Py_INCREF(Py_None
); resultobj
= Py_None
;
26246 static PyObject
*_wrap_PyShapeCanvas_SetDiagram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26247 PyObject
*resultobj
;
26248 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
26249 wxDiagram
*arg2
= (wxDiagram
*) 0 ;
26250 PyObject
* obj0
= 0 ;
26251 PyObject
* obj1
= 0 ;
26252 char *kwnames
[] = {
26253 (char *) "self",(char *) "diagram", NULL
26256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeCanvas_SetDiagram",kwnames
,&obj0
,&obj1
)) goto fail
;
26257 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26258 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26261 (arg1
)->SetDiagram(arg2
);
26263 wxPyEndAllowThreads(__tstate
);
26264 if (PyErr_Occurred()) SWIG_fail
;
26266 Py_INCREF(Py_None
); resultobj
= Py_None
;
26273 static PyObject
*_wrap_PyShapeCanvas_Snap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26274 PyObject
*resultobj
;
26275 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
26276 double *arg2
= (double *) 0 ;
26277 double *arg3
= (double *) 0 ;
26280 PyObject
* obj0
= 0 ;
26281 PyObject
* obj1
= 0 ;
26282 PyObject
* obj2
= 0 ;
26283 char *kwnames
[] = {
26284 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeCanvas_Snap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26288 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26290 temp2
= PyFloat_AsDouble(obj1
);
26291 if (PyErr_Occurred()) SWIG_fail
;
26295 temp3
= PyFloat_AsDouble(obj2
);
26296 if (PyErr_Occurred()) SWIG_fail
;
26300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26301 (arg1
)->Snap(arg2
,arg3
);
26303 wxPyEndAllowThreads(__tstate
);
26304 if (PyErr_Occurred()) SWIG_fail
;
26306 Py_INCREF(Py_None
); resultobj
= Py_None
;
26308 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
26309 resultobj
= t_output_helper(resultobj
,o
);
26312 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
26313 resultobj
= t_output_helper(resultobj
,o
);
26321 static PyObject
* PyShapeCanvas_swigregister(PyObject
*self
, PyObject
*args
) {
26323 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26324 SWIG_TypeClientData(SWIGTYPE_p_wxPyShapeCanvas
, obj
);
26326 return Py_BuildValue((char *)"");
26328 static PyObject
*_wrap_OGLInitialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26329 PyObject
*resultobj
;
26330 char *kwnames
[] = {
26334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":OGLInitialize",kwnames
)) goto fail
;
26336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26339 wxPyEndAllowThreads(__tstate
);
26340 if (PyErr_Occurred()) SWIG_fail
;
26342 Py_INCREF(Py_None
); resultobj
= Py_None
;
26349 static PyObject
*_wrap_OGLCleanUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26350 PyObject
*resultobj
;
26351 char *kwnames
[] = {
26355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":OGLCleanUp",kwnames
)) goto fail
;
26357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26360 wxPyEndAllowThreads(__tstate
);
26361 if (PyErr_Occurred()) SWIG_fail
;
26363 Py_INCREF(Py_None
); resultobj
= Py_None
;
26370 static PyMethodDef SwigMethods
[] = {
26371 { (char *)"new_ShapeRegion", (PyCFunction
) _wrap_new_ShapeRegion
, METH_VARARGS
| METH_KEYWORDS
},
26372 { (char *)"ShapeRegion_SetText", (PyCFunction
) _wrap_ShapeRegion_SetText
, METH_VARARGS
| METH_KEYWORDS
},
26373 { (char *)"ShapeRegion_SetFont", (PyCFunction
) _wrap_ShapeRegion_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
26374 { (char *)"ShapeRegion_SetMinSize", (PyCFunction
) _wrap_ShapeRegion_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
26375 { (char *)"ShapeRegion_SetSize", (PyCFunction
) _wrap_ShapeRegion_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
26376 { (char *)"ShapeRegion_SetPosition", (PyCFunction
) _wrap_ShapeRegion_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
26377 { (char *)"ShapeRegion_SetProportions", (PyCFunction
) _wrap_ShapeRegion_SetProportions
, METH_VARARGS
| METH_KEYWORDS
},
26378 { (char *)"ShapeRegion_SetFormatMode", (PyCFunction
) _wrap_ShapeRegion_SetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
26379 { (char *)"ShapeRegion_SetName", (PyCFunction
) _wrap_ShapeRegion_SetName
, METH_VARARGS
| METH_KEYWORDS
},
26380 { (char *)"ShapeRegion_SetColour", (PyCFunction
) _wrap_ShapeRegion_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
26381 { (char *)"ShapeRegion_GetText", (PyCFunction
) _wrap_ShapeRegion_GetText
, METH_VARARGS
| METH_KEYWORDS
},
26382 { (char *)"ShapeRegion_GetFont", (PyCFunction
) _wrap_ShapeRegion_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
26383 { (char *)"ShapeRegion_GetMinSize", (PyCFunction
) _wrap_ShapeRegion_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
26384 { (char *)"ShapeRegion_GetProportion", (PyCFunction
) _wrap_ShapeRegion_GetProportion
, METH_VARARGS
| METH_KEYWORDS
},
26385 { (char *)"ShapeRegion_GetSize", (PyCFunction
) _wrap_ShapeRegion_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
26386 { (char *)"ShapeRegion_GetPosition", (PyCFunction
) _wrap_ShapeRegion_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
26387 { (char *)"ShapeRegion_GetFormatMode", (PyCFunction
) _wrap_ShapeRegion_GetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
26388 { (char *)"ShapeRegion_GetName", (PyCFunction
) _wrap_ShapeRegion_GetName
, METH_VARARGS
| METH_KEYWORDS
},
26389 { (char *)"ShapeRegion_GetColour", (PyCFunction
) _wrap_ShapeRegion_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
26390 { (char *)"ShapeRegion_GetActualColourObject", (PyCFunction
) _wrap_ShapeRegion_GetActualColourObject
, METH_VARARGS
| METH_KEYWORDS
},
26391 { (char *)"ShapeRegion_GetFormattedText", (PyCFunction
) _wrap_ShapeRegion_GetFormattedText
, METH_VARARGS
| METH_KEYWORDS
},
26392 { (char *)"ShapeRegion_GetPenColour", (PyCFunction
) _wrap_ShapeRegion_GetPenColour
, METH_VARARGS
| METH_KEYWORDS
},
26393 { (char *)"ShapeRegion_GetPenStyle", (PyCFunction
) _wrap_ShapeRegion_GetPenStyle
, METH_VARARGS
| METH_KEYWORDS
},
26394 { (char *)"ShapeRegion_SetPenStyle", (PyCFunction
) _wrap_ShapeRegion_SetPenStyle
, METH_VARARGS
| METH_KEYWORDS
},
26395 { (char *)"ShapeRegion_SetPenColour", (PyCFunction
) _wrap_ShapeRegion_SetPenColour
, METH_VARARGS
| METH_KEYWORDS
},
26396 { (char *)"ShapeRegion_GetActualPen", (PyCFunction
) _wrap_ShapeRegion_GetActualPen
, METH_VARARGS
| METH_KEYWORDS
},
26397 { (char *)"ShapeRegion_GetWidth", (PyCFunction
) _wrap_ShapeRegion_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
26398 { (char *)"ShapeRegion_GetHeight", (PyCFunction
) _wrap_ShapeRegion_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
26399 { (char *)"ShapeRegion_ClearText", (PyCFunction
) _wrap_ShapeRegion_ClearText
, METH_VARARGS
| METH_KEYWORDS
},
26400 { (char *)"ShapeRegion_swigregister", ShapeRegion_swigregister
, METH_VARARGS
},
26401 { (char *)"new_AttachmentPoint", (PyCFunction
) _wrap_new_AttachmentPoint
, METH_VARARGS
| METH_KEYWORDS
},
26402 { (char *)"AttachmentPoint_m_id_set", (PyCFunction
) _wrap_AttachmentPoint_m_id_set
, METH_VARARGS
| METH_KEYWORDS
},
26403 { (char *)"AttachmentPoint_m_id_get", (PyCFunction
) _wrap_AttachmentPoint_m_id_get
, METH_VARARGS
| METH_KEYWORDS
},
26404 { (char *)"AttachmentPoint_m_x_set", (PyCFunction
) _wrap_AttachmentPoint_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
26405 { (char *)"AttachmentPoint_m_x_get", (PyCFunction
) _wrap_AttachmentPoint_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
26406 { (char *)"AttachmentPoint_m_y_set", (PyCFunction
) _wrap_AttachmentPoint_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
26407 { (char *)"AttachmentPoint_m_y_get", (PyCFunction
) _wrap_AttachmentPoint_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
26408 { (char *)"AttachmentPoint_swigregister", AttachmentPoint_swigregister
, METH_VARARGS
},
26409 { (char *)"new_PyShapeEvtHandler", (PyCFunction
) _wrap_new_PyShapeEvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
26410 { (char *)"PyShapeEvtHandler__setCallbackInfo", (PyCFunction
) _wrap_PyShapeEvtHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26411 { (char *)"PyShapeEvtHandler__setOORInfo", (PyCFunction
) _wrap_PyShapeEvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
26412 { (char *)"PyShapeEvtHandler_SetShape", (PyCFunction
) _wrap_PyShapeEvtHandler_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
26413 { (char *)"PyShapeEvtHandler_GetShape", (PyCFunction
) _wrap_PyShapeEvtHandler_GetShape
, METH_VARARGS
| METH_KEYWORDS
},
26414 { (char *)"PyShapeEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_PyShapeEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
26415 { (char *)"PyShapeEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_PyShapeEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
26416 { (char *)"PyShapeEvtHandler_CreateNewCopy", (PyCFunction
) _wrap_PyShapeEvtHandler_CreateNewCopy
, METH_VARARGS
| METH_KEYWORDS
},
26417 { (char *)"PyShapeEvtHandler_base_OnDelete", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
26418 { (char *)"PyShapeEvtHandler_base_OnDraw", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
26419 { (char *)"PyShapeEvtHandler_base_OnDrawContents", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
26420 { (char *)"PyShapeEvtHandler_base_OnDrawBranches", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
26421 { (char *)"PyShapeEvtHandler_base_OnMoveLinks", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
26422 { (char *)"PyShapeEvtHandler_base_OnErase", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
26423 { (char *)"PyShapeEvtHandler_base_OnEraseContents", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
26424 { (char *)"PyShapeEvtHandler_base_OnHighlight", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
26425 { (char *)"PyShapeEvtHandler_base_OnLeftClick", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
26426 { (char *)"PyShapeEvtHandler_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
26427 { (char *)"PyShapeEvtHandler_base_OnRightClick", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
26428 { (char *)"PyShapeEvtHandler_base_OnSize", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
26429 { (char *)"PyShapeEvtHandler_base_OnMovePre", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
26430 { (char *)"PyShapeEvtHandler_base_OnMovePost", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
26431 { (char *)"PyShapeEvtHandler_base_OnDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26432 { (char *)"PyShapeEvtHandler_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26433 { (char *)"PyShapeEvtHandler_base_OnEndDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26434 { (char *)"PyShapeEvtHandler_base_OnDragRight", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26435 { (char *)"PyShapeEvtHandler_base_OnBeginDragRight", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26436 { (char *)"PyShapeEvtHandler_base_OnEndDragRight", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26437 { (char *)"PyShapeEvtHandler_base_OnDrawOutline", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
26438 { (char *)"PyShapeEvtHandler_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26439 { (char *)"PyShapeEvtHandler_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26440 { (char *)"PyShapeEvtHandler_base_OnMoveLink", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
26441 { (char *)"PyShapeEvtHandler_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26442 { (char *)"PyShapeEvtHandler_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26443 { (char *)"PyShapeEvtHandler_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26444 { (char *)"PyShapeEvtHandler_base_OnBeginSize", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
26445 { (char *)"PyShapeEvtHandler_base_OnEndSize", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
26446 { (char *)"PyShapeEvtHandler_swigregister", PyShapeEvtHandler_swigregister
, METH_VARARGS
},
26447 { (char *)"new_PyShape", (PyCFunction
) _wrap_new_PyShape
, METH_VARARGS
| METH_KEYWORDS
},
26448 { (char *)"PyShape__setCallbackInfo", (PyCFunction
) _wrap_PyShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26449 { (char *)"PyShape_GetBoundingBoxMax", (PyCFunction
) _wrap_PyShape_GetBoundingBoxMax
, METH_VARARGS
| METH_KEYWORDS
},
26450 { (char *)"PyShape_GetBoundingBoxMin", (PyCFunction
) _wrap_PyShape_GetBoundingBoxMin
, METH_VARARGS
| METH_KEYWORDS
},
26451 { (char *)"PyShape_GetPerimeterPoint", (PyCFunction
) _wrap_PyShape_GetPerimeterPoint
, METH_VARARGS
| METH_KEYWORDS
},
26452 { (char *)"PyShape_GetCanvas", (PyCFunction
) _wrap_PyShape_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
26453 { (char *)"PyShape_SetCanvas", (PyCFunction
) _wrap_PyShape_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
26454 { (char *)"PyShape_AddToCanvas", (PyCFunction
) _wrap_PyShape_AddToCanvas
, METH_VARARGS
| METH_KEYWORDS
},
26455 { (char *)"PyShape_InsertInCanvas", (PyCFunction
) _wrap_PyShape_InsertInCanvas
, METH_VARARGS
| METH_KEYWORDS
},
26456 { (char *)"PyShape_RemoveFromCanvas", (PyCFunction
) _wrap_PyShape_RemoveFromCanvas
, METH_VARARGS
| METH_KEYWORDS
},
26457 { (char *)"PyShape_GetX", (PyCFunction
) _wrap_PyShape_GetX
, METH_VARARGS
| METH_KEYWORDS
},
26458 { (char *)"PyShape_GetY", (PyCFunction
) _wrap_PyShape_GetY
, METH_VARARGS
| METH_KEYWORDS
},
26459 { (char *)"PyShape_SetX", (PyCFunction
) _wrap_PyShape_SetX
, METH_VARARGS
| METH_KEYWORDS
},
26460 { (char *)"PyShape_SetY", (PyCFunction
) _wrap_PyShape_SetY
, METH_VARARGS
| METH_KEYWORDS
},
26461 { (char *)"PyShape_GetParent", (PyCFunction
) _wrap_PyShape_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
26462 { (char *)"PyShape_SetParent", (PyCFunction
) _wrap_PyShape_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
26463 { (char *)"PyShape_GetTopAncestor", (PyCFunction
) _wrap_PyShape_GetTopAncestor
, METH_VARARGS
| METH_KEYWORDS
},
26464 { (char *)"PyShape_GetChildren", (PyCFunction
) _wrap_PyShape_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
26465 { (char *)"PyShape_Unlink", (PyCFunction
) _wrap_PyShape_Unlink
, METH_VARARGS
| METH_KEYWORDS
},
26466 { (char *)"PyShape_SetDrawHandles", (PyCFunction
) _wrap_PyShape_SetDrawHandles
, METH_VARARGS
| METH_KEYWORDS
},
26467 { (char *)"PyShape_GetDrawHandles", (PyCFunction
) _wrap_PyShape_GetDrawHandles
, METH_VARARGS
| METH_KEYWORDS
},
26468 { (char *)"PyShape_MakeControlPoints", (PyCFunction
) _wrap_PyShape_MakeControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26469 { (char *)"PyShape_DeleteControlPoints", (PyCFunction
) _wrap_PyShape_DeleteControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26470 { (char *)"PyShape_ResetControlPoints", (PyCFunction
) _wrap_PyShape_ResetControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26471 { (char *)"PyShape_GetEventHandler", (PyCFunction
) _wrap_PyShape_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
26472 { (char *)"PyShape_SetEventHandler", (PyCFunction
) _wrap_PyShape_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
26473 { (char *)"PyShape_MakeMandatoryControlPoints", (PyCFunction
) _wrap_PyShape_MakeMandatoryControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26474 { (char *)"PyShape_ResetMandatoryControlPoints", (PyCFunction
) _wrap_PyShape_ResetMandatoryControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26475 { (char *)"PyShape_Recompute", (PyCFunction
) _wrap_PyShape_Recompute
, METH_VARARGS
| METH_KEYWORDS
},
26476 { (char *)"PyShape_CalculateSize", (PyCFunction
) _wrap_PyShape_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
},
26477 { (char *)"PyShape_Select", (PyCFunction
) _wrap_PyShape_Select
, METH_VARARGS
| METH_KEYWORDS
},
26478 { (char *)"PyShape_SetHighlight", (PyCFunction
) _wrap_PyShape_SetHighlight
, METH_VARARGS
| METH_KEYWORDS
},
26479 { (char *)"PyShape_IsHighlighted", (PyCFunction
) _wrap_PyShape_IsHighlighted
, METH_VARARGS
| METH_KEYWORDS
},
26480 { (char *)"PyShape_Selected", (PyCFunction
) _wrap_PyShape_Selected
, METH_VARARGS
| METH_KEYWORDS
},
26481 { (char *)"PyShape_AncestorSelected", (PyCFunction
) _wrap_PyShape_AncestorSelected
, METH_VARARGS
| METH_KEYWORDS
},
26482 { (char *)"PyShape_SetSensitivityFilter", (PyCFunction
) _wrap_PyShape_SetSensitivityFilter
, METH_VARARGS
| METH_KEYWORDS
},
26483 { (char *)"PyShape_GetSensitivityFilter", (PyCFunction
) _wrap_PyShape_GetSensitivityFilter
, METH_VARARGS
| METH_KEYWORDS
},
26484 { (char *)"PyShape_SetDraggable", (PyCFunction
) _wrap_PyShape_SetDraggable
, METH_VARARGS
| METH_KEYWORDS
},
26485 { (char *)"PyShape_SetFixedSize", (PyCFunction
) _wrap_PyShape_SetFixedSize
, METH_VARARGS
| METH_KEYWORDS
},
26486 { (char *)"PyShape_GetFixedSize", (PyCFunction
) _wrap_PyShape_GetFixedSize
, METH_VARARGS
| METH_KEYWORDS
},
26487 { (char *)"PyShape_GetFixedWidth", (PyCFunction
) _wrap_PyShape_GetFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
26488 { (char *)"PyShape_GetFixedHeight", (PyCFunction
) _wrap_PyShape_GetFixedHeight
, METH_VARARGS
| METH_KEYWORDS
},
26489 { (char *)"PyShape_SetSpaceAttachments", (PyCFunction
) _wrap_PyShape_SetSpaceAttachments
, METH_VARARGS
| METH_KEYWORDS
},
26490 { (char *)"PyShape_GetSpaceAttachments", (PyCFunction
) _wrap_PyShape_GetSpaceAttachments
, METH_VARARGS
| METH_KEYWORDS
},
26491 { (char *)"PyShape_SetShadowMode", (PyCFunction
) _wrap_PyShape_SetShadowMode
, METH_VARARGS
| METH_KEYWORDS
},
26492 { (char *)"PyShape_GetShadowMode", (PyCFunction
) _wrap_PyShape_GetShadowMode
, METH_VARARGS
| METH_KEYWORDS
},
26493 { (char *)"PyShape_HitTest", (PyCFunction
) _wrap_PyShape_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
26494 { (char *)"PyShape_SetCentreResize", (PyCFunction
) _wrap_PyShape_SetCentreResize
, METH_VARARGS
| METH_KEYWORDS
},
26495 { (char *)"PyShape_GetCentreResize", (PyCFunction
) _wrap_PyShape_GetCentreResize
, METH_VARARGS
| METH_KEYWORDS
},
26496 { (char *)"PyShape_SetMaintainAspectRatio", (PyCFunction
) _wrap_PyShape_SetMaintainAspectRatio
, METH_VARARGS
| METH_KEYWORDS
},
26497 { (char *)"PyShape_GetMaintainAspectRatio", (PyCFunction
) _wrap_PyShape_GetMaintainAspectRatio
, METH_VARARGS
| METH_KEYWORDS
},
26498 { (char *)"PyShape_GetLines", (PyCFunction
) _wrap_PyShape_GetLines
, METH_VARARGS
| METH_KEYWORDS
},
26499 { (char *)"PyShape_SetDisableLabel", (PyCFunction
) _wrap_PyShape_SetDisableLabel
, METH_VARARGS
| METH_KEYWORDS
},
26500 { (char *)"PyShape_GetDisableLabel", (PyCFunction
) _wrap_PyShape_GetDisableLabel
, METH_VARARGS
| METH_KEYWORDS
},
26501 { (char *)"PyShape_SetAttachmentMode", (PyCFunction
) _wrap_PyShape_SetAttachmentMode
, METH_VARARGS
| METH_KEYWORDS
},
26502 { (char *)"PyShape_GetAttachmentMode", (PyCFunction
) _wrap_PyShape_GetAttachmentMode
, METH_VARARGS
| METH_KEYWORDS
},
26503 { (char *)"PyShape_SetId", (PyCFunction
) _wrap_PyShape_SetId
, METH_VARARGS
| METH_KEYWORDS
},
26504 { (char *)"PyShape_GetId", (PyCFunction
) _wrap_PyShape_GetId
, METH_VARARGS
| METH_KEYWORDS
},
26505 { (char *)"PyShape_SetPen", (PyCFunction
) _wrap_PyShape_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
26506 { (char *)"PyShape_SetBrush", (PyCFunction
) _wrap_PyShape_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
26507 { (char *)"PyShape_Show", (PyCFunction
) _wrap_PyShape_Show
, METH_VARARGS
| METH_KEYWORDS
},
26508 { (char *)"PyShape_IsShown", (PyCFunction
) _wrap_PyShape_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
26509 { (char *)"PyShape_Move", (PyCFunction
) _wrap_PyShape_Move
, METH_VARARGS
| METH_KEYWORDS
},
26510 { (char *)"PyShape_Erase", (PyCFunction
) _wrap_PyShape_Erase
, METH_VARARGS
| METH_KEYWORDS
},
26511 { (char *)"PyShape_EraseContents", (PyCFunction
) _wrap_PyShape_EraseContents
, METH_VARARGS
| METH_KEYWORDS
},
26512 { (char *)"PyShape_Draw", (PyCFunction
) _wrap_PyShape_Draw
, METH_VARARGS
| METH_KEYWORDS
},
26513 { (char *)"PyShape_Flash", (PyCFunction
) _wrap_PyShape_Flash
, METH_VARARGS
| METH_KEYWORDS
},
26514 { (char *)"PyShape_MoveLinks", (PyCFunction
) _wrap_PyShape_MoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
26515 { (char *)"PyShape_DrawContents", (PyCFunction
) _wrap_PyShape_DrawContents
, METH_VARARGS
| METH_KEYWORDS
},
26516 { (char *)"PyShape_SetSize", (PyCFunction
) _wrap_PyShape_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
26517 { (char *)"PyShape_SetAttachmentSize", (PyCFunction
) _wrap_PyShape_SetAttachmentSize
, METH_VARARGS
| METH_KEYWORDS
},
26518 { (char *)"PyShape_Attach", (PyCFunction
) _wrap_PyShape_Attach
, METH_VARARGS
| METH_KEYWORDS
},
26519 { (char *)"PyShape_Detach", (PyCFunction
) _wrap_PyShape_Detach
, METH_VARARGS
| METH_KEYWORDS
},
26520 { (char *)"PyShape_Constrain", (PyCFunction
) _wrap_PyShape_Constrain
, METH_VARARGS
| METH_KEYWORDS
},
26521 { (char *)"PyShape_AddLine", (PyCFunction
) _wrap_PyShape_AddLine
, METH_VARARGS
| METH_KEYWORDS
},
26522 { (char *)"PyShape_GetLinePosition", (PyCFunction
) _wrap_PyShape_GetLinePosition
, METH_VARARGS
| METH_KEYWORDS
},
26523 { (char *)"PyShape_AddText", (PyCFunction
) _wrap_PyShape_AddText
, METH_VARARGS
| METH_KEYWORDS
},
26524 { (char *)"PyShape_GetPen", (PyCFunction
) _wrap_PyShape_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
26525 { (char *)"PyShape_GetBrush", (PyCFunction
) _wrap_PyShape_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
26526 { (char *)"PyShape_SetDefaultRegionSize", (PyCFunction
) _wrap_PyShape_SetDefaultRegionSize
, METH_VARARGS
| METH_KEYWORDS
},
26527 { (char *)"PyShape_FormatText", (PyCFunction
) _wrap_PyShape_FormatText
, METH_VARARGS
| METH_KEYWORDS
},
26528 { (char *)"PyShape_SetFormatMode", (PyCFunction
) _wrap_PyShape_SetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
26529 { (char *)"PyShape_GetFormatMode", (PyCFunction
) _wrap_PyShape_GetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
26530 { (char *)"PyShape_SetFont", (PyCFunction
) _wrap_PyShape_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
26531 { (char *)"PyShape_GetFont", (PyCFunction
) _wrap_PyShape_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
26532 { (char *)"PyShape_SetTextColour", (PyCFunction
) _wrap_PyShape_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26533 { (char *)"PyShape_GetTextColour", (PyCFunction
) _wrap_PyShape_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26534 { (char *)"PyShape_GetNumberOfTextRegions", (PyCFunction
) _wrap_PyShape_GetNumberOfTextRegions
, METH_VARARGS
| METH_KEYWORDS
},
26535 { (char *)"PyShape_SetRegionName", (PyCFunction
) _wrap_PyShape_SetRegionName
, METH_VARARGS
| METH_KEYWORDS
},
26536 { (char *)"PyShape_GetRegionName", (PyCFunction
) _wrap_PyShape_GetRegionName
, METH_VARARGS
| METH_KEYWORDS
},
26537 { (char *)"PyShape_GetRegionId", (PyCFunction
) _wrap_PyShape_GetRegionId
, METH_VARARGS
| METH_KEYWORDS
},
26538 { (char *)"PyShape_NameRegions", (PyCFunction
) _wrap_PyShape_NameRegions
, METH_VARARGS
| METH_KEYWORDS
},
26539 { (char *)"PyShape_GetRegions", (PyCFunction
) _wrap_PyShape_GetRegions
, METH_VARARGS
| METH_KEYWORDS
},
26540 { (char *)"PyShape_AddRegion", (PyCFunction
) _wrap_PyShape_AddRegion
, METH_VARARGS
| METH_KEYWORDS
},
26541 { (char *)"PyShape_ClearRegions", (PyCFunction
) _wrap_PyShape_ClearRegions
, METH_VARARGS
| METH_KEYWORDS
},
26542 { (char *)"PyShape_AssignNewIds", (PyCFunction
) _wrap_PyShape_AssignNewIds
, METH_VARARGS
| METH_KEYWORDS
},
26543 { (char *)"PyShape_FindRegion", (PyCFunction
) _wrap_PyShape_FindRegion
, METH_VARARGS
| METH_KEYWORDS
},
26544 { (char *)"PyShape_FindRegionNames", (PyCFunction
) _wrap_PyShape_FindRegionNames
, METH_VARARGS
| METH_KEYWORDS
},
26545 { (char *)"PyShape_ClearText", (PyCFunction
) _wrap_PyShape_ClearText
, METH_VARARGS
| METH_KEYWORDS
},
26546 { (char *)"PyShape_RemoveLine", (PyCFunction
) _wrap_PyShape_RemoveLine
, METH_VARARGS
| METH_KEYWORDS
},
26547 { (char *)"PyShape_GetAttachmentPosition", (PyCFunction
) _wrap_PyShape_GetAttachmentPosition
, METH_VARARGS
| METH_KEYWORDS
},
26548 { (char *)"PyShape_GetNumberOfAttachments", (PyCFunction
) _wrap_PyShape_GetNumberOfAttachments
, METH_VARARGS
| METH_KEYWORDS
},
26549 { (char *)"PyShape_AttachmentIsValid", (PyCFunction
) _wrap_PyShape_AttachmentIsValid
, METH_VARARGS
| METH_KEYWORDS
},
26550 { (char *)"PyShape_GetAttachments", (PyCFunction
) _wrap_PyShape_GetAttachments
, METH_VARARGS
| METH_KEYWORDS
},
26551 { (char *)"PyShape_GetAttachmentPositionEdge", (PyCFunction
) _wrap_PyShape_GetAttachmentPositionEdge
, METH_VARARGS
| METH_KEYWORDS
},
26552 { (char *)"PyShape_CalcSimpleAttachment", (PyCFunction
) _wrap_PyShape_CalcSimpleAttachment
, METH_VARARGS
| METH_KEYWORDS
},
26553 { (char *)"PyShape_AttachmentSortTest", (PyCFunction
) _wrap_PyShape_AttachmentSortTest
, METH_VARARGS
| METH_KEYWORDS
},
26554 { (char *)"PyShape_EraseLinks", (PyCFunction
) _wrap_PyShape_EraseLinks
, METH_VARARGS
| METH_KEYWORDS
},
26555 { (char *)"PyShape_DrawLinks", (PyCFunction
) _wrap_PyShape_DrawLinks
, METH_VARARGS
| METH_KEYWORDS
},
26556 { (char *)"PyShape_MoveLineToNewAttachment", (PyCFunction
) _wrap_PyShape_MoveLineToNewAttachment
, METH_VARARGS
| METH_KEYWORDS
},
26557 { (char *)"PyShape_ApplyAttachmentOrdering", (PyCFunction
) _wrap_PyShape_ApplyAttachmentOrdering
, METH_VARARGS
| METH_KEYWORDS
},
26558 { (char *)"PyShape_GetBranchingAttachmentRoot", (PyCFunction
) _wrap_PyShape_GetBranchingAttachmentRoot
, METH_VARARGS
| METH_KEYWORDS
},
26559 { (char *)"PyShape_GetBranchingAttachmentInfo", (PyCFunction
) _wrap_PyShape_GetBranchingAttachmentInfo
, METH_VARARGS
| METH_KEYWORDS
},
26560 { (char *)"PyShape_GetBranchingAttachmentPoint", (PyCFunction
) _wrap_PyShape_GetBranchingAttachmentPoint
, METH_VARARGS
| METH_KEYWORDS
},
26561 { (char *)"PyShape_GetAttachmentLineCount", (PyCFunction
) _wrap_PyShape_GetAttachmentLineCount
, METH_VARARGS
| METH_KEYWORDS
},
26562 { (char *)"PyShape_SetBranchNeckLength", (PyCFunction
) _wrap_PyShape_SetBranchNeckLength
, METH_VARARGS
| METH_KEYWORDS
},
26563 { (char *)"PyShape_GetBranchNeckLength", (PyCFunction
) _wrap_PyShape_GetBranchNeckLength
, METH_VARARGS
| METH_KEYWORDS
},
26564 { (char *)"PyShape_SetBranchStemLength", (PyCFunction
) _wrap_PyShape_SetBranchStemLength
, METH_VARARGS
| METH_KEYWORDS
},
26565 { (char *)"PyShape_GetBranchStemLength", (PyCFunction
) _wrap_PyShape_GetBranchStemLength
, METH_VARARGS
| METH_KEYWORDS
},
26566 { (char *)"PyShape_SetBranchSpacing", (PyCFunction
) _wrap_PyShape_SetBranchSpacing
, METH_VARARGS
| METH_KEYWORDS
},
26567 { (char *)"PyShape_GetBranchSpacing", (PyCFunction
) _wrap_PyShape_GetBranchSpacing
, METH_VARARGS
| METH_KEYWORDS
},
26568 { (char *)"PyShape_SetBranchStyle", (PyCFunction
) _wrap_PyShape_SetBranchStyle
, METH_VARARGS
| METH_KEYWORDS
},
26569 { (char *)"PyShape_GetBranchStyle", (PyCFunction
) _wrap_PyShape_GetBranchStyle
, METH_VARARGS
| METH_KEYWORDS
},
26570 { (char *)"PyShape_PhysicalToLogicalAttachment", (PyCFunction
) _wrap_PyShape_PhysicalToLogicalAttachment
, METH_VARARGS
| METH_KEYWORDS
},
26571 { (char *)"PyShape_LogicalToPhysicalAttachment", (PyCFunction
) _wrap_PyShape_LogicalToPhysicalAttachment
, METH_VARARGS
| METH_KEYWORDS
},
26572 { (char *)"PyShape_Draggable", (PyCFunction
) _wrap_PyShape_Draggable
, METH_VARARGS
| METH_KEYWORDS
},
26573 { (char *)"PyShape_HasDescendant", (PyCFunction
) _wrap_PyShape_HasDescendant
, METH_VARARGS
| METH_KEYWORDS
},
26574 { (char *)"PyShape_CreateNewCopy", (PyCFunction
) _wrap_PyShape_CreateNewCopy
, METH_VARARGS
| METH_KEYWORDS
},
26575 { (char *)"PyShape_Copy", (PyCFunction
) _wrap_PyShape_Copy
, METH_VARARGS
| METH_KEYWORDS
},
26576 { (char *)"PyShape_CopyWithHandler", (PyCFunction
) _wrap_PyShape_CopyWithHandler
, METH_VARARGS
| METH_KEYWORDS
},
26577 { (char *)"PyShape_Rotate", (PyCFunction
) _wrap_PyShape_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
26578 { (char *)"PyShape_GetRotation", (PyCFunction
) _wrap_PyShape_GetRotation
, METH_VARARGS
| METH_KEYWORDS
},
26579 { (char *)"PyShape_SetRotation", (PyCFunction
) _wrap_PyShape_SetRotation
, METH_VARARGS
| METH_KEYWORDS
},
26580 { (char *)"PyShape_ClearAttachments", (PyCFunction
) _wrap_PyShape_ClearAttachments
, METH_VARARGS
| METH_KEYWORDS
},
26581 { (char *)"PyShape_Recentre", (PyCFunction
) _wrap_PyShape_Recentre
, METH_VARARGS
| METH_KEYWORDS
},
26582 { (char *)"PyShape_ClearPointList", (PyCFunction
) _wrap_PyShape_ClearPointList
, METH_VARARGS
| METH_KEYWORDS
},
26583 { (char *)"PyShape_GetBackgroundPen", (PyCFunction
) _wrap_PyShape_GetBackgroundPen
, METH_VARARGS
| METH_KEYWORDS
},
26584 { (char *)"PyShape_GetBackgroundBrush", (PyCFunction
) _wrap_PyShape_GetBackgroundBrush
, METH_VARARGS
| METH_KEYWORDS
},
26585 { (char *)"PyShape_base_OnDelete", (PyCFunction
) _wrap_PyShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
26586 { (char *)"PyShape_base_OnDraw", (PyCFunction
) _wrap_PyShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
26587 { (char *)"PyShape_base_OnDrawContents", (PyCFunction
) _wrap_PyShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
26588 { (char *)"PyShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
26589 { (char *)"PyShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
26590 { (char *)"PyShape_base_OnErase", (PyCFunction
) _wrap_PyShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
26591 { (char *)"PyShape_base_OnEraseContents", (PyCFunction
) _wrap_PyShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
26592 { (char *)"PyShape_base_OnHighlight", (PyCFunction
) _wrap_PyShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
26593 { (char *)"PyShape_base_OnLeftClick", (PyCFunction
) _wrap_PyShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
26594 { (char *)"PyShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
26595 { (char *)"PyShape_base_OnRightClick", (PyCFunction
) _wrap_PyShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
26596 { (char *)"PyShape_base_OnSize", (PyCFunction
) _wrap_PyShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
26597 { (char *)"PyShape_base_OnMovePre", (PyCFunction
) _wrap_PyShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
26598 { (char *)"PyShape_base_OnMovePost", (PyCFunction
) _wrap_PyShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
26599 { (char *)"PyShape_base_OnDragLeft", (PyCFunction
) _wrap_PyShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26600 { (char *)"PyShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26601 { (char *)"PyShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26602 { (char *)"PyShape_base_OnDragRight", (PyCFunction
) _wrap_PyShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26603 { (char *)"PyShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26604 { (char *)"PyShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26605 { (char *)"PyShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
26606 { (char *)"PyShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26607 { (char *)"PyShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26608 { (char *)"PyShape_base_OnMoveLink", (PyCFunction
) _wrap_PyShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
26609 { (char *)"PyShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26610 { (char *)"PyShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26611 { (char *)"PyShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26612 { (char *)"PyShape_base_OnBeginSize", (PyCFunction
) _wrap_PyShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
26613 { (char *)"PyShape_base_OnEndSize", (PyCFunction
) _wrap_PyShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
26614 { (char *)"PyShape_swigregister", PyShape_swigregister
, METH_VARARGS
},
26615 { (char *)"new_PseudoMetaFile", (PyCFunction
) _wrap_new_PseudoMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
26616 { (char *)"delete_PseudoMetaFile", (PyCFunction
) _wrap_delete_PseudoMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
26617 { (char *)"PseudoMetaFile_Draw", (PyCFunction
) _wrap_PseudoMetaFile_Draw
, METH_VARARGS
| METH_KEYWORDS
},
26618 { (char *)"PseudoMetaFile_Clear", (PyCFunction
) _wrap_PseudoMetaFile_Clear
, METH_VARARGS
| METH_KEYWORDS
},
26619 { (char *)"PseudoMetaFile_Copy", (PyCFunction
) _wrap_PseudoMetaFile_Copy
, METH_VARARGS
| METH_KEYWORDS
},
26620 { (char *)"PseudoMetaFile_Scale", (PyCFunction
) _wrap_PseudoMetaFile_Scale
, METH_VARARGS
| METH_KEYWORDS
},
26621 { (char *)"PseudoMetaFile_ScaleTo", (PyCFunction
) _wrap_PseudoMetaFile_ScaleTo
, METH_VARARGS
| METH_KEYWORDS
},
26622 { (char *)"PseudoMetaFile_Translate", (PyCFunction
) _wrap_PseudoMetaFile_Translate
, METH_VARARGS
| METH_KEYWORDS
},
26623 { (char *)"PseudoMetaFile_Rotate", (PyCFunction
) _wrap_PseudoMetaFile_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
26624 { (char *)"PseudoMetaFile_LoadFromMetaFile", (PyCFunction
) _wrap_PseudoMetaFile_LoadFromMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
26625 { (char *)"PseudoMetaFile_GetBounds", (PyCFunction
) _wrap_PseudoMetaFile_GetBounds
, METH_VARARGS
| METH_KEYWORDS
},
26626 { (char *)"PseudoMetaFile_CalculateSize", (PyCFunction
) _wrap_PseudoMetaFile_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
},
26627 { (char *)"PseudoMetaFile_SetRotateable", (PyCFunction
) _wrap_PseudoMetaFile_SetRotateable
, METH_VARARGS
| METH_KEYWORDS
},
26628 { (char *)"PseudoMetaFile_GetRotateable", (PyCFunction
) _wrap_PseudoMetaFile_GetRotateable
, METH_VARARGS
| METH_KEYWORDS
},
26629 { (char *)"PseudoMetaFile_SetSize", (PyCFunction
) _wrap_PseudoMetaFile_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
26630 { (char *)"PseudoMetaFile_SetFillBrush", (PyCFunction
) _wrap_PseudoMetaFile_SetFillBrush
, METH_VARARGS
| METH_KEYWORDS
},
26631 { (char *)"PseudoMetaFile_GetFillBrush", (PyCFunction
) _wrap_PseudoMetaFile_GetFillBrush
, METH_VARARGS
| METH_KEYWORDS
},
26632 { (char *)"PseudoMetaFile_SetOutlinePen", (PyCFunction
) _wrap_PseudoMetaFile_SetOutlinePen
, METH_VARARGS
| METH_KEYWORDS
},
26633 { (char *)"PseudoMetaFile_GetOutlinePen", (PyCFunction
) _wrap_PseudoMetaFile_GetOutlinePen
, METH_VARARGS
| METH_KEYWORDS
},
26634 { (char *)"PseudoMetaFile_SetOutlineOp", (PyCFunction
) _wrap_PseudoMetaFile_SetOutlineOp
, METH_VARARGS
| METH_KEYWORDS
},
26635 { (char *)"PseudoMetaFile_GetOutlineOp", (PyCFunction
) _wrap_PseudoMetaFile_GetOutlineOp
, METH_VARARGS
| METH_KEYWORDS
},
26636 { (char *)"PseudoMetaFile_IsValid", (PyCFunction
) _wrap_PseudoMetaFile_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
26637 { (char *)"PseudoMetaFile_DrawLine", (PyCFunction
) _wrap_PseudoMetaFile_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
26638 { (char *)"PseudoMetaFile_DrawRectangle", (PyCFunction
) _wrap_PseudoMetaFile_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
26639 { (char *)"PseudoMetaFile_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoMetaFile_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
26640 { (char *)"PseudoMetaFile_DrawArc", (PyCFunction
) _wrap_PseudoMetaFile_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
26641 { (char *)"PseudoMetaFile_DrawEllipticArc", (PyCFunction
) _wrap_PseudoMetaFile_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
26642 { (char *)"PseudoMetaFile_DrawEllipse", (PyCFunction
) _wrap_PseudoMetaFile_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
26643 { (char *)"PseudoMetaFile_DrawPoint", (PyCFunction
) _wrap_PseudoMetaFile_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
26644 { (char *)"PseudoMetaFile_DrawText", (PyCFunction
) _wrap_PseudoMetaFile_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
26645 { (char *)"PseudoMetaFile_DrawLines", (PyCFunction
) _wrap_PseudoMetaFile_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
26646 { (char *)"PseudoMetaFile_DrawPolygon", (PyCFunction
) _wrap_PseudoMetaFile_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
26647 { (char *)"PseudoMetaFile_DrawSpline", (PyCFunction
) _wrap_PseudoMetaFile_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
26648 { (char *)"PseudoMetaFile_SetClippingRect", (PyCFunction
) _wrap_PseudoMetaFile_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
26649 { (char *)"PseudoMetaFile_DestroyClippingRect", (PyCFunction
) _wrap_PseudoMetaFile_DestroyClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
26650 { (char *)"PseudoMetaFile_SetPen", (PyCFunction
) _wrap_PseudoMetaFile_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
26651 { (char *)"PseudoMetaFile_SetBrush", (PyCFunction
) _wrap_PseudoMetaFile_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
26652 { (char *)"PseudoMetaFile_SetFont", (PyCFunction
) _wrap_PseudoMetaFile_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
26653 { (char *)"PseudoMetaFile_SetTextColour", (PyCFunction
) _wrap_PseudoMetaFile_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26654 { (char *)"PseudoMetaFile_SetBackgroundColour", (PyCFunction
) _wrap_PseudoMetaFile_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26655 { (char *)"PseudoMetaFile_SetBackgroundMode", (PyCFunction
) _wrap_PseudoMetaFile_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
26656 { (char *)"PseudoMetaFile_swigregister", PseudoMetaFile_swigregister
, METH_VARARGS
},
26657 { (char *)"new_PyRectangleShape", (PyCFunction
) _wrap_new_PyRectangleShape
, METH_VARARGS
| METH_KEYWORDS
},
26658 { (char *)"PyRectangleShape__setCallbackInfo", (PyCFunction
) _wrap_PyRectangleShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26659 { (char *)"PyRectangleShape_SetCornerRadius", (PyCFunction
) _wrap_PyRectangleShape_SetCornerRadius
, METH_VARARGS
| METH_KEYWORDS
},
26660 { (char *)"PyRectangleShape_GetCornerRadius", (PyCFunction
) _wrap_PyRectangleShape_GetCornerRadius
, METH_VARARGS
| METH_KEYWORDS
},
26661 { (char *)"PyRectangleShape_base_OnDelete", (PyCFunction
) _wrap_PyRectangleShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
26662 { (char *)"PyRectangleShape_base_OnDraw", (PyCFunction
) _wrap_PyRectangleShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
26663 { (char *)"PyRectangleShape_base_OnDrawContents", (PyCFunction
) _wrap_PyRectangleShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
26664 { (char *)"PyRectangleShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyRectangleShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
26665 { (char *)"PyRectangleShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyRectangleShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
26666 { (char *)"PyRectangleShape_base_OnErase", (PyCFunction
) _wrap_PyRectangleShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
26667 { (char *)"PyRectangleShape_base_OnEraseContents", (PyCFunction
) _wrap_PyRectangleShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
26668 { (char *)"PyRectangleShape_base_OnHighlight", (PyCFunction
) _wrap_PyRectangleShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
26669 { (char *)"PyRectangleShape_base_OnLeftClick", (PyCFunction
) _wrap_PyRectangleShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
26670 { (char *)"PyRectangleShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyRectangleShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
26671 { (char *)"PyRectangleShape_base_OnRightClick", (PyCFunction
) _wrap_PyRectangleShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
26672 { (char *)"PyRectangleShape_base_OnSize", (PyCFunction
) _wrap_PyRectangleShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
26673 { (char *)"PyRectangleShape_base_OnMovePre", (PyCFunction
) _wrap_PyRectangleShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
26674 { (char *)"PyRectangleShape_base_OnMovePost", (PyCFunction
) _wrap_PyRectangleShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
26675 { (char *)"PyRectangleShape_base_OnDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26676 { (char *)"PyRectangleShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26677 { (char *)"PyRectangleShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26678 { (char *)"PyRectangleShape_base_OnDragRight", (PyCFunction
) _wrap_PyRectangleShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26679 { (char *)"PyRectangleShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyRectangleShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26680 { (char *)"PyRectangleShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyRectangleShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26681 { (char *)"PyRectangleShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyRectangleShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
26682 { (char *)"PyRectangleShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyRectangleShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26683 { (char *)"PyRectangleShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyRectangleShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26684 { (char *)"PyRectangleShape_base_OnMoveLink", (PyCFunction
) _wrap_PyRectangleShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
26685 { (char *)"PyRectangleShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26686 { (char *)"PyRectangleShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26687 { (char *)"PyRectangleShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26688 { (char *)"PyRectangleShape_base_OnBeginSize", (PyCFunction
) _wrap_PyRectangleShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
26689 { (char *)"PyRectangleShape_base_OnEndSize", (PyCFunction
) _wrap_PyRectangleShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
26690 { (char *)"PyRectangleShape_swigregister", PyRectangleShape_swigregister
, METH_VARARGS
},
26691 { (char *)"new_PyControlPoint", (PyCFunction
) _wrap_new_PyControlPoint
, METH_VARARGS
| METH_KEYWORDS
},
26692 { (char *)"PyControlPoint__setCallbackInfo", (PyCFunction
) _wrap_PyControlPoint__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26693 { (char *)"PyControlPoint_SetCornerRadius", (PyCFunction
) _wrap_PyControlPoint_SetCornerRadius
, METH_VARARGS
| METH_KEYWORDS
},
26694 { (char *)"PyControlPoint_base_OnDelete", (PyCFunction
) _wrap_PyControlPoint_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
26695 { (char *)"PyControlPoint_base_OnDraw", (PyCFunction
) _wrap_PyControlPoint_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
26696 { (char *)"PyControlPoint_base_OnDrawContents", (PyCFunction
) _wrap_PyControlPoint_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
26697 { (char *)"PyControlPoint_base_OnDrawBranches", (PyCFunction
) _wrap_PyControlPoint_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
26698 { (char *)"PyControlPoint_base_OnMoveLinks", (PyCFunction
) _wrap_PyControlPoint_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
26699 { (char *)"PyControlPoint_base_OnErase", (PyCFunction
) _wrap_PyControlPoint_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
26700 { (char *)"PyControlPoint_base_OnEraseContents", (PyCFunction
) _wrap_PyControlPoint_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
26701 { (char *)"PyControlPoint_base_OnHighlight", (PyCFunction
) _wrap_PyControlPoint_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
26702 { (char *)"PyControlPoint_base_OnLeftClick", (PyCFunction
) _wrap_PyControlPoint_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
26703 { (char *)"PyControlPoint_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyControlPoint_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
26704 { (char *)"PyControlPoint_base_OnRightClick", (PyCFunction
) _wrap_PyControlPoint_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
26705 { (char *)"PyControlPoint_base_OnSize", (PyCFunction
) _wrap_PyControlPoint_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
26706 { (char *)"PyControlPoint_base_OnMovePre", (PyCFunction
) _wrap_PyControlPoint_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
26707 { (char *)"PyControlPoint_base_OnMovePost", (PyCFunction
) _wrap_PyControlPoint_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
26708 { (char *)"PyControlPoint_base_OnDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26709 { (char *)"PyControlPoint_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26710 { (char *)"PyControlPoint_base_OnEndDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26711 { (char *)"PyControlPoint_base_OnDragRight", (PyCFunction
) _wrap_PyControlPoint_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26712 { (char *)"PyControlPoint_base_OnBeginDragRight", (PyCFunction
) _wrap_PyControlPoint_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26713 { (char *)"PyControlPoint_base_OnEndDragRight", (PyCFunction
) _wrap_PyControlPoint_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26714 { (char *)"PyControlPoint_base_OnDrawOutline", (PyCFunction
) _wrap_PyControlPoint_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
26715 { (char *)"PyControlPoint_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyControlPoint_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26716 { (char *)"PyControlPoint_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyControlPoint_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26717 { (char *)"PyControlPoint_base_OnMoveLink", (PyCFunction
) _wrap_PyControlPoint_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
26718 { (char *)"PyControlPoint_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26719 { (char *)"PyControlPoint_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26720 { (char *)"PyControlPoint_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26721 { (char *)"PyControlPoint_base_OnBeginSize", (PyCFunction
) _wrap_PyControlPoint_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
26722 { (char *)"PyControlPoint_base_OnEndSize", (PyCFunction
) _wrap_PyControlPoint_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
26723 { (char *)"PyControlPoint_swigregister", PyControlPoint_swigregister
, METH_VARARGS
},
26724 { (char *)"new_PyBitmapShape", (PyCFunction
) _wrap_new_PyBitmapShape
, METH_VARARGS
| METH_KEYWORDS
},
26725 { (char *)"PyBitmapShape__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26726 { (char *)"PyBitmapShape_GetBitmap", (PyCFunction
) _wrap_PyBitmapShape_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26727 { (char *)"PyBitmapShape_GetFilename", (PyCFunction
) _wrap_PyBitmapShape_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
26728 { (char *)"PyBitmapShape_SetBitmap", (PyCFunction
) _wrap_PyBitmapShape_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26729 { (char *)"PyBitmapShape_SetFilename", (PyCFunction
) _wrap_PyBitmapShape_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
26730 { (char *)"PyBitmapShape_base_OnDelete", (PyCFunction
) _wrap_PyBitmapShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
26731 { (char *)"PyBitmapShape_base_OnDraw", (PyCFunction
) _wrap_PyBitmapShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
26732 { (char *)"PyBitmapShape_base_OnDrawContents", (PyCFunction
) _wrap_PyBitmapShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
26733 { (char *)"PyBitmapShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyBitmapShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
26734 { (char *)"PyBitmapShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyBitmapShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
26735 { (char *)"PyBitmapShape_base_OnErase", (PyCFunction
) _wrap_PyBitmapShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
26736 { (char *)"PyBitmapShape_base_OnEraseContents", (PyCFunction
) _wrap_PyBitmapShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
26737 { (char *)"PyBitmapShape_base_OnHighlight", (PyCFunction
) _wrap_PyBitmapShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
26738 { (char *)"PyBitmapShape_base_OnLeftClick", (PyCFunction
) _wrap_PyBitmapShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
26739 { (char *)"PyBitmapShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyBitmapShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
26740 { (char *)"PyBitmapShape_base_OnRightClick", (PyCFunction
) _wrap_PyBitmapShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
26741 { (char *)"PyBitmapShape_base_OnSize", (PyCFunction
) _wrap_PyBitmapShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
26742 { (char *)"PyBitmapShape_base_OnMovePre", (PyCFunction
) _wrap_PyBitmapShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
26743 { (char *)"PyBitmapShape_base_OnMovePost", (PyCFunction
) _wrap_PyBitmapShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
26744 { (char *)"PyBitmapShape_base_OnDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26745 { (char *)"PyBitmapShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26746 { (char *)"PyBitmapShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26747 { (char *)"PyBitmapShape_base_OnDragRight", (PyCFunction
) _wrap_PyBitmapShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26748 { (char *)"PyBitmapShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyBitmapShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26749 { (char *)"PyBitmapShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyBitmapShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26750 { (char *)"PyBitmapShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyBitmapShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
26751 { (char *)"PyBitmapShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyBitmapShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26752 { (char *)"PyBitmapShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyBitmapShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26753 { (char *)"PyBitmapShape_base_OnMoveLink", (PyCFunction
) _wrap_PyBitmapShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
26754 { (char *)"PyBitmapShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26755 { (char *)"PyBitmapShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26756 { (char *)"PyBitmapShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26757 { (char *)"PyBitmapShape_base_OnBeginSize", (PyCFunction
) _wrap_PyBitmapShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
26758 { (char *)"PyBitmapShape_base_OnEndSize", (PyCFunction
) _wrap_PyBitmapShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
26759 { (char *)"PyBitmapShape_swigregister", PyBitmapShape_swigregister
, METH_VARARGS
},
26760 { (char *)"new_PyDrawnShape", (PyCFunction
) _wrap_new_PyDrawnShape
, METH_VARARGS
| METH_KEYWORDS
},
26761 { (char *)"PyDrawnShape__setCallbackInfo", (PyCFunction
) _wrap_PyDrawnShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26762 { (char *)"PyDrawnShape_CalculateSize", (PyCFunction
) _wrap_PyDrawnShape_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
},
26763 { (char *)"PyDrawnShape_DestroyClippingRect", (PyCFunction
) _wrap_PyDrawnShape_DestroyClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
26764 { (char *)"PyDrawnShape_DrawArc", (PyCFunction
) _wrap_PyDrawnShape_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
26765 { (char *)"PyDrawnShape_DrawAtAngle", (PyCFunction
) _wrap_PyDrawnShape_DrawAtAngle
, METH_VARARGS
| METH_KEYWORDS
},
26766 { (char *)"PyDrawnShape_DrawEllipticArc", (PyCFunction
) _wrap_PyDrawnShape_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
26767 { (char *)"PyDrawnShape_DrawLine", (PyCFunction
) _wrap_PyDrawnShape_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
26768 { (char *)"PyDrawnShape_DrawLines", (PyCFunction
) _wrap_PyDrawnShape_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
26769 { (char *)"PyDrawnShape_DrawPoint", (PyCFunction
) _wrap_PyDrawnShape_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
26770 { (char *)"PyDrawnShape_DrawPolygon", (PyCFunction
) _wrap_PyDrawnShape_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
26771 { (char *)"PyDrawnShape_DrawRectangle", (PyCFunction
) _wrap_PyDrawnShape_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
26772 { (char *)"PyDrawnShape_DrawRoundedRectangle", (PyCFunction
) _wrap_PyDrawnShape_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
26773 { (char *)"PyDrawnShape_DrawSpline", (PyCFunction
) _wrap_PyDrawnShape_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
26774 { (char *)"PyDrawnShape_DrawText", (PyCFunction
) _wrap_PyDrawnShape_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
26775 { (char *)"PyDrawnShape_GetAngle", (PyCFunction
) _wrap_PyDrawnShape_GetAngle
, METH_VARARGS
| METH_KEYWORDS
},
26776 { (char *)"PyDrawnShape_GetMetaFile", (PyCFunction
) _wrap_PyDrawnShape_GetMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
26777 { (char *)"PyDrawnShape_GetRotation", (PyCFunction
) _wrap_PyDrawnShape_GetRotation
, METH_VARARGS
| METH_KEYWORDS
},
26778 { (char *)"PyDrawnShape_LoadFromMetaFile", (PyCFunction
) _wrap_PyDrawnShape_LoadFromMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
26779 { (char *)"PyDrawnShape_Rotate", (PyCFunction
) _wrap_PyDrawnShape_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
26780 { (char *)"PyDrawnShape_SetClippingRect", (PyCFunction
) _wrap_PyDrawnShape_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
26781 { (char *)"PyDrawnShape_SetDrawnBackgroundColour", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26782 { (char *)"PyDrawnShape_SetDrawnBackgroundMode", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
26783 { (char *)"PyDrawnShape_SetDrawnBrush", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnBrush
, METH_VARARGS
| METH_KEYWORDS
},
26784 { (char *)"PyDrawnShape_SetDrawnFont", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnFont
, METH_VARARGS
| METH_KEYWORDS
},
26785 { (char *)"PyDrawnShape_SetDrawnPen", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnPen
, METH_VARARGS
| METH_KEYWORDS
},
26786 { (char *)"PyDrawnShape_SetDrawnTextColour", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26787 { (char *)"PyDrawnShape_Scale", (PyCFunction
) _wrap_PyDrawnShape_Scale
, METH_VARARGS
| METH_KEYWORDS
},
26788 { (char *)"PyDrawnShape_SetSaveToFile", (PyCFunction
) _wrap_PyDrawnShape_SetSaveToFile
, METH_VARARGS
| METH_KEYWORDS
},
26789 { (char *)"PyDrawnShape_Translate", (PyCFunction
) _wrap_PyDrawnShape_Translate
, METH_VARARGS
| METH_KEYWORDS
},
26790 { (char *)"PyDrawnShape_base_OnDelete", (PyCFunction
) _wrap_PyDrawnShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
26791 { (char *)"PyDrawnShape_base_OnDraw", (PyCFunction
) _wrap_PyDrawnShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
26792 { (char *)"PyDrawnShape_base_OnDrawContents", (PyCFunction
) _wrap_PyDrawnShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
26793 { (char *)"PyDrawnShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyDrawnShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
26794 { (char *)"PyDrawnShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyDrawnShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
26795 { (char *)"PyDrawnShape_base_OnErase", (PyCFunction
) _wrap_PyDrawnShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
26796 { (char *)"PyDrawnShape_base_OnEraseContents", (PyCFunction
) _wrap_PyDrawnShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
26797 { (char *)"PyDrawnShape_base_OnHighlight", (PyCFunction
) _wrap_PyDrawnShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
26798 { (char *)"PyDrawnShape_base_OnLeftClick", (PyCFunction
) _wrap_PyDrawnShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
26799 { (char *)"PyDrawnShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyDrawnShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
26800 { (char *)"PyDrawnShape_base_OnRightClick", (PyCFunction
) _wrap_PyDrawnShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
26801 { (char *)"PyDrawnShape_base_OnSize", (PyCFunction
) _wrap_PyDrawnShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
26802 { (char *)"PyDrawnShape_base_OnMovePre", (PyCFunction
) _wrap_PyDrawnShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
26803 { (char *)"PyDrawnShape_base_OnMovePost", (PyCFunction
) _wrap_PyDrawnShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
26804 { (char *)"PyDrawnShape_base_OnDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26805 { (char *)"PyDrawnShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26806 { (char *)"PyDrawnShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26807 { (char *)"PyDrawnShape_base_OnDragRight", (PyCFunction
) _wrap_PyDrawnShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26808 { (char *)"PyDrawnShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyDrawnShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26809 { (char *)"PyDrawnShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyDrawnShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26810 { (char *)"PyDrawnShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyDrawnShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
26811 { (char *)"PyDrawnShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyDrawnShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26812 { (char *)"PyDrawnShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyDrawnShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26813 { (char *)"PyDrawnShape_base_OnMoveLink", (PyCFunction
) _wrap_PyDrawnShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
26814 { (char *)"PyDrawnShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26815 { (char *)"PyDrawnShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26816 { (char *)"PyDrawnShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26817 { (char *)"PyDrawnShape_base_OnBeginSize", (PyCFunction
) _wrap_PyDrawnShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
26818 { (char *)"PyDrawnShape_base_OnEndSize", (PyCFunction
) _wrap_PyDrawnShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
26819 { (char *)"PyDrawnShape_swigregister", PyDrawnShape_swigregister
, METH_VARARGS
},
26820 { (char *)"new_OGLConstraint", (PyCFunction
) _wrap_new_OGLConstraint
, METH_VARARGS
| METH_KEYWORDS
},
26821 { (char *)"OGLConstraint_Evaluate", (PyCFunction
) _wrap_OGLConstraint_Evaluate
, METH_VARARGS
| METH_KEYWORDS
},
26822 { (char *)"OGLConstraint_SetSpacing", (PyCFunction
) _wrap_OGLConstraint_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
26823 { (char *)"OGLConstraint_Equals", (PyCFunction
) _wrap_OGLConstraint_Equals
, METH_VARARGS
| METH_KEYWORDS
},
26824 { (char *)"OGLConstraint_swigregister", OGLConstraint_swigregister
, METH_VARARGS
},
26825 { (char *)"new_PyCompositeShape", (PyCFunction
) _wrap_new_PyCompositeShape
, METH_VARARGS
| METH_KEYWORDS
},
26826 { (char *)"PyCompositeShape__setCallbackInfo", (PyCFunction
) _wrap_PyCompositeShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26827 { (char *)"PyCompositeShape_AddChild", (PyCFunction
) _wrap_PyCompositeShape_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
26828 { (char *)"PyCompositeShape_AddConstraint", (PyCFunction
) _wrap_PyCompositeShape_AddConstraint
, METH_VARARGS
| METH_KEYWORDS
},
26829 { (char *)"PyCompositeShape_AddConstrainedShapes", (PyCFunction
) _wrap_PyCompositeShape_AddConstrainedShapes
, METH_VARARGS
| METH_KEYWORDS
},
26830 { (char *)"PyCompositeShape_AddSimpleConstraint", (PyCFunction
) _wrap_PyCompositeShape_AddSimpleConstraint
, METH_VARARGS
| METH_KEYWORDS
},
26831 { (char *)"PyCompositeShape_CalculateSize", (PyCFunction
) _wrap_PyCompositeShape_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
},
26832 { (char *)"PyCompositeShape_ContainsDivision", (PyCFunction
) _wrap_PyCompositeShape_ContainsDivision
, METH_VARARGS
| METH_KEYWORDS
},
26833 { (char *)"PyCompositeShape_DeleteConstraint", (PyCFunction
) _wrap_PyCompositeShape_DeleteConstraint
, METH_VARARGS
| METH_KEYWORDS
},
26834 { (char *)"PyCompositeShape_DeleteConstraintsInvolvingChild", (PyCFunction
) _wrap_PyCompositeShape_DeleteConstraintsInvolvingChild
, METH_VARARGS
| METH_KEYWORDS
},
26835 { (char *)"PyCompositeShape_FindContainerImage", (PyCFunction
) _wrap_PyCompositeShape_FindContainerImage
, METH_VARARGS
| METH_KEYWORDS
},
26836 { (char *)"PyCompositeShape_GetConstraints", (PyCFunction
) _wrap_PyCompositeShape_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
26837 { (char *)"PyCompositeShape_GetDivisions", (PyCFunction
) _wrap_PyCompositeShape_GetDivisions
, METH_VARARGS
| METH_KEYWORDS
},
26838 { (char *)"PyCompositeShape_MakeContainer", (PyCFunction
) _wrap_PyCompositeShape_MakeContainer
, METH_VARARGS
| METH_KEYWORDS
},
26839 { (char *)"PyCompositeShape_Recompute", (PyCFunction
) _wrap_PyCompositeShape_Recompute
, METH_VARARGS
| METH_KEYWORDS
},
26840 { (char *)"PyCompositeShape_RemoveChild", (PyCFunction
) _wrap_PyCompositeShape_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
26841 { (char *)"PyCompositeShape_base_OnDelete", (PyCFunction
) _wrap_PyCompositeShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
26842 { (char *)"PyCompositeShape_base_OnDraw", (PyCFunction
) _wrap_PyCompositeShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
26843 { (char *)"PyCompositeShape_base_OnDrawContents", (PyCFunction
) _wrap_PyCompositeShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
26844 { (char *)"PyCompositeShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyCompositeShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
26845 { (char *)"PyCompositeShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyCompositeShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
26846 { (char *)"PyCompositeShape_base_OnErase", (PyCFunction
) _wrap_PyCompositeShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
26847 { (char *)"PyCompositeShape_base_OnEraseContents", (PyCFunction
) _wrap_PyCompositeShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
26848 { (char *)"PyCompositeShape_base_OnHighlight", (PyCFunction
) _wrap_PyCompositeShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
26849 { (char *)"PyCompositeShape_base_OnLeftClick", (PyCFunction
) _wrap_PyCompositeShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
26850 { (char *)"PyCompositeShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyCompositeShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
26851 { (char *)"PyCompositeShape_base_OnRightClick", (PyCFunction
) _wrap_PyCompositeShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
26852 { (char *)"PyCompositeShape_base_OnSize", (PyCFunction
) _wrap_PyCompositeShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
26853 { (char *)"PyCompositeShape_base_OnMovePre", (PyCFunction
) _wrap_PyCompositeShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
26854 { (char *)"PyCompositeShape_base_OnMovePost", (PyCFunction
) _wrap_PyCompositeShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
26855 { (char *)"PyCompositeShape_base_OnDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26856 { (char *)"PyCompositeShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26857 { (char *)"PyCompositeShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26858 { (char *)"PyCompositeShape_base_OnDragRight", (PyCFunction
) _wrap_PyCompositeShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26859 { (char *)"PyCompositeShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyCompositeShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26860 { (char *)"PyCompositeShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyCompositeShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26861 { (char *)"PyCompositeShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyCompositeShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
26862 { (char *)"PyCompositeShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyCompositeShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26863 { (char *)"PyCompositeShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyCompositeShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26864 { (char *)"PyCompositeShape_base_OnMoveLink", (PyCFunction
) _wrap_PyCompositeShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
26865 { (char *)"PyCompositeShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26866 { (char *)"PyCompositeShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26867 { (char *)"PyCompositeShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26868 { (char *)"PyCompositeShape_base_OnBeginSize", (PyCFunction
) _wrap_PyCompositeShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
26869 { (char *)"PyCompositeShape_base_OnEndSize", (PyCFunction
) _wrap_PyCompositeShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
26870 { (char *)"PyCompositeShape_swigregister", PyCompositeShape_swigregister
, METH_VARARGS
},
26871 { (char *)"new_PyDividedShape", (PyCFunction
) _wrap_new_PyDividedShape
, METH_VARARGS
| METH_KEYWORDS
},
26872 { (char *)"PyDividedShape__setCallbackInfo", (PyCFunction
) _wrap_PyDividedShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26873 { (char *)"PyDividedShape_EditRegions", (PyCFunction
) _wrap_PyDividedShape_EditRegions
, METH_VARARGS
| METH_KEYWORDS
},
26874 { (char *)"PyDividedShape_SetRegionSizes", (PyCFunction
) _wrap_PyDividedShape_SetRegionSizes
, METH_VARARGS
| METH_KEYWORDS
},
26875 { (char *)"PyDividedShape_base_OnDelete", (PyCFunction
) _wrap_PyDividedShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
26876 { (char *)"PyDividedShape_base_OnDraw", (PyCFunction
) _wrap_PyDividedShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
26877 { (char *)"PyDividedShape_base_OnDrawContents", (PyCFunction
) _wrap_PyDividedShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
26878 { (char *)"PyDividedShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyDividedShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
26879 { (char *)"PyDividedShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyDividedShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
26880 { (char *)"PyDividedShape_base_OnErase", (PyCFunction
) _wrap_PyDividedShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
26881 { (char *)"PyDividedShape_base_OnEraseContents", (PyCFunction
) _wrap_PyDividedShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
26882 { (char *)"PyDividedShape_base_OnHighlight", (PyCFunction
) _wrap_PyDividedShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
26883 { (char *)"PyDividedShape_base_OnLeftClick", (PyCFunction
) _wrap_PyDividedShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
26884 { (char *)"PyDividedShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyDividedShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
26885 { (char *)"PyDividedShape_base_OnRightClick", (PyCFunction
) _wrap_PyDividedShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
26886 { (char *)"PyDividedShape_base_OnSize", (PyCFunction
) _wrap_PyDividedShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
26887 { (char *)"PyDividedShape_base_OnMovePre", (PyCFunction
) _wrap_PyDividedShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
26888 { (char *)"PyDividedShape_base_OnMovePost", (PyCFunction
) _wrap_PyDividedShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
26889 { (char *)"PyDividedShape_base_OnDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26890 { (char *)"PyDividedShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26891 { (char *)"PyDividedShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26892 { (char *)"PyDividedShape_base_OnDragRight", (PyCFunction
) _wrap_PyDividedShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26893 { (char *)"PyDividedShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyDividedShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26894 { (char *)"PyDividedShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyDividedShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26895 { (char *)"PyDividedShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyDividedShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
26896 { (char *)"PyDividedShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyDividedShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26897 { (char *)"PyDividedShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyDividedShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26898 { (char *)"PyDividedShape_base_OnMoveLink", (PyCFunction
) _wrap_PyDividedShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
26899 { (char *)"PyDividedShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26900 { (char *)"PyDividedShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26901 { (char *)"PyDividedShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26902 { (char *)"PyDividedShape_base_OnBeginSize", (PyCFunction
) _wrap_PyDividedShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
26903 { (char *)"PyDividedShape_base_OnEndSize", (PyCFunction
) _wrap_PyDividedShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
26904 { (char *)"PyDividedShape_swigregister", PyDividedShape_swigregister
, METH_VARARGS
},
26905 { (char *)"new_PyDivisionShape", (PyCFunction
) _wrap_new_PyDivisionShape
, METH_VARARGS
| METH_KEYWORDS
},
26906 { (char *)"PyDivisionShape__setCallbackInfo", (PyCFunction
) _wrap_PyDivisionShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26907 { (char *)"PyDivisionShape_AdjustBottom", (PyCFunction
) _wrap_PyDivisionShape_AdjustBottom
, METH_VARARGS
| METH_KEYWORDS
},
26908 { (char *)"PyDivisionShape_AdjustLeft", (PyCFunction
) _wrap_PyDivisionShape_AdjustLeft
, METH_VARARGS
| METH_KEYWORDS
},
26909 { (char *)"PyDivisionShape_AdjustRight", (PyCFunction
) _wrap_PyDivisionShape_AdjustRight
, METH_VARARGS
| METH_KEYWORDS
},
26910 { (char *)"PyDivisionShape_AdjustTop", (PyCFunction
) _wrap_PyDivisionShape_AdjustTop
, METH_VARARGS
| METH_KEYWORDS
},
26911 { (char *)"PyDivisionShape_Divide", (PyCFunction
) _wrap_PyDivisionShape_Divide
, METH_VARARGS
| METH_KEYWORDS
},
26912 { (char *)"PyDivisionShape_EditEdge", (PyCFunction
) _wrap_PyDivisionShape_EditEdge
, METH_VARARGS
| METH_KEYWORDS
},
26913 { (char *)"PyDivisionShape_GetBottomSide", (PyCFunction
) _wrap_PyDivisionShape_GetBottomSide
, METH_VARARGS
| METH_KEYWORDS
},
26914 { (char *)"PyDivisionShape_GetHandleSide", (PyCFunction
) _wrap_PyDivisionShape_GetHandleSide
, METH_VARARGS
| METH_KEYWORDS
},
26915 { (char *)"PyDivisionShape_GetLeftSide", (PyCFunction
) _wrap_PyDivisionShape_GetLeftSide
, METH_VARARGS
| METH_KEYWORDS
},
26916 { (char *)"PyDivisionShape_GetLeftSideColour", (PyCFunction
) _wrap_PyDivisionShape_GetLeftSideColour
, METH_VARARGS
| METH_KEYWORDS
},
26917 { (char *)"PyDivisionShape_GetLeftSidePen", (PyCFunction
) _wrap_PyDivisionShape_GetLeftSidePen
, METH_VARARGS
| METH_KEYWORDS
},
26918 { (char *)"PyDivisionShape_GetRightSide", (PyCFunction
) _wrap_PyDivisionShape_GetRightSide
, METH_VARARGS
| METH_KEYWORDS
},
26919 { (char *)"PyDivisionShape_GetTopSide", (PyCFunction
) _wrap_PyDivisionShape_GetTopSide
, METH_VARARGS
| METH_KEYWORDS
},
26920 { (char *)"PyDivisionShape_GetTopSidePen", (PyCFunction
) _wrap_PyDivisionShape_GetTopSidePen
, METH_VARARGS
| METH_KEYWORDS
},
26921 { (char *)"PyDivisionShape_ResizeAdjoining", (PyCFunction
) _wrap_PyDivisionShape_ResizeAdjoining
, METH_VARARGS
| METH_KEYWORDS
},
26922 { (char *)"PyDivisionShape_PopupMenu", (PyCFunction
) _wrap_PyDivisionShape_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
26923 { (char *)"PyDivisionShape_SetBottomSide", (PyCFunction
) _wrap_PyDivisionShape_SetBottomSide
, METH_VARARGS
| METH_KEYWORDS
},
26924 { (char *)"PyDivisionShape_SetHandleSide", (PyCFunction
) _wrap_PyDivisionShape_SetHandleSide
, METH_VARARGS
| METH_KEYWORDS
},
26925 { (char *)"PyDivisionShape_SetLeftSide", (PyCFunction
) _wrap_PyDivisionShape_SetLeftSide
, METH_VARARGS
| METH_KEYWORDS
},
26926 { (char *)"PyDivisionShape_SetLeftSideColour", (PyCFunction
) _wrap_PyDivisionShape_SetLeftSideColour
, METH_VARARGS
| METH_KEYWORDS
},
26927 { (char *)"PyDivisionShape_SetLeftSidePen", (PyCFunction
) _wrap_PyDivisionShape_SetLeftSidePen
, METH_VARARGS
| METH_KEYWORDS
},
26928 { (char *)"PyDivisionShape_SetRightSide", (PyCFunction
) _wrap_PyDivisionShape_SetRightSide
, METH_VARARGS
| METH_KEYWORDS
},
26929 { (char *)"PyDivisionShape_SetTopSide", (PyCFunction
) _wrap_PyDivisionShape_SetTopSide
, METH_VARARGS
| METH_KEYWORDS
},
26930 { (char *)"PyDivisionShape_SetTopSideColour", (PyCFunction
) _wrap_PyDivisionShape_SetTopSideColour
, METH_VARARGS
| METH_KEYWORDS
},
26931 { (char *)"PyDivisionShape_SetTopSidePen", (PyCFunction
) _wrap_PyDivisionShape_SetTopSidePen
, METH_VARARGS
| METH_KEYWORDS
},
26932 { (char *)"PyDivisionShape_base_OnDelete", (PyCFunction
) _wrap_PyDivisionShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
26933 { (char *)"PyDivisionShape_base_OnDraw", (PyCFunction
) _wrap_PyDivisionShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
26934 { (char *)"PyDivisionShape_base_OnDrawContents", (PyCFunction
) _wrap_PyDivisionShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
26935 { (char *)"PyDivisionShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyDivisionShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
26936 { (char *)"PyDivisionShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyDivisionShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
26937 { (char *)"PyDivisionShape_base_OnErase", (PyCFunction
) _wrap_PyDivisionShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
26938 { (char *)"PyDivisionShape_base_OnEraseContents", (PyCFunction
) _wrap_PyDivisionShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
26939 { (char *)"PyDivisionShape_base_OnHighlight", (PyCFunction
) _wrap_PyDivisionShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
26940 { (char *)"PyDivisionShape_base_OnLeftClick", (PyCFunction
) _wrap_PyDivisionShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
26941 { (char *)"PyDivisionShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyDivisionShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
26942 { (char *)"PyDivisionShape_base_OnRightClick", (PyCFunction
) _wrap_PyDivisionShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
26943 { (char *)"PyDivisionShape_base_OnSize", (PyCFunction
) _wrap_PyDivisionShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
26944 { (char *)"PyDivisionShape_base_OnMovePre", (PyCFunction
) _wrap_PyDivisionShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
26945 { (char *)"PyDivisionShape_base_OnMovePost", (PyCFunction
) _wrap_PyDivisionShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
26946 { (char *)"PyDivisionShape_base_OnDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26947 { (char *)"PyDivisionShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26948 { (char *)"PyDivisionShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26949 { (char *)"PyDivisionShape_base_OnDragRight", (PyCFunction
) _wrap_PyDivisionShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26950 { (char *)"PyDivisionShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyDivisionShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26951 { (char *)"PyDivisionShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyDivisionShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26952 { (char *)"PyDivisionShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyDivisionShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
26953 { (char *)"PyDivisionShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyDivisionShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26954 { (char *)"PyDivisionShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyDivisionShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26955 { (char *)"PyDivisionShape_base_OnMoveLink", (PyCFunction
) _wrap_PyDivisionShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
26956 { (char *)"PyDivisionShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26957 { (char *)"PyDivisionShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26958 { (char *)"PyDivisionShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26959 { (char *)"PyDivisionShape_base_OnBeginSize", (PyCFunction
) _wrap_PyDivisionShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
26960 { (char *)"PyDivisionShape_base_OnEndSize", (PyCFunction
) _wrap_PyDivisionShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
26961 { (char *)"PyDivisionShape_swigregister", PyDivisionShape_swigregister
, METH_VARARGS
},
26962 { (char *)"new_PyEllipseShape", (PyCFunction
) _wrap_new_PyEllipseShape
, METH_VARARGS
| METH_KEYWORDS
},
26963 { (char *)"PyEllipseShape__setCallbackInfo", (PyCFunction
) _wrap_PyEllipseShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26964 { (char *)"PyEllipseShape_base_OnDraw", (PyCFunction
) _wrap_PyEllipseShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
26965 { (char *)"PyEllipseShape_base_OnDrawContents", (PyCFunction
) _wrap_PyEllipseShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
26966 { (char *)"PyEllipseShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyEllipseShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
26967 { (char *)"PyEllipseShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyEllipseShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
26968 { (char *)"PyEllipseShape_base_OnErase", (PyCFunction
) _wrap_PyEllipseShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
26969 { (char *)"PyEllipseShape_base_OnEraseContents", (PyCFunction
) _wrap_PyEllipseShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
26970 { (char *)"PyEllipseShape_base_OnHighlight", (PyCFunction
) _wrap_PyEllipseShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
26971 { (char *)"PyEllipseShape_base_OnLeftClick", (PyCFunction
) _wrap_PyEllipseShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
26972 { (char *)"PyEllipseShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyEllipseShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
26973 { (char *)"PyEllipseShape_base_OnRightClick", (PyCFunction
) _wrap_PyEllipseShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
26974 { (char *)"PyEllipseShape_base_OnSize", (PyCFunction
) _wrap_PyEllipseShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
26975 { (char *)"PyEllipseShape_base_OnMovePre", (PyCFunction
) _wrap_PyEllipseShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
26976 { (char *)"PyEllipseShape_base_OnMovePost", (PyCFunction
) _wrap_PyEllipseShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
26977 { (char *)"PyEllipseShape_base_OnDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26978 { (char *)"PyEllipseShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26979 { (char *)"PyEllipseShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26980 { (char *)"PyEllipseShape_base_OnDragRight", (PyCFunction
) _wrap_PyEllipseShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26981 { (char *)"PyEllipseShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyEllipseShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26982 { (char *)"PyEllipseShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyEllipseShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26983 { (char *)"PyEllipseShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyEllipseShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
26984 { (char *)"PyEllipseShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyEllipseShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26985 { (char *)"PyEllipseShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyEllipseShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26986 { (char *)"PyEllipseShape_base_OnMoveLink", (PyCFunction
) _wrap_PyEllipseShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
26987 { (char *)"PyEllipseShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26988 { (char *)"PyEllipseShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26989 { (char *)"PyEllipseShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26990 { (char *)"PyEllipseShape_base_OnBeginSize", (PyCFunction
) _wrap_PyEllipseShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
26991 { (char *)"PyEllipseShape_base_OnEndSize", (PyCFunction
) _wrap_PyEllipseShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
26992 { (char *)"PyEllipseShape_swigregister", PyEllipseShape_swigregister
, METH_VARARGS
},
26993 { (char *)"new_PyCircleShape", (PyCFunction
) _wrap_new_PyCircleShape
, METH_VARARGS
| METH_KEYWORDS
},
26994 { (char *)"PyCircleShape__setCallbackInfo", (PyCFunction
) _wrap_PyCircleShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26995 { (char *)"PyCircleShape_base_OnDraw", (PyCFunction
) _wrap_PyCircleShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
26996 { (char *)"PyCircleShape_base_OnDrawContents", (PyCFunction
) _wrap_PyCircleShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
26997 { (char *)"PyCircleShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyCircleShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
26998 { (char *)"PyCircleShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyCircleShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
26999 { (char *)"PyCircleShape_base_OnErase", (PyCFunction
) _wrap_PyCircleShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
27000 { (char *)"PyCircleShape_base_OnEraseContents", (PyCFunction
) _wrap_PyCircleShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
27001 { (char *)"PyCircleShape_base_OnHighlight", (PyCFunction
) _wrap_PyCircleShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
27002 { (char *)"PyCircleShape_base_OnLeftClick", (PyCFunction
) _wrap_PyCircleShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
27003 { (char *)"PyCircleShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyCircleShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
27004 { (char *)"PyCircleShape_base_OnRightClick", (PyCFunction
) _wrap_PyCircleShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
27005 { (char *)"PyCircleShape_base_OnSize", (PyCFunction
) _wrap_PyCircleShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
27006 { (char *)"PyCircleShape_base_OnMovePre", (PyCFunction
) _wrap_PyCircleShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
27007 { (char *)"PyCircleShape_base_OnMovePost", (PyCFunction
) _wrap_PyCircleShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
27008 { (char *)"PyCircleShape_base_OnDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27009 { (char *)"PyCircleShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27010 { (char *)"PyCircleShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27011 { (char *)"PyCircleShape_base_OnDragRight", (PyCFunction
) _wrap_PyCircleShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
27012 { (char *)"PyCircleShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyCircleShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
27013 { (char *)"PyCircleShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyCircleShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
27014 { (char *)"PyCircleShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyCircleShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
27015 { (char *)"PyCircleShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyCircleShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
27016 { (char *)"PyCircleShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyCircleShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
27017 { (char *)"PyCircleShape_base_OnMoveLink", (PyCFunction
) _wrap_PyCircleShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
27018 { (char *)"PyCircleShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27019 { (char *)"PyCircleShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27020 { (char *)"PyCircleShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27021 { (char *)"PyCircleShape_base_OnBeginSize", (PyCFunction
) _wrap_PyCircleShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
27022 { (char *)"PyCircleShape_base_OnEndSize", (PyCFunction
) _wrap_PyCircleShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
27023 { (char *)"PyCircleShape_swigregister", PyCircleShape_swigregister
, METH_VARARGS
},
27024 { (char *)"new_ArrowHead", (PyCFunction
) _wrap_new_ArrowHead
, METH_VARARGS
| METH_KEYWORDS
},
27025 { (char *)"delete_ArrowHead", (PyCFunction
) _wrap_delete_ArrowHead
, METH_VARARGS
| METH_KEYWORDS
},
27026 { (char *)"ArrowHead__GetType", (PyCFunction
) _wrap_ArrowHead__GetType
, METH_VARARGS
| METH_KEYWORDS
},
27027 { (char *)"ArrowHead_GetPosition", (PyCFunction
) _wrap_ArrowHead_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
27028 { (char *)"ArrowHead_SetPosition", (PyCFunction
) _wrap_ArrowHead_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
27029 { (char *)"ArrowHead_GetXOffset", (PyCFunction
) _wrap_ArrowHead_GetXOffset
, METH_VARARGS
| METH_KEYWORDS
},
27030 { (char *)"ArrowHead_GetYOffset", (PyCFunction
) _wrap_ArrowHead_GetYOffset
, METH_VARARGS
| METH_KEYWORDS
},
27031 { (char *)"ArrowHead_GetSpacing", (PyCFunction
) _wrap_ArrowHead_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
27032 { (char *)"ArrowHead_GetSize", (PyCFunction
) _wrap_ArrowHead_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
27033 { (char *)"ArrowHead_GetName", (PyCFunction
) _wrap_ArrowHead_GetName
, METH_VARARGS
| METH_KEYWORDS
},
27034 { (char *)"ArrowHead_SetXOffset", (PyCFunction
) _wrap_ArrowHead_SetXOffset
, METH_VARARGS
| METH_KEYWORDS
},
27035 { (char *)"ArrowHead_SetYOffset", (PyCFunction
) _wrap_ArrowHead_SetYOffset
, METH_VARARGS
| METH_KEYWORDS
},
27036 { (char *)"ArrowHead_GetMetaFile", (PyCFunction
) _wrap_ArrowHead_GetMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
27037 { (char *)"ArrowHead_GetId", (PyCFunction
) _wrap_ArrowHead_GetId
, METH_VARARGS
| METH_KEYWORDS
},
27038 { (char *)"ArrowHead_GetArrowEnd", (PyCFunction
) _wrap_ArrowHead_GetArrowEnd
, METH_VARARGS
| METH_KEYWORDS
},
27039 { (char *)"ArrowHead_GetArrowSize", (PyCFunction
) _wrap_ArrowHead_GetArrowSize
, METH_VARARGS
| METH_KEYWORDS
},
27040 { (char *)"ArrowHead_SetSize", (PyCFunction
) _wrap_ArrowHead_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
27041 { (char *)"ArrowHead_SetSpacing", (PyCFunction
) _wrap_ArrowHead_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
27042 { (char *)"ArrowHead_swigregister", ArrowHead_swigregister
, METH_VARARGS
},
27043 { (char *)"new_PyLineShape", (PyCFunction
) _wrap_new_PyLineShape
, METH_VARARGS
| METH_KEYWORDS
},
27044 { (char *)"PyLineShape__setCallbackInfo", (PyCFunction
) _wrap_PyLineShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27045 { (char *)"PyLineShape_AddArrow", (PyCFunction
) _wrap_PyLineShape_AddArrow
, METH_VARARGS
| METH_KEYWORDS
},
27046 { (char *)"PyLineShape_AddArrowOrdered", (PyCFunction
) _wrap_PyLineShape_AddArrowOrdered
, METH_VARARGS
| METH_KEYWORDS
},
27047 { (char *)"PyLineShape_ClearArrow", (PyCFunction
) _wrap_PyLineShape_ClearArrow
, METH_VARARGS
| METH_KEYWORDS
},
27048 { (char *)"PyLineShape_ClearArrowsAtPosition", (PyCFunction
) _wrap_PyLineShape_ClearArrowsAtPosition
, METH_VARARGS
| METH_KEYWORDS
},
27049 { (char *)"PyLineShape_DrawArrow", (PyCFunction
) _wrap_PyLineShape_DrawArrow
, METH_VARARGS
| METH_KEYWORDS
},
27050 { (char *)"PyLineShape_DeleteArrowHeadId", (PyCFunction
) _wrap_PyLineShape_DeleteArrowHeadId
, METH_VARARGS
| METH_KEYWORDS
},
27051 { (char *)"PyLineShape_DeleteArrowHead", (PyCFunction
) _wrap_PyLineShape_DeleteArrowHead
, METH_VARARGS
| METH_KEYWORDS
},
27052 { (char *)"PyLineShape_DeleteLineControlPoint", (PyCFunction
) _wrap_PyLineShape_DeleteLineControlPoint
, METH_VARARGS
| METH_KEYWORDS
},
27053 { (char *)"PyLineShape_DrawArrows", (PyCFunction
) _wrap_PyLineShape_DrawArrows
, METH_VARARGS
| METH_KEYWORDS
},
27054 { (char *)"PyLineShape_DrawRegion", (PyCFunction
) _wrap_PyLineShape_DrawRegion
, METH_VARARGS
| METH_KEYWORDS
},
27055 { (char *)"PyLineShape_EraseRegion", (PyCFunction
) _wrap_PyLineShape_EraseRegion
, METH_VARARGS
| METH_KEYWORDS
},
27056 { (char *)"PyLineShape_FindArrowHeadId", (PyCFunction
) _wrap_PyLineShape_FindArrowHeadId
, METH_VARARGS
| METH_KEYWORDS
},
27057 { (char *)"PyLineShape_FindArrowHead", (PyCFunction
) _wrap_PyLineShape_FindArrowHead
, METH_VARARGS
| METH_KEYWORDS
},
27058 { (char *)"PyLineShape_FindLineEndPoints", (PyCFunction
) _wrap_PyLineShape_FindLineEndPoints
, METH_VARARGS
| METH_KEYWORDS
},
27059 { (char *)"PyLineShape_FindLinePosition", (PyCFunction
) _wrap_PyLineShape_FindLinePosition
, METH_VARARGS
| METH_KEYWORDS
},
27060 { (char *)"PyLineShape_FindMinimumWidth", (PyCFunction
) _wrap_PyLineShape_FindMinimumWidth
, METH_VARARGS
| METH_KEYWORDS
},
27061 { (char *)"PyLineShape_FindNth", (PyCFunction
) _wrap_PyLineShape_FindNth
, METH_VARARGS
| METH_KEYWORDS
},
27062 { (char *)"PyLineShape_GetAttachmentFrom", (PyCFunction
) _wrap_PyLineShape_GetAttachmentFrom
, METH_VARARGS
| METH_KEYWORDS
},
27063 { (char *)"PyLineShape_GetAttachmentTo", (PyCFunction
) _wrap_PyLineShape_GetAttachmentTo
, METH_VARARGS
| METH_KEYWORDS
},
27064 { (char *)"PyLineShape_GetEnds", (PyCFunction
) _wrap_PyLineShape_GetEnds
, METH_VARARGS
| METH_KEYWORDS
},
27065 { (char *)"PyLineShape_GetFrom", (PyCFunction
) _wrap_PyLineShape_GetFrom
, METH_VARARGS
| METH_KEYWORDS
},
27066 { (char *)"PyLineShape_GetLabelPosition", (PyCFunction
) _wrap_PyLineShape_GetLabelPosition
, METH_VARARGS
| METH_KEYWORDS
},
27067 { (char *)"PyLineShape_GetNextControlPoint", (PyCFunction
) _wrap_PyLineShape_GetNextControlPoint
, METH_VARARGS
| METH_KEYWORDS
},
27068 { (char *)"PyLineShape_GetTo", (PyCFunction
) _wrap_PyLineShape_GetTo
, METH_VARARGS
| METH_KEYWORDS
},
27069 { (char *)"PyLineShape_Initialise", (PyCFunction
) _wrap_PyLineShape_Initialise
, METH_VARARGS
| METH_KEYWORDS
},
27070 { (char *)"PyLineShape_InsertLineControlPoint", (PyCFunction
) _wrap_PyLineShape_InsertLineControlPoint
, METH_VARARGS
| METH_KEYWORDS
},
27071 { (char *)"PyLineShape_IsEnd", (PyCFunction
) _wrap_PyLineShape_IsEnd
, METH_VARARGS
| METH_KEYWORDS
},
27072 { (char *)"PyLineShape_IsSpline", (PyCFunction
) _wrap_PyLineShape_IsSpline
, METH_VARARGS
| METH_KEYWORDS
},
27073 { (char *)"PyLineShape_MakeLineControlPoints", (PyCFunction
) _wrap_PyLineShape_MakeLineControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
27074 { (char *)"PyLineShape_GetLineControlPoints", (PyCFunction
) _wrap_PyLineShape_GetLineControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
27075 { (char *)"PyLineShape_SetAttachmentFrom", (PyCFunction
) _wrap_PyLineShape_SetAttachmentFrom
, METH_VARARGS
| METH_KEYWORDS
},
27076 { (char *)"PyLineShape_SetAttachments", (PyCFunction
) _wrap_PyLineShape_SetAttachments
, METH_VARARGS
| METH_KEYWORDS
},
27077 { (char *)"PyLineShape_SetAttachmentTo", (PyCFunction
) _wrap_PyLineShape_SetAttachmentTo
, METH_VARARGS
| METH_KEYWORDS
},
27078 { (char *)"PyLineShape_SetEnds", (PyCFunction
) _wrap_PyLineShape_SetEnds
, METH_VARARGS
| METH_KEYWORDS
},
27079 { (char *)"PyLineShape_SetFrom", (PyCFunction
) _wrap_PyLineShape_SetFrom
, METH_VARARGS
| METH_KEYWORDS
},
27080 { (char *)"PyLineShape_SetIgnoreOffsets", (PyCFunction
) _wrap_PyLineShape_SetIgnoreOffsets
, METH_VARARGS
| METH_KEYWORDS
},
27081 { (char *)"PyLineShape_SetSpline", (PyCFunction
) _wrap_PyLineShape_SetSpline
, METH_VARARGS
| METH_KEYWORDS
},
27082 { (char *)"PyLineShape_SetTo", (PyCFunction
) _wrap_PyLineShape_SetTo
, METH_VARARGS
| METH_KEYWORDS
},
27083 { (char *)"PyLineShape_Straighten", (PyCFunction
) _wrap_PyLineShape_Straighten
, METH_VARARGS
| METH_KEYWORDS
},
27084 { (char *)"PyLineShape_Unlink", (PyCFunction
) _wrap_PyLineShape_Unlink
, METH_VARARGS
| METH_KEYWORDS
},
27085 { (char *)"PyLineShape_SetAlignmentOrientation", (PyCFunction
) _wrap_PyLineShape_SetAlignmentOrientation
, METH_VARARGS
| METH_KEYWORDS
},
27086 { (char *)"PyLineShape_SetAlignmentType", (PyCFunction
) _wrap_PyLineShape_SetAlignmentType
, METH_VARARGS
| METH_KEYWORDS
},
27087 { (char *)"PyLineShape_GetAlignmentOrientation", (PyCFunction
) _wrap_PyLineShape_GetAlignmentOrientation
, METH_VARARGS
| METH_KEYWORDS
},
27088 { (char *)"PyLineShape_GetAlignmentType", (PyCFunction
) _wrap_PyLineShape_GetAlignmentType
, METH_VARARGS
| METH_KEYWORDS
},
27089 { (char *)"PyLineShape_GetAlignmentStart", (PyCFunction
) _wrap_PyLineShape_GetAlignmentStart
, METH_VARARGS
| METH_KEYWORDS
},
27090 { (char *)"PyLineShape_GetAlignmentEnd", (PyCFunction
) _wrap_PyLineShape_GetAlignmentEnd
, METH_VARARGS
| METH_KEYWORDS
},
27091 { (char *)"PyLineShape_base_OnDraw", (PyCFunction
) _wrap_PyLineShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
27092 { (char *)"PyLineShape_base_OnDrawContents", (PyCFunction
) _wrap_PyLineShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
27093 { (char *)"PyLineShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyLineShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
27094 { (char *)"PyLineShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyLineShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
27095 { (char *)"PyLineShape_base_OnErase", (PyCFunction
) _wrap_PyLineShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
27096 { (char *)"PyLineShape_base_OnEraseContents", (PyCFunction
) _wrap_PyLineShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
27097 { (char *)"PyLineShape_base_OnHighlight", (PyCFunction
) _wrap_PyLineShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
27098 { (char *)"PyLineShape_base_OnLeftClick", (PyCFunction
) _wrap_PyLineShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
27099 { (char *)"PyLineShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyLineShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
27100 { (char *)"PyLineShape_base_OnRightClick", (PyCFunction
) _wrap_PyLineShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
27101 { (char *)"PyLineShape_base_OnSize", (PyCFunction
) _wrap_PyLineShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
27102 { (char *)"PyLineShape_base_OnMovePre", (PyCFunction
) _wrap_PyLineShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
27103 { (char *)"PyLineShape_base_OnMovePost", (PyCFunction
) _wrap_PyLineShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
27104 { (char *)"PyLineShape_base_OnDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27105 { (char *)"PyLineShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27106 { (char *)"PyLineShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27107 { (char *)"PyLineShape_base_OnDragRight", (PyCFunction
) _wrap_PyLineShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
27108 { (char *)"PyLineShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyLineShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
27109 { (char *)"PyLineShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyLineShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
27110 { (char *)"PyLineShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyLineShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
27111 { (char *)"PyLineShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyLineShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
27112 { (char *)"PyLineShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyLineShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
27113 { (char *)"PyLineShape_base_OnMoveLink", (PyCFunction
) _wrap_PyLineShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
27114 { (char *)"PyLineShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27115 { (char *)"PyLineShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27116 { (char *)"PyLineShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27117 { (char *)"PyLineShape_base_OnBeginSize", (PyCFunction
) _wrap_PyLineShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
27118 { (char *)"PyLineShape_base_OnEndSize", (PyCFunction
) _wrap_PyLineShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
27119 { (char *)"PyLineShape_swigregister", PyLineShape_swigregister
, METH_VARARGS
},
27120 { (char *)"new_PyPolygonShape", (PyCFunction
) _wrap_new_PyPolygonShape
, METH_VARARGS
| METH_KEYWORDS
},
27121 { (char *)"PyPolygonShape__setCallbackInfo", (PyCFunction
) _wrap_PyPolygonShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27122 { (char *)"PyPolygonShape_Create", (PyCFunction
) _wrap_PyPolygonShape_Create
, METH_VARARGS
| METH_KEYWORDS
},
27123 { (char *)"PyPolygonShape_AddPolygonPoint", (PyCFunction
) _wrap_PyPolygonShape_AddPolygonPoint
, METH_VARARGS
| METH_KEYWORDS
},
27124 { (char *)"PyPolygonShape_CalculatePolygonCentre", (PyCFunction
) _wrap_PyPolygonShape_CalculatePolygonCentre
, METH_VARARGS
| METH_KEYWORDS
},
27125 { (char *)"PyPolygonShape_DeletePolygonPoint", (PyCFunction
) _wrap_PyPolygonShape_DeletePolygonPoint
, METH_VARARGS
| METH_KEYWORDS
},
27126 { (char *)"PyPolygonShape_GetPoints", (PyCFunction
) _wrap_PyPolygonShape_GetPoints
, METH_VARARGS
| METH_KEYWORDS
},
27127 { (char *)"PyPolygonShape_GetOriginalPoints", (PyCFunction
) _wrap_PyPolygonShape_GetOriginalPoints
, METH_VARARGS
| METH_KEYWORDS
},
27128 { (char *)"PyPolygonShape_GetOriginalWidth", (PyCFunction
) _wrap_PyPolygonShape_GetOriginalWidth
, METH_VARARGS
| METH_KEYWORDS
},
27129 { (char *)"PyPolygonShape_GetOriginalHeight", (PyCFunction
) _wrap_PyPolygonShape_GetOriginalHeight
, METH_VARARGS
| METH_KEYWORDS
},
27130 { (char *)"PyPolygonShape_SetOriginalWidth", (PyCFunction
) _wrap_PyPolygonShape_SetOriginalWidth
, METH_VARARGS
| METH_KEYWORDS
},
27131 { (char *)"PyPolygonShape_SetOriginalHeight", (PyCFunction
) _wrap_PyPolygonShape_SetOriginalHeight
, METH_VARARGS
| METH_KEYWORDS
},
27132 { (char *)"PyPolygonShape_UpdateOriginalPoints", (PyCFunction
) _wrap_PyPolygonShape_UpdateOriginalPoints
, METH_VARARGS
| METH_KEYWORDS
},
27133 { (char *)"PyPolygonShape_base_OnDraw", (PyCFunction
) _wrap_PyPolygonShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
27134 { (char *)"PyPolygonShape_base_OnDrawContents", (PyCFunction
) _wrap_PyPolygonShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
27135 { (char *)"PyPolygonShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyPolygonShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
27136 { (char *)"PyPolygonShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyPolygonShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
27137 { (char *)"PyPolygonShape_base_OnErase", (PyCFunction
) _wrap_PyPolygonShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
27138 { (char *)"PyPolygonShape_base_OnEraseContents", (PyCFunction
) _wrap_PyPolygonShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
27139 { (char *)"PyPolygonShape_base_OnHighlight", (PyCFunction
) _wrap_PyPolygonShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
27140 { (char *)"PyPolygonShape_base_OnLeftClick", (PyCFunction
) _wrap_PyPolygonShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
27141 { (char *)"PyPolygonShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyPolygonShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
27142 { (char *)"PyPolygonShape_base_OnRightClick", (PyCFunction
) _wrap_PyPolygonShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
27143 { (char *)"PyPolygonShape_base_OnSize", (PyCFunction
) _wrap_PyPolygonShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
27144 { (char *)"PyPolygonShape_base_OnMovePre", (PyCFunction
) _wrap_PyPolygonShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
27145 { (char *)"PyPolygonShape_base_OnMovePost", (PyCFunction
) _wrap_PyPolygonShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
27146 { (char *)"PyPolygonShape_base_OnDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27147 { (char *)"PyPolygonShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27148 { (char *)"PyPolygonShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27149 { (char *)"PyPolygonShape_base_OnDragRight", (PyCFunction
) _wrap_PyPolygonShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
27150 { (char *)"PyPolygonShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyPolygonShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
27151 { (char *)"PyPolygonShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyPolygonShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
27152 { (char *)"PyPolygonShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyPolygonShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
27153 { (char *)"PyPolygonShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyPolygonShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
27154 { (char *)"PyPolygonShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyPolygonShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
27155 { (char *)"PyPolygonShape_base_OnMoveLink", (PyCFunction
) _wrap_PyPolygonShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
27156 { (char *)"PyPolygonShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27157 { (char *)"PyPolygonShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27158 { (char *)"PyPolygonShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27159 { (char *)"PyPolygonShape_base_OnBeginSize", (PyCFunction
) _wrap_PyPolygonShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
27160 { (char *)"PyPolygonShape_base_OnEndSize", (PyCFunction
) _wrap_PyPolygonShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
27161 { (char *)"PyPolygonShape_swigregister", PyPolygonShape_swigregister
, METH_VARARGS
},
27162 { (char *)"new_PyTextShape", (PyCFunction
) _wrap_new_PyTextShape
, METH_VARARGS
| METH_KEYWORDS
},
27163 { (char *)"PyTextShape__setCallbackInfo", (PyCFunction
) _wrap_PyTextShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27164 { (char *)"PyTextShape_base_OnDelete", (PyCFunction
) _wrap_PyTextShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
27165 { (char *)"PyTextShape_base_OnDraw", (PyCFunction
) _wrap_PyTextShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
27166 { (char *)"PyTextShape_base_OnDrawContents", (PyCFunction
) _wrap_PyTextShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
27167 { (char *)"PyTextShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyTextShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
27168 { (char *)"PyTextShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyTextShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
27169 { (char *)"PyTextShape_base_OnErase", (PyCFunction
) _wrap_PyTextShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
27170 { (char *)"PyTextShape_base_OnEraseContents", (PyCFunction
) _wrap_PyTextShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
27171 { (char *)"PyTextShape_base_OnHighlight", (PyCFunction
) _wrap_PyTextShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
27172 { (char *)"PyTextShape_base_OnLeftClick", (PyCFunction
) _wrap_PyTextShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
27173 { (char *)"PyTextShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyTextShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
27174 { (char *)"PyTextShape_base_OnRightClick", (PyCFunction
) _wrap_PyTextShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
27175 { (char *)"PyTextShape_base_OnSize", (PyCFunction
) _wrap_PyTextShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
27176 { (char *)"PyTextShape_base_OnMovePre", (PyCFunction
) _wrap_PyTextShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
27177 { (char *)"PyTextShape_base_OnMovePost", (PyCFunction
) _wrap_PyTextShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
27178 { (char *)"PyTextShape_base_OnDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27179 { (char *)"PyTextShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27180 { (char *)"PyTextShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27181 { (char *)"PyTextShape_base_OnDragRight", (PyCFunction
) _wrap_PyTextShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
27182 { (char *)"PyTextShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyTextShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
27183 { (char *)"PyTextShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyTextShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
27184 { (char *)"PyTextShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyTextShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
27185 { (char *)"PyTextShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyTextShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
27186 { (char *)"PyTextShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyTextShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
27187 { (char *)"PyTextShape_base_OnMoveLink", (PyCFunction
) _wrap_PyTextShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
27188 { (char *)"PyTextShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27189 { (char *)"PyTextShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27190 { (char *)"PyTextShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27191 { (char *)"PyTextShape_base_OnBeginSize", (PyCFunction
) _wrap_PyTextShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
27192 { (char *)"PyTextShape_base_OnEndSize", (PyCFunction
) _wrap_PyTextShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
27193 { (char *)"PyTextShape_swigregister", PyTextShape_swigregister
, METH_VARARGS
},
27194 { (char *)"new_Diagram", (PyCFunction
) _wrap_new_Diagram
, METH_VARARGS
| METH_KEYWORDS
},
27195 { (char *)"Diagram_AddShape", (PyCFunction
) _wrap_Diagram_AddShape
, METH_VARARGS
| METH_KEYWORDS
},
27196 { (char *)"Diagram_Clear", (PyCFunction
) _wrap_Diagram_Clear
, METH_VARARGS
| METH_KEYWORDS
},
27197 { (char *)"Diagram_DeleteAllShapes", (PyCFunction
) _wrap_Diagram_DeleteAllShapes
, METH_VARARGS
| METH_KEYWORDS
},
27198 { (char *)"Diagram_DrawOutline", (PyCFunction
) _wrap_Diagram_DrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
27199 { (char *)"Diagram_FindShape", (PyCFunction
) _wrap_Diagram_FindShape
, METH_VARARGS
| METH_KEYWORDS
},
27200 { (char *)"Diagram_GetCanvas", (PyCFunction
) _wrap_Diagram_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
27201 { (char *)"Diagram_GetCount", (PyCFunction
) _wrap_Diagram_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
27202 { (char *)"Diagram_GetGridSpacing", (PyCFunction
) _wrap_Diagram_GetGridSpacing
, METH_VARARGS
| METH_KEYWORDS
},
27203 { (char *)"Diagram_GetMouseTolerance", (PyCFunction
) _wrap_Diagram_GetMouseTolerance
, METH_VARARGS
| METH_KEYWORDS
},
27204 { (char *)"Diagram_GetShapeList", (PyCFunction
) _wrap_Diagram_GetShapeList
, METH_VARARGS
| METH_KEYWORDS
},
27205 { (char *)"Diagram_GetQuickEditMode", (PyCFunction
) _wrap_Diagram_GetQuickEditMode
, METH_VARARGS
| METH_KEYWORDS
},
27206 { (char *)"Diagram_GetSnapToGrid", (PyCFunction
) _wrap_Diagram_GetSnapToGrid
, METH_VARARGS
| METH_KEYWORDS
},
27207 { (char *)"Diagram_InsertShape", (PyCFunction
) _wrap_Diagram_InsertShape
, METH_VARARGS
| METH_KEYWORDS
},
27208 { (char *)"Diagram_RecentreAll", (PyCFunction
) _wrap_Diagram_RecentreAll
, METH_VARARGS
| METH_KEYWORDS
},
27209 { (char *)"Diagram_Redraw", (PyCFunction
) _wrap_Diagram_Redraw
, METH_VARARGS
| METH_KEYWORDS
},
27210 { (char *)"Diagram_RemoveAllShapes", (PyCFunction
) _wrap_Diagram_RemoveAllShapes
, METH_VARARGS
| METH_KEYWORDS
},
27211 { (char *)"Diagram_RemoveShape", (PyCFunction
) _wrap_Diagram_RemoveShape
, METH_VARARGS
| METH_KEYWORDS
},
27212 { (char *)"Diagram_SetCanvas", (PyCFunction
) _wrap_Diagram_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
27213 { (char *)"Diagram_SetGridSpacing", (PyCFunction
) _wrap_Diagram_SetGridSpacing
, METH_VARARGS
| METH_KEYWORDS
},
27214 { (char *)"Diagram_SetMouseTolerance", (PyCFunction
) _wrap_Diagram_SetMouseTolerance
, METH_VARARGS
| METH_KEYWORDS
},
27215 { (char *)"Diagram_SetQuickEditMode", (PyCFunction
) _wrap_Diagram_SetQuickEditMode
, METH_VARARGS
| METH_KEYWORDS
},
27216 { (char *)"Diagram_SetSnapToGrid", (PyCFunction
) _wrap_Diagram_SetSnapToGrid
, METH_VARARGS
| METH_KEYWORDS
},
27217 { (char *)"Diagram_ShowAll", (PyCFunction
) _wrap_Diagram_ShowAll
, METH_VARARGS
| METH_KEYWORDS
},
27218 { (char *)"Diagram_Snap", (PyCFunction
) _wrap_Diagram_Snap
, METH_VARARGS
| METH_KEYWORDS
},
27219 { (char *)"Diagram_swigregister", Diagram_swigregister
, METH_VARARGS
},
27220 { (char *)"new_PyShapeCanvas", (PyCFunction
) _wrap_new_PyShapeCanvas
, METH_VARARGS
| METH_KEYWORDS
},
27221 { (char *)"PyShapeCanvas__setCallbackInfo", (PyCFunction
) _wrap_PyShapeCanvas__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27222 { (char *)"PyShapeCanvas_AddShape", (PyCFunction
) _wrap_PyShapeCanvas_AddShape
, METH_VARARGS
| METH_KEYWORDS
},
27223 { (char *)"PyShapeCanvas_FindShape", (PyCFunction
) _wrap_PyShapeCanvas_FindShape
, METH_VARARGS
| METH_KEYWORDS
},
27224 { (char *)"PyShapeCanvas_FindFirstSensitiveShape", (PyCFunction
) _wrap_PyShapeCanvas_FindFirstSensitiveShape
, METH_VARARGS
| METH_KEYWORDS
},
27225 { (char *)"PyShapeCanvas_GetDiagram", (PyCFunction
) _wrap_PyShapeCanvas_GetDiagram
, METH_VARARGS
| METH_KEYWORDS
},
27226 { (char *)"PyShapeCanvas_GetQuickEditMode", (PyCFunction
) _wrap_PyShapeCanvas_GetQuickEditMode
, METH_VARARGS
| METH_KEYWORDS
},
27227 { (char *)"PyShapeCanvas_InsertShape", (PyCFunction
) _wrap_PyShapeCanvas_InsertShape
, METH_VARARGS
| METH_KEYWORDS
},
27228 { (char *)"PyShapeCanvas_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyShapeCanvas_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27229 { (char *)"PyShapeCanvas_base_OnBeginDragRight", (PyCFunction
) _wrap_PyShapeCanvas_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
27230 { (char *)"PyShapeCanvas_base_OnEndDragLeft", (PyCFunction
) _wrap_PyShapeCanvas_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27231 { (char *)"PyShapeCanvas_base_OnEndDragRight", (PyCFunction
) _wrap_PyShapeCanvas_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
27232 { (char *)"PyShapeCanvas_base_OnDragLeft", (PyCFunction
) _wrap_PyShapeCanvas_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27233 { (char *)"PyShapeCanvas_base_OnDragRight", (PyCFunction
) _wrap_PyShapeCanvas_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
27234 { (char *)"PyShapeCanvas_base_OnLeftClick", (PyCFunction
) _wrap_PyShapeCanvas_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
27235 { (char *)"PyShapeCanvas_base_OnRightClick", (PyCFunction
) _wrap_PyShapeCanvas_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
27236 { (char *)"PyShapeCanvas_Redraw", (PyCFunction
) _wrap_PyShapeCanvas_Redraw
, METH_VARARGS
| METH_KEYWORDS
},
27237 { (char *)"PyShapeCanvas_RemoveShape", (PyCFunction
) _wrap_PyShapeCanvas_RemoveShape
, METH_VARARGS
| METH_KEYWORDS
},
27238 { (char *)"PyShapeCanvas_SetDiagram", (PyCFunction
) _wrap_PyShapeCanvas_SetDiagram
, METH_VARARGS
| METH_KEYWORDS
},
27239 { (char *)"PyShapeCanvas_Snap", (PyCFunction
) _wrap_PyShapeCanvas_Snap
, METH_VARARGS
| METH_KEYWORDS
},
27240 { (char *)"PyShapeCanvas_swigregister", PyShapeCanvas_swigregister
, METH_VARARGS
},
27241 { (char *)"OGLInitialize", (PyCFunction
) _wrap_OGLInitialize
, METH_VARARGS
| METH_KEYWORDS
},
27242 { (char *)"OGLCleanUp", (PyCFunction
) _wrap_OGLCleanUp
, METH_VARARGS
| METH_KEYWORDS
},
27247 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
27249 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
27250 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
27252 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
27253 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
27255 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
27256 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
27258 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
27259 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
27261 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
27262 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
27264 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
27265 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
27267 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
27268 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
27270 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
27271 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
27273 static void *_p_wxPyShapeCanvasTo_p_wxPanel(void *x
) {
27274 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
27276 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
27277 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
27279 static void *_p_wxPyShapeCanvasTo_p_wxScrolledWindow(void *x
) {
27280 return (void *)((wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
27282 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
27283 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
27285 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
27286 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
27288 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
27289 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
27291 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
27292 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
27294 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
27295 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
27297 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
27298 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
27300 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
27301 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
27303 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
27304 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
27306 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
27307 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
27309 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
27310 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
27312 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
27313 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
27315 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
27316 return (void *)((wxWindow
*) ((wxPanel
*) x
));
27318 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
27319 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
27321 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
27322 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
27324 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
27325 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
27327 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
27328 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
27330 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
27331 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
27333 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
27334 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
27336 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
27337 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
27339 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
27340 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
27342 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
27343 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
27345 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
27346 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
27348 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
27349 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
27351 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
27352 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
27354 static void *_p_wxControlTo_p_wxWindow(void *x
) {
27355 return (void *)((wxWindow
*) ((wxControl
*) x
));
27357 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
27358 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
27360 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
27361 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
27363 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
27364 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
27366 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
27367 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
27369 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
27370 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
27372 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
27373 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
27375 static void *_p_wxPyShapeCanvasTo_p_wxWindow(void *x
) {
27376 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
27378 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
27379 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
27381 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
27382 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
27384 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
27385 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
27387 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
27388 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
27390 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
27391 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
27393 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
27394 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
27396 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
27397 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
27399 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
27400 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
27402 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
27403 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
27405 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
27406 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
27408 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
27409 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
27411 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
27412 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
27414 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
27415 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
27417 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
27418 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
27420 static void *_p_wxPyControlPointTo_p_wxObject(void *x
) {
27421 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyControlPoint
*) x
));
27423 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
27424 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
27426 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
27427 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
27429 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
27430 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
27432 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
27433 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
27435 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
27436 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
27438 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
27439 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
27441 static void *_p_wxOGLConstraintTo_p_wxObject(void *x
) {
27442 return (void *)((wxObject
*) ((wxOGLConstraint
*) x
));
27444 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
27445 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
27447 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
27448 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
27450 static void *_p_wxSizerTo_p_wxObject(void *x
) {
27451 return (void *)((wxObject
*) ((wxSizer
*) x
));
27453 static void *_p_wxPyDrawnShapeTo_p_wxObject(void *x
) {
27454 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyDrawnShape
*) x
));
27456 static void *_p_wxPyDivisionShapeTo_p_wxObject(void *x
) {
27457 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*)(wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
27459 static void *_p_wxPyPolygonShapeTo_p_wxObject(void *x
) {
27460 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*) ((wxPyPolygonShape
*) x
));
27462 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
27463 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
27465 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
27466 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
27468 static void *_p_wxArrowHeadTo_p_wxObject(void *x
) {
27469 return (void *)((wxObject
*) ((wxArrowHead
*) x
));
27471 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
27472 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
27474 static void *_p_wxEventTo_p_wxObject(void *x
) {
27475 return (void *)((wxObject
*) ((wxEvent
*) x
));
27477 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
27478 return (void *)((wxObject
*) ((wxFontData
*) x
));
27480 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
27481 return (void *)((wxObject
*) ((wxPrintData
*) x
));
27483 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
27484 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
27486 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
27487 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
27489 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
27490 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
27492 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
27493 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
27495 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
27496 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
27498 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
27499 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
27501 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
27502 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
27504 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
27505 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
27507 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
27508 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
27510 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
27511 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
27513 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
27514 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
27516 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
27517 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
27519 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
27520 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
27522 static void *_p_wxPyShapeCanvasTo_p_wxObject(void *x
) {
27523 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
27525 static void *_p_wxControlTo_p_wxObject(void *x
) {
27526 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
27528 static void *_p_wxPyEllipseShapeTo_p_wxObject(void *x
) {
27529 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*) ((wxPyEllipseShape
*) x
));
27531 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
27532 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
27534 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
27535 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
27537 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
27538 return (void *)((wxObject
*) ((wxFSFile
*) x
));
27540 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
27541 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
27543 static void *_p_wxPyBitmapShapeTo_p_wxObject(void *x
) {
27544 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyBitmapShape
*) x
));
27546 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
27547 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
27549 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
27550 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
27552 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
27553 return (void *)((wxObject
*) ((wxColourData
*) x
));
27555 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
27556 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
27558 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
27559 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
27561 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
27562 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
27564 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
27565 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
27567 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
27568 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
27570 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
27571 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
27573 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
27574 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
27576 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
27577 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
27579 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
27580 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
27582 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
27583 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
27585 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
27586 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
27588 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
27589 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
27591 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
27592 return (void *)((wxObject
*) ((wxPrinter
*) x
));
27594 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
27595 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
27597 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
27598 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
27600 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
27601 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
27603 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
27604 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
27606 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
27607 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
27609 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
27610 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
27612 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
27613 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
27615 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
27616 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
27618 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
27619 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
27621 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
27622 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
27624 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
27625 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
27627 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
27628 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
27630 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
27631 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
27633 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
27634 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
27636 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
27637 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
27639 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
27640 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
27642 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
27643 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
27645 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
27646 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
27648 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
27649 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
27651 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
27652 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
27654 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
27655 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
27657 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
27658 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
27660 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
27661 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
27663 static void *_p_wxPyShapeEvtHandlerTo_p_wxObject(void *x
) {
27664 return (void *)((wxObject
*) ((wxPyShapeEvtHandler
*) x
));
27666 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
27667 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
27669 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
27670 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
27672 static void *_p_wxPyTextShapeTo_p_wxObject(void *x
) {
27673 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyTextShape
*) x
));
27675 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
27676 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
27678 static void *_p_wxPyDividedShapeTo_p_wxObject(void *x
) {
27679 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyDividedShape
*) x
));
27681 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
27682 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
27684 static void *_p_wxImageTo_p_wxObject(void *x
) {
27685 return (void *)((wxObject
*) ((wxImage
*) x
));
27687 static void *_p_wxFrameTo_p_wxObject(void *x
) {
27688 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
27690 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
27691 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
27693 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
27694 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
27696 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
27697 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
27699 static void *_p_wxDiagramTo_p_wxObject(void *x
) {
27700 return (void *)((wxObject
*) ((wxDiagram
*) x
));
27702 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
27703 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
27705 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
27706 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
27708 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
27709 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
27711 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
27712 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
27714 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
27715 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
27717 static void *_p_wxWindowTo_p_wxObject(void *x
) {
27718 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
27720 static void *_p_wxMenuTo_p_wxObject(void *x
) {
27721 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
27723 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
27724 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
27726 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
27727 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
27729 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
27730 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
27732 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
27733 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
27735 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
27736 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
27738 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
27739 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
27741 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
27742 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
27744 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
27745 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
27747 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
27748 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
27750 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
27751 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
27753 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
27754 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
27756 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
27757 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
27759 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
27760 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
27762 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
27763 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
27765 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
27766 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
27768 static void *_p_wxPanelTo_p_wxObject(void *x
) {
27769 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
27771 static void *_p_wxDialogTo_p_wxObject(void *x
) {
27772 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
27774 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
27775 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
27777 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
27778 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
27780 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
27781 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
27783 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
27784 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
27786 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
27787 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
27789 static void *_p_wxAttachmentPointTo_p_wxObject(void *x
) {
27790 return (void *)((wxObject
*) ((wxAttachmentPoint
*) x
));
27792 static void *_p_wxPyShapeTo_p_wxObject(void *x
) {
27793 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*) ((wxPyShape
*) x
));
27795 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
27796 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
27798 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
27799 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
27801 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
27802 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
27804 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
27805 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
27807 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
27808 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
27810 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
27811 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
27813 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
27814 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
27816 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
27817 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
27819 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
27820 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
27822 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
27823 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
27825 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
27826 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
27828 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
27829 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
27831 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
27832 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
27834 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
27835 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
27837 static void *_p_wxPyRectangleShapeTo_p_wxObject(void *x
) {
27838 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*) ((wxPyRectangleShape
*) x
));
27840 static void *_p_wxPyCompositeShapeTo_p_wxObject(void *x
) {
27841 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyCompositeShape
*) x
));
27843 static void *_p_wxPyCircleShapeTo_p_wxObject(void *x
) {
27844 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyEllipseShape
*) ((wxPyCircleShape
*) x
));
27846 static void *_p_wxPyLineShapeTo_p_wxObject(void *x
) {
27847 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*) ((wxPyLineShape
*) x
));
27849 static void *_p_wxPseudoMetaFileTo_p_wxObject(void *x
) {
27850 return (void *)((wxObject
*) ((wxPseudoMetaFile
*) x
));
27852 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
27853 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
27855 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
27856 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
27858 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
27859 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
27861 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
27862 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
27864 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
27865 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
27867 static void *_p_wxShapeRegionTo_p_wxObject(void *x
) {
27868 return (void *)((wxObject
*) ((wxShapeRegion
*) x
));
27870 static void *_p_wxPyRectangleShapeTo_p_wxPyShapeEvtHandler(void *x
) {
27871 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*) ((wxPyRectangleShape
*) x
));
27873 static void *_p_wxPyBitmapShapeTo_p_wxPyShapeEvtHandler(void *x
) {
27874 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyBitmapShape
*) x
));
27876 static void *_p_wxPyCompositeShapeTo_p_wxPyShapeEvtHandler(void *x
) {
27877 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyCompositeShape
*) x
));
27879 static void *_p_wxPyCircleShapeTo_p_wxPyShapeEvtHandler(void *x
) {
27880 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyEllipseShape
*) ((wxPyCircleShape
*) x
));
27882 static void *_p_wxPyLineShapeTo_p_wxPyShapeEvtHandler(void *x
) {
27883 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*) ((wxPyLineShape
*) x
));
27885 static void *_p_wxPyTextShapeTo_p_wxPyShapeEvtHandler(void *x
) {
27886 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyTextShape
*) x
));
27888 static void *_p_wxPyControlPointTo_p_wxPyShapeEvtHandler(void *x
) {
27889 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyControlPoint
*) x
));
27891 static void *_p_wxPyDrawnShapeTo_p_wxPyShapeEvtHandler(void *x
) {
27892 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyDrawnShape
*) x
));
27894 static void *_p_wxPyDivisionShapeTo_p_wxPyShapeEvtHandler(void *x
) {
27895 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*)(wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
27897 static void *_p_wxPyPolygonShapeTo_p_wxPyShapeEvtHandler(void *x
) {
27898 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*) ((wxPyPolygonShape
*) x
));
27900 static void *_p_wxPyDividedShapeTo_p_wxPyShapeEvtHandler(void *x
) {
27901 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyDividedShape
*) x
));
27903 static void *_p_wxPyShapeTo_p_wxPyShapeEvtHandler(void *x
) {
27904 return (void *)((wxPyShapeEvtHandler
*) ((wxPyShape
*) x
));
27906 static void *_p_wxPyEllipseShapeTo_p_wxPyShapeEvtHandler(void *x
) {
27907 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*) ((wxPyEllipseShape
*) x
));
27909 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
27910 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
27912 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
27913 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
27915 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
27916 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
27918 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
27919 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
27921 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
27922 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
27924 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
27925 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
27927 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
27928 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
27930 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
27931 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
27933 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
27934 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
27936 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
27937 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
27939 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
27940 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
27942 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
27943 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
27945 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
27946 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
27948 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
27949 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
27951 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
27952 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
27954 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
27955 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
27957 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
27958 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
27960 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
27961 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
27963 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
27964 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
27966 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
27967 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
27969 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
27970 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
27972 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
27973 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
27975 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
27976 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
27978 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
27979 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
27981 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
27982 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
27984 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
27985 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
27987 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
27988 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
27990 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
27991 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
27993 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
27994 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
27996 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
27997 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
27999 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
28000 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28002 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
28003 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
28005 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
28006 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
28008 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
28009 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
28011 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
28012 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
28014 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
28015 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
28017 static void *_p_wxPyShapeCanvasTo_p_wxEvtHandler(void *x
) {
28018 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
28020 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
28021 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28023 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
28024 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
28026 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
28027 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
28029 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
28030 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
28032 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
28033 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
28035 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
28036 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
28038 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
28039 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
28041 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
28042 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
28044 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
28045 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
28047 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
28048 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
28050 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
28051 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
28053 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
28054 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
28056 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
28057 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
28059 static void *_p_wxPyCircleShapeTo_p_wxPyEllipseShape(void *x
) {
28060 return (void *)((wxPyEllipseShape
*) ((wxPyCircleShape
*) x
));
28062 static void *_p_wxPyRectangleShapeTo_p_wxPyShape(void *x
) {
28063 return (void *)((wxPyShape
*) ((wxPyRectangleShape
*) x
));
28065 static void *_p_wxPyBitmapShapeTo_p_wxPyShape(void *x
) {
28066 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyBitmapShape
*) x
));
28068 static void *_p_wxPyCompositeShapeTo_p_wxPyShape(void *x
) {
28069 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyCompositeShape
*) x
));
28071 static void *_p_wxPyCircleShapeTo_p_wxPyShape(void *x
) {
28072 return (void *)((wxPyShape
*) (wxPyEllipseShape
*) ((wxPyCircleShape
*) x
));
28074 static void *_p_wxPyLineShapeTo_p_wxPyShape(void *x
) {
28075 return (void *)((wxPyShape
*) ((wxPyLineShape
*) x
));
28077 static void *_p_wxPyTextShapeTo_p_wxPyShape(void *x
) {
28078 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyTextShape
*) x
));
28080 static void *_p_wxPyControlPointTo_p_wxPyShape(void *x
) {
28081 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyControlPoint
*) x
));
28083 static void *_p_wxPyDrawnShapeTo_p_wxPyShape(void *x
) {
28084 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyDrawnShape
*) x
));
28086 static void *_p_wxPyDivisionShapeTo_p_wxPyShape(void *x
) {
28087 return (void *)((wxPyShape
*) (wxPyRectangleShape
*)(wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
28089 static void *_p_wxPyPolygonShapeTo_p_wxPyShape(void *x
) {
28090 return (void *)((wxPyShape
*) ((wxPyPolygonShape
*) x
));
28092 static void *_p_wxPyDividedShapeTo_p_wxPyShape(void *x
) {
28093 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyDividedShape
*) x
));
28095 static void *_p_wxPyEllipseShapeTo_p_wxPyShape(void *x
) {
28096 return (void *)((wxPyShape
*) ((wxPyEllipseShape
*) x
));
28098 static void *_p_wxPyBitmapShapeTo_p_wxPyRectangleShape(void *x
) {
28099 return (void *)((wxPyRectangleShape
*) ((wxPyBitmapShape
*) x
));
28101 static void *_p_wxPyCompositeShapeTo_p_wxPyRectangleShape(void *x
) {
28102 return (void *)((wxPyRectangleShape
*) ((wxPyCompositeShape
*) x
));
28104 static void *_p_wxPyTextShapeTo_p_wxPyRectangleShape(void *x
) {
28105 return (void *)((wxPyRectangleShape
*) ((wxPyTextShape
*) x
));
28107 static void *_p_wxPyControlPointTo_p_wxPyRectangleShape(void *x
) {
28108 return (void *)((wxPyRectangleShape
*) ((wxPyControlPoint
*) x
));
28110 static void *_p_wxPyDrawnShapeTo_p_wxPyRectangleShape(void *x
) {
28111 return (void *)((wxPyRectangleShape
*) ((wxPyDrawnShape
*) x
));
28113 static void *_p_wxPyDivisionShapeTo_p_wxPyRectangleShape(void *x
) {
28114 return (void *)((wxPyRectangleShape
*) (wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
28116 static void *_p_wxPyDividedShapeTo_p_wxPyRectangleShape(void *x
) {
28117 return (void *)((wxPyRectangleShape
*) ((wxPyDividedShape
*) x
));
28119 static void *_p_wxPyDivisionShapeTo_p_wxPyCompositeShape(void *x
) {
28120 return (void *)((wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
28122 static swig_type_info _swigt__p_wxOGLConstraint
[] = {{"_p_wxOGLConstraint", 0, "wxOGLConstraint *", 0},{"_p_wxOGLConstraint"},{0}};
28123 static swig_type_info _swigt__p_wxBrush
[] = {{"_p_wxBrush", 0, "wxBrush *", 0},{"_p_wxBrush"},{0}};
28124 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
28125 static swig_type_info _swigt__p_wxShapeRegion
[] = {{"_p_wxShapeRegion", 0, "wxShapeRegion *", 0},{"_p_wxShapeRegion"},{0}};
28126 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
28127 static swig_type_info _swigt__p_wxRealPoint
[] = {{"_p_wxRealPoint", 0, "wxRealPoint *", 0},{"_p_wxRealPoint"},{0}};
28128 static swig_type_info _swigt__p_wxPyControlPoint
[] = {{"_p_wxPyControlPoint", 0, "wxPyControlPoint *", 0},{"_p_wxPyControlPoint"},{0}};
28129 static swig_type_info _swigt__p_wxArrowHead
[] = {{"_p_wxArrowHead", 0, "wxArrowHead *", 0},{"_p_wxArrowHead"},{0}};
28130 static swig_type_info _swigt__p_wxStringList
[] = {{"_p_wxStringList", 0, "wxStringList *", 0},{"_p_wxStringList"},{0}};
28131 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}};
28132 static swig_type_info _swigt__p_bool
[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
28133 static swig_type_info _swigt__p_wxList
[] = {{"_p_wxList", 0, "wxList *", 0},{"_p_wxList"},{0}};
28134 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
28135 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}};
28136 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}};
28137 static swig_type_info _swigt__p_double
[] = {{"_p_double", 0, "double *", 0},{"_p_double"},{0}};
28138 static swig_type_info _swigt__p_wxPyDivisionShape
[] = {{"_p_wxPyDivisionShape", 0, "wxPyDivisionShape *", 0},{"_p_wxPyDivisionShape"},{0}};
28139 static swig_type_info _swigt__p_wxPyDrawnShape
[] = {{"_p_wxPyDrawnShape", 0, "wxPyDrawnShape *", 0},{"_p_wxPyDrawnShape"},{0}};
28140 static swig_type_info _swigt__p_wxPyPolygonShape
[] = {{"_p_wxPyPolygonShape", 0, "wxPyPolygonShape *", 0},{"_p_wxPyPolygonShape"},{0}};
28141 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
28142 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}};
28143 static swig_type_info _swigt__p_wxPyBitmapShape
[] = {{"_p_wxPyBitmapShape", 0, "wxPyBitmapShape *", 0},{"_p_wxPyBitmapShape"},{0}};
28144 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
28145 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}};
28146 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}};
28147 static swig_type_info _swigt__p_wxPyEllipseShape
[] = {{"_p_wxPyEllipseShape", 0, "wxPyEllipseShape *", 0},{"_p_wxPyCircleShape", _p_wxPyCircleShapeTo_p_wxPyEllipseShape
},{"_p_wxPyEllipseShape"},{0}};
28148 static swig_type_info _swigt__p_wxPyShapeCanvas
[] = {{"_p_wxPyShapeCanvas", 0, "wxPyShapeCanvas *", 0},{"_p_wxPyShapeCanvas"},{0}};
28149 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
28150 static swig_type_info _swigt__p_wxDiagram
[] = {{"_p_wxDiagram", 0, "wxDiagram *", 0},{"_p_wxDiagram"},{0}};
28151 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}};
28152 static swig_type_info _swigt__p_wxAttachmentPoint
[] = {{"_p_wxAttachmentPoint", 0, "wxAttachmentPoint *", 0},{"_p_wxAttachmentPoint"},{0}};
28153 static swig_type_info _swigt__p_wxClassInfo
[] = {{"_p_wxClassInfo", 0, "wxClassInfo *", 0},{"_p_wxClassInfo"},{0}};
28154 static swig_type_info _swigt__p_wxPyLineShape
[] = {{"_p_wxPyLineShape", 0, "wxPyLineShape *", 0},{"_p_wxPyLineShape"},{0}};
28155 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}};
28156 static swig_type_info _swigt__p_wxPyCompositeShape
[] = {{"_p_wxPyCompositeShape", 0, "wxPyCompositeShape *", 0},{"_p_wxPyCompositeShape"},{"_p_wxPyDivisionShape", _p_wxPyDivisionShapeTo_p_wxPyCompositeShape
},{0}};
28157 static swig_type_info _swigt__p_wxPyCircleShape
[] = {{"_p_wxPyCircleShape", 0, "wxPyCircleShape *", 0},{"_p_wxPyCircleShape"},{0}};
28158 static swig_type_info _swigt__p_wxPen
[] = {{"_p_wxPen", 0, "wxPen *", 0},{"_p_wxPen"},{0}};
28159 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
28160 static swig_type_info _swigt__p_wxPseudoMetaFile
[] = {{"_p_wxPseudoMetaFile", 0, "wxPseudoMetaFile *", 0},{"_p_wxPseudoMetaFile"},{0}};
28161 static swig_type_info _swigt__p_wxPyTextShape
[] = {{"_p_wxPyTextShape", 0, "wxPyTextShape *", 0},{"_p_wxPyTextShape"},{0}};
28162 static swig_type_info _swigt__p_wxPyDividedShape
[] = {{"_p_wxPyDividedShape", 0, "wxPyDividedShape *", 0},{"_p_wxPyDividedShape"},{0}};
28164 static swig_type_info
*swig_types_initial
[] = {
28165 _swigt__p_wxOGLConstraint
,
28167 _swigt__p_wxColour
,
28168 _swigt__p_wxShapeRegion
,
28170 _swigt__p_wxRealPoint
,
28171 _swigt__p_wxPyControlPoint
,
28172 _swigt__p_wxArrowHead
,
28173 _swigt__p_wxStringList
,
28178 _swigt__p_wxScrolledWindow
,
28179 _swigt__p_wxWindow
,
28181 _swigt__p_wxPyDivisionShape
,
28182 _swigt__p_wxPyDrawnShape
,
28183 _swigt__p_wxPyPolygonShape
,
28184 _swigt__p_wxBitmap
,
28185 _swigt__p_wxObject
,
28186 _swigt__p_wxPyBitmapShape
,
28187 _swigt__p_wxString
,
28188 _swigt__p_wxPyShapeEvtHandler
,
28189 _swigt__p_wxEvtHandler
,
28190 _swigt__p_wxPyEllipseShape
,
28191 _swigt__p_wxPyShapeCanvas
,
28193 _swigt__p_wxDiagram
,
28194 _swigt__p_wxPyShape
,
28195 _swigt__p_wxAttachmentPoint
,
28196 _swigt__p_wxClassInfo
,
28197 _swigt__p_wxPyLineShape
,
28198 _swigt__p_wxPyRectangleShape
,
28199 _swigt__p_wxPyCompositeShape
,
28200 _swigt__p_wxPyCircleShape
,
28203 _swigt__p_wxPseudoMetaFile
,
28204 _swigt__p_wxPyTextShape
,
28205 _swigt__p_wxPyDividedShape
,
28210 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
28212 static swig_const_info swig_const_table
[] = {
28213 { SWIG_PY_INT
, (char *)"oglMETAFLAGS_OUTLINE", (long) oglMETAFLAGS_OUTLINE
, 0, 0, 0},
28214 { SWIG_PY_INT
, (char *)"oglMETAFLAGS_ATTACHMENTS", (long) oglMETAFLAGS_ATTACHMENTS
, 0, 0, 0},
28215 { SWIG_PY_INT
, (char *)"KEY_SHIFT", (long) KEY_SHIFT
, 0, 0, 0},
28216 { SWIG_PY_INT
, (char *)"KEY_CTRL", (long) KEY_CTRL
, 0, 0, 0},
28217 { SWIG_PY_INT
, (char *)"ARROW_NONE", (long) ARROW_NONE
, 0, 0, 0},
28218 { SWIG_PY_INT
, (char *)"ARROW_END", (long) ARROW_END
, 0, 0, 0},
28219 { SWIG_PY_INT
, (char *)"ARROW_BOTH", (long) ARROW_BOTH
, 0, 0, 0},
28220 { SWIG_PY_INT
, (char *)"ARROW_MIDDLE", (long) ARROW_MIDDLE
, 0, 0, 0},
28221 { SWIG_PY_INT
, (char *)"ARROW_START", (long) ARROW_START
, 0, 0, 0},
28222 { SWIG_PY_INT
, (char *)"ARROW_HOLLOW_CIRCLE", (long) ARROW_HOLLOW_CIRCLE
, 0, 0, 0},
28223 { SWIG_PY_INT
, (char *)"ARROW_FILLED_CIRCLE", (long) ARROW_FILLED_CIRCLE
, 0, 0, 0},
28224 { SWIG_PY_INT
, (char *)"ARROW_ARROW", (long) ARROW_ARROW
, 0, 0, 0},
28225 { SWIG_PY_INT
, (char *)"ARROW_SINGLE_OBLIQUE", (long) ARROW_SINGLE_OBLIQUE
, 0, 0, 0},
28226 { SWIG_PY_INT
, (char *)"ARROW_DOUBLE_OBLIQUE", (long) ARROW_DOUBLE_OBLIQUE
, 0, 0, 0},
28227 { SWIG_PY_INT
, (char *)"ARROW_METAFILE", (long) ARROW_METAFILE
, 0, 0, 0},
28228 { SWIG_PY_INT
, (char *)"ARROW_POSITION_END", (long) ARROW_POSITION_END
, 0, 0, 0},
28229 { SWIG_PY_INT
, (char *)"ARROW_POSITION_START", (long) ARROW_POSITION_START
, 0, 0, 0},
28230 { SWIG_PY_INT
, (char *)"CONTROL_POINT_VERTICAL", (long) CONTROL_POINT_VERTICAL
, 0, 0, 0},
28231 { SWIG_PY_INT
, (char *)"CONTROL_POINT_HORIZONTAL", (long) CONTROL_POINT_HORIZONTAL
, 0, 0, 0},
28232 { SWIG_PY_INT
, (char *)"CONTROL_POINT_DIAGONAL", (long) CONTROL_POINT_DIAGONAL
, 0, 0, 0},
28233 { SWIG_PY_INT
, (char *)"CONTROL_POINT_ENDPOINT_TO", (long) CONTROL_POINT_ENDPOINT_TO
, 0, 0, 0},
28234 { SWIG_PY_INT
, (char *)"CONTROL_POINT_ENDPOINT_FROM", (long) CONTROL_POINT_ENDPOINT_FROM
, 0, 0, 0},
28235 { SWIG_PY_INT
, (char *)"CONTROL_POINT_LINE", (long) CONTROL_POINT_LINE
, 0, 0, 0},
28236 { SWIG_PY_INT
, (char *)"FORMAT_NONE", (long) FORMAT_NONE
, 0, 0, 0},
28237 { SWIG_PY_INT
, (char *)"FORMAT_CENTRE_HORIZ", (long) FORMAT_CENTRE_HORIZ
, 0, 0, 0},
28238 { SWIG_PY_INT
, (char *)"FORMAT_CENTRE_VERT", (long) FORMAT_CENTRE_VERT
, 0, 0, 0},
28239 { SWIG_PY_INT
, (char *)"FORMAT_SIZE_TO_CONTENTS", (long) FORMAT_SIZE_TO_CONTENTS
, 0, 0, 0},
28240 { SWIG_PY_INT
, (char *)"LINE_ALIGNMENT_HORIZ", (long) LINE_ALIGNMENT_HORIZ
, 0, 0, 0},
28241 { SWIG_PY_INT
, (char *)"LINE_ALIGNMENT_VERT", (long) LINE_ALIGNMENT_VERT
, 0, 0, 0},
28242 { SWIG_PY_INT
, (char *)"LINE_ALIGNMENT_TO_NEXT_HANDLE", (long) LINE_ALIGNMENT_TO_NEXT_HANDLE
, 0, 0, 0},
28243 { SWIG_PY_INT
, (char *)"LINE_ALIGNMENT_NONE", (long) LINE_ALIGNMENT_NONE
, 0, 0, 0},
28244 { SWIG_PY_INT
, (char *)"SHADOW_NONE", (long) SHADOW_NONE
, 0, 0, 0},
28245 { SWIG_PY_INT
, (char *)"SHADOW_LEFT", (long) SHADOW_LEFT
, 0, 0, 0},
28246 { SWIG_PY_INT
, (char *)"SHADOW_RIGHT", (long) SHADOW_RIGHT
, 0, 0, 0},
28247 { SWIG_PY_INT
, (char *)"OP_CLICK_LEFT", (long) OP_CLICK_LEFT
, 0, 0, 0},
28248 { SWIG_PY_INT
, (char *)"OP_CLICK_RIGHT", (long) OP_CLICK_RIGHT
, 0, 0, 0},
28249 { SWIG_PY_INT
, (char *)"OP_DRAG_LEFT", (long) OP_DRAG_LEFT
, 0, 0, 0},
28250 { SWIG_PY_INT
, (char *)"OP_DRAG_RIGHT", (long) OP_DRAG_RIGHT
, 0, 0, 0},
28251 { SWIG_PY_INT
, (char *)"OP_ALL", (long) OP_ALL
, 0, 0, 0},
28252 { SWIG_PY_INT
, (char *)"ATTACHMENT_MODE_NONE", (long) ATTACHMENT_MODE_NONE
, 0, 0, 0},
28253 { SWIG_PY_INT
, (char *)"ATTACHMENT_MODE_EDGE", (long) ATTACHMENT_MODE_EDGE
, 0, 0, 0},
28254 { SWIG_PY_INT
, (char *)"ATTACHMENT_MODE_BRANCHING", (long) ATTACHMENT_MODE_BRANCHING
, 0, 0, 0},
28255 { SWIG_PY_INT
, (char *)"BRANCHING_ATTACHMENT_NORMAL", (long) BRANCHING_ATTACHMENT_NORMAL
, 0, 0, 0},
28256 { SWIG_PY_INT
, (char *)"BRANCHING_ATTACHMENT_BLOB", (long) BRANCHING_ATTACHMENT_BLOB
, 0, 0, 0},
28257 { SWIG_PY_INT
, (char *)"gyCONSTRAINT_CENTRED_VERTICALLY", (long) gyCONSTRAINT_CENTRED_VERTICALLY
, 0, 0, 0},
28258 { SWIG_PY_INT
, (char *)"gyCONSTRAINT_CENTRED_HORIZONTALLY", (long) gyCONSTRAINT_CENTRED_HORIZONTALLY
, 0, 0, 0},
28259 { SWIG_PY_INT
, (char *)"gyCONSTRAINT_CENTRED_BOTH", (long) gyCONSTRAINT_CENTRED_BOTH
, 0, 0, 0},
28260 { SWIG_PY_INT
, (char *)"gyCONSTRAINT_LEFT_OF", (long) gyCONSTRAINT_LEFT_OF
, 0, 0, 0},
28261 { SWIG_PY_INT
, (char *)"gyCONSTRAINT_RIGHT_OF", (long) gyCONSTRAINT_RIGHT_OF
, 0, 0, 0},
28262 { SWIG_PY_INT
, (char *)"gyCONSTRAINT_ABOVE", (long) gyCONSTRAINT_ABOVE
, 0, 0, 0},
28263 { SWIG_PY_INT
, (char *)"gyCONSTRAINT_BELOW", (long) gyCONSTRAINT_BELOW
, 0, 0, 0},
28264 { SWIG_PY_INT
, (char *)"gyCONSTRAINT_ALIGNED_TOP", (long) gyCONSTRAINT_ALIGNED_TOP
, 0, 0, 0},
28265 { SWIG_PY_INT
, (char *)"gyCONSTRAINT_ALIGNED_BOTTOM", (long) gyCONSTRAINT_ALIGNED_BOTTOM
, 0, 0, 0},
28266 { SWIG_PY_INT
, (char *)"gyCONSTRAINT_ALIGNED_LEFT", (long) gyCONSTRAINT_ALIGNED_LEFT
, 0, 0, 0},
28267 { SWIG_PY_INT
, (char *)"gyCONSTRAINT_ALIGNED_RIGHT", (long) gyCONSTRAINT_ALIGNED_RIGHT
, 0, 0, 0},
28268 { SWIG_PY_INT
, (char *)"gyCONSTRAINT_MIDALIGNED_TOP", (long) gyCONSTRAINT_MIDALIGNED_TOP
, 0, 0, 0},
28269 { SWIG_PY_INT
, (char *)"gyCONSTRAINT_MIDALIGNED_BOTTOM", (long) gyCONSTRAINT_MIDALIGNED_BOTTOM
, 0, 0, 0},
28270 { SWIG_PY_INT
, (char *)"gyCONSTRAINT_MIDALIGNED_LEFT", (long) gyCONSTRAINT_MIDALIGNED_LEFT
, 0, 0, 0},
28271 { SWIG_PY_INT
, (char *)"gyCONSTRAINT_MIDALIGNED_RIGHT", (long) gyCONSTRAINT_MIDALIGNED_RIGHT
, 0, 0, 0},
28272 { SWIG_PY_INT
, (char *)"DIVISION_SIDE_NONE", (long) DIVISION_SIDE_NONE
, 0, 0, 0},
28273 { SWIG_PY_INT
, (char *)"DIVISION_SIDE_LEFT", (long) DIVISION_SIDE_LEFT
, 0, 0, 0},
28274 { SWIG_PY_INT
, (char *)"DIVISION_SIDE_TOP", (long) DIVISION_SIDE_TOP
, 0, 0, 0},
28275 { SWIG_PY_INT
, (char *)"DIVISION_SIDE_RIGHT", (long) DIVISION_SIDE_RIGHT
, 0, 0, 0},
28276 { SWIG_PY_INT
, (char *)"DIVISION_SIDE_BOTTOM", (long) DIVISION_SIDE_BOTTOM
, 0, 0, 0},
28286 SWIGEXPORT(void) SWIG_init(void) {
28287 static PyObject
*SWIG_globals
= 0;
28288 static int typeinit
= 0;
28291 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
28292 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
28293 d
= PyModule_GetDict(m
);
28296 for (i
= 0; swig_types_initial
[i
]; i
++) {
28297 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
28301 SWIG_InstallConstants(d
,swig_const_table
);
28305 // initoglbasicc();
28306 // initoglshapesc();
28307 // initoglshapes2c();
28308 // initoglcanvasc();
28311 wxPyPtrTypeMap_Add("wxControlPoint", "wxPyControlPoint");
28312 wxPyPtrTypeMap_Add("wxShapeCanvas", "wxPyShapeCanvas");
28313 wxPyPtrTypeMap_Add("wxShapeEvtHandler", "wxPyShapeEvtHandler");
28314 wxPyPtrTypeMap_Add("wxShape", "wxPyShape");
28315 wxPyPtrTypeMap_Add("wxRectangleShape", "wxPyRectangleShape");
28316 wxPyPtrTypeMap_Add("wxDrawnShape", "wxPyDrawnShape");
28317 wxPyPtrTypeMap_Add("wxCompositeShape", "wxPyCompositeShape");
28318 wxPyPtrTypeMap_Add("wxDividedShape", "wxPyDividedShape");
28319 wxPyPtrTypeMap_Add("wxDivisionShape", "wxPyDivisionShape");
28320 wxPyPtrTypeMap_Add("wxEllipseShape", "wxPyEllipseShape");
28321 wxPyPtrTypeMap_Add("wxCircleShape", "wxPyCircleShape");
28322 wxPyPtrTypeMap_Add("wxLineShape", "wxPyLineShape");
28323 wxPyPtrTypeMap_Add("wxPolygonShape", "wxPyPolygonShape");
28324 wxPyPtrTypeMap_Add("wxTextShape", "wxPyTextShape");