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
50 /***********************************************************************
51 * common.swg for wxPython
53 * Include only the function prototypes and such from SWIG's common.swg,
54 * but not the runtime functions themselves. This helps keep the
55 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 ************************************************************************/
62 #if defined(_WIN32) || defined(__WIN32__)
63 # if defined(_MSC_VER)
64 # if defined(STATIC_LINKED)
65 # define SWIGEXPORT(a) a
66 # define SWIGIMPORT(a) extern a
68 # define SWIGEXPORT(a) __declspec(dllexport) a
69 # define SWIGIMPORT(a) extern a
72 # if defined(__BORLANDC__)
73 # define SWIGEXPORT(a) a _export
74 # define SWIGIMPORT(a) a _export
76 # define SWIGEXPORT(a) a
77 # define SWIGIMPORT(a) a
81 # define SWIGEXPORT(a) a
82 # define SWIGIMPORT(a) a
86 #define SWIGRUNTIME(a) SWIGEXPORT(a)
88 #define SWIGRUNTIME(a) static a
96 typedef void *(*swig_converter_func
)(void *);
97 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
99 typedef struct swig_type_info
{
101 swig_converter_func converter
;
104 swig_dycast_func dcast
;
105 struct swig_type_info
*next
;
106 struct swig_type_info
*prev
;
110 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
112 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
113 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
114 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
115 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
116 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
123 /***********************************************************************
124 * pyrun.swg for wxPython
126 * Include only the function prototypes and such from SWIG's pyrun.swg,
127 * but not the runtime functions themselves. This helps keep the
128 * wrapper files clean of unnecessary stuff that is in the libpy.c file
131 ************************************************************************/
140 #define SWIG_PY_INT 1
141 #define SWIG_PY_FLOAT 2
142 #define SWIG_PY_STRING 3
143 #define SWIG_PY_POINTER 4
144 #define SWIG_PY_BINARY 5
146 /* Flags for pointer conversion */
148 #define SWIG_POINTER_EXCEPTION 0x1
149 #define SWIG_POINTER_DISOWN 0x2
151 /* Exception handling in wrappers */
152 #define SWIG_fail goto fail
154 /* Constant information structure */
155 typedef struct swig_const_info
{
161 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_PackData(c, ptr, sz) \
182 SWIG_Python_PackData(c, ptr, sz)
183 #define SWIG_UnpackData(c, ptr, sz) \
184 SWIG_Python_UnpackData(c, ptr, sz)
185 #define SWIG_NewPackedObj(ptr, sz, type) \
186 SWIG_Python_NewPackedObj(ptr, sz, type)
187 #define SWIG_InstallConstants(d, constants) \
188 SWIG_Python_InstallConstants(d, constants)
191 SWIGEXPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
192 SWIGEXPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
193 SWIGEXPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
195 SWIGEXPORT(PyObject
*) SWIG_Python_newvarlink(void);
196 SWIGEXPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
197 SWIGEXPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
198 SWIGEXPORT(char *) SWIG_Python_PackData(char *c
, void *, int);
199 SWIGEXPORT(char *) SWIG_Python_UnpackData(char *c
, void *, int);
200 SWIGEXPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
201 SWIGEXPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
204 /* Contract support */
206 #define SWIG_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
207 #define SWIG_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
209 #define SWIG_inherit_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
210 #define SWIG_inherit_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
212 #define SWIG_invariant(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
213 #define SWIG_invariant_begin(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
214 #define SWIG_invariant_end(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
222 /* -------- TYPES TABLE (BEGIN) -------- */
224 #define SWIGTYPE_p_wxOGLConstraint swig_types[0]
225 #define SWIGTYPE_p_wxBrush swig_types[1]
226 #define SWIGTYPE_p_wxColour swig_types[2]
227 #define SWIGTYPE_p_wxShapeRegion swig_types[3]
228 #define SWIGTYPE_p_wxDC swig_types[4]
229 #define SWIGTYPE_p_wxRealPoint swig_types[5]
230 #define SWIGTYPE_p_wxPyControlPoint swig_types[6]
231 #define SWIGTYPE_p_wxArrowHead swig_types[7]
232 #define SWIGTYPE_p_wxStringList swig_types[8]
233 #define SWIGTYPE_p_wxPanel swig_types[9]
234 #define SWIGTYPE_p_bool swig_types[10]
235 #define SWIGTYPE_p_wxList swig_types[11]
236 #define SWIGTYPE_p_wxFont swig_types[12]
237 #define SWIGTYPE_p_wxScrolledWindow swig_types[13]
238 #define SWIGTYPE_p_wxWindow swig_types[14]
239 #define SWIGTYPE_p_double swig_types[15]
240 #define SWIGTYPE_p_wxPyDivisionShape swig_types[16]
241 #define SWIGTYPE_p_wxPyDrawnShape swig_types[17]
242 #define SWIGTYPE_p_wxPyPolygonShape swig_types[18]
243 #define SWIGTYPE_p_wxBitmap swig_types[19]
244 #define SWIGTYPE_p_wxObject swig_types[20]
245 #define SWIGTYPE_p_wxPyBitmapShape swig_types[21]
246 #define SWIGTYPE_p_wxString swig_types[22]
247 #define SWIGTYPE_p_wxPyShapeEvtHandler swig_types[23]
248 #define SWIGTYPE_p_wxEvtHandler swig_types[24]
249 #define SWIGTYPE_p_wxPyEllipseShape swig_types[25]
250 #define SWIGTYPE_p_wxPyShapeCanvas swig_types[26]
251 #define SWIGTYPE_p_wxPoint swig_types[27]
252 #define SWIGTYPE_p_wxDiagram swig_types[28]
253 #define SWIGTYPE_p_wxPyShape swig_types[29]
254 #define SWIGTYPE_p_wxClassInfo swig_types[30]
255 #define SWIGTYPE_p_wxPyLineShape swig_types[31]
256 #define SWIGTYPE_p_wxPyRectangleShape swig_types[32]
257 #define SWIGTYPE_p_wxPyCompositeShape swig_types[33]
258 #define SWIGTYPE_p_wxPyCircleShape swig_types[34]
259 #define SWIGTYPE_p_wxPen swig_types[35]
260 #define SWIGTYPE_p_int swig_types[36]
261 #define SWIGTYPE_p_wxPseudoMetaFile swig_types[37]
262 #define SWIGTYPE_p_wxPyTextShape swig_types[38]
263 #define SWIGTYPE_p_wxPyDividedShape swig_types[39]
264 static swig_type_info
*swig_types
[41];
266 /* -------- TYPES TABLE (END) -------- */
269 /*-----------------------------------------------
271 ------------------------------------------------*/
272 #define SWIG_init init_ogl
274 #define SWIG_name "_ogl"
276 #include "wx/wxPython/wxPython.h"
277 #include "wx/wxPython/pyclasses.h"
278 #include "oglhelpers.h"
281 static const wxString
wxPyEmptyString(wxT(""));
284 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
290 } else if (target
== Py_None
) {
294 if (!PyTuple_Check(target
)) {
296 target
= PyTuple_New(1);
297 PyTuple_SetItem(target
, 0, o2
);
300 PyTuple_SetItem(o3
, 0, o
);
303 target
= PySequence_Concat(o2
, o3
);
311 WXSHAPE_IMP_CALLBACKS(wxPyShapeEvtHandler
,wxShapeEvtHandler
);
313 void wxPyShapeEvtHandler__setOORInfo(wxPyShapeEvtHandler
*self
,PyObject
*_self
){
314 self
->SetClientObject(new wxPyOORClientData(_self
));
317 WXSHAPE_IMP_CALLBACKS(wxPyShape
, wxShape
);
319 PyObject
*wxPyShape_GetChildren(wxPyShape
*self
){
320 wxList
& list
= self
->GetChildren();
321 return wxPy_ConvertShapeList(&list
);
323 PyObject
*wxPyShape_GetLines(wxPyShape
*self
){
324 wxList
& list
= self
->GetLines();
325 return wxPy_ConvertShapeList(&list
);
327 PyObject
*wxPyShape_GetRegions(wxPyShape
*self
){
328 wxList
& list
= self
->GetRegions();
329 return wxPy_ConvertList(&list
);
331 void wxPyShape_ApplyAttachmentOrdering(wxPyShape
*self
,PyObject
*linesToSort
){
332 wxList
* list
= wxPy_wxListHelper(linesToSort
, wxT("wxPyLineShape"));
333 self
->ApplyAttachmentOrdering(*list
);
337 // Using this macro can sometimes provoke an Internal Compiler Error in MSVC
338 // 6, so instead I'l just expand it out by hand...
339 // WXSHAPE_IMP_CALLBACKS(wxPyRectangleShape, wxRectangleShape);
341 IMP_PYCALLBACK__ (wxPyRectangleShape
, wxRectangleShape
, OnDelete
);
342 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnDraw
);
343 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnDrawContents
);
344 IMP_PYCALLBACK__DCBOOL (wxPyRectangleShape
, wxRectangleShape
, OnDrawBranches
);
345 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnMoveLinks
);
346 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnErase
);
347 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnEraseContents
);
348 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnHighlight
);
349 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnLeftClick
);
350 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnLeftDoubleClick
);
351 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnRightClick
);
352 IMP_PYCALLBACK__2DBL (wxPyRectangleShape
, wxRectangleShape
, OnSize
);
353 IMP_PYCALLBACK_BOOL_DC4DBLBOOL (wxPyRectangleShape
, wxRectangleShape
, OnMovePre
);
354 IMP_PYCALLBACK__DC4DBLBOOL (wxPyRectangleShape
, wxRectangleShape
, OnMovePost
);
355 IMP_PYCALLBACK__BOOL2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnDragLeft
);
356 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnBeginDragLeft
);
357 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnEndDragLeft
);
358 IMP_PYCALLBACK__BOOL2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnDragRight
);
359 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnBeginDragRight
);
360 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnEndDragRight
);
361 IMP_PYCALLBACK__DC4DBL (wxPyRectangleShape
, wxRectangleShape
, OnDrawOutline
);
362 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnDrawControlPoints
);
363 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnEraseControlPoints
);
364 IMP_PYCALLBACK__DCBOOL (wxPyRectangleShape
, wxRectangleShape
, OnMoveLink
);
365 IMP_PYCALLBACK__WXCPBOOL2DBL2INT(wxPyRectangleShape
, wxRectangleShape
, OnSizingDragLeft
);
366 IMP_PYCALLBACK__WXCP2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnSizingBeginDragLeft
);
367 IMP_PYCALLBACK__WXCP2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnSizingEndDragLeft
);
368 IMP_PYCALLBACK__2DBL (wxPyRectangleShape
, wxRectangleShape
, OnBeginSize
);
369 IMP_PYCALLBACK__2DBL (wxPyRectangleShape
, wxRectangleShape
, OnEndSize
)
373 WXSHAPE_IMP_CALLBACKS(wxPyControlPoint
, wxControlPoint
);
376 WXSHAPE_IMP_CALLBACKS(wxPyBitmapShape
, wxBitmapShape
);
379 WXSHAPE_IMP_CALLBACKS(wxPyDrawnShape
, wxDrawnShape
);
381 wxOGLConstraint
*new_wxOGLConstraint(int type
,wxPyShape
*constraining
,PyObject
*constrained
){
382 wxList
* list
= wxPy_wxListHelper(constrained
, wxT("wxPyShape"));
383 wxOGLConstraint
* rv
= new wxOGLConstraint(type
, constraining
, *list
);
388 WXSHAPE_IMP_CALLBACKS(wxPyCompositeShape
, wxCompositeShape
);
390 wxOGLConstraint
*wxPyCompositeShape_AddConstrainedShapes(wxPyCompositeShape
*self
,int type
,wxPyShape
*constraining
,PyObject
*constrained
){
391 wxList
* list
= wxPy_wxListHelper(constrained
, wxT("wxPyShape"));
392 wxOGLConstraint
* rv
= self
->AddConstraint(type
, constraining
, *list
);
396 PyObject
*wxPyCompositeShape_GetConstraints(wxPyCompositeShape
*self
){
397 wxList
& list
= self
->GetConstraints();
398 return wxPy_ConvertList(&list
);
400 PyObject
*wxPyCompositeShape_GetDivisions(wxPyCompositeShape
*self
){
401 wxList
& list
= self
->GetDivisions();
402 return wxPy_ConvertShapeList(&list
);
405 WXSHAPE_IMP_CALLBACKS(wxPyDividedShape
, wxDividedShape
);
408 WXSHAPE_IMP_CALLBACKS(wxPyDivisionShape
, wxDivisionShape
);
411 WXSHAPE_IMP_CALLBACKS(wxPyEllipseShape
, wxEllipseShape
);
414 WXSHAPE_IMP_CALLBACKS(wxPyCircleShape
, wxCircleShape
);
417 WXSHAPE_IMP_CALLBACKS(wxPyLineShape
, wxLineShape
);
419 void wxPyLineShape_AddArrowOrdered(wxPyLineShape
*self
,wxArrowHead
*arrow
,PyObject
*referenceList
,int end
){
420 wxList
* list
= wxPy_wxListHelper(referenceList
, wxT("wxArrowHead"));
421 self
->AddArrowOrdered(arrow
, *list
, end
);
424 PyObject
*wxPyLineShape_GetLineControlPoints(wxPyLineShape
*self
){
425 wxList
* list
= self
->GetLineControlPoints();
426 return wxPy_ConvertShapeList(list
);
429 WXSHAPE_IMP_CALLBACKS(wxPyPolygonShape
, wxPolygonShape
);
431 PyObject
*wxPyPolygonShape_Create(wxPyPolygonShape
*self
,PyObject
*points
){
432 wxList
* list
= wxPy_wxRealPoint_ListHelper(points
);
440 PyObject
*wxPyPolygonShape_GetPoints(wxPyPolygonShape
*self
){
441 wxList
* list
= self
->GetPoints();
445 wxNode
* node
= list
->GetFirst();
447 wxPyBeginBlockThreads();
448 pyList
= PyList_New(0);
450 wxObj
= node
->GetData();
451 pyObj
= wxPyConstructObject(wxObj
, wxT("wxRealPoint"), 0);
452 PyList_Append(pyList
, pyObj
);
453 node
= node
->GetNext();
455 wxPyEndBlockThreads();
459 WXSHAPE_IMP_CALLBACKS(wxPyTextShape
, wxTextShape
);
462 // Put some wx default wxChar* values into wxStrings.
463 DECLARE_DEF_STRING(ShapeCanvasNameStr
);
465 PyObject
*wxDiagram_GetShapeList(wxDiagram
*self
){
466 wxList
* list
= self
->GetShapeList();
467 return wxPy_ConvertShapeList(list
);
470 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnBeginDragLeft
);
471 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnBeginDragRight
);
472 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnEndDragLeft
);
473 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnEndDragRight
);
474 IMP_PYCALLBACK__BOOL2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnDragLeft
);
475 IMP_PYCALLBACK__BOOL2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnDragRight
);
476 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnLeftClick
);
477 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnRightClick
);
480 //---------------------------------------------------------------------------
482 // Convert from a Python list to a list of className objects. This one will
483 // work for any class for the VERY generic cases, but beyond that the helper
484 // needs to know more about the type.
485 wxList
* wxPy_wxListHelper(PyObject
* pyList
, const wxChar
* className
) {
486 wxPyBeginBlockThreads();
487 if (!PyList_Check(pyList
)) {
488 PyErr_SetString(PyExc_TypeError
, "Expected a list object.");
489 wxPyEndBlockThreads();
492 int count
= PyList_Size(pyList
);
493 wxList
* list
= new wxList
;
495 PyErr_SetString(PyExc_MemoryError
, "Unable to allocate wxList object");
496 wxPyEndBlockThreads();
499 for (int x
=0; x
<count
; x
++) {
500 PyObject
* pyo
= PyList_GetItem(pyList
, x
);
501 wxObject
* wxo
= NULL
;
503 if ( !wxPyConvertSwigPtr(pyo
, (void **)&wxo
, className
) ) {
505 errmsg
.Printf(wxT("Type error, expected list of %s objects"), className
);
506 PyErr_SetString(PyExc_TypeError
, errmsg
.mb_str());
507 wxPyEndBlockThreads();
512 wxPyEndBlockThreads();
516 //---------------------------------------------------------------------------
518 wxList
* wxPy_wxRealPoint_ListHelper(PyObject
* pyList
) {
519 wxPyBeginBlockThreads();
520 if (!PyList_Check(pyList
)) {
521 PyErr_SetString(PyExc_TypeError
, "Expected a list object.");
522 wxPyEndBlockThreads();
525 int count
= PyList_Size(pyList
);
526 wxList
* list
= new wxList
;
528 PyErr_SetString(PyExc_MemoryError
, "Unable to allocate wxList object");
529 wxPyEndBlockThreads();
532 for (int x
=0; x
<count
; x
++) {
533 PyObject
* pyo
= PyList_GetItem(pyList
, x
);
535 if (PyTuple_Check(pyo
)) {
536 PyObject
* o1
= PyNumber_Float(PyTuple_GetItem(pyo
, 0));
537 PyObject
* o2
= PyNumber_Float(PyTuple_GetItem(pyo
, 1));
539 double val1
= (o1
? PyFloat_AsDouble(o1
) : 0.0);
540 double val2
= (o2
? PyFloat_AsDouble(o2
) : 0.0);
542 list
->Append((wxObject
*) new wxRealPoint(val1
, val2
));
545 wxRealPoint
* wxo
= NULL
;
546 if (wxPyConvertSwigPtr(pyo
, (void **)&wxo
, wxT("wxRealPoint"))) {
547 PyErr_SetString(PyExc_TypeError
, "Type error, expected list of wxRealPoint objects or 2-tuples");
548 wxPyEndBlockThreads();
551 list
->Append((wxObject
*) new wxRealPoint(*wxo
));
554 wxPyEndBlockThreads();
558 //---------------------------------------------------------------------------
560 PyObject
* wxPyMake_wxShapeEvtHandler(wxShapeEvtHandler
* source
) {
561 PyObject
* target
= NULL
;
563 if (source
&& wxIsKindOf(source
, wxShapeEvtHandler
)) {
564 // If it's derived from wxShapeEvtHandler then there may
565 // already be a pointer to a Python object that we can use
567 wxShapeEvtHandler
* seh
= (wxShapeEvtHandler
*)source
;
568 wxPyOORClientData
* data
= (wxPyOORClientData
*)seh
->GetClientObject();
570 target
= data
->m_obj
;
575 target
= wxPyMake_wxObject2(source
, FALSE
);
576 if (target
!= Py_None
)
577 ((wxShapeEvtHandler
*)source
)->SetClientObject(new wxPyOORClientData(target
));
582 //---------------------------------------------------------------------------
584 PyObject
* wxPy_ConvertShapeList(wxListBase
* listbase
) {
585 wxList
* list
= (wxList
*)listbase
;
589 wxNode
* node
= list
->GetFirst();
591 wxPyBeginBlockThreads();
592 pyList
= PyList_New(0);
594 wxObj
= node
->GetData();
595 pyObj
= wxPyMake_wxShapeEvtHandler((wxShapeEvtHandler
*)wxObj
);
596 PyList_Append(pyList
, pyObj
);
597 node
= node
->GetNext();
599 wxPyEndBlockThreads();
604 //---------------------------------------------------------------------------
606 IMPLEMENT_DYNAMIC_CLASS(wxPyShapeCanvas
, wxShapeCanvas
);
607 IMPLEMENT_DYNAMIC_CLASS(wxPyShapeEvtHandler
, wxShapeEvtHandler
);
608 IMPLEMENT_ABSTRACT_CLASS(wxPyShape
, wxShape
);
609 IMPLEMENT_DYNAMIC_CLASS(wxPyRectangleShape
, wxRectangleShape
);
610 IMPLEMENT_DYNAMIC_CLASS(wxPyControlPoint
, wxControlPoint
);
611 IMPLEMENT_DYNAMIC_CLASS(wxPyBitmapShape
, wxBitmapShape
);
612 IMPLEMENT_DYNAMIC_CLASS(wxPyDrawnShape
, wxDrawnShape
);
613 IMPLEMENT_DYNAMIC_CLASS(wxPyCompositeShape
, wxCompositeShape
);
614 IMPLEMENT_DYNAMIC_CLASS(wxPyDividedShape
, wxDividedShape
);
615 IMPLEMENT_DYNAMIC_CLASS(wxPyDivisionShape
, wxDivisionShape
);
616 IMPLEMENT_DYNAMIC_CLASS(wxPyEllipseShape
, wxEllipseShape
);
617 IMPLEMENT_DYNAMIC_CLASS(wxPyCircleShape
, wxCircleShape
);
618 IMPLEMENT_DYNAMIC_CLASS(wxPyLineShape
, wxLineShape
);
619 IMPLEMENT_DYNAMIC_CLASS(wxPyPolygonShape
, wxPolygonShape
);
620 IMPLEMENT_DYNAMIC_CLASS(wxPyTextShape
, wxTextShape
);
622 //---------------------------------------------------------------------------
624 // extern "C" SWIGEXPORT(void) initoglbasicc();
625 // extern "C" SWIGEXPORT(void) initoglshapesc();
626 // extern "C" SWIGEXPORT(void) initoglshapes2c();
627 // extern "C" SWIGEXPORT(void) initoglcanvasc();
632 static PyObject
*_wrap_new_ShapeRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
634 wxShapeRegion
*result
;
639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ShapeRegion",kwnames
)) goto fail
;
641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
642 result
= (wxShapeRegion
*)new wxShapeRegion();
644 wxPyEndAllowThreads(__tstate
);
645 if (PyErr_Occurred()) SWIG_fail
;
647 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxShapeRegion
, 1);
654 static PyObject
*_wrap_ShapeRegion_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
656 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
659 PyObject
* obj0
= 0 ;
660 PyObject
* obj1
= 0 ;
662 (char *) "self",(char *) "s", NULL
665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
666 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
668 arg2
= wxString_in_helper(obj1
);
669 if (arg2
== NULL
) SWIG_fail
;
673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
674 (arg1
)->SetText((wxString
const &)*arg2
);
676 wxPyEndAllowThreads(__tstate
);
677 if (PyErr_Occurred()) SWIG_fail
;
679 Py_INCREF(Py_None
); resultobj
= Py_None
;
694 static PyObject
*_wrap_ShapeRegion_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
696 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
697 wxFont
*arg2
= (wxFont
*) 0 ;
698 PyObject
* obj0
= 0 ;
699 PyObject
* obj1
= 0 ;
701 (char *) "self",(char *) "f", NULL
704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
705 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
709 if (obj1
== Py_None
) {
712 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxFont"))) {
713 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxFont.");
718 arg2
= wxTheFontList
->FindOrCreateFont(temp
->GetPointSize(),
722 temp
->GetUnderlined(),
724 temp
->GetEncoding());
729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
730 (arg1
)->SetFont(arg2
);
732 wxPyEndAllowThreads(__tstate
);
733 if (PyErr_Occurred()) SWIG_fail
;
735 Py_INCREF(Py_None
); resultobj
= Py_None
;
742 static PyObject
*_wrap_ShapeRegion_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
744 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
747 PyObject
* obj0
= 0 ;
749 (char *) "self",(char *) "w",(char *) "h", NULL
752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:ShapeRegion_SetMinSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
753 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
756 (arg1
)->SetMinSize(arg2
,arg3
);
758 wxPyEndAllowThreads(__tstate
);
759 if (PyErr_Occurred()) SWIG_fail
;
761 Py_INCREF(Py_None
); resultobj
= Py_None
;
768 static PyObject
*_wrap_ShapeRegion_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
770 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
773 PyObject
* obj0
= 0 ;
775 (char *) "self",(char *) "w",(char *) "h", NULL
778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:ShapeRegion_SetSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
782 (arg1
)->SetSize(arg2
,arg3
);
784 wxPyEndAllowThreads(__tstate
);
785 if (PyErr_Occurred()) SWIG_fail
;
787 Py_INCREF(Py_None
); resultobj
= Py_None
;
794 static PyObject
*_wrap_ShapeRegion_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
796 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
799 PyObject
* obj0
= 0 ;
801 (char *) "self",(char *) "x",(char *) "y", NULL
804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:ShapeRegion_SetPosition",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
805 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
808 (arg1
)->SetPosition(arg2
,arg3
);
810 wxPyEndAllowThreads(__tstate
);
811 if (PyErr_Occurred()) SWIG_fail
;
813 Py_INCREF(Py_None
); resultobj
= Py_None
;
820 static PyObject
*_wrap_ShapeRegion_SetProportions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
822 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
825 PyObject
* obj0
= 0 ;
827 (char *) "self",(char *) "x",(char *) "y", NULL
830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:ShapeRegion_SetProportions",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
831 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
834 (arg1
)->SetProportions(arg2
,arg3
);
836 wxPyEndAllowThreads(__tstate
);
837 if (PyErr_Occurred()) SWIG_fail
;
839 Py_INCREF(Py_None
); resultobj
= Py_None
;
846 static PyObject
*_wrap_ShapeRegion_SetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
848 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
850 PyObject
* obj0
= 0 ;
852 (char *) "self",(char *) "mode", NULL
855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ShapeRegion_SetFormatMode",kwnames
,&obj0
,&arg2
)) goto fail
;
856 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
859 (arg1
)->SetFormatMode(arg2
);
861 wxPyEndAllowThreads(__tstate
);
862 if (PyErr_Occurred()) SWIG_fail
;
864 Py_INCREF(Py_None
); resultobj
= Py_None
;
871 static PyObject
*_wrap_ShapeRegion_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
873 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
876 PyObject
* obj0
= 0 ;
877 PyObject
* obj1
= 0 ;
879 (char *) "self",(char *) "s", NULL
882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
885 arg2
= wxString_in_helper(obj1
);
886 if (arg2
== NULL
) SWIG_fail
;
890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
891 (arg1
)->SetName((wxString
const &)*arg2
);
893 wxPyEndAllowThreads(__tstate
);
894 if (PyErr_Occurred()) SWIG_fail
;
896 Py_INCREF(Py_None
); resultobj
= Py_None
;
911 static PyObject
*_wrap_ShapeRegion_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
913 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
916 PyObject
* obj0
= 0 ;
917 PyObject
* obj1
= 0 ;
919 (char *) "self",(char *) "col", NULL
922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
925 arg2
= wxString_in_helper(obj1
);
926 if (arg2
== NULL
) SWIG_fail
;
930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
931 (arg1
)->SetColour((wxString
const &)*arg2
);
933 wxPyEndAllowThreads(__tstate
);
934 if (PyErr_Occurred()) SWIG_fail
;
936 Py_INCREF(Py_None
); resultobj
= Py_None
;
951 static PyObject
*_wrap_ShapeRegion_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
953 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
955 PyObject
* obj0
= 0 ;
957 (char *) "self", NULL
960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetText",kwnames
,&obj0
)) goto fail
;
961 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
964 result
= (arg1
)->GetText();
966 wxPyEndAllowThreads(__tstate
);
967 if (PyErr_Occurred()) SWIG_fail
;
971 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
973 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
982 static PyObject
*_wrap_ShapeRegion_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
984 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
986 PyObject
* obj0
= 0 ;
988 (char *) "self", NULL
991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetFont",kwnames
,&obj0
)) goto fail
;
992 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
995 result
= (wxFont
*)(arg1
)->GetFont();
997 wxPyEndAllowThreads(__tstate
);
998 if (PyErr_Occurred()) SWIG_fail
;
1000 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
1007 static PyObject
*_wrap_ShapeRegion_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1008 PyObject
*resultobj
;
1009 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1010 double *arg2
= (double *) 0 ;
1011 double *arg3
= (double *) 0 ;
1014 PyObject
* obj0
= 0 ;
1016 (char *) "self", NULL
1021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetMinSize",kwnames
,&obj0
)) goto fail
;
1022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1025 (arg1
)->GetMinSize(arg2
,arg3
);
1027 wxPyEndAllowThreads(__tstate
);
1028 if (PyErr_Occurred()) SWIG_fail
;
1030 Py_INCREF(Py_None
); resultobj
= Py_None
;
1032 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
1033 resultobj
= t_output_helper(resultobj
,o
);
1036 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
1037 resultobj
= t_output_helper(resultobj
,o
);
1045 static PyObject
*_wrap_ShapeRegion_GetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1046 PyObject
*resultobj
;
1047 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1048 double *arg2
= (double *) 0 ;
1049 double *arg3
= (double *) 0 ;
1052 PyObject
* obj0
= 0 ;
1054 (char *) "self", NULL
1059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetProportion",kwnames
,&obj0
)) goto fail
;
1060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1063 (arg1
)->GetProportion(arg2
,arg3
);
1065 wxPyEndAllowThreads(__tstate
);
1066 if (PyErr_Occurred()) SWIG_fail
;
1068 Py_INCREF(Py_None
); resultobj
= Py_None
;
1070 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
1071 resultobj
= t_output_helper(resultobj
,o
);
1074 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
1075 resultobj
= t_output_helper(resultobj
,o
);
1083 static PyObject
*_wrap_ShapeRegion_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1084 PyObject
*resultobj
;
1085 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1086 double *arg2
= (double *) 0 ;
1087 double *arg3
= (double *) 0 ;
1090 PyObject
* obj0
= 0 ;
1092 (char *) "self", NULL
1097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetSize",kwnames
,&obj0
)) goto fail
;
1098 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1101 (arg1
)->GetSize(arg2
,arg3
);
1103 wxPyEndAllowThreads(__tstate
);
1104 if (PyErr_Occurred()) SWIG_fail
;
1106 Py_INCREF(Py_None
); resultobj
= Py_None
;
1108 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
1109 resultobj
= t_output_helper(resultobj
,o
);
1112 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
1113 resultobj
= t_output_helper(resultobj
,o
);
1121 static PyObject
*_wrap_ShapeRegion_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1122 PyObject
*resultobj
;
1123 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1124 double *arg2
= (double *) 0 ;
1125 double *arg3
= (double *) 0 ;
1128 PyObject
* obj0
= 0 ;
1130 (char *) "self", NULL
1135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetPosition",kwnames
,&obj0
)) goto fail
;
1136 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1139 (arg1
)->GetPosition(arg2
,arg3
);
1141 wxPyEndAllowThreads(__tstate
);
1142 if (PyErr_Occurred()) SWIG_fail
;
1144 Py_INCREF(Py_None
); resultobj
= Py_None
;
1146 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
1147 resultobj
= t_output_helper(resultobj
,o
);
1150 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
1151 resultobj
= t_output_helper(resultobj
,o
);
1159 static PyObject
*_wrap_ShapeRegion_GetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1160 PyObject
*resultobj
;
1161 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1163 PyObject
* obj0
= 0 ;
1165 (char *) "self", NULL
1168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetFormatMode",kwnames
,&obj0
)) goto fail
;
1169 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1172 result
= (int)(arg1
)->GetFormatMode();
1174 wxPyEndAllowThreads(__tstate
);
1175 if (PyErr_Occurred()) SWIG_fail
;
1177 resultobj
= PyInt_FromLong((long)result
);
1184 static PyObject
*_wrap_ShapeRegion_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1185 PyObject
*resultobj
;
1186 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1188 PyObject
* obj0
= 0 ;
1190 (char *) "self", NULL
1193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetName",kwnames
,&obj0
)) goto fail
;
1194 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1197 result
= (arg1
)->GetName();
1199 wxPyEndAllowThreads(__tstate
);
1200 if (PyErr_Occurred()) SWIG_fail
;
1204 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1206 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1215 static PyObject
*_wrap_ShapeRegion_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1216 PyObject
*resultobj
;
1217 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1219 PyObject
* obj0
= 0 ;
1221 (char *) "self", NULL
1224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetColour",kwnames
,&obj0
)) goto fail
;
1225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1228 result
= (arg1
)->GetColour();
1230 wxPyEndAllowThreads(__tstate
);
1231 if (PyErr_Occurred()) SWIG_fail
;
1235 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1237 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1246 static PyObject
*_wrap_ShapeRegion_GetActualColourObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1247 PyObject
*resultobj
;
1248 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1250 PyObject
* obj0
= 0 ;
1252 (char *) "self", NULL
1255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetActualColourObject",kwnames
,&obj0
)) goto fail
;
1256 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1259 result
= (wxColour
*)(arg1
)->GetActualColourObject();
1261 wxPyEndAllowThreads(__tstate
);
1262 if (PyErr_Occurred()) SWIG_fail
;
1264 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
1271 static PyObject
*_wrap_ShapeRegion_GetFormattedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1272 PyObject
*resultobj
;
1273 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1275 PyObject
* obj0
= 0 ;
1277 (char *) "self", NULL
1280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetFormattedText",kwnames
,&obj0
)) goto fail
;
1281 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1285 wxList
&_result_ref
= (arg1
)->GetFormattedText();
1286 result
= (wxList
*) &_result_ref
;
1289 wxPyEndAllowThreads(__tstate
);
1290 if (PyErr_Occurred()) SWIG_fail
;
1292 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxList
, 0);
1299 static PyObject
*_wrap_ShapeRegion_GetPenColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1300 PyObject
*resultobj
;
1301 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1303 PyObject
* obj0
= 0 ;
1305 (char *) "self", NULL
1308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetPenColour",kwnames
,&obj0
)) goto fail
;
1309 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1312 result
= (arg1
)->GetPenColour();
1314 wxPyEndAllowThreads(__tstate
);
1315 if (PyErr_Occurred()) SWIG_fail
;
1319 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1321 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1330 static PyObject
*_wrap_ShapeRegion_GetPenStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1331 PyObject
*resultobj
;
1332 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1334 PyObject
* obj0
= 0 ;
1336 (char *) "self", NULL
1339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetPenStyle",kwnames
,&obj0
)) goto fail
;
1340 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1343 result
= (int)(arg1
)->GetPenStyle();
1345 wxPyEndAllowThreads(__tstate
);
1346 if (PyErr_Occurred()) SWIG_fail
;
1348 resultobj
= PyInt_FromLong((long)result
);
1355 static PyObject
*_wrap_ShapeRegion_SetPenStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1356 PyObject
*resultobj
;
1357 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1359 PyObject
* obj0
= 0 ;
1361 (char *) "self",(char *) "style", NULL
1364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ShapeRegion_SetPenStyle",kwnames
,&obj0
,&arg2
)) goto fail
;
1365 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1368 (arg1
)->SetPenStyle(arg2
);
1370 wxPyEndAllowThreads(__tstate
);
1371 if (PyErr_Occurred()) SWIG_fail
;
1373 Py_INCREF(Py_None
); resultobj
= Py_None
;
1380 static PyObject
*_wrap_ShapeRegion_SetPenColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1381 PyObject
*resultobj
;
1382 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1383 wxString
*arg2
= 0 ;
1384 bool temp2
= false ;
1385 PyObject
* obj0
= 0 ;
1386 PyObject
* obj1
= 0 ;
1388 (char *) "self",(char *) "col", NULL
1391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetPenColour",kwnames
,&obj0
,&obj1
)) goto fail
;
1392 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1394 arg2
= wxString_in_helper(obj1
);
1395 if (arg2
== NULL
) SWIG_fail
;
1399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1400 (arg1
)->SetPenColour((wxString
const &)*arg2
);
1402 wxPyEndAllowThreads(__tstate
);
1403 if (PyErr_Occurred()) SWIG_fail
;
1405 Py_INCREF(Py_None
); resultobj
= Py_None
;
1420 static PyObject
*_wrap_ShapeRegion_GetActualPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1421 PyObject
*resultobj
;
1422 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1424 PyObject
* obj0
= 0 ;
1426 (char *) "self", NULL
1429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetActualPen",kwnames
,&obj0
)) goto fail
;
1430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1433 result
= (wxPen
*)(arg1
)->GetActualPen();
1435 wxPyEndAllowThreads(__tstate
);
1436 if (PyErr_Occurred()) SWIG_fail
;
1438 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPen
, 0);
1445 static PyObject
*_wrap_ShapeRegion_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1446 PyObject
*resultobj
;
1447 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1449 PyObject
* obj0
= 0 ;
1451 (char *) "self", NULL
1454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetWidth",kwnames
,&obj0
)) goto fail
;
1455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1458 result
= (double)(arg1
)->GetWidth();
1460 wxPyEndAllowThreads(__tstate
);
1461 if (PyErr_Occurred()) SWIG_fail
;
1463 resultobj
= PyFloat_FromDouble(result
);
1470 static PyObject
*_wrap_ShapeRegion_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1471 PyObject
*resultobj
;
1472 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1474 PyObject
* obj0
= 0 ;
1476 (char *) "self", NULL
1479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetHeight",kwnames
,&obj0
)) goto fail
;
1480 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1483 result
= (double)(arg1
)->GetHeight();
1485 wxPyEndAllowThreads(__tstate
);
1486 if (PyErr_Occurred()) SWIG_fail
;
1488 resultobj
= PyFloat_FromDouble(result
);
1495 static PyObject
*_wrap_ShapeRegion_ClearText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1496 PyObject
*resultobj
;
1497 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1498 PyObject
* obj0
= 0 ;
1500 (char *) "self", NULL
1503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_ClearText",kwnames
,&obj0
)) goto fail
;
1504 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1507 (arg1
)->ClearText();
1509 wxPyEndAllowThreads(__tstate
);
1510 if (PyErr_Occurred()) SWIG_fail
;
1512 Py_INCREF(Py_None
); resultobj
= Py_None
;
1519 static PyObject
* ShapeRegion_swigregister(PyObject
*self
, PyObject
*args
) {
1521 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1522 SWIG_TypeClientData(SWIGTYPE_p_wxShapeRegion
, obj
);
1524 return Py_BuildValue((char *)"");
1526 static PyObject
*_wrap_new_PyShapeEvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1527 PyObject
*resultobj
;
1528 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) NULL
;
1529 wxPyShape
*arg2
= (wxPyShape
*) NULL
;
1530 wxPyShapeEvtHandler
*result
;
1531 PyObject
* obj0
= 0 ;
1532 PyObject
* obj1
= 0 ;
1534 (char *) "prev",(char *) "shape", NULL
1537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyShapeEvtHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
1539 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1542 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1546 result
= (wxPyShapeEvtHandler
*)new wxPyShapeEvtHandler(arg1
,arg2
);
1548 wxPyEndAllowThreads(__tstate
);
1549 if (PyErr_Occurred()) SWIG_fail
;
1552 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
1560 static PyObject
*_wrap_PyShapeEvtHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1561 PyObject
*resultobj
;
1562 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
1563 PyObject
*arg2
= (PyObject
*) 0 ;
1564 PyObject
*arg3
= (PyObject
*) 0 ;
1565 PyObject
* obj0
= 0 ;
1566 PyObject
* obj1
= 0 ;
1567 PyObject
* obj2
= 0 ;
1569 (char *) "self",(char *) "self",(char *) "_class", NULL
1572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeEvtHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1573 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1578 (arg1
)->_setCallbackInfo(arg2
,arg3
);
1580 wxPyEndAllowThreads(__tstate
);
1581 if (PyErr_Occurred()) SWIG_fail
;
1583 Py_INCREF(Py_None
); resultobj
= Py_None
;
1590 static PyObject
*_wrap_PyShapeEvtHandler__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1591 PyObject
*resultobj
;
1592 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
1593 PyObject
*arg2
= (PyObject
*) 0 ;
1594 PyObject
* obj0
= 0 ;
1595 PyObject
* obj1
= 0 ;
1597 (char *) "self",(char *) "_self", NULL
1600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
1601 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1605 wxPyShapeEvtHandler__setOORInfo(arg1
,arg2
);
1607 wxPyEndAllowThreads(__tstate
);
1608 if (PyErr_Occurred()) SWIG_fail
;
1610 Py_INCREF(Py_None
); resultobj
= Py_None
;
1617 static PyObject
*_wrap_PyShapeEvtHandler_SetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1618 PyObject
*resultobj
;
1619 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
1620 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
1621 PyObject
* obj0
= 0 ;
1622 PyObject
* obj1
= 0 ;
1624 (char *) "self",(char *) "sh", NULL
1627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
1628 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1629 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1632 (arg1
)->SetShape(arg2
);
1634 wxPyEndAllowThreads(__tstate
);
1635 if (PyErr_Occurred()) SWIG_fail
;
1637 Py_INCREF(Py_None
); resultobj
= Py_None
;
1644 static PyObject
*_wrap_PyShapeEvtHandler_GetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1645 PyObject
*resultobj
;
1646 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
1648 PyObject
* obj0
= 0 ;
1650 (char *) "self", NULL
1653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeEvtHandler_GetShape",kwnames
,&obj0
)) goto fail
;
1654 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1657 result
= (wxPyShape
*)(arg1
)->GetShape();
1659 wxPyEndAllowThreads(__tstate
);
1660 if (PyErr_Occurred()) SWIG_fail
;
1663 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
1671 static PyObject
*_wrap_PyShapeEvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1672 PyObject
*resultobj
;
1673 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
1674 wxPyShapeEvtHandler
*arg2
= (wxPyShapeEvtHandler
*) 0 ;
1675 PyObject
* obj0
= 0 ;
1676 PyObject
* obj1
= 0 ;
1678 (char *) "self",(char *) "handler", NULL
1681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
1682 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1683 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1686 (arg1
)->SetPreviousHandler(arg2
);
1688 wxPyEndAllowThreads(__tstate
);
1689 if (PyErr_Occurred()) SWIG_fail
;
1691 Py_INCREF(Py_None
); resultobj
= Py_None
;
1698 static PyObject
*_wrap_PyShapeEvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1699 PyObject
*resultobj
;
1700 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
1701 wxPyShapeEvtHandler
*result
;
1702 PyObject
* obj0
= 0 ;
1704 (char *) "self", NULL
1707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeEvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
1708 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1711 result
= (wxPyShapeEvtHandler
*)(arg1
)->GetPreviousHandler();
1713 wxPyEndAllowThreads(__tstate
);
1714 if (PyErr_Occurred()) SWIG_fail
;
1717 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
1725 static PyObject
*_wrap_PyShapeEvtHandler_CreateNewCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1726 PyObject
*resultobj
;
1727 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
1728 wxPyShapeEvtHandler
*result
;
1729 PyObject
* obj0
= 0 ;
1731 (char *) "self", NULL
1734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeEvtHandler_CreateNewCopy",kwnames
,&obj0
)) goto fail
;
1735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1738 result
= (wxPyShapeEvtHandler
*)(arg1
)->CreateNewCopy();
1740 wxPyEndAllowThreads(__tstate
);
1741 if (PyErr_Occurred()) SWIG_fail
;
1744 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
1752 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1753 PyObject
*resultobj
;
1754 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
1755 PyObject
* obj0
= 0 ;
1757 (char *) "self", NULL
1760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeEvtHandler_base_OnDelete",kwnames
,&obj0
)) goto fail
;
1761 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1764 (arg1
)->base_OnDelete();
1766 wxPyEndAllowThreads(__tstate
);
1767 if (PyErr_Occurred()) SWIG_fail
;
1769 Py_INCREF(Py_None
); resultobj
= Py_None
;
1776 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1777 PyObject
*resultobj
;
1778 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
1780 PyObject
* obj0
= 0 ;
1781 PyObject
* obj1
= 0 ;
1783 (char *) "self",(char *) "dc", NULL
1786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
1787 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1788 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1790 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1794 (arg1
)->base_OnDraw(*arg2
);
1796 wxPyEndAllowThreads(__tstate
);
1797 if (PyErr_Occurred()) SWIG_fail
;
1799 Py_INCREF(Py_None
); resultobj
= Py_None
;
1806 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1807 PyObject
*resultobj
;
1808 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
1810 PyObject
* obj0
= 0 ;
1811 PyObject
* obj1
= 0 ;
1813 (char *) "self",(char *) "dc", NULL
1816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
1817 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1818 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1820 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1824 (arg1
)->base_OnDrawContents(*arg2
);
1826 wxPyEndAllowThreads(__tstate
);
1827 if (PyErr_Occurred()) SWIG_fail
;
1829 Py_INCREF(Py_None
); resultobj
= Py_None
;
1836 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1837 PyObject
*resultobj
;
1838 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
1840 bool arg3
= (bool) FALSE
;
1841 PyObject
* obj0
= 0 ;
1842 PyObject
* obj1
= 0 ;
1843 PyObject
* obj2
= 0 ;
1845 (char *) "self",(char *) "dc",(char *) "erase", NULL
1848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShapeEvtHandler_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1849 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1850 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1852 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1855 arg3
= PyInt_AsLong(obj2
) ? true : false;
1856 if (PyErr_Occurred()) SWIG_fail
;
1859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1860 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
1862 wxPyEndAllowThreads(__tstate
);
1863 if (PyErr_Occurred()) SWIG_fail
;
1865 Py_INCREF(Py_None
); resultobj
= Py_None
;
1872 static PyObject
*_wrap_PyShapeEvtHandler_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1873 PyObject
*resultobj
;
1874 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
1876 PyObject
* obj0
= 0 ;
1877 PyObject
* obj1
= 0 ;
1879 (char *) "self",(char *) "dc", NULL
1882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
1883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1884 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1886 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1890 (arg1
)->base_OnMoveLinks(*arg2
);
1892 wxPyEndAllowThreads(__tstate
);
1893 if (PyErr_Occurred()) SWIG_fail
;
1895 Py_INCREF(Py_None
); resultobj
= Py_None
;
1902 static PyObject
*_wrap_PyShapeEvtHandler_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1903 PyObject
*resultobj
;
1904 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
1906 PyObject
* obj0
= 0 ;
1907 PyObject
* obj1
= 0 ;
1909 (char *) "self",(char *) "dc", NULL
1912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
1913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1914 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1916 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1920 (arg1
)->base_OnErase(*arg2
);
1922 wxPyEndAllowThreads(__tstate
);
1923 if (PyErr_Occurred()) SWIG_fail
;
1925 Py_INCREF(Py_None
); resultobj
= Py_None
;
1932 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1933 PyObject
*resultobj
;
1934 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
1936 PyObject
* obj0
= 0 ;
1937 PyObject
* obj1
= 0 ;
1939 (char *) "self",(char *) "dc", NULL
1942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
1943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1944 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1946 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1950 (arg1
)->base_OnEraseContents(*arg2
);
1952 wxPyEndAllowThreads(__tstate
);
1953 if (PyErr_Occurred()) SWIG_fail
;
1955 Py_INCREF(Py_None
); resultobj
= Py_None
;
1962 static PyObject
*_wrap_PyShapeEvtHandler_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1963 PyObject
*resultobj
;
1964 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
1966 PyObject
* obj0
= 0 ;
1967 PyObject
* obj1
= 0 ;
1969 (char *) "self",(char *) "dc", NULL
1972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
1973 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1974 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1976 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1980 (arg1
)->base_OnHighlight(*arg2
);
1982 wxPyEndAllowThreads(__tstate
);
1983 if (PyErr_Occurred()) SWIG_fail
;
1985 Py_INCREF(Py_None
); resultobj
= Py_None
;
1992 static PyObject
*_wrap_PyShapeEvtHandler_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1993 PyObject
*resultobj
;
1994 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
1997 int arg4
= (int) 0 ;
1998 int arg5
= (int) 0 ;
1999 PyObject
* obj0
= 0 ;
2001 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyShapeEvtHandler_base_OnLeftClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
2005 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2008 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
2010 wxPyEndAllowThreads(__tstate
);
2011 if (PyErr_Occurred()) SWIG_fail
;
2013 Py_INCREF(Py_None
); resultobj
= Py_None
;
2020 static PyObject
*_wrap_PyShapeEvtHandler_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2021 PyObject
*resultobj
;
2022 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2025 int arg4
= (int) 0 ;
2026 int arg5
= (int) 0 ;
2027 PyObject
* obj0
= 0 ;
2029 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyShapeEvtHandler_base_OnLeftDoubleClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
2033 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2036 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
2038 wxPyEndAllowThreads(__tstate
);
2039 if (PyErr_Occurred()) SWIG_fail
;
2041 Py_INCREF(Py_None
); resultobj
= Py_None
;
2048 static PyObject
*_wrap_PyShapeEvtHandler_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2049 PyObject
*resultobj
;
2050 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2053 int arg4
= (int) 0 ;
2054 int arg5
= (int) 0 ;
2055 PyObject
* obj0
= 0 ;
2057 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyShapeEvtHandler_base_OnRightClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
2061 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2064 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
2066 wxPyEndAllowThreads(__tstate
);
2067 if (PyErr_Occurred()) SWIG_fail
;
2069 Py_INCREF(Py_None
); resultobj
= Py_None
;
2076 static PyObject
*_wrap_PyShapeEvtHandler_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2077 PyObject
*resultobj
;
2078 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2081 PyObject
* obj0
= 0 ;
2083 (char *) "self",(char *) "x",(char *) "y", NULL
2086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyShapeEvtHandler_base_OnSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
2087 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2090 (arg1
)->base_OnSize(arg2
,arg3
);
2092 wxPyEndAllowThreads(__tstate
);
2093 if (PyErr_Occurred()) SWIG_fail
;
2095 Py_INCREF(Py_None
); resultobj
= Py_None
;
2102 static PyObject
*_wrap_PyShapeEvtHandler_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2103 PyObject
*resultobj
;
2104 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2110 bool arg7
= (bool) TRUE
;
2112 PyObject
* obj0
= 0 ;
2113 PyObject
* obj1
= 0 ;
2114 PyObject
* obj6
= 0 ;
2116 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
2119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyShapeEvtHandler_base_OnMovePre",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
2120 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2121 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2123 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2126 arg7
= PyInt_AsLong(obj6
) ? true : false;
2127 if (PyErr_Occurred()) SWIG_fail
;
2130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2131 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
2133 wxPyEndAllowThreads(__tstate
);
2134 if (PyErr_Occurred()) SWIG_fail
;
2136 resultobj
= PyInt_FromLong((long)result
);
2143 static PyObject
*_wrap_PyShapeEvtHandler_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2144 PyObject
*resultobj
;
2145 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2151 bool arg7
= (bool) TRUE
;
2152 PyObject
* obj0
= 0 ;
2153 PyObject
* obj1
= 0 ;
2154 PyObject
* obj6
= 0 ;
2156 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
2159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyShapeEvtHandler_base_OnMovePost",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
2160 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2161 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2163 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2166 arg7
= PyInt_AsLong(obj6
) ? true : false;
2167 if (PyErr_Occurred()) SWIG_fail
;
2170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2171 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
2173 wxPyEndAllowThreads(__tstate
);
2174 if (PyErr_Occurred()) SWIG_fail
;
2176 Py_INCREF(Py_None
); resultobj
= Py_None
;
2183 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2184 PyObject
*resultobj
;
2185 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2189 int arg5
= (int) 0 ;
2190 int arg6
= (int) 0 ;
2191 PyObject
* obj0
= 0 ;
2192 PyObject
* obj1
= 0 ;
2194 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyShapeEvtHandler_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
2198 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2199 arg2
= PyInt_AsLong(obj1
) ? true : false;
2200 if (PyErr_Occurred()) SWIG_fail
;
2202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2203 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
2205 wxPyEndAllowThreads(__tstate
);
2206 if (PyErr_Occurred()) SWIG_fail
;
2208 Py_INCREF(Py_None
); resultobj
= Py_None
;
2215 static PyObject
*_wrap_PyShapeEvtHandler_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2216 PyObject
*resultobj
;
2217 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2220 int arg4
= (int) 0 ;
2221 int arg5
= (int) 0 ;
2222 PyObject
* obj0
= 0 ;
2224 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyShapeEvtHandler_base_OnBeginDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
2228 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2231 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
2233 wxPyEndAllowThreads(__tstate
);
2234 if (PyErr_Occurred()) SWIG_fail
;
2236 Py_INCREF(Py_None
); resultobj
= Py_None
;
2243 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2244 PyObject
*resultobj
;
2245 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2248 int arg4
= (int) 0 ;
2249 int arg5
= (int) 0 ;
2250 PyObject
* obj0
= 0 ;
2252 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyShapeEvtHandler_base_OnEndDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
2256 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2259 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
2261 wxPyEndAllowThreads(__tstate
);
2262 if (PyErr_Occurred()) SWIG_fail
;
2264 Py_INCREF(Py_None
); resultobj
= Py_None
;
2271 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2272 PyObject
*resultobj
;
2273 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2277 int arg5
= (int) 0 ;
2278 int arg6
= (int) 0 ;
2279 PyObject
* obj0
= 0 ;
2280 PyObject
* obj1
= 0 ;
2282 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyShapeEvtHandler_base_OnDragRight",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
2286 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2287 arg2
= PyInt_AsLong(obj1
) ? true : false;
2288 if (PyErr_Occurred()) SWIG_fail
;
2290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2291 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
2293 wxPyEndAllowThreads(__tstate
);
2294 if (PyErr_Occurred()) SWIG_fail
;
2296 Py_INCREF(Py_None
); resultobj
= Py_None
;
2303 static PyObject
*_wrap_PyShapeEvtHandler_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2304 PyObject
*resultobj
;
2305 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2308 int arg4
= (int) 0 ;
2309 int arg5
= (int) 0 ;
2310 PyObject
* obj0
= 0 ;
2312 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyShapeEvtHandler_base_OnBeginDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
2316 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2319 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
2321 wxPyEndAllowThreads(__tstate
);
2322 if (PyErr_Occurred()) SWIG_fail
;
2324 Py_INCREF(Py_None
); resultobj
= Py_None
;
2331 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2332 PyObject
*resultobj
;
2333 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2336 int arg4
= (int) 0 ;
2337 int arg5
= (int) 0 ;
2338 PyObject
* obj0
= 0 ;
2340 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyShapeEvtHandler_base_OnEndDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
2344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2347 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
2349 wxPyEndAllowThreads(__tstate
);
2350 if (PyErr_Occurred()) SWIG_fail
;
2352 Py_INCREF(Py_None
); resultobj
= Py_None
;
2359 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2360 PyObject
*resultobj
;
2361 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2367 PyObject
* obj0
= 0 ;
2368 PyObject
* obj1
= 0 ;
2370 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
2373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd:PyShapeEvtHandler_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
2374 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2375 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2377 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2381 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
2383 wxPyEndAllowThreads(__tstate
);
2384 if (PyErr_Occurred()) SWIG_fail
;
2386 Py_INCREF(Py_None
); resultobj
= Py_None
;
2393 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2394 PyObject
*resultobj
;
2395 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2397 PyObject
* obj0
= 0 ;
2398 PyObject
* obj1
= 0 ;
2400 (char *) "self",(char *) "dc", NULL
2403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
2404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2405 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2407 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2411 (arg1
)->base_OnDrawControlPoints(*arg2
);
2413 wxPyEndAllowThreads(__tstate
);
2414 if (PyErr_Occurred()) SWIG_fail
;
2416 Py_INCREF(Py_None
); resultobj
= Py_None
;
2423 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2424 PyObject
*resultobj
;
2425 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2427 PyObject
* obj0
= 0 ;
2428 PyObject
* obj1
= 0 ;
2430 (char *) "self",(char *) "dc", NULL
2433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
2434 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2435 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2437 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2441 (arg1
)->base_OnEraseControlPoints(*arg2
);
2443 wxPyEndAllowThreads(__tstate
);
2444 if (PyErr_Occurred()) SWIG_fail
;
2446 Py_INCREF(Py_None
); resultobj
= Py_None
;
2453 static PyObject
*_wrap_PyShapeEvtHandler_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2454 PyObject
*resultobj
;
2455 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2457 bool arg3
= (bool) TRUE
;
2458 PyObject
* obj0
= 0 ;
2459 PyObject
* obj1
= 0 ;
2460 PyObject
* obj2
= 0 ;
2462 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
2465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShapeEvtHandler_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2466 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2467 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2469 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2472 arg3
= PyInt_AsLong(obj2
) ? true : false;
2473 if (PyErr_Occurred()) SWIG_fail
;
2476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2477 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
2479 wxPyEndAllowThreads(__tstate
);
2480 if (PyErr_Occurred()) SWIG_fail
;
2482 Py_INCREF(Py_None
); resultobj
= Py_None
;
2489 static PyObject
*_wrap_PyShapeEvtHandler_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2490 PyObject
*resultobj
;
2491 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2492 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
2496 int arg6
= (int) 0 ;
2497 int arg7
= (int) 0 ;
2498 PyObject
* obj0
= 0 ;
2499 PyObject
* obj1
= 0 ;
2500 PyObject
* obj2
= 0 ;
2502 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd|ii:PyShapeEvtHandler_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
2506 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2507 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2508 arg3
= PyInt_AsLong(obj2
) ? true : false;
2509 if (PyErr_Occurred()) SWIG_fail
;
2511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2512 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
2514 wxPyEndAllowThreads(__tstate
);
2515 if (PyErr_Occurred()) SWIG_fail
;
2517 Py_INCREF(Py_None
); resultobj
= Py_None
;
2524 static PyObject
*_wrap_PyShapeEvtHandler_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2525 PyObject
*resultobj
;
2526 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2527 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
2530 int arg5
= (int) 0 ;
2531 int arg6
= (int) 0 ;
2532 PyObject
* obj0
= 0 ;
2533 PyObject
* obj1
= 0 ;
2535 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyShapeEvtHandler_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
2539 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2540 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2543 (arg1
)->base_OnSizingBeginDragLeft(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_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2556 PyObject
*resultobj
;
2557 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2558 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
2561 int arg5
= (int) 0 ;
2562 int arg6
= (int) 0 ;
2563 PyObject
* obj0
= 0 ;
2564 PyObject
* obj1
= 0 ;
2566 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyShapeEvtHandler_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
2570 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2571 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2574 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
2576 wxPyEndAllowThreads(__tstate
);
2577 if (PyErr_Occurred()) SWIG_fail
;
2579 Py_INCREF(Py_None
); resultobj
= Py_None
;
2586 static PyObject
*_wrap_PyShapeEvtHandler_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2587 PyObject
*resultobj
;
2588 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2591 PyObject
* obj0
= 0 ;
2593 (char *) "self",(char *) "w",(char *) "h", NULL
2596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyShapeEvtHandler_base_OnBeginSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
2597 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2600 (arg1
)->base_OnBeginSize(arg2
,arg3
);
2602 wxPyEndAllowThreads(__tstate
);
2603 if (PyErr_Occurred()) SWIG_fail
;
2605 Py_INCREF(Py_None
); resultobj
= Py_None
;
2612 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2613 PyObject
*resultobj
;
2614 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2617 PyObject
* obj0
= 0 ;
2619 (char *) "self",(char *) "w",(char *) "h", NULL
2622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyShapeEvtHandler_base_OnEndSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
2623 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2626 (arg1
)->base_OnEndSize(arg2
,arg3
);
2628 wxPyEndAllowThreads(__tstate
);
2629 if (PyErr_Occurred()) SWIG_fail
;
2631 Py_INCREF(Py_None
); resultobj
= Py_None
;
2638 static PyObject
* PyShapeEvtHandler_swigregister(PyObject
*self
, PyObject
*args
) {
2640 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2641 SWIG_TypeClientData(SWIGTYPE_p_wxPyShapeEvtHandler
, obj
);
2643 return Py_BuildValue((char *)"");
2645 static PyObject
*_wrap_new_PyShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2646 PyObject
*resultobj
;
2647 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) NULL
;
2649 PyObject
* obj0
= 0 ;
2651 (char *) "can", NULL
2654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyShape",kwnames
,&obj0
)) goto fail
;
2656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2660 result
= (wxPyShape
*)new wxPyShape(arg1
);
2662 wxPyEndAllowThreads(__tstate
);
2663 if (PyErr_Occurred()) SWIG_fail
;
2666 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
2674 static PyObject
*_wrap_PyShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2675 PyObject
*resultobj
;
2676 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
2677 PyObject
*arg2
= (PyObject
*) 0 ;
2678 PyObject
*arg3
= (PyObject
*) 0 ;
2679 PyObject
* obj0
= 0 ;
2680 PyObject
* obj1
= 0 ;
2681 PyObject
* obj2
= 0 ;
2683 (char *) "self",(char *) "self",(char *) "_class", NULL
2686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2687 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2692 (arg1
)->_setCallbackInfo(arg2
,arg3
);
2694 wxPyEndAllowThreads(__tstate
);
2695 if (PyErr_Occurred()) SWIG_fail
;
2697 Py_INCREF(Py_None
); resultobj
= Py_None
;
2704 static PyObject
*_wrap_PyShape_GetBoundingBoxMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2705 PyObject
*resultobj
;
2706 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
2707 double *arg2
= (double *) 0 ;
2708 double *arg3
= (double *) 0 ;
2711 PyObject
* obj0
= 0 ;
2713 (char *) "self", NULL
2718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBoundingBoxMax",kwnames
,&obj0
)) goto fail
;
2719 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2722 (arg1
)->GetBoundingBoxMax(arg2
,arg3
);
2724 wxPyEndAllowThreads(__tstate
);
2725 if (PyErr_Occurred()) SWIG_fail
;
2727 Py_INCREF(Py_None
); resultobj
= Py_None
;
2729 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
2730 resultobj
= t_output_helper(resultobj
,o
);
2733 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
2734 resultobj
= t_output_helper(resultobj
,o
);
2742 static PyObject
*_wrap_PyShape_GetBoundingBoxMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2743 PyObject
*resultobj
;
2744 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
2745 double *arg2
= (double *) 0 ;
2746 double *arg3
= (double *) 0 ;
2749 PyObject
* obj0
= 0 ;
2751 (char *) "self", NULL
2756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBoundingBoxMin",kwnames
,&obj0
)) goto fail
;
2757 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2760 (arg1
)->GetBoundingBoxMin(arg2
,arg3
);
2762 wxPyEndAllowThreads(__tstate
);
2763 if (PyErr_Occurred()) SWIG_fail
;
2765 Py_INCREF(Py_None
); resultobj
= Py_None
;
2767 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
2768 resultobj
= t_output_helper(resultobj
,o
);
2771 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
2772 resultobj
= t_output_helper(resultobj
,o
);
2780 static PyObject
*_wrap_PyShape_GetPerimeterPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2781 PyObject
*resultobj
;
2782 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
2787 double *arg6
= (double *) 0 ;
2788 double *arg7
= (double *) 0 ;
2792 PyObject
* obj0
= 0 ;
2794 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
2799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odddd:PyShape_GetPerimeterPoint",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
2800 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2803 result
= (bool)(arg1
)->GetPerimeterPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
2805 wxPyEndAllowThreads(__tstate
);
2806 if (PyErr_Occurred()) SWIG_fail
;
2808 resultobj
= PyInt_FromLong((long)result
);
2810 PyObject
*o
= PyFloat_FromDouble((double) (*arg6
));
2811 resultobj
= t_output_helper(resultobj
,o
);
2814 PyObject
*o
= PyFloat_FromDouble((double) (*arg7
));
2815 resultobj
= t_output_helper(resultobj
,o
);
2823 static PyObject
*_wrap_PyShape_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2824 PyObject
*resultobj
;
2825 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
2826 wxPyShapeCanvas
*result
;
2827 PyObject
* obj0
= 0 ;
2829 (char *) "self", NULL
2832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetCanvas",kwnames
,&obj0
)) goto fail
;
2833 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2836 result
= (wxPyShapeCanvas
*)(arg1
)->GetCanvas();
2838 wxPyEndAllowThreads(__tstate
);
2839 if (PyErr_Occurred()) SWIG_fail
;
2842 resultobj
= wxPyMake_wxObject(result
);
2850 static PyObject
*_wrap_PyShape_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2851 PyObject
*resultobj
;
2852 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
2853 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
2854 PyObject
* obj0
= 0 ;
2855 PyObject
* obj1
= 0 ;
2857 (char *) "self",(char *) "the_canvas", NULL
2860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
2861 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2862 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2865 (arg1
)->SetCanvas(arg2
);
2867 wxPyEndAllowThreads(__tstate
);
2868 if (PyErr_Occurred()) SWIG_fail
;
2870 Py_INCREF(Py_None
); resultobj
= Py_None
;
2877 static PyObject
*_wrap_PyShape_AddToCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2878 PyObject
*resultobj
;
2879 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
2880 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
2881 wxPyShape
*arg3
= (wxPyShape
*) NULL
;
2882 PyObject
* obj0
= 0 ;
2883 PyObject
* obj1
= 0 ;
2884 PyObject
* obj2
= 0 ;
2886 (char *) "self",(char *) "the_canvas",(char *) "addAfter", NULL
2889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_AddToCanvas",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2890 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2891 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2893 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2897 (arg1
)->AddToCanvas(arg2
,arg3
);
2899 wxPyEndAllowThreads(__tstate
);
2900 if (PyErr_Occurred()) SWIG_fail
;
2902 Py_INCREF(Py_None
); resultobj
= Py_None
;
2909 static PyObject
*_wrap_PyShape_InsertInCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2910 PyObject
*resultobj
;
2911 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
2912 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
2913 PyObject
* obj0
= 0 ;
2914 PyObject
* obj1
= 0 ;
2916 (char *) "self",(char *) "the_canvas", NULL
2919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_InsertInCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
2920 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2921 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2924 (arg1
)->InsertInCanvas(arg2
);
2926 wxPyEndAllowThreads(__tstate
);
2927 if (PyErr_Occurred()) SWIG_fail
;
2929 Py_INCREF(Py_None
); resultobj
= Py_None
;
2936 static PyObject
*_wrap_PyShape_RemoveFromCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2937 PyObject
*resultobj
;
2938 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
2939 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
2940 PyObject
* obj0
= 0 ;
2941 PyObject
* obj1
= 0 ;
2943 (char *) "self",(char *) "the_canvas", NULL
2946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_RemoveFromCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
2947 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2948 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2951 (arg1
)->RemoveFromCanvas(arg2
);
2953 wxPyEndAllowThreads(__tstate
);
2954 if (PyErr_Occurred()) SWIG_fail
;
2956 Py_INCREF(Py_None
); resultobj
= Py_None
;
2963 static PyObject
*_wrap_PyShape_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2964 PyObject
*resultobj
;
2965 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
2967 PyObject
* obj0
= 0 ;
2969 (char *) "self", NULL
2972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetX",kwnames
,&obj0
)) goto fail
;
2973 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2976 result
= (double)(arg1
)->GetX();
2978 wxPyEndAllowThreads(__tstate
);
2979 if (PyErr_Occurred()) SWIG_fail
;
2981 resultobj
= PyFloat_FromDouble(result
);
2988 static PyObject
*_wrap_PyShape_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2989 PyObject
*resultobj
;
2990 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
2992 PyObject
* obj0
= 0 ;
2994 (char *) "self", NULL
2997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetY",kwnames
,&obj0
)) goto fail
;
2998 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3001 result
= (double)(arg1
)->GetY();
3003 wxPyEndAllowThreads(__tstate
);
3004 if (PyErr_Occurred()) SWIG_fail
;
3006 resultobj
= PyFloat_FromDouble(result
);
3013 static PyObject
*_wrap_PyShape_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3014 PyObject
*resultobj
;
3015 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3017 PyObject
* obj0
= 0 ;
3019 (char *) "self",(char *) "x", NULL
3022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:PyShape_SetX",kwnames
,&obj0
,&arg2
)) goto fail
;
3023 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3028 wxPyEndAllowThreads(__tstate
);
3029 if (PyErr_Occurred()) SWIG_fail
;
3031 Py_INCREF(Py_None
); resultobj
= Py_None
;
3038 static PyObject
*_wrap_PyShape_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3039 PyObject
*resultobj
;
3040 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3042 PyObject
* obj0
= 0 ;
3044 (char *) "self",(char *) "y", NULL
3047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:PyShape_SetY",kwnames
,&obj0
,&arg2
)) goto fail
;
3048 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3053 wxPyEndAllowThreads(__tstate
);
3054 if (PyErr_Occurred()) SWIG_fail
;
3056 Py_INCREF(Py_None
); resultobj
= Py_None
;
3063 static PyObject
*_wrap_PyShape_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3064 PyObject
*resultobj
;
3065 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3067 PyObject
* obj0
= 0 ;
3069 (char *) "self", NULL
3072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetParent",kwnames
,&obj0
)) goto fail
;
3073 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3076 result
= (wxPyShape
*)(arg1
)->GetParent();
3078 wxPyEndAllowThreads(__tstate
);
3079 if (PyErr_Occurred()) SWIG_fail
;
3082 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
3090 static PyObject
*_wrap_PyShape_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3091 PyObject
*resultobj
;
3092 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3093 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
3094 PyObject
* obj0
= 0 ;
3095 PyObject
* obj1
= 0 ;
3097 (char *) "self",(char *) "p", NULL
3100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
3101 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3102 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3105 (arg1
)->SetParent(arg2
);
3107 wxPyEndAllowThreads(__tstate
);
3108 if (PyErr_Occurred()) SWIG_fail
;
3110 Py_INCREF(Py_None
); resultobj
= Py_None
;
3117 static PyObject
*_wrap_PyShape_GetTopAncestor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3118 PyObject
*resultobj
;
3119 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3121 PyObject
* obj0
= 0 ;
3123 (char *) "self", NULL
3126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetTopAncestor",kwnames
,&obj0
)) goto fail
;
3127 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3130 result
= (wxPyShape
*)(arg1
)->GetTopAncestor();
3132 wxPyEndAllowThreads(__tstate
);
3133 if (PyErr_Occurred()) SWIG_fail
;
3136 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
3144 static PyObject
*_wrap_PyShape_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3145 PyObject
*resultobj
;
3146 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3148 PyObject
* obj0
= 0 ;
3150 (char *) "self", NULL
3153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetChildren",kwnames
,&obj0
)) goto fail
;
3154 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3157 result
= (PyObject
*)wxPyShape_GetChildren(arg1
);
3159 wxPyEndAllowThreads(__tstate
);
3160 if (PyErr_Occurred()) SWIG_fail
;
3169 static PyObject
*_wrap_PyShape_Unlink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3170 PyObject
*resultobj
;
3171 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3172 PyObject
* obj0
= 0 ;
3174 (char *) "self", NULL
3177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Unlink",kwnames
,&obj0
)) goto fail
;
3178 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3183 wxPyEndAllowThreads(__tstate
);
3184 if (PyErr_Occurred()) SWIG_fail
;
3186 Py_INCREF(Py_None
); resultobj
= Py_None
;
3193 static PyObject
*_wrap_PyShape_SetDrawHandles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3194 PyObject
*resultobj
;
3195 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3197 PyObject
* obj0
= 0 ;
3198 PyObject
* obj1
= 0 ;
3200 (char *) "self",(char *) "drawH", NULL
3203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetDrawHandles",kwnames
,&obj0
,&obj1
)) goto fail
;
3204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3205 arg2
= PyInt_AsLong(obj1
) ? true : false;
3206 if (PyErr_Occurred()) SWIG_fail
;
3208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3209 (arg1
)->SetDrawHandles(arg2
);
3211 wxPyEndAllowThreads(__tstate
);
3212 if (PyErr_Occurred()) SWIG_fail
;
3214 Py_INCREF(Py_None
); resultobj
= Py_None
;
3221 static PyObject
*_wrap_PyShape_GetDrawHandles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3222 PyObject
*resultobj
;
3223 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3225 PyObject
* obj0
= 0 ;
3227 (char *) "self", NULL
3230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetDrawHandles",kwnames
,&obj0
)) goto fail
;
3231 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3234 result
= (bool)(arg1
)->GetDrawHandles();
3236 wxPyEndAllowThreads(__tstate
);
3237 if (PyErr_Occurred()) SWIG_fail
;
3239 resultobj
= PyInt_FromLong((long)result
);
3246 static PyObject
*_wrap_PyShape_MakeControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3247 PyObject
*resultobj
;
3248 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3249 PyObject
* obj0
= 0 ;
3251 (char *) "self", NULL
3254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_MakeControlPoints",kwnames
,&obj0
)) goto fail
;
3255 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3258 (arg1
)->MakeControlPoints();
3260 wxPyEndAllowThreads(__tstate
);
3261 if (PyErr_Occurred()) SWIG_fail
;
3263 Py_INCREF(Py_None
); resultobj
= Py_None
;
3270 static PyObject
*_wrap_PyShape_DeleteControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3271 PyObject
*resultobj
;
3272 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3273 wxDC
*arg2
= (wxDC
*) NULL
;
3274 PyObject
* obj0
= 0 ;
3275 PyObject
* obj1
= 0 ;
3277 (char *) "self",(char *) "dc", NULL
3280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyShape_DeleteControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
3281 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3283 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3287 (arg1
)->DeleteControlPoints(arg2
);
3289 wxPyEndAllowThreads(__tstate
);
3290 if (PyErr_Occurred()) SWIG_fail
;
3292 Py_INCREF(Py_None
); resultobj
= Py_None
;
3299 static PyObject
*_wrap_PyShape_ResetControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3300 PyObject
*resultobj
;
3301 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3302 PyObject
* obj0
= 0 ;
3304 (char *) "self", NULL
3307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_ResetControlPoints",kwnames
,&obj0
)) goto fail
;
3308 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3311 (arg1
)->ResetControlPoints();
3313 wxPyEndAllowThreads(__tstate
);
3314 if (PyErr_Occurred()) SWIG_fail
;
3316 Py_INCREF(Py_None
); resultobj
= Py_None
;
3323 static PyObject
*_wrap_PyShape_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3324 PyObject
*resultobj
;
3325 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3326 wxPyShapeEvtHandler
*result
;
3327 PyObject
* obj0
= 0 ;
3329 (char *) "self", NULL
3332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetEventHandler",kwnames
,&obj0
)) goto fail
;
3333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3336 result
= (wxPyShapeEvtHandler
*)(arg1
)->GetEventHandler();
3338 wxPyEndAllowThreads(__tstate
);
3339 if (PyErr_Occurred()) SWIG_fail
;
3342 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
3350 static PyObject
*_wrap_PyShape_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3351 PyObject
*resultobj
;
3352 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3353 wxPyShapeEvtHandler
*arg2
= (wxPyShapeEvtHandler
*) 0 ;
3354 PyObject
* obj0
= 0 ;
3355 PyObject
* obj1
= 0 ;
3357 (char *) "self",(char *) "handler", NULL
3360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
3361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3362 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3365 (arg1
)->SetEventHandler(arg2
);
3367 wxPyEndAllowThreads(__tstate
);
3368 if (PyErr_Occurred()) SWIG_fail
;
3370 Py_INCREF(Py_None
); resultobj
= Py_None
;
3377 static PyObject
*_wrap_PyShape_MakeMandatoryControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3378 PyObject
*resultobj
;
3379 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3380 PyObject
* obj0
= 0 ;
3382 (char *) "self", NULL
3385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_MakeMandatoryControlPoints",kwnames
,&obj0
)) goto fail
;
3386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3389 (arg1
)->MakeMandatoryControlPoints();
3391 wxPyEndAllowThreads(__tstate
);
3392 if (PyErr_Occurred()) SWIG_fail
;
3394 Py_INCREF(Py_None
); resultobj
= Py_None
;
3401 static PyObject
*_wrap_PyShape_ResetMandatoryControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3402 PyObject
*resultobj
;
3403 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3404 PyObject
* obj0
= 0 ;
3406 (char *) "self", NULL
3409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_ResetMandatoryControlPoints",kwnames
,&obj0
)) goto fail
;
3410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3413 (arg1
)->ResetMandatoryControlPoints();
3415 wxPyEndAllowThreads(__tstate
);
3416 if (PyErr_Occurred()) SWIG_fail
;
3418 Py_INCREF(Py_None
); resultobj
= Py_None
;
3425 static PyObject
*_wrap_PyShape_Recompute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3426 PyObject
*resultobj
;
3427 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3429 PyObject
* obj0
= 0 ;
3431 (char *) "self", NULL
3434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Recompute",kwnames
,&obj0
)) goto fail
;
3435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3438 result
= (bool)(arg1
)->Recompute();
3440 wxPyEndAllowThreads(__tstate
);
3441 if (PyErr_Occurred()) SWIG_fail
;
3443 resultobj
= PyInt_FromLong((long)result
);
3450 static PyObject
*_wrap_PyShape_CalculateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3451 PyObject
*resultobj
;
3452 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3453 PyObject
* obj0
= 0 ;
3455 (char *) "self", NULL
3458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_CalculateSize",kwnames
,&obj0
)) goto fail
;
3459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3462 (arg1
)->CalculateSize();
3464 wxPyEndAllowThreads(__tstate
);
3465 if (PyErr_Occurred()) SWIG_fail
;
3467 Py_INCREF(Py_None
); resultobj
= Py_None
;
3474 static PyObject
*_wrap_PyShape_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3475 PyObject
*resultobj
;
3476 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3477 bool arg2
= (bool) TRUE
;
3478 wxDC
*arg3
= (wxDC
*) NULL
;
3479 PyObject
* obj0
= 0 ;
3480 PyObject
* obj1
= 0 ;
3481 PyObject
* obj2
= 0 ;
3483 (char *) "self",(char *) "select",(char *) "dc", NULL
3486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyShape_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3489 arg2
= PyInt_AsLong(obj1
) ? true : false;
3490 if (PyErr_Occurred()) SWIG_fail
;
3493 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3497 (arg1
)->Select(arg2
,arg3
);
3499 wxPyEndAllowThreads(__tstate
);
3500 if (PyErr_Occurred()) SWIG_fail
;
3502 Py_INCREF(Py_None
); resultobj
= Py_None
;
3509 static PyObject
*_wrap_PyShape_SetHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3510 PyObject
*resultobj
;
3511 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3512 bool arg2
= (bool) TRUE
;
3513 bool arg3
= (bool) FALSE
;
3514 PyObject
* obj0
= 0 ;
3515 PyObject
* obj1
= 0 ;
3516 PyObject
* obj2
= 0 ;
3518 (char *) "self",(char *) "hi",(char *) "recurse", NULL
3521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyShape_SetHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3522 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3524 arg2
= PyInt_AsLong(obj1
) ? true : false;
3525 if (PyErr_Occurred()) SWIG_fail
;
3528 arg3
= PyInt_AsLong(obj2
) ? true : false;
3529 if (PyErr_Occurred()) SWIG_fail
;
3532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3533 (arg1
)->SetHighlight(arg2
,arg3
);
3535 wxPyEndAllowThreads(__tstate
);
3536 if (PyErr_Occurred()) SWIG_fail
;
3538 Py_INCREF(Py_None
); resultobj
= Py_None
;
3545 static PyObject
*_wrap_PyShape_IsHighlighted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3546 PyObject
*resultobj
;
3547 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3549 PyObject
* obj0
= 0 ;
3551 (char *) "self", NULL
3554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_IsHighlighted",kwnames
,&obj0
)) goto fail
;
3555 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3558 result
= (bool)(arg1
)->IsHighlighted();
3560 wxPyEndAllowThreads(__tstate
);
3561 if (PyErr_Occurred()) SWIG_fail
;
3563 resultobj
= PyInt_FromLong((long)result
);
3570 static PyObject
*_wrap_PyShape_Selected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3571 PyObject
*resultobj
;
3572 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3574 PyObject
* obj0
= 0 ;
3576 (char *) "self", NULL
3579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Selected",kwnames
,&obj0
)) goto fail
;
3580 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3583 result
= (bool)(arg1
)->Selected();
3585 wxPyEndAllowThreads(__tstate
);
3586 if (PyErr_Occurred()) SWIG_fail
;
3588 resultobj
= PyInt_FromLong((long)result
);
3595 static PyObject
*_wrap_PyShape_AncestorSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3596 PyObject
*resultobj
;
3597 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3599 PyObject
* obj0
= 0 ;
3601 (char *) "self", NULL
3604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_AncestorSelected",kwnames
,&obj0
)) goto fail
;
3605 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3608 result
= (bool)(arg1
)->AncestorSelected();
3610 wxPyEndAllowThreads(__tstate
);
3611 if (PyErr_Occurred()) SWIG_fail
;
3613 resultobj
= PyInt_FromLong((long)result
);
3620 static PyObject
*_wrap_PyShape_SetSensitivityFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3621 PyObject
*resultobj
;
3622 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3623 int arg2
= (int) OP_ALL
;
3624 bool arg3
= (bool) FALSE
;
3625 PyObject
* obj0
= 0 ;
3626 PyObject
* obj2
= 0 ;
3628 (char *) "self",(char *) "sens",(char *) "recursive", NULL
3631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iO:PyShape_SetSensitivityFilter",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
3632 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3634 arg3
= PyInt_AsLong(obj2
) ? true : false;
3635 if (PyErr_Occurred()) SWIG_fail
;
3638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3639 (arg1
)->SetSensitivityFilter(arg2
,arg3
);
3641 wxPyEndAllowThreads(__tstate
);
3642 if (PyErr_Occurred()) SWIG_fail
;
3644 Py_INCREF(Py_None
); resultobj
= Py_None
;
3651 static PyObject
*_wrap_PyShape_GetSensitivityFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3652 PyObject
*resultobj
;
3653 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3655 PyObject
* obj0
= 0 ;
3657 (char *) "self", NULL
3660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetSensitivityFilter",kwnames
,&obj0
)) goto fail
;
3661 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3664 result
= (int)(arg1
)->GetSensitivityFilter();
3666 wxPyEndAllowThreads(__tstate
);
3667 if (PyErr_Occurred()) SWIG_fail
;
3669 resultobj
= PyInt_FromLong((long)result
);
3676 static PyObject
*_wrap_PyShape_SetDraggable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3677 PyObject
*resultobj
;
3678 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3680 bool arg3
= (bool) FALSE
;
3681 PyObject
* obj0
= 0 ;
3682 PyObject
* obj1
= 0 ;
3683 PyObject
* obj2
= 0 ;
3685 (char *) "self",(char *) "drag",(char *) "recursive", NULL
3688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_SetDraggable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3690 arg2
= PyInt_AsLong(obj1
) ? true : false;
3691 if (PyErr_Occurred()) SWIG_fail
;
3693 arg3
= PyInt_AsLong(obj2
) ? true : false;
3694 if (PyErr_Occurred()) SWIG_fail
;
3697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3698 (arg1
)->SetDraggable(arg2
,arg3
);
3700 wxPyEndAllowThreads(__tstate
);
3701 if (PyErr_Occurred()) SWIG_fail
;
3703 Py_INCREF(Py_None
); resultobj
= Py_None
;
3710 static PyObject
*_wrap_PyShape_SetFixedSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3711 PyObject
*resultobj
;
3712 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3715 PyObject
* obj0
= 0 ;
3716 PyObject
* obj1
= 0 ;
3717 PyObject
* obj2
= 0 ;
3719 (char *) "self",(char *) "x",(char *) "y", NULL
3722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape_SetFixedSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3723 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3724 arg2
= PyInt_AsLong(obj1
) ? true : false;
3725 if (PyErr_Occurred()) SWIG_fail
;
3726 arg3
= PyInt_AsLong(obj2
) ? true : false;
3727 if (PyErr_Occurred()) SWIG_fail
;
3729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3730 (arg1
)->SetFixedSize(arg2
,arg3
);
3732 wxPyEndAllowThreads(__tstate
);
3733 if (PyErr_Occurred()) SWIG_fail
;
3735 Py_INCREF(Py_None
); resultobj
= Py_None
;
3742 static PyObject
*_wrap_PyShape_GetFixedSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3743 PyObject
*resultobj
;
3744 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3745 bool *arg2
= (bool *) 0 ;
3746 bool *arg3
= (bool *) 0 ;
3749 PyObject
* obj0
= 0 ;
3751 (char *) "self", NULL
3756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetFixedSize",kwnames
,&obj0
)) goto fail
;
3757 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3760 (arg1
)->GetFixedSize(arg2
,arg3
);
3762 wxPyEndAllowThreads(__tstate
);
3763 if (PyErr_Occurred()) SWIG_fail
;
3765 Py_INCREF(Py_None
); resultobj
= Py_None
;
3767 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3768 resultobj
= t_output_helper(resultobj
,o
);
3771 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
3772 resultobj
= t_output_helper(resultobj
,o
);
3780 static PyObject
*_wrap_PyShape_GetFixedWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3781 PyObject
*resultobj
;
3782 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3784 PyObject
* obj0
= 0 ;
3786 (char *) "self", NULL
3789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetFixedWidth",kwnames
,&obj0
)) goto fail
;
3790 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3793 result
= (bool)(arg1
)->GetFixedWidth();
3795 wxPyEndAllowThreads(__tstate
);
3796 if (PyErr_Occurred()) SWIG_fail
;
3798 resultobj
= PyInt_FromLong((long)result
);
3805 static PyObject
*_wrap_PyShape_GetFixedHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3806 PyObject
*resultobj
;
3807 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3809 PyObject
* obj0
= 0 ;
3811 (char *) "self", NULL
3814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetFixedHeight",kwnames
,&obj0
)) goto fail
;
3815 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3818 result
= (bool)(arg1
)->GetFixedHeight();
3820 wxPyEndAllowThreads(__tstate
);
3821 if (PyErr_Occurred()) SWIG_fail
;
3823 resultobj
= PyInt_FromLong((long)result
);
3830 static PyObject
*_wrap_PyShape_SetSpaceAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3831 PyObject
*resultobj
;
3832 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3834 PyObject
* obj0
= 0 ;
3835 PyObject
* obj1
= 0 ;
3837 (char *) "self",(char *) "sp", NULL
3840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetSpaceAttachments",kwnames
,&obj0
,&obj1
)) goto fail
;
3841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3842 arg2
= PyInt_AsLong(obj1
) ? true : false;
3843 if (PyErr_Occurred()) SWIG_fail
;
3845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3846 (arg1
)->SetSpaceAttachments(arg2
);
3848 wxPyEndAllowThreads(__tstate
);
3849 if (PyErr_Occurred()) SWIG_fail
;
3851 Py_INCREF(Py_None
); resultobj
= Py_None
;
3858 static PyObject
*_wrap_PyShape_GetSpaceAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3859 PyObject
*resultobj
;
3860 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3862 PyObject
* obj0
= 0 ;
3864 (char *) "self", NULL
3867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetSpaceAttachments",kwnames
,&obj0
)) goto fail
;
3868 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3871 result
= (bool)(arg1
)->GetSpaceAttachments();
3873 wxPyEndAllowThreads(__tstate
);
3874 if (PyErr_Occurred()) SWIG_fail
;
3876 resultobj
= PyInt_FromLong((long)result
);
3883 static PyObject
*_wrap_PyShape_SetShadowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3884 PyObject
*resultobj
;
3885 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3887 bool arg3
= (bool) FALSE
;
3888 PyObject
* obj0
= 0 ;
3889 PyObject
* obj2
= 0 ;
3891 (char *) "self",(char *) "mode",(char *) "redraw", NULL
3894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:PyShape_SetShadowMode",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
3895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3897 arg3
= PyInt_AsLong(obj2
) ? true : false;
3898 if (PyErr_Occurred()) SWIG_fail
;
3901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3902 (arg1
)->SetShadowMode(arg2
,arg3
);
3904 wxPyEndAllowThreads(__tstate
);
3905 if (PyErr_Occurred()) SWIG_fail
;
3907 Py_INCREF(Py_None
); resultobj
= Py_None
;
3914 static PyObject
*_wrap_PyShape_GetShadowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3915 PyObject
*resultobj
;
3916 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3918 PyObject
* obj0
= 0 ;
3920 (char *) "self", NULL
3923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetShadowMode",kwnames
,&obj0
)) goto fail
;
3924 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3927 result
= (int)(arg1
)->GetShadowMode();
3929 wxPyEndAllowThreads(__tstate
);
3930 if (PyErr_Occurred()) SWIG_fail
;
3932 resultobj
= PyInt_FromLong((long)result
);
3939 static PyObject
*_wrap_PyShape_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3940 PyObject
*resultobj
;
3941 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3944 int *arg4
= (int *) 0 ;
3945 double *arg5
= (double *) 0 ;
3949 PyObject
* obj0
= 0 ;
3951 (char *) "self",(char *) "x",(char *) "y", NULL
3956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyShape_HitTest",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
3957 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3960 result
= (bool)(arg1
)->HitTest(arg2
,arg3
,arg4
,arg5
);
3962 wxPyEndAllowThreads(__tstate
);
3963 if (PyErr_Occurred()) SWIG_fail
;
3965 resultobj
= PyInt_FromLong((long)result
);
3967 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
3968 resultobj
= t_output_helper(resultobj
,o
);
3971 PyObject
*o
= PyFloat_FromDouble((double) (*arg5
));
3972 resultobj
= t_output_helper(resultobj
,o
);
3980 static PyObject
*_wrap_PyShape_SetCentreResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3981 PyObject
*resultobj
;
3982 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3984 PyObject
* obj0
= 0 ;
3985 PyObject
* obj1
= 0 ;
3987 (char *) "self",(char *) "cr", NULL
3990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetCentreResize",kwnames
,&obj0
,&obj1
)) goto fail
;
3991 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3992 arg2
= PyInt_AsLong(obj1
) ? true : false;
3993 if (PyErr_Occurred()) SWIG_fail
;
3995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3996 (arg1
)->SetCentreResize(arg2
);
3998 wxPyEndAllowThreads(__tstate
);
3999 if (PyErr_Occurred()) SWIG_fail
;
4001 Py_INCREF(Py_None
); resultobj
= Py_None
;
4008 static PyObject
*_wrap_PyShape_GetCentreResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4009 PyObject
*resultobj
;
4010 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4012 PyObject
* obj0
= 0 ;
4014 (char *) "self", NULL
4017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetCentreResize",kwnames
,&obj0
)) goto fail
;
4018 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4021 result
= (bool)(arg1
)->GetCentreResize();
4023 wxPyEndAllowThreads(__tstate
);
4024 if (PyErr_Occurred()) SWIG_fail
;
4026 resultobj
= PyInt_FromLong((long)result
);
4033 static PyObject
*_wrap_PyShape_SetMaintainAspectRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4034 PyObject
*resultobj
;
4035 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4037 PyObject
* obj0
= 0 ;
4038 PyObject
* obj1
= 0 ;
4040 (char *) "self",(char *) "ar", NULL
4043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetMaintainAspectRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
4044 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4045 arg2
= PyInt_AsLong(obj1
) ? true : false;
4046 if (PyErr_Occurred()) SWIG_fail
;
4048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4049 (arg1
)->SetMaintainAspectRatio(arg2
);
4051 wxPyEndAllowThreads(__tstate
);
4052 if (PyErr_Occurred()) SWIG_fail
;
4054 Py_INCREF(Py_None
); resultobj
= Py_None
;
4061 static PyObject
*_wrap_PyShape_GetMaintainAspectRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4062 PyObject
*resultobj
;
4063 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4065 PyObject
* obj0
= 0 ;
4067 (char *) "self", NULL
4070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetMaintainAspectRatio",kwnames
,&obj0
)) goto fail
;
4071 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4074 result
= (bool)(arg1
)->GetMaintainAspectRatio();
4076 wxPyEndAllowThreads(__tstate
);
4077 if (PyErr_Occurred()) SWIG_fail
;
4079 resultobj
= PyInt_FromLong((long)result
);
4086 static PyObject
*_wrap_PyShape_GetLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4087 PyObject
*resultobj
;
4088 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4090 PyObject
* obj0
= 0 ;
4092 (char *) "self", NULL
4095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetLines",kwnames
,&obj0
)) goto fail
;
4096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4099 result
= (PyObject
*)wxPyShape_GetLines(arg1
);
4101 wxPyEndAllowThreads(__tstate
);
4102 if (PyErr_Occurred()) SWIG_fail
;
4111 static PyObject
*_wrap_PyShape_SetDisableLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4112 PyObject
*resultobj
;
4113 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4115 PyObject
* obj0
= 0 ;
4116 PyObject
* obj1
= 0 ;
4118 (char *) "self",(char *) "flag", NULL
4121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetDisableLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
4122 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4123 arg2
= PyInt_AsLong(obj1
) ? true : false;
4124 if (PyErr_Occurred()) SWIG_fail
;
4126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4127 (arg1
)->SetDisableLabel(arg2
);
4129 wxPyEndAllowThreads(__tstate
);
4130 if (PyErr_Occurred()) SWIG_fail
;
4132 Py_INCREF(Py_None
); resultobj
= Py_None
;
4139 static PyObject
*_wrap_PyShape_GetDisableLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4140 PyObject
*resultobj
;
4141 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4143 PyObject
* obj0
= 0 ;
4145 (char *) "self", NULL
4148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetDisableLabel",kwnames
,&obj0
)) goto fail
;
4149 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4152 result
= (bool)(arg1
)->GetDisableLabel();
4154 wxPyEndAllowThreads(__tstate
);
4155 if (PyErr_Occurred()) SWIG_fail
;
4157 resultobj
= PyInt_FromLong((long)result
);
4164 static PyObject
*_wrap_PyShape_SetAttachmentMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4165 PyObject
*resultobj
;
4166 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4168 PyObject
* obj0
= 0 ;
4170 (char *) "self",(char *) "mode", NULL
4173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyShape_SetAttachmentMode",kwnames
,&obj0
,&arg2
)) goto fail
;
4174 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4177 (arg1
)->SetAttachmentMode(arg2
);
4179 wxPyEndAllowThreads(__tstate
);
4180 if (PyErr_Occurred()) SWIG_fail
;
4182 Py_INCREF(Py_None
); resultobj
= Py_None
;
4189 static PyObject
*_wrap_PyShape_GetAttachmentMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4190 PyObject
*resultobj
;
4191 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4193 PyObject
* obj0
= 0 ;
4195 (char *) "self", NULL
4198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetAttachmentMode",kwnames
,&obj0
)) goto fail
;
4199 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4202 result
= (int)(arg1
)->GetAttachmentMode();
4204 wxPyEndAllowThreads(__tstate
);
4205 if (PyErr_Occurred()) SWIG_fail
;
4207 resultobj
= PyInt_FromLong((long)result
);
4214 static PyObject
*_wrap_PyShape_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4215 PyObject
*resultobj
;
4216 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4218 PyObject
* obj0
= 0 ;
4220 (char *) "self",(char *) "i", NULL
4223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:PyShape_SetId",kwnames
,&obj0
,&arg2
)) goto fail
;
4224 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4227 (arg1
)->SetId(arg2
);
4229 wxPyEndAllowThreads(__tstate
);
4230 if (PyErr_Occurred()) SWIG_fail
;
4232 Py_INCREF(Py_None
); resultobj
= Py_None
;
4239 static PyObject
*_wrap_PyShape_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4240 PyObject
*resultobj
;
4241 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4243 PyObject
* obj0
= 0 ;
4245 (char *) "self", NULL
4248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetId",kwnames
,&obj0
)) goto fail
;
4249 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4252 result
= (long)(arg1
)->GetId();
4254 wxPyEndAllowThreads(__tstate
);
4255 if (PyErr_Occurred()) SWIG_fail
;
4257 resultobj
= PyInt_FromLong((long)result
);
4264 static PyObject
*_wrap_PyShape_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4265 PyObject
*resultobj
;
4266 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4267 wxPen
*arg2
= (wxPen
*) 0 ;
4268 PyObject
* obj0
= 0 ;
4269 PyObject
* obj1
= 0 ;
4271 (char *) "self",(char *) "pen", NULL
4274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
4275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4279 if (obj1
== Py_None
) {
4282 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
4283 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
4288 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
4295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4296 (arg1
)->SetPen(arg2
);
4298 wxPyEndAllowThreads(__tstate
);
4299 if (PyErr_Occurred()) SWIG_fail
;
4301 Py_INCREF(Py_None
); resultobj
= Py_None
;
4308 static PyObject
*_wrap_PyShape_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4309 PyObject
*resultobj
;
4310 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4311 wxBrush
*arg2
= (wxBrush
*) 0 ;
4312 PyObject
* obj0
= 0 ;
4313 PyObject
* obj1
= 0 ;
4315 (char *) "self",(char *) "brush", NULL
4318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
4319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4323 if (obj1
== Py_None
) {
4326 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxBrush"))) {
4327 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxBrush.");
4332 arg2
= wxTheBrushList
->FindOrCreateBrush(temp
->GetColour(), temp
->GetStyle());
4337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4338 (arg1
)->SetBrush(arg2
);
4340 wxPyEndAllowThreads(__tstate
);
4341 if (PyErr_Occurred()) SWIG_fail
;
4343 Py_INCREF(Py_None
); resultobj
= Py_None
;
4350 static PyObject
*_wrap_PyShape_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4351 PyObject
*resultobj
;
4352 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4354 PyObject
* obj0
= 0 ;
4355 PyObject
* obj1
= 0 ;
4357 (char *) "self",(char *) "show", NULL
4360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
4361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4362 arg2
= PyInt_AsLong(obj1
) ? true : false;
4363 if (PyErr_Occurred()) SWIG_fail
;
4365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4368 wxPyEndAllowThreads(__tstate
);
4369 if (PyErr_Occurred()) SWIG_fail
;
4371 Py_INCREF(Py_None
); resultobj
= Py_None
;
4378 static PyObject
*_wrap_PyShape_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4379 PyObject
*resultobj
;
4380 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4382 PyObject
* obj0
= 0 ;
4384 (char *) "self", NULL
4387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_IsShown",kwnames
,&obj0
)) goto fail
;
4388 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4391 result
= (bool)(arg1
)->IsShown();
4393 wxPyEndAllowThreads(__tstate
);
4394 if (PyErr_Occurred()) SWIG_fail
;
4396 resultobj
= PyInt_FromLong((long)result
);
4403 static PyObject
*_wrap_PyShape_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4404 PyObject
*resultobj
;
4405 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4409 bool arg5
= (bool) TRUE
;
4410 PyObject
* obj0
= 0 ;
4411 PyObject
* obj1
= 0 ;
4412 PyObject
* obj4
= 0 ;
4414 (char *) "self",(char *) "dc",(char *) "x1",(char *) "y1",(char *) "display", NULL
4417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|O:PyShape_Move",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&obj4
)) goto fail
;
4418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4419 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4421 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4424 arg5
= PyInt_AsLong(obj4
) ? true : false;
4425 if (PyErr_Occurred()) SWIG_fail
;
4428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4429 (arg1
)->Move(*arg2
,arg3
,arg4
,arg5
);
4431 wxPyEndAllowThreads(__tstate
);
4432 if (PyErr_Occurred()) SWIG_fail
;
4434 Py_INCREF(Py_None
); resultobj
= Py_None
;
4441 static PyObject
*_wrap_PyShape_Erase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4442 PyObject
*resultobj
;
4443 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4445 PyObject
* obj0
= 0 ;
4446 PyObject
* obj1
= 0 ;
4448 (char *) "self",(char *) "dc", NULL
4451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Erase",kwnames
,&obj0
,&obj1
)) goto fail
;
4452 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4453 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4455 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4459 (arg1
)->Erase(*arg2
);
4461 wxPyEndAllowThreads(__tstate
);
4462 if (PyErr_Occurred()) SWIG_fail
;
4464 Py_INCREF(Py_None
); resultobj
= Py_None
;
4471 static PyObject
*_wrap_PyShape_EraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4472 PyObject
*resultobj
;
4473 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4475 PyObject
* obj0
= 0 ;
4476 PyObject
* obj1
= 0 ;
4478 (char *) "self",(char *) "dc", NULL
4481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_EraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
4482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4483 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4485 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4489 (arg1
)->EraseContents(*arg2
);
4491 wxPyEndAllowThreads(__tstate
);
4492 if (PyErr_Occurred()) SWIG_fail
;
4494 Py_INCREF(Py_None
); resultobj
= Py_None
;
4501 static PyObject
*_wrap_PyShape_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4502 PyObject
*resultobj
;
4503 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4505 PyObject
* obj0
= 0 ;
4506 PyObject
* obj1
= 0 ;
4508 (char *) "self",(char *) "dc", NULL
4511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Draw",kwnames
,&obj0
,&obj1
)) goto fail
;
4512 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4513 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4515 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4519 (arg1
)->Draw(*arg2
);
4521 wxPyEndAllowThreads(__tstate
);
4522 if (PyErr_Occurred()) SWIG_fail
;
4524 Py_INCREF(Py_None
); resultobj
= Py_None
;
4531 static PyObject
*_wrap_PyShape_Flash(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4532 PyObject
*resultobj
;
4533 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4534 PyObject
* obj0
= 0 ;
4536 (char *) "self", NULL
4539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Flash",kwnames
,&obj0
)) goto fail
;
4540 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4545 wxPyEndAllowThreads(__tstate
);
4546 if (PyErr_Occurred()) SWIG_fail
;
4548 Py_INCREF(Py_None
); resultobj
= Py_None
;
4555 static PyObject
*_wrap_PyShape_MoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4556 PyObject
*resultobj
;
4557 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4559 PyObject
* obj0
= 0 ;
4560 PyObject
* obj1
= 0 ;
4562 (char *) "self",(char *) "dc", NULL
4565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_MoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
4566 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4567 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4569 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4573 (arg1
)->MoveLinks(*arg2
);
4575 wxPyEndAllowThreads(__tstate
);
4576 if (PyErr_Occurred()) SWIG_fail
;
4578 Py_INCREF(Py_None
); resultobj
= Py_None
;
4585 static PyObject
*_wrap_PyShape_DrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4586 PyObject
*resultobj
;
4587 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4589 PyObject
* obj0
= 0 ;
4590 PyObject
* obj1
= 0 ;
4592 (char *) "self",(char *) "dc", NULL
4595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_DrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
4596 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4597 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4599 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4603 (arg1
)->DrawContents(*arg2
);
4605 wxPyEndAllowThreads(__tstate
);
4606 if (PyErr_Occurred()) SWIG_fail
;
4608 Py_INCREF(Py_None
); resultobj
= Py_None
;
4615 static PyObject
*_wrap_PyShape_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4616 PyObject
*resultobj
;
4617 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4620 bool arg4
= (bool) TRUE
;
4621 PyObject
* obj0
= 0 ;
4622 PyObject
* obj3
= 0 ;
4624 (char *) "self",(char *) "x",(char *) "y",(char *) "recursive", NULL
4627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|O:PyShape_SetSize",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
4628 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4630 arg4
= PyInt_AsLong(obj3
) ? true : false;
4631 if (PyErr_Occurred()) SWIG_fail
;
4634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4635 (arg1
)->SetSize(arg2
,arg3
,arg4
);
4637 wxPyEndAllowThreads(__tstate
);
4638 if (PyErr_Occurred()) SWIG_fail
;
4640 Py_INCREF(Py_None
); resultobj
= Py_None
;
4647 static PyObject
*_wrap_PyShape_SetAttachmentSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4648 PyObject
*resultobj
;
4649 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4652 PyObject
* obj0
= 0 ;
4654 (char *) "self",(char *) "x",(char *) "y", NULL
4657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyShape_SetAttachmentSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
4658 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4661 (arg1
)->SetAttachmentSize(arg2
,arg3
);
4663 wxPyEndAllowThreads(__tstate
);
4664 if (PyErr_Occurred()) SWIG_fail
;
4666 Py_INCREF(Py_None
); resultobj
= Py_None
;
4673 static PyObject
*_wrap_PyShape_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4674 PyObject
*resultobj
;
4675 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4676 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
4677 PyObject
* obj0
= 0 ;
4678 PyObject
* obj1
= 0 ;
4680 (char *) "self",(char *) "can", NULL
4683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
4684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4685 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4688 (arg1
)->Attach(arg2
);
4690 wxPyEndAllowThreads(__tstate
);
4691 if (PyErr_Occurred()) SWIG_fail
;
4693 Py_INCREF(Py_None
); resultobj
= Py_None
;
4700 static PyObject
*_wrap_PyShape_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4701 PyObject
*resultobj
;
4702 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4703 PyObject
* obj0
= 0 ;
4705 (char *) "self", NULL
4708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Detach",kwnames
,&obj0
)) goto fail
;
4709 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4714 wxPyEndAllowThreads(__tstate
);
4715 if (PyErr_Occurred()) SWIG_fail
;
4717 Py_INCREF(Py_None
); resultobj
= Py_None
;
4724 static PyObject
*_wrap_PyShape_Constrain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4725 PyObject
*resultobj
;
4726 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4728 PyObject
* obj0
= 0 ;
4730 (char *) "self", NULL
4733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Constrain",kwnames
,&obj0
)) goto fail
;
4734 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4737 result
= (bool)(arg1
)->Constrain();
4739 wxPyEndAllowThreads(__tstate
);
4740 if (PyErr_Occurred()) SWIG_fail
;
4742 resultobj
= PyInt_FromLong((long)result
);
4749 static PyObject
*_wrap_PyShape_AddLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4750 PyObject
*resultobj
;
4751 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4752 wxPyLineShape
*arg2
= (wxPyLineShape
*) 0 ;
4753 wxPyShape
*arg3
= (wxPyShape
*) 0 ;
4754 int arg4
= (int) 0 ;
4755 int arg5
= (int) 0 ;
4756 int arg6
= (int) -1 ;
4757 int arg7
= (int) -1 ;
4758 PyObject
* obj0
= 0 ;
4759 PyObject
* obj1
= 0 ;
4760 PyObject
* obj2
= 0 ;
4762 (char *) "self",(char *) "line",(char *) "other",(char *) "attachFrom",(char *) "attachTo",(char *) "positionFrom",(char *) "positionTo", NULL
4765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|iiii:PyShape_AddLine",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
4766 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4767 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4768 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4771 (arg1
)->AddLine(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
4773 wxPyEndAllowThreads(__tstate
);
4774 if (PyErr_Occurred()) SWIG_fail
;
4776 Py_INCREF(Py_None
); resultobj
= Py_None
;
4783 static PyObject
*_wrap_PyShape_GetLinePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4784 PyObject
*resultobj
;
4785 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4786 wxPyLineShape
*arg2
= (wxPyLineShape
*) 0 ;
4788 PyObject
* obj0
= 0 ;
4789 PyObject
* obj1
= 0 ;
4791 (char *) "self",(char *) "line", NULL
4794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_GetLinePosition",kwnames
,&obj0
,&obj1
)) goto fail
;
4795 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4796 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4799 result
= (int)(arg1
)->GetLinePosition(arg2
);
4801 wxPyEndAllowThreads(__tstate
);
4802 if (PyErr_Occurred()) SWIG_fail
;
4804 resultobj
= PyInt_FromLong((long)result
);
4811 static PyObject
*_wrap_PyShape_AddText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4812 PyObject
*resultobj
;
4813 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4814 wxString
*arg2
= 0 ;
4815 bool temp2
= false ;
4816 PyObject
* obj0
= 0 ;
4817 PyObject
* obj1
= 0 ;
4819 (char *) "self",(char *) "string", NULL
4822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_AddText",kwnames
,&obj0
,&obj1
)) goto fail
;
4823 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4825 arg2
= wxString_in_helper(obj1
);
4826 if (arg2
== NULL
) SWIG_fail
;
4830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4831 (arg1
)->AddText((wxString
const &)*arg2
);
4833 wxPyEndAllowThreads(__tstate
);
4834 if (PyErr_Occurred()) SWIG_fail
;
4836 Py_INCREF(Py_None
); resultobj
= Py_None
;
4851 static PyObject
*_wrap_PyShape_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4852 PyObject
*resultobj
;
4853 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4855 PyObject
* obj0
= 0 ;
4857 (char *) "self", NULL
4860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetPen",kwnames
,&obj0
)) goto fail
;
4861 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4864 result
= (wxPen
*)(arg1
)->GetPen();
4866 wxPyEndAllowThreads(__tstate
);
4867 if (PyErr_Occurred()) SWIG_fail
;
4869 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPen
, 0);
4876 static PyObject
*_wrap_PyShape_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4877 PyObject
*resultobj
;
4878 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4880 PyObject
* obj0
= 0 ;
4882 (char *) "self", NULL
4885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBrush",kwnames
,&obj0
)) goto fail
;
4886 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4889 result
= (wxBrush
*)(arg1
)->GetBrush();
4891 wxPyEndAllowThreads(__tstate
);
4892 if (PyErr_Occurred()) SWIG_fail
;
4894 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBrush
, 0);
4901 static PyObject
*_wrap_PyShape_SetDefaultRegionSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4902 PyObject
*resultobj
;
4903 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4904 PyObject
* obj0
= 0 ;
4906 (char *) "self", NULL
4909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_SetDefaultRegionSize",kwnames
,&obj0
)) goto fail
;
4910 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4913 (arg1
)->SetDefaultRegionSize();
4915 wxPyEndAllowThreads(__tstate
);
4916 if (PyErr_Occurred()) SWIG_fail
;
4918 Py_INCREF(Py_None
); resultobj
= Py_None
;
4925 static PyObject
*_wrap_PyShape_FormatText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4926 PyObject
*resultobj
;
4927 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4929 wxString
*arg3
= 0 ;
4930 int arg4
= (int) 0 ;
4931 bool temp3
= false ;
4932 PyObject
* obj0
= 0 ;
4933 PyObject
* obj1
= 0 ;
4934 PyObject
* obj2
= 0 ;
4936 (char *) "self",(char *) "dc",(char *) "s",(char *) "regionId", NULL
4939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:PyShape_FormatText",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
4940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4941 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4943 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4946 arg3
= wxString_in_helper(obj2
);
4947 if (arg3
== NULL
) SWIG_fail
;
4951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4952 (arg1
)->FormatText(*arg2
,(wxString
const &)*arg3
,arg4
);
4954 wxPyEndAllowThreads(__tstate
);
4955 if (PyErr_Occurred()) SWIG_fail
;
4957 Py_INCREF(Py_None
); resultobj
= Py_None
;
4972 static PyObject
*_wrap_PyShape_SetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4973 PyObject
*resultobj
;
4974 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4976 int arg3
= (int) 0 ;
4977 PyObject
* obj0
= 0 ;
4979 (char *) "self",(char *) "mode",(char *) "regionId", NULL
4982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|i:PyShape_SetFormatMode",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
4983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4986 (arg1
)->SetFormatMode(arg2
,arg3
);
4988 wxPyEndAllowThreads(__tstate
);
4989 if (PyErr_Occurred()) SWIG_fail
;
4991 Py_INCREF(Py_None
); resultobj
= Py_None
;
4998 static PyObject
*_wrap_PyShape_GetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4999 PyObject
*resultobj
;
5000 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5001 int arg2
= (int) 0 ;
5003 PyObject
* obj0
= 0 ;
5005 (char *) "self",(char *) "regionId", NULL
5008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:PyShape_GetFormatMode",kwnames
,&obj0
,&arg2
)) goto fail
;
5009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5012 result
= (int)(arg1
)->GetFormatMode(arg2
);
5014 wxPyEndAllowThreads(__tstate
);
5015 if (PyErr_Occurred()) SWIG_fail
;
5017 resultobj
= PyInt_FromLong((long)result
);
5024 static PyObject
*_wrap_PyShape_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5025 PyObject
*resultobj
;
5026 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5027 wxFont
*arg2
= (wxFont
*) 0 ;
5028 int arg3
= (int) 0 ;
5029 PyObject
* obj0
= 0 ;
5030 PyObject
* obj1
= 0 ;
5032 (char *) "self",(char *) "font",(char *) "regionId", NULL
5035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:PyShape_SetFont",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
5036 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5040 if (obj1
== Py_None
) {
5043 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxFont"))) {
5044 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxFont.");
5049 arg2
= wxTheFontList
->FindOrCreateFont(temp
->GetPointSize(),
5053 temp
->GetUnderlined(),
5054 temp
->GetFaceName(),
5055 temp
->GetEncoding());
5060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5061 (arg1
)->SetFont(arg2
,arg3
);
5063 wxPyEndAllowThreads(__tstate
);
5064 if (PyErr_Occurred()) SWIG_fail
;
5066 Py_INCREF(Py_None
); resultobj
= Py_None
;
5073 static PyObject
*_wrap_PyShape_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5074 PyObject
*resultobj
;
5075 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5076 int arg2
= (int) 0 ;
5078 PyObject
* obj0
= 0 ;
5080 (char *) "self",(char *) "regionId", NULL
5083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:PyShape_GetFont",kwnames
,&obj0
,&arg2
)) goto fail
;
5084 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5087 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
5089 wxPyEndAllowThreads(__tstate
);
5090 if (PyErr_Occurred()) SWIG_fail
;
5092 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
5099 static PyObject
*_wrap_PyShape_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5100 PyObject
*resultobj
;
5101 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5102 wxString
*arg2
= 0 ;
5103 int arg3
= (int) 0 ;
5104 bool temp2
= false ;
5105 PyObject
* obj0
= 0 ;
5106 PyObject
* obj1
= 0 ;
5108 (char *) "self",(char *) "colour",(char *) "regionId", NULL
5111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:PyShape_SetTextColour",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
5112 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5114 arg2
= wxString_in_helper(obj1
);
5115 if (arg2
== NULL
) SWIG_fail
;
5119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5120 (arg1
)->SetTextColour((wxString
const &)*arg2
,arg3
);
5122 wxPyEndAllowThreads(__tstate
);
5123 if (PyErr_Occurred()) SWIG_fail
;
5125 Py_INCREF(Py_None
); resultobj
= Py_None
;
5140 static PyObject
*_wrap_PyShape_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5141 PyObject
*resultobj
;
5142 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5143 int arg2
= (int) 0 ;
5145 PyObject
* obj0
= 0 ;
5147 (char *) "self",(char *) "regionId", NULL
5150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:PyShape_GetTextColour",kwnames
,&obj0
,&arg2
)) goto fail
;
5151 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5154 result
= (arg1
)->GetTextColour(arg2
);
5156 wxPyEndAllowThreads(__tstate
);
5157 if (PyErr_Occurred()) SWIG_fail
;
5161 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5163 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5172 static PyObject
*_wrap_PyShape_GetNumberOfTextRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5173 PyObject
*resultobj
;
5174 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5176 PyObject
* obj0
= 0 ;
5178 (char *) "self", NULL
5181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetNumberOfTextRegions",kwnames
,&obj0
)) goto fail
;
5182 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5185 result
= (int)(arg1
)->GetNumberOfTextRegions();
5187 wxPyEndAllowThreads(__tstate
);
5188 if (PyErr_Occurred()) SWIG_fail
;
5190 resultobj
= PyInt_FromLong((long)result
);
5197 static PyObject
*_wrap_PyShape_SetRegionName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5198 PyObject
*resultobj
;
5199 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5200 wxString
*arg2
= 0 ;
5201 int arg3
= (int) 0 ;
5202 bool temp2
= false ;
5203 PyObject
* obj0
= 0 ;
5204 PyObject
* obj1
= 0 ;
5206 (char *) "self",(char *) "name",(char *) "regionId", NULL
5209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:PyShape_SetRegionName",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
5210 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5212 arg2
= wxString_in_helper(obj1
);
5213 if (arg2
== NULL
) SWIG_fail
;
5217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5218 (arg1
)->SetRegionName((wxString
const &)*arg2
,arg3
);
5220 wxPyEndAllowThreads(__tstate
);
5221 if (PyErr_Occurred()) SWIG_fail
;
5223 Py_INCREF(Py_None
); resultobj
= Py_None
;
5238 static PyObject
*_wrap_PyShape_GetRegionName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5239 PyObject
*resultobj
;
5240 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5243 PyObject
* obj0
= 0 ;
5245 (char *) "self",(char *) "regionId", NULL
5248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyShape_GetRegionName",kwnames
,&obj0
,&arg2
)) goto fail
;
5249 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5252 result
= (arg1
)->GetRegionName(arg2
);
5254 wxPyEndAllowThreads(__tstate
);
5255 if (PyErr_Occurred()) SWIG_fail
;
5259 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5261 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5270 static PyObject
*_wrap_PyShape_GetRegionId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5271 PyObject
*resultobj
;
5272 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5273 wxString
*arg2
= 0 ;
5275 bool temp2
= false ;
5276 PyObject
* obj0
= 0 ;
5277 PyObject
* obj1
= 0 ;
5279 (char *) "self",(char *) "name", NULL
5282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_GetRegionId",kwnames
,&obj0
,&obj1
)) goto fail
;
5283 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5285 arg2
= wxString_in_helper(obj1
);
5286 if (arg2
== NULL
) SWIG_fail
;
5290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5291 result
= (int)(arg1
)->GetRegionId((wxString
const &)*arg2
);
5293 wxPyEndAllowThreads(__tstate
);
5294 if (PyErr_Occurred()) SWIG_fail
;
5296 resultobj
= PyInt_FromLong((long)result
);
5311 static PyObject
*_wrap_PyShape_NameRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5312 PyObject
*resultobj
;
5313 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5314 wxString
const &arg2_defvalue
= "" ;
5315 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5316 bool temp2
= false ;
5317 PyObject
* obj0
= 0 ;
5318 PyObject
* obj1
= 0 ;
5320 (char *) "self",(char *) "parentName", NULL
5323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyShape_NameRegions",kwnames
,&obj0
,&obj1
)) goto fail
;
5324 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5327 arg2
= wxString_in_helper(obj1
);
5328 if (arg2
== NULL
) SWIG_fail
;
5333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5334 (arg1
)->NameRegions((wxString
const &)*arg2
);
5336 wxPyEndAllowThreads(__tstate
);
5337 if (PyErr_Occurred()) SWIG_fail
;
5339 Py_INCREF(Py_None
); resultobj
= Py_None
;
5354 static PyObject
*_wrap_PyShape_GetRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5355 PyObject
*resultobj
;
5356 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5358 PyObject
* obj0
= 0 ;
5360 (char *) "self", NULL
5363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetRegions",kwnames
,&obj0
)) goto fail
;
5364 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5367 result
= (PyObject
*)wxPyShape_GetRegions(arg1
);
5369 wxPyEndAllowThreads(__tstate
);
5370 if (PyErr_Occurred()) SWIG_fail
;
5379 static PyObject
*_wrap_PyShape_AddRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5380 PyObject
*resultobj
;
5381 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5382 wxShapeRegion
*arg2
= (wxShapeRegion
*) 0 ;
5383 PyObject
* obj0
= 0 ;
5384 PyObject
* obj1
= 0 ;
5386 (char *) "self",(char *) "region", NULL
5389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_AddRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5390 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5391 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5394 (arg1
)->AddRegion(arg2
);
5396 wxPyEndAllowThreads(__tstate
);
5397 if (PyErr_Occurred()) SWIG_fail
;
5399 Py_INCREF(Py_None
); resultobj
= Py_None
;
5406 static PyObject
*_wrap_PyShape_ClearRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5407 PyObject
*resultobj
;
5408 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5409 PyObject
* obj0
= 0 ;
5411 (char *) "self", NULL
5414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_ClearRegions",kwnames
,&obj0
)) goto fail
;
5415 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5418 (arg1
)->ClearRegions();
5420 wxPyEndAllowThreads(__tstate
);
5421 if (PyErr_Occurred()) SWIG_fail
;
5423 Py_INCREF(Py_None
); resultobj
= Py_None
;
5430 static PyObject
*_wrap_PyShape_AssignNewIds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5431 PyObject
*resultobj
;
5432 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5433 PyObject
* obj0
= 0 ;
5435 (char *) "self", NULL
5438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_AssignNewIds",kwnames
,&obj0
)) goto fail
;
5439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5442 (arg1
)->AssignNewIds();
5444 wxPyEndAllowThreads(__tstate
);
5445 if (PyErr_Occurred()) SWIG_fail
;
5447 Py_INCREF(Py_None
); resultobj
= Py_None
;
5454 static PyObject
*_wrap_PyShape_FindRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5455 PyObject
*resultobj
;
5456 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5457 wxString
*arg2
= 0 ;
5458 int *arg3
= (int *) 0 ;
5460 bool temp2
= false ;
5462 PyObject
* obj0
= 0 ;
5463 PyObject
* obj1
= 0 ;
5465 (char *) "self",(char *) "regionName", NULL
5469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_FindRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5472 arg2
= wxString_in_helper(obj1
);
5473 if (arg2
== NULL
) SWIG_fail
;
5477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5478 result
= (wxPyShape
*)(arg1
)->FindRegion((wxString
const &)*arg2
,arg3
);
5480 wxPyEndAllowThreads(__tstate
);
5481 if (PyErr_Occurred()) SWIG_fail
;
5484 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
5487 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
5488 resultobj
= t_output_helper(resultobj
,o
);
5504 static PyObject
*_wrap_PyShape_FindRegionNames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5505 PyObject
*resultobj
;
5506 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5507 wxStringList
*arg2
= 0 ;
5508 PyObject
* obj0
= 0 ;
5509 PyObject
* obj1
= 0 ;
5511 (char *) "self",(char *) "list", NULL
5514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_FindRegionNames",kwnames
,&obj0
,&obj1
)) goto fail
;
5515 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5516 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxStringList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5518 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5522 (arg1
)->FindRegionNames(*arg2
);
5524 wxPyEndAllowThreads(__tstate
);
5525 if (PyErr_Occurred()) SWIG_fail
;
5527 Py_INCREF(Py_None
); resultobj
= Py_None
;
5534 static PyObject
*_wrap_PyShape_ClearText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5535 PyObject
*resultobj
;
5536 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5537 int arg2
= (int) 0 ;
5538 PyObject
* obj0
= 0 ;
5540 (char *) "self",(char *) "regionId", NULL
5543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:PyShape_ClearText",kwnames
,&obj0
,&arg2
)) goto fail
;
5544 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5547 (arg1
)->ClearText(arg2
);
5549 wxPyEndAllowThreads(__tstate
);
5550 if (PyErr_Occurred()) SWIG_fail
;
5552 Py_INCREF(Py_None
); resultobj
= Py_None
;
5559 static PyObject
*_wrap_PyShape_RemoveLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5560 PyObject
*resultobj
;
5561 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5562 wxPyLineShape
*arg2
= (wxPyLineShape
*) 0 ;
5563 PyObject
* obj0
= 0 ;
5564 PyObject
* obj1
= 0 ;
5566 (char *) "self",(char *) "line", NULL
5569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_RemoveLine",kwnames
,&obj0
,&obj1
)) goto fail
;
5570 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5571 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5574 (arg1
)->RemoveLine(arg2
);
5576 wxPyEndAllowThreads(__tstate
);
5577 if (PyErr_Occurred()) SWIG_fail
;
5579 Py_INCREF(Py_None
); resultobj
= Py_None
;
5586 static PyObject
*_wrap_PyShape_GetAttachmentPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5587 PyObject
*resultobj
;
5588 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5590 double *arg3
= (double *) 0 ;
5591 double *arg4
= (double *) 0 ;
5592 int arg5
= (int) 0 ;
5593 int arg6
= (int) 1 ;
5594 wxPyLineShape
*arg7
= (wxPyLineShape
*) NULL
;
5598 PyObject
* obj0
= 0 ;
5599 PyObject
* obj4
= 0 ;
5601 (char *) "self",(char *) "attachment",(char *) "nth",(char *) "no_arcs",(char *) "line", NULL
5606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|iiO:PyShape_GetAttachmentPosition",kwnames
,&obj0
,&arg2
,&arg5
,&arg6
,&obj4
)) goto fail
;
5607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5609 if ((SWIG_ConvertPtr(obj4
,(void **) &arg7
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5613 result
= (bool)(arg1
)->GetAttachmentPosition(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
5615 wxPyEndAllowThreads(__tstate
);
5616 if (PyErr_Occurred()) SWIG_fail
;
5618 resultobj
= PyInt_FromLong((long)result
);
5620 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
5621 resultobj
= t_output_helper(resultobj
,o
);
5624 PyObject
*o
= PyFloat_FromDouble((double) (*arg4
));
5625 resultobj
= t_output_helper(resultobj
,o
);
5633 static PyObject
*_wrap_PyShape_GetNumberOfAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5634 PyObject
*resultobj
;
5635 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5637 PyObject
* obj0
= 0 ;
5639 (char *) "self", NULL
5642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetNumberOfAttachments",kwnames
,&obj0
)) goto fail
;
5643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5646 result
= (int)(arg1
)->GetNumberOfAttachments();
5648 wxPyEndAllowThreads(__tstate
);
5649 if (PyErr_Occurred()) SWIG_fail
;
5651 resultobj
= PyInt_FromLong((long)result
);
5658 static PyObject
*_wrap_PyShape_AttachmentIsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5659 PyObject
*resultobj
;
5660 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5663 PyObject
* obj0
= 0 ;
5665 (char *) "self",(char *) "attachment", NULL
5668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyShape_AttachmentIsValid",kwnames
,&obj0
,&arg2
)) goto fail
;
5669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5672 result
= (bool)(arg1
)->AttachmentIsValid(arg2
);
5674 wxPyEndAllowThreads(__tstate
);
5675 if (PyErr_Occurred()) SWIG_fail
;
5677 resultobj
= PyInt_FromLong((long)result
);
5684 static PyObject
*_wrap_PyShape_GetAttachmentPositionEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5685 PyObject
*resultobj
;
5686 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5688 double *arg3
= (double *) 0 ;
5689 double *arg4
= (double *) 0 ;
5690 int arg5
= (int) 0 ;
5691 int arg6
= (int) 1 ;
5692 wxPyLineShape
*arg7
= (wxPyLineShape
*) NULL
;
5696 PyObject
* obj0
= 0 ;
5697 PyObject
* obj4
= 0 ;
5699 (char *) "self",(char *) "attachment",(char *) "nth",(char *) "no_arcs",(char *) "line", NULL
5704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|iiO:PyShape_GetAttachmentPositionEdge",kwnames
,&obj0
,&arg2
,&arg5
,&arg6
,&obj4
)) goto fail
;
5705 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5707 if ((SWIG_ConvertPtr(obj4
,(void **) &arg7
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5711 result
= (bool)(arg1
)->GetAttachmentPositionEdge(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
5713 wxPyEndAllowThreads(__tstate
);
5714 if (PyErr_Occurred()) SWIG_fail
;
5716 resultobj
= PyInt_FromLong((long)result
);
5718 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
5719 resultobj
= t_output_helper(resultobj
,o
);
5722 PyObject
*o
= PyFloat_FromDouble((double) (*arg4
));
5723 resultobj
= t_output_helper(resultobj
,o
);
5731 static PyObject
*_wrap_PyShape_CalcSimpleAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5732 PyObject
*resultobj
;
5733 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5734 wxRealPoint
*arg2
= 0 ;
5735 wxRealPoint
*arg3
= 0 ;
5738 wxPyLineShape
*arg6
= (wxPyLineShape
*) 0 ;
5742 PyObject
* obj0
= 0 ;
5743 PyObject
* obj1
= 0 ;
5744 PyObject
* obj2
= 0 ;
5745 PyObject
* obj5
= 0 ;
5747 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "nth",(char *) "noArcs",(char *) "line", NULL
5750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOiiO:PyShape_CalcSimpleAttachment",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&obj5
)) goto fail
;
5751 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5754 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5758 if ( ! wxRealPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5760 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5763 result
= (arg1
)->CalcSimpleAttachment((wxRealPoint
const &)*arg2
,(wxRealPoint
const &)*arg3
,arg4
,arg5
,arg6
);
5765 wxPyEndAllowThreads(__tstate
);
5766 if (PyErr_Occurred()) SWIG_fail
;
5769 wxRealPoint
* resultptr
;
5770 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
5771 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRealPoint
, 1);
5779 static PyObject
*_wrap_PyShape_AttachmentSortTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5780 PyObject
*resultobj
;
5781 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5783 wxRealPoint
*arg3
= 0 ;
5784 wxRealPoint
*arg4
= 0 ;
5788 PyObject
* obj0
= 0 ;
5789 PyObject
* obj2
= 0 ;
5790 PyObject
* obj3
= 0 ;
5792 (char *) "self",(char *) "attachmentPoint",(char *) "pt1",(char *) "pt2", NULL
5795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOO:PyShape_AttachmentSortTest",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
5796 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5799 if ( ! wxRealPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5803 if ( ! wxRealPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5807 result
= (bool)(arg1
)->AttachmentSortTest(arg2
,(wxRealPoint
const &)*arg3
,(wxRealPoint
const &)*arg4
);
5809 wxPyEndAllowThreads(__tstate
);
5810 if (PyErr_Occurred()) SWIG_fail
;
5812 resultobj
= PyInt_FromLong((long)result
);
5819 static PyObject
*_wrap_PyShape_EraseLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5820 PyObject
*resultobj
;
5821 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5823 int arg3
= (int) -1 ;
5824 bool arg4
= (bool) FALSE
;
5825 PyObject
* obj0
= 0 ;
5826 PyObject
* obj1
= 0 ;
5827 PyObject
* obj3
= 0 ;
5829 (char *) "self",(char *) "dc",(char *) "attachment",(char *) "recurse", NULL
5832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iO:PyShape_EraseLinks",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
)) goto fail
;
5833 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5834 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5836 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5839 arg4
= PyInt_AsLong(obj3
) ? true : false;
5840 if (PyErr_Occurred()) SWIG_fail
;
5843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5844 (arg1
)->EraseLinks(*arg2
,arg3
,arg4
);
5846 wxPyEndAllowThreads(__tstate
);
5847 if (PyErr_Occurred()) SWIG_fail
;
5849 Py_INCREF(Py_None
); resultobj
= Py_None
;
5856 static PyObject
*_wrap_PyShape_DrawLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5857 PyObject
*resultobj
;
5858 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5860 int arg3
= (int) -1 ;
5861 bool arg4
= (bool) FALSE
;
5862 PyObject
* obj0
= 0 ;
5863 PyObject
* obj1
= 0 ;
5864 PyObject
* obj3
= 0 ;
5866 (char *) "self",(char *) "dc",(char *) "attachment",(char *) "recurse", NULL
5869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iO:PyShape_DrawLinks",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
)) goto fail
;
5870 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5871 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5873 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5876 arg4
= PyInt_AsLong(obj3
) ? true : false;
5877 if (PyErr_Occurred()) SWIG_fail
;
5880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5881 (arg1
)->DrawLinks(*arg2
,arg3
,arg4
);
5883 wxPyEndAllowThreads(__tstate
);
5884 if (PyErr_Occurred()) SWIG_fail
;
5886 Py_INCREF(Py_None
); resultobj
= Py_None
;
5893 static PyObject
*_wrap_PyShape_MoveLineToNewAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5894 PyObject
*resultobj
;
5895 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5897 wxPyLineShape
*arg3
= (wxPyLineShape
*) 0 ;
5901 PyObject
* obj0
= 0 ;
5902 PyObject
* obj1
= 0 ;
5903 PyObject
* obj2
= 0 ;
5905 (char *) "self",(char *) "dc",(char *) "to_move",(char *) "x",(char *) "y", NULL
5908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd:PyShape_MoveLineToNewAttachment",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
)) goto fail
;
5909 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5910 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5912 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5914 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5917 result
= (bool)(arg1
)->MoveLineToNewAttachment(*arg2
,arg3
,arg4
,arg5
);
5919 wxPyEndAllowThreads(__tstate
);
5920 if (PyErr_Occurred()) SWIG_fail
;
5922 resultobj
= PyInt_FromLong((long)result
);
5929 static PyObject
*_wrap_PyShape_ApplyAttachmentOrdering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5930 PyObject
*resultobj
;
5931 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5932 PyObject
*arg2
= (PyObject
*) 0 ;
5933 PyObject
* obj0
= 0 ;
5934 PyObject
* obj1
= 0 ;
5936 (char *) "self",(char *) "linesToSort", NULL
5939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_ApplyAttachmentOrdering",kwnames
,&obj0
,&obj1
)) goto fail
;
5940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5944 wxPyShape_ApplyAttachmentOrdering(arg1
,arg2
);
5946 wxPyEndAllowThreads(__tstate
);
5947 if (PyErr_Occurred()) SWIG_fail
;
5949 Py_INCREF(Py_None
); resultobj
= Py_None
;
5956 static PyObject
*_wrap_PyShape_GetBranchingAttachmentRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5957 PyObject
*resultobj
;
5958 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5961 PyObject
* obj0
= 0 ;
5963 (char *) "self",(char *) "attachment", NULL
5966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyShape_GetBranchingAttachmentRoot",kwnames
,&obj0
,&arg2
)) goto fail
;
5967 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5970 result
= (arg1
)->GetBranchingAttachmentRoot(arg2
);
5972 wxPyEndAllowThreads(__tstate
);
5973 if (PyErr_Occurred()) SWIG_fail
;
5976 wxRealPoint
* resultptr
;
5977 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
5978 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRealPoint
, 1);
5986 static PyObject
*_wrap_PyShape_GetBranchingAttachmentInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5987 PyObject
*resultobj
;
5988 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5990 wxRealPoint
*arg3
= 0 ;
5991 wxRealPoint
*arg4
= 0 ;
5992 wxRealPoint
*arg5
= 0 ;
5993 wxRealPoint
*arg6
= 0 ;
5999 PyObject
* obj0
= 0 ;
6000 PyObject
* obj2
= 0 ;
6001 PyObject
* obj3
= 0 ;
6002 PyObject
* obj4
= 0 ;
6003 PyObject
* obj5
= 0 ;
6005 (char *) "self",(char *) "attachment",(char *) "root",(char *) "neck",(char *) "shoulder1",(char *) "shoulder2", NULL
6008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOOOO:PyShape_GetBranchingAttachmentInfo",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6012 if ( ! wxRealPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6016 if ( ! wxRealPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6020 if ( ! wxRealPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6024 if ( ! wxRealPoint_helper(obj5
, &arg6
)) SWIG_fail
;
6027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6028 result
= (bool)(arg1
)->GetBranchingAttachmentInfo(arg2
,*arg3
,*arg4
,*arg5
,*arg6
);
6030 wxPyEndAllowThreads(__tstate
);
6031 if (PyErr_Occurred()) SWIG_fail
;
6033 resultobj
= PyInt_FromLong((long)result
);
6040 static PyObject
*_wrap_PyShape_GetBranchingAttachmentPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6041 PyObject
*resultobj
;
6042 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6045 wxRealPoint
*arg4
= 0 ;
6046 wxRealPoint
*arg5
= 0 ;
6050 PyObject
* obj0
= 0 ;
6051 PyObject
* obj3
= 0 ;
6052 PyObject
* obj4
= 0 ;
6054 (char *) "self",(char *) "attachment",(char *) "n",(char *) "attachmentPoint",(char *) "stemPoint", NULL
6057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiOO:PyShape_GetBranchingAttachmentPoint",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
,&obj4
)) goto fail
;
6058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6061 if ( ! wxRealPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6065 if ( ! wxRealPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6069 result
= (bool)(arg1
)->GetBranchingAttachmentPoint(arg2
,arg3
,*arg4
,*arg5
);
6071 wxPyEndAllowThreads(__tstate
);
6072 if (PyErr_Occurred()) SWIG_fail
;
6074 resultobj
= PyInt_FromLong((long)result
);
6081 static PyObject
*_wrap_PyShape_GetAttachmentLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6082 PyObject
*resultobj
;
6083 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6086 PyObject
* obj0
= 0 ;
6088 (char *) "self",(char *) "attachment", NULL
6091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyShape_GetAttachmentLineCount",kwnames
,&obj0
,&arg2
)) goto fail
;
6092 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6095 result
= (int)(arg1
)->GetAttachmentLineCount(arg2
);
6097 wxPyEndAllowThreads(__tstate
);
6098 if (PyErr_Occurred()) SWIG_fail
;
6100 resultobj
= PyInt_FromLong((long)result
);
6107 static PyObject
*_wrap_PyShape_SetBranchNeckLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6108 PyObject
*resultobj
;
6109 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6111 PyObject
* obj0
= 0 ;
6113 (char *) "self",(char *) "len", NULL
6116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyShape_SetBranchNeckLength",kwnames
,&obj0
,&arg2
)) goto fail
;
6117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6120 (arg1
)->SetBranchNeckLength(arg2
);
6122 wxPyEndAllowThreads(__tstate
);
6123 if (PyErr_Occurred()) SWIG_fail
;
6125 Py_INCREF(Py_None
); resultobj
= Py_None
;
6132 static PyObject
*_wrap_PyShape_GetBranchNeckLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6133 PyObject
*resultobj
;
6134 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6136 PyObject
* obj0
= 0 ;
6138 (char *) "self", NULL
6141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBranchNeckLength",kwnames
,&obj0
)) goto fail
;
6142 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6145 result
= (int)(arg1
)->GetBranchNeckLength();
6147 wxPyEndAllowThreads(__tstate
);
6148 if (PyErr_Occurred()) SWIG_fail
;
6150 resultobj
= PyInt_FromLong((long)result
);
6157 static PyObject
*_wrap_PyShape_SetBranchStemLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6158 PyObject
*resultobj
;
6159 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6161 PyObject
* obj0
= 0 ;
6163 (char *) "self",(char *) "len", NULL
6166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyShape_SetBranchStemLength",kwnames
,&obj0
,&arg2
)) goto fail
;
6167 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6170 (arg1
)->SetBranchStemLength(arg2
);
6172 wxPyEndAllowThreads(__tstate
);
6173 if (PyErr_Occurred()) SWIG_fail
;
6175 Py_INCREF(Py_None
); resultobj
= Py_None
;
6182 static PyObject
*_wrap_PyShape_GetBranchStemLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6183 PyObject
*resultobj
;
6184 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6186 PyObject
* obj0
= 0 ;
6188 (char *) "self", NULL
6191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBranchStemLength",kwnames
,&obj0
)) goto fail
;
6192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6195 result
= (int)(arg1
)->GetBranchStemLength();
6197 wxPyEndAllowThreads(__tstate
);
6198 if (PyErr_Occurred()) SWIG_fail
;
6200 resultobj
= PyInt_FromLong((long)result
);
6207 static PyObject
*_wrap_PyShape_SetBranchSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6208 PyObject
*resultobj
;
6209 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6211 PyObject
* obj0
= 0 ;
6213 (char *) "self",(char *) "len", NULL
6216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyShape_SetBranchSpacing",kwnames
,&obj0
,&arg2
)) goto fail
;
6217 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6220 (arg1
)->SetBranchSpacing(arg2
);
6222 wxPyEndAllowThreads(__tstate
);
6223 if (PyErr_Occurred()) SWIG_fail
;
6225 Py_INCREF(Py_None
); resultobj
= Py_None
;
6232 static PyObject
*_wrap_PyShape_GetBranchSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6233 PyObject
*resultobj
;
6234 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6236 PyObject
* obj0
= 0 ;
6238 (char *) "self", NULL
6241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBranchSpacing",kwnames
,&obj0
)) goto fail
;
6242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6245 result
= (int)(arg1
)->GetBranchSpacing();
6247 wxPyEndAllowThreads(__tstate
);
6248 if (PyErr_Occurred()) SWIG_fail
;
6250 resultobj
= PyInt_FromLong((long)result
);
6257 static PyObject
*_wrap_PyShape_SetBranchStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6258 PyObject
*resultobj
;
6259 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6261 PyObject
* obj0
= 0 ;
6263 (char *) "self",(char *) "style", NULL
6266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:PyShape_SetBranchStyle",kwnames
,&obj0
,&arg2
)) goto fail
;
6267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6270 (arg1
)->SetBranchStyle(arg2
);
6272 wxPyEndAllowThreads(__tstate
);
6273 if (PyErr_Occurred()) SWIG_fail
;
6275 Py_INCREF(Py_None
); resultobj
= Py_None
;
6282 static PyObject
*_wrap_PyShape_GetBranchStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6283 PyObject
*resultobj
;
6284 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6286 PyObject
* obj0
= 0 ;
6288 (char *) "self", NULL
6291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBranchStyle",kwnames
,&obj0
)) goto fail
;
6292 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6295 result
= (long)(arg1
)->GetBranchStyle();
6297 wxPyEndAllowThreads(__tstate
);
6298 if (PyErr_Occurred()) SWIG_fail
;
6300 resultobj
= PyInt_FromLong((long)result
);
6307 static PyObject
*_wrap_PyShape_PhysicalToLogicalAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6308 PyObject
*resultobj
;
6309 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6312 PyObject
* obj0
= 0 ;
6314 (char *) "self",(char *) "physicalAttachment", NULL
6317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyShape_PhysicalToLogicalAttachment",kwnames
,&obj0
,&arg2
)) goto fail
;
6318 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6321 result
= (int)(arg1
)->PhysicalToLogicalAttachment(arg2
);
6323 wxPyEndAllowThreads(__tstate
);
6324 if (PyErr_Occurred()) SWIG_fail
;
6326 resultobj
= PyInt_FromLong((long)result
);
6333 static PyObject
*_wrap_PyShape_LogicalToPhysicalAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6334 PyObject
*resultobj
;
6335 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6338 PyObject
* obj0
= 0 ;
6340 (char *) "self",(char *) "logicalAttachment", NULL
6343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyShape_LogicalToPhysicalAttachment",kwnames
,&obj0
,&arg2
)) goto fail
;
6344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6347 result
= (int)(arg1
)->LogicalToPhysicalAttachment(arg2
);
6349 wxPyEndAllowThreads(__tstate
);
6350 if (PyErr_Occurred()) SWIG_fail
;
6352 resultobj
= PyInt_FromLong((long)result
);
6359 static PyObject
*_wrap_PyShape_Draggable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6360 PyObject
*resultobj
;
6361 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6363 PyObject
* obj0
= 0 ;
6365 (char *) "self", NULL
6368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Draggable",kwnames
,&obj0
)) goto fail
;
6369 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6372 result
= (bool)(arg1
)->Draggable();
6374 wxPyEndAllowThreads(__tstate
);
6375 if (PyErr_Occurred()) SWIG_fail
;
6377 resultobj
= PyInt_FromLong((long)result
);
6384 static PyObject
*_wrap_PyShape_HasDescendant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6385 PyObject
*resultobj
;
6386 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6387 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
6389 PyObject
* obj0
= 0 ;
6390 PyObject
* obj1
= 0 ;
6392 (char *) "self",(char *) "image", NULL
6395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_HasDescendant",kwnames
,&obj0
,&obj1
)) goto fail
;
6396 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6397 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6400 result
= (bool)(arg1
)->HasDescendant(arg2
);
6402 wxPyEndAllowThreads(__tstate
);
6403 if (PyErr_Occurred()) SWIG_fail
;
6405 resultobj
= PyInt_FromLong((long)result
);
6412 static PyObject
*_wrap_PyShape_CreateNewCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6413 PyObject
*resultobj
;
6414 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6415 bool arg2
= (bool) TRUE
;
6416 bool arg3
= (bool) TRUE
;
6418 PyObject
* obj0
= 0 ;
6419 PyObject
* obj1
= 0 ;
6420 PyObject
* obj2
= 0 ;
6422 (char *) "self",(char *) "resetMapping",(char *) "recompute", NULL
6425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyShape_CreateNewCopy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6426 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6428 arg2
= PyInt_AsLong(obj1
) ? true : false;
6429 if (PyErr_Occurred()) SWIG_fail
;
6432 arg3
= PyInt_AsLong(obj2
) ? true : false;
6433 if (PyErr_Occurred()) SWIG_fail
;
6436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6437 result
= (wxPyShape
*)(arg1
)->CreateNewCopy(arg2
,arg3
);
6439 wxPyEndAllowThreads(__tstate
);
6440 if (PyErr_Occurred()) SWIG_fail
;
6443 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
6451 static PyObject
*_wrap_PyShape_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6452 PyObject
*resultobj
;
6453 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6454 wxPyShape
*arg2
= 0 ;
6455 PyObject
* obj0
= 0 ;
6456 PyObject
* obj1
= 0 ;
6458 (char *) "self",(char *) "copy", NULL
6461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Copy",kwnames
,&obj0
,&obj1
)) goto fail
;
6462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6463 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6465 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6469 (arg1
)->Copy(*arg2
);
6471 wxPyEndAllowThreads(__tstate
);
6472 if (PyErr_Occurred()) SWIG_fail
;
6474 Py_INCREF(Py_None
); resultobj
= Py_None
;
6481 static PyObject
*_wrap_PyShape_CopyWithHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6482 PyObject
*resultobj
;
6483 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6484 wxPyShape
*arg2
= 0 ;
6485 PyObject
* obj0
= 0 ;
6486 PyObject
* obj1
= 0 ;
6488 (char *) "self",(char *) "copy", NULL
6491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_CopyWithHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
6492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6493 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6495 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6499 (arg1
)->CopyWithHandler(*arg2
);
6501 wxPyEndAllowThreads(__tstate
);
6502 if (PyErr_Occurred()) SWIG_fail
;
6504 Py_INCREF(Py_None
); resultobj
= Py_None
;
6511 static PyObject
*_wrap_PyShape_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6512 PyObject
*resultobj
;
6513 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6517 PyObject
* obj0
= 0 ;
6519 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
6522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oddd:PyShape_Rotate",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
6523 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6526 (arg1
)->Rotate(arg2
,arg3
,arg4
);
6528 wxPyEndAllowThreads(__tstate
);
6529 if (PyErr_Occurred()) SWIG_fail
;
6531 Py_INCREF(Py_None
); resultobj
= Py_None
;
6538 static PyObject
*_wrap_PyShape_GetRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6539 PyObject
*resultobj
;
6540 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6542 PyObject
* obj0
= 0 ;
6544 (char *) "self", NULL
6547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetRotation",kwnames
,&obj0
)) goto fail
;
6548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6551 result
= (double)(arg1
)->GetRotation();
6553 wxPyEndAllowThreads(__tstate
);
6554 if (PyErr_Occurred()) SWIG_fail
;
6556 resultobj
= PyFloat_FromDouble(result
);
6563 static PyObject
*_wrap_PyShape_ClearAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6564 PyObject
*resultobj
;
6565 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6566 PyObject
* obj0
= 0 ;
6568 (char *) "self", NULL
6571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_ClearAttachments",kwnames
,&obj0
)) goto fail
;
6572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6575 (arg1
)->ClearAttachments();
6577 wxPyEndAllowThreads(__tstate
);
6578 if (PyErr_Occurred()) SWIG_fail
;
6580 Py_INCREF(Py_None
); resultobj
= Py_None
;
6587 static PyObject
*_wrap_PyShape_Recentre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6588 PyObject
*resultobj
;
6589 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6591 PyObject
* obj0
= 0 ;
6592 PyObject
* obj1
= 0 ;
6594 (char *) "self",(char *) "dc", NULL
6597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Recentre",kwnames
,&obj0
,&obj1
)) goto fail
;
6598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6599 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6601 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6605 (arg1
)->Recentre(*arg2
);
6607 wxPyEndAllowThreads(__tstate
);
6608 if (PyErr_Occurred()) SWIG_fail
;
6610 Py_INCREF(Py_None
); resultobj
= Py_None
;
6617 static PyObject
*_wrap_PyShape_ClearPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6618 PyObject
*resultobj
;
6619 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6621 PyObject
* obj0
= 0 ;
6622 PyObject
* obj1
= 0 ;
6624 (char *) "self",(char *) "list", NULL
6627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_ClearPointList",kwnames
,&obj0
,&obj1
)) goto fail
;
6628 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6629 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6631 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6635 (arg1
)->ClearPointList(*arg2
);
6637 wxPyEndAllowThreads(__tstate
);
6638 if (PyErr_Occurred()) SWIG_fail
;
6640 Py_INCREF(Py_None
); resultobj
= Py_None
;
6647 static PyObject
*_wrap_PyShape_GetBackgroundPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6648 PyObject
*resultobj
;
6649 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6651 PyObject
* obj0
= 0 ;
6653 (char *) "self", NULL
6656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBackgroundPen",kwnames
,&obj0
)) goto fail
;
6657 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6660 result
= (arg1
)->GetBackgroundPen();
6662 wxPyEndAllowThreads(__tstate
);
6663 if (PyErr_Occurred()) SWIG_fail
;
6667 resultptr
= new wxPen((wxPen
&) result
);
6668 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPen
, 1);
6676 static PyObject
*_wrap_PyShape_GetBackgroundBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6677 PyObject
*resultobj
;
6678 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6680 PyObject
* obj0
= 0 ;
6682 (char *) "self", NULL
6685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBackgroundBrush",kwnames
,&obj0
)) goto fail
;
6686 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6689 result
= (arg1
)->GetBackgroundBrush();
6691 wxPyEndAllowThreads(__tstate
);
6692 if (PyErr_Occurred()) SWIG_fail
;
6695 wxBrush
* resultptr
;
6696 resultptr
= new wxBrush((wxBrush
&) result
);
6697 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBrush
, 1);
6705 static PyObject
*_wrap_PyShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6706 PyObject
*resultobj
;
6707 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6708 PyObject
* obj0
= 0 ;
6710 (char *) "self", NULL
6713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
6714 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6717 (arg1
)->base_OnDelete();
6719 wxPyEndAllowThreads(__tstate
);
6720 if (PyErr_Occurred()) SWIG_fail
;
6722 Py_INCREF(Py_None
); resultobj
= Py_None
;
6729 static PyObject
*_wrap_PyShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6730 PyObject
*resultobj
;
6731 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6733 PyObject
* obj0
= 0 ;
6734 PyObject
* obj1
= 0 ;
6736 (char *) "self",(char *) "dc", NULL
6739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
6740 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6741 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6743 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6747 (arg1
)->base_OnDraw(*arg2
);
6749 wxPyEndAllowThreads(__tstate
);
6750 if (PyErr_Occurred()) SWIG_fail
;
6752 Py_INCREF(Py_None
); resultobj
= Py_None
;
6759 static PyObject
*_wrap_PyShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6760 PyObject
*resultobj
;
6761 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6763 PyObject
* obj0
= 0 ;
6764 PyObject
* obj1
= 0 ;
6766 (char *) "self",(char *) "dc", NULL
6769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
6770 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6771 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6773 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6777 (arg1
)->base_OnDrawContents(*arg2
);
6779 wxPyEndAllowThreads(__tstate
);
6780 if (PyErr_Occurred()) SWIG_fail
;
6782 Py_INCREF(Py_None
); resultobj
= Py_None
;
6789 static PyObject
*_wrap_PyShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6790 PyObject
*resultobj
;
6791 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6793 bool arg3
= (bool) FALSE
;
6794 PyObject
* obj0
= 0 ;
6795 PyObject
* obj1
= 0 ;
6796 PyObject
* obj2
= 0 ;
6798 (char *) "self",(char *) "dc",(char *) "erase", NULL
6801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6802 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6803 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6805 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6808 arg3
= PyInt_AsLong(obj2
) ? true : false;
6809 if (PyErr_Occurred()) SWIG_fail
;
6812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6813 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
6815 wxPyEndAllowThreads(__tstate
);
6816 if (PyErr_Occurred()) SWIG_fail
;
6818 Py_INCREF(Py_None
); resultobj
= Py_None
;
6825 static PyObject
*_wrap_PyShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6826 PyObject
*resultobj
;
6827 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6829 PyObject
* obj0
= 0 ;
6830 PyObject
* obj1
= 0 ;
6832 (char *) "self",(char *) "dc", NULL
6835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
6836 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6837 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6839 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6843 (arg1
)->base_OnMoveLinks(*arg2
);
6845 wxPyEndAllowThreads(__tstate
);
6846 if (PyErr_Occurred()) SWIG_fail
;
6848 Py_INCREF(Py_None
); resultobj
= Py_None
;
6855 static PyObject
*_wrap_PyShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6856 PyObject
*resultobj
;
6857 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6859 PyObject
* obj0
= 0 ;
6860 PyObject
* obj1
= 0 ;
6862 (char *) "self",(char *) "dc", NULL
6865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
6866 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6867 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6869 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6873 (arg1
)->base_OnErase(*arg2
);
6875 wxPyEndAllowThreads(__tstate
);
6876 if (PyErr_Occurred()) SWIG_fail
;
6878 Py_INCREF(Py_None
); resultobj
= Py_None
;
6885 static PyObject
*_wrap_PyShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6886 PyObject
*resultobj
;
6887 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6889 PyObject
* obj0
= 0 ;
6890 PyObject
* obj1
= 0 ;
6892 (char *) "self",(char *) "dc", NULL
6895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
6896 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6897 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6899 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6903 (arg1
)->base_OnEraseContents(*arg2
);
6905 wxPyEndAllowThreads(__tstate
);
6906 if (PyErr_Occurred()) SWIG_fail
;
6908 Py_INCREF(Py_None
); resultobj
= Py_None
;
6915 static PyObject
*_wrap_PyShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6916 PyObject
*resultobj
;
6917 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6919 PyObject
* obj0
= 0 ;
6920 PyObject
* obj1
= 0 ;
6922 (char *) "self",(char *) "dc", NULL
6925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
6926 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6927 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6929 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6933 (arg1
)->base_OnHighlight(*arg2
);
6935 wxPyEndAllowThreads(__tstate
);
6936 if (PyErr_Occurred()) SWIG_fail
;
6938 Py_INCREF(Py_None
); resultobj
= Py_None
;
6945 static PyObject
*_wrap_PyShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6946 PyObject
*resultobj
;
6947 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6950 int arg4
= (int) 0 ;
6951 int arg5
= (int) 0 ;
6952 PyObject
* obj0
= 0 ;
6954 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
6957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyShape_base_OnLeftClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
6958 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6961 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
6963 wxPyEndAllowThreads(__tstate
);
6964 if (PyErr_Occurred()) SWIG_fail
;
6966 Py_INCREF(Py_None
); resultobj
= Py_None
;
6973 static PyObject
*_wrap_PyShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6974 PyObject
*resultobj
;
6975 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6978 int arg4
= (int) 0 ;
6979 int arg5
= (int) 0 ;
6980 PyObject
* obj0
= 0 ;
6982 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
6985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
6986 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6989 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
6991 wxPyEndAllowThreads(__tstate
);
6992 if (PyErr_Occurred()) SWIG_fail
;
6994 Py_INCREF(Py_None
); resultobj
= Py_None
;
7001 static PyObject
*_wrap_PyShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7002 PyObject
*resultobj
;
7003 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7006 int arg4
= (int) 0 ;
7007 int arg5
= (int) 0 ;
7008 PyObject
* obj0
= 0 ;
7010 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyShape_base_OnRightClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
7014 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7017 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
7019 wxPyEndAllowThreads(__tstate
);
7020 if (PyErr_Occurred()) SWIG_fail
;
7022 Py_INCREF(Py_None
); resultobj
= Py_None
;
7029 static PyObject
*_wrap_PyShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7030 PyObject
*resultobj
;
7031 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7034 PyObject
* obj0
= 0 ;
7036 (char *) "self",(char *) "x",(char *) "y", NULL
7039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyShape_base_OnSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7040 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7043 (arg1
)->base_OnSize(arg2
,arg3
);
7045 wxPyEndAllowThreads(__tstate
);
7046 if (PyErr_Occurred()) SWIG_fail
;
7048 Py_INCREF(Py_None
); resultobj
= Py_None
;
7055 static PyObject
*_wrap_PyShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7056 PyObject
*resultobj
;
7057 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7063 bool arg7
= (bool) TRUE
;
7065 PyObject
* obj0
= 0 ;
7066 PyObject
* obj1
= 0 ;
7067 PyObject
* obj6
= 0 ;
7069 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
7072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
7073 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7074 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7076 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7079 arg7
= PyInt_AsLong(obj6
) ? true : false;
7080 if (PyErr_Occurred()) SWIG_fail
;
7083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7084 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
7086 wxPyEndAllowThreads(__tstate
);
7087 if (PyErr_Occurred()) SWIG_fail
;
7089 resultobj
= PyInt_FromLong((long)result
);
7096 static PyObject
*_wrap_PyShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7097 PyObject
*resultobj
;
7098 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7104 bool arg7
= (bool) TRUE
;
7105 PyObject
* obj0
= 0 ;
7106 PyObject
* obj1
= 0 ;
7107 PyObject
* obj6
= 0 ;
7109 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
7112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
7113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7114 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7116 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7119 arg7
= PyInt_AsLong(obj6
) ? true : false;
7120 if (PyErr_Occurred()) SWIG_fail
;
7123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7124 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
7126 wxPyEndAllowThreads(__tstate
);
7127 if (PyErr_Occurred()) SWIG_fail
;
7129 Py_INCREF(Py_None
); resultobj
= Py_None
;
7136 static PyObject
*_wrap_PyShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7137 PyObject
*resultobj
;
7138 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7142 int arg5
= (int) 0 ;
7143 int arg6
= (int) 0 ;
7144 PyObject
* obj0
= 0 ;
7145 PyObject
* obj1
= 0 ;
7147 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
7151 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7152 arg2
= PyInt_AsLong(obj1
) ? true : false;
7153 if (PyErr_Occurred()) SWIG_fail
;
7155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7156 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
7158 wxPyEndAllowThreads(__tstate
);
7159 if (PyErr_Occurred()) SWIG_fail
;
7161 Py_INCREF(Py_None
); resultobj
= Py_None
;
7168 static PyObject
*_wrap_PyShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7169 PyObject
*resultobj
;
7170 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7173 int arg4
= (int) 0 ;
7174 int arg5
= (int) 0 ;
7175 PyObject
* obj0
= 0 ;
7177 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyShape_base_OnBeginDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
7181 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7184 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
7186 wxPyEndAllowThreads(__tstate
);
7187 if (PyErr_Occurred()) SWIG_fail
;
7189 Py_INCREF(Py_None
); resultobj
= Py_None
;
7196 static PyObject
*_wrap_PyShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7197 PyObject
*resultobj
;
7198 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7201 int arg4
= (int) 0 ;
7202 int arg5
= (int) 0 ;
7203 PyObject
* obj0
= 0 ;
7205 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyShape_base_OnEndDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
7209 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7212 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
7214 wxPyEndAllowThreads(__tstate
);
7215 if (PyErr_Occurred()) SWIG_fail
;
7217 Py_INCREF(Py_None
); resultobj
= Py_None
;
7224 static PyObject
*_wrap_PyShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7225 PyObject
*resultobj
;
7226 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7230 int arg5
= (int) 0 ;
7231 int arg6
= (int) 0 ;
7232 PyObject
* obj0
= 0 ;
7233 PyObject
* obj1
= 0 ;
7235 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
7239 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7240 arg2
= PyInt_AsLong(obj1
) ? true : false;
7241 if (PyErr_Occurred()) SWIG_fail
;
7243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7244 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
7246 wxPyEndAllowThreads(__tstate
);
7247 if (PyErr_Occurred()) SWIG_fail
;
7249 Py_INCREF(Py_None
); resultobj
= Py_None
;
7256 static PyObject
*_wrap_PyShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7257 PyObject
*resultobj
;
7258 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7261 int arg4
= (int) 0 ;
7262 int arg5
= (int) 0 ;
7263 PyObject
* obj0
= 0 ;
7265 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyShape_base_OnBeginDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
7269 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7272 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
7274 wxPyEndAllowThreads(__tstate
);
7275 if (PyErr_Occurred()) SWIG_fail
;
7277 Py_INCREF(Py_None
); resultobj
= Py_None
;
7284 static PyObject
*_wrap_PyShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7285 PyObject
*resultobj
;
7286 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7289 int arg4
= (int) 0 ;
7290 int arg5
= (int) 0 ;
7291 PyObject
* obj0
= 0 ;
7293 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyShape_base_OnEndDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
7297 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7300 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
7302 wxPyEndAllowThreads(__tstate
);
7303 if (PyErr_Occurred()) SWIG_fail
;
7305 Py_INCREF(Py_None
); resultobj
= Py_None
;
7312 static PyObject
*_wrap_PyShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7313 PyObject
*resultobj
;
7314 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7320 PyObject
* obj0
= 0 ;
7321 PyObject
* obj1
= 0 ;
7323 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
7326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd:PyShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
7327 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7328 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7330 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7334 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
7336 wxPyEndAllowThreads(__tstate
);
7337 if (PyErr_Occurred()) SWIG_fail
;
7339 Py_INCREF(Py_None
); resultobj
= Py_None
;
7346 static PyObject
*_wrap_PyShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7347 PyObject
*resultobj
;
7348 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7350 PyObject
* obj0
= 0 ;
7351 PyObject
* obj1
= 0 ;
7353 (char *) "self",(char *) "dc", NULL
7356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
7357 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7358 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7360 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7364 (arg1
)->base_OnDrawControlPoints(*arg2
);
7366 wxPyEndAllowThreads(__tstate
);
7367 if (PyErr_Occurred()) SWIG_fail
;
7369 Py_INCREF(Py_None
); resultobj
= Py_None
;
7376 static PyObject
*_wrap_PyShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7377 PyObject
*resultobj
;
7378 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7380 PyObject
* obj0
= 0 ;
7381 PyObject
* obj1
= 0 ;
7383 (char *) "self",(char *) "dc", NULL
7386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
7387 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7388 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7390 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7394 (arg1
)->base_OnEraseControlPoints(*arg2
);
7396 wxPyEndAllowThreads(__tstate
);
7397 if (PyErr_Occurred()) SWIG_fail
;
7399 Py_INCREF(Py_None
); resultobj
= Py_None
;
7406 static PyObject
*_wrap_PyShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7407 PyObject
*resultobj
;
7408 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7410 bool arg3
= (bool) TRUE
;
7411 PyObject
* obj0
= 0 ;
7412 PyObject
* obj1
= 0 ;
7413 PyObject
* obj2
= 0 ;
7415 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
7418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7419 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7420 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7422 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7425 arg3
= PyInt_AsLong(obj2
) ? true : false;
7426 if (PyErr_Occurred()) SWIG_fail
;
7429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7430 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
7432 wxPyEndAllowThreads(__tstate
);
7433 if (PyErr_Occurred()) SWIG_fail
;
7435 Py_INCREF(Py_None
); resultobj
= Py_None
;
7442 static PyObject
*_wrap_PyShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7443 PyObject
*resultobj
;
7444 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7445 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
7449 int arg6
= (int) 0 ;
7450 int arg7
= (int) 0 ;
7451 PyObject
* obj0
= 0 ;
7452 PyObject
* obj1
= 0 ;
7453 PyObject
* obj2
= 0 ;
7455 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd|ii:PyShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
7459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7460 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7461 arg3
= PyInt_AsLong(obj2
) ? true : false;
7462 if (PyErr_Occurred()) SWIG_fail
;
7464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7465 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
7467 wxPyEndAllowThreads(__tstate
);
7468 if (PyErr_Occurred()) SWIG_fail
;
7470 Py_INCREF(Py_None
); resultobj
= Py_None
;
7477 static PyObject
*_wrap_PyShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7478 PyObject
*resultobj
;
7479 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7480 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
7483 int arg5
= (int) 0 ;
7484 int arg6
= (int) 0 ;
7485 PyObject
* obj0
= 0 ;
7486 PyObject
* obj1
= 0 ;
7488 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
7492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7493 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7496 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
7498 wxPyEndAllowThreads(__tstate
);
7499 if (PyErr_Occurred()) SWIG_fail
;
7501 Py_INCREF(Py_None
); resultobj
= Py_None
;
7508 static PyObject
*_wrap_PyShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7509 PyObject
*resultobj
;
7510 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7511 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
7514 int arg5
= (int) 0 ;
7515 int arg6
= (int) 0 ;
7516 PyObject
* obj0
= 0 ;
7517 PyObject
* obj1
= 0 ;
7519 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
7523 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7524 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7527 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
7529 wxPyEndAllowThreads(__tstate
);
7530 if (PyErr_Occurred()) SWIG_fail
;
7532 Py_INCREF(Py_None
); resultobj
= Py_None
;
7539 static PyObject
*_wrap_PyShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7540 PyObject
*resultobj
;
7541 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7544 PyObject
* obj0
= 0 ;
7546 (char *) "self",(char *) "w",(char *) "h", NULL
7549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyShape_base_OnBeginSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7550 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7553 (arg1
)->base_OnBeginSize(arg2
,arg3
);
7555 wxPyEndAllowThreads(__tstate
);
7556 if (PyErr_Occurred()) SWIG_fail
;
7558 Py_INCREF(Py_None
); resultobj
= Py_None
;
7565 static PyObject
*_wrap_PyShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7566 PyObject
*resultobj
;
7567 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7570 PyObject
* obj0
= 0 ;
7572 (char *) "self",(char *) "w",(char *) "h", NULL
7575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyShape_base_OnEndSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7579 (arg1
)->base_OnEndSize(arg2
,arg3
);
7581 wxPyEndAllowThreads(__tstate
);
7582 if (PyErr_Occurred()) SWIG_fail
;
7584 Py_INCREF(Py_None
); resultobj
= Py_None
;
7591 static PyObject
* PyShape_swigregister(PyObject
*self
, PyObject
*args
) {
7593 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7594 SWIG_TypeClientData(SWIGTYPE_p_wxPyShape
, obj
);
7596 return Py_BuildValue((char *)"");
7598 static PyObject
*_wrap_new_PseudoMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7599 PyObject
*resultobj
;
7600 wxPseudoMetaFile
*result
;
7605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PseudoMetaFile",kwnames
)) goto fail
;
7607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7608 result
= (wxPseudoMetaFile
*)new wxPseudoMetaFile();
7610 wxPyEndAllowThreads(__tstate
);
7611 if (PyErr_Occurred()) SWIG_fail
;
7614 resultobj
= wxPyMake_wxObject(result
);
7622 static PyObject
*_wrap_delete_PseudoMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7623 PyObject
*resultobj
;
7624 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
7625 PyObject
* obj0
= 0 ;
7627 (char *) "self", NULL
7630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PseudoMetaFile",kwnames
,&obj0
)) goto fail
;
7631 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7636 wxPyEndAllowThreads(__tstate
);
7637 if (PyErr_Occurred()) SWIG_fail
;
7639 Py_INCREF(Py_None
); resultobj
= Py_None
;
7646 static PyObject
*_wrap_PseudoMetaFile_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7647 PyObject
*resultobj
;
7648 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
7652 PyObject
* obj0
= 0 ;
7653 PyObject
* obj1
= 0 ;
7655 (char *) "self",(char *) "dc",(char *) "xoffset",(char *) "yoffset", NULL
7658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd:PseudoMetaFile_Draw",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
7659 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7660 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7662 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7666 (arg1
)->Draw(*arg2
,arg3
,arg4
);
7668 wxPyEndAllowThreads(__tstate
);
7669 if (PyErr_Occurred()) SWIG_fail
;
7671 Py_INCREF(Py_None
); resultobj
= Py_None
;
7678 static PyObject
*_wrap_PseudoMetaFile_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7679 PyObject
*resultobj
;
7680 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
7681 PyObject
* obj0
= 0 ;
7683 (char *) "self", NULL
7686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_Clear",kwnames
,&obj0
)) goto fail
;
7687 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7692 wxPyEndAllowThreads(__tstate
);
7693 if (PyErr_Occurred()) SWIG_fail
;
7695 Py_INCREF(Py_None
); resultobj
= Py_None
;
7702 static PyObject
*_wrap_PseudoMetaFile_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7703 PyObject
*resultobj
;
7704 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
7705 wxPseudoMetaFile
*arg2
= 0 ;
7706 PyObject
* obj0
= 0 ;
7707 PyObject
* obj1
= 0 ;
7709 (char *) "self",(char *) "copy", NULL
7712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_Copy",kwnames
,&obj0
,&obj1
)) goto fail
;
7713 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7714 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7716 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7720 (arg1
)->Copy(*arg2
);
7722 wxPyEndAllowThreads(__tstate
);
7723 if (PyErr_Occurred()) SWIG_fail
;
7725 Py_INCREF(Py_None
); resultobj
= Py_None
;
7732 static PyObject
*_wrap_PseudoMetaFile_Scale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7733 PyObject
*resultobj
;
7734 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
7737 PyObject
* obj0
= 0 ;
7739 (char *) "self",(char *) "sx",(char *) "sy", NULL
7742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PseudoMetaFile_Scale",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7743 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7746 (arg1
)->Scale(arg2
,arg3
);
7748 wxPyEndAllowThreads(__tstate
);
7749 if (PyErr_Occurred()) SWIG_fail
;
7751 Py_INCREF(Py_None
); resultobj
= Py_None
;
7758 static PyObject
*_wrap_PseudoMetaFile_ScaleTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7759 PyObject
*resultobj
;
7760 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
7763 PyObject
* obj0
= 0 ;
7765 (char *) "self",(char *) "w",(char *) "h", NULL
7768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PseudoMetaFile_ScaleTo",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7772 (arg1
)->ScaleTo(arg2
,arg3
);
7774 wxPyEndAllowThreads(__tstate
);
7775 if (PyErr_Occurred()) SWIG_fail
;
7777 Py_INCREF(Py_None
); resultobj
= Py_None
;
7784 static PyObject
*_wrap_PseudoMetaFile_Translate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7785 PyObject
*resultobj
;
7786 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
7789 PyObject
* obj0
= 0 ;
7791 (char *) "self",(char *) "x",(char *) "y", NULL
7794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PseudoMetaFile_Translate",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7795 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7798 (arg1
)->Translate(arg2
,arg3
);
7800 wxPyEndAllowThreads(__tstate
);
7801 if (PyErr_Occurred()) SWIG_fail
;
7803 Py_INCREF(Py_None
); resultobj
= Py_None
;
7810 static PyObject
*_wrap_PseudoMetaFile_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7811 PyObject
*resultobj
;
7812 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
7816 PyObject
* obj0
= 0 ;
7818 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
7821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oddd:PseudoMetaFile_Rotate",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
7822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7825 (arg1
)->Rotate(arg2
,arg3
,arg4
);
7827 wxPyEndAllowThreads(__tstate
);
7828 if (PyErr_Occurred()) SWIG_fail
;
7830 Py_INCREF(Py_None
); resultobj
= Py_None
;
7837 static PyObject
*_wrap_PseudoMetaFile_LoadFromMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7838 PyObject
*resultobj
;
7839 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
7840 wxString
*arg2
= 0 ;
7841 double *arg3
= (double *) 0 ;
7842 double *arg4
= (double *) 0 ;
7844 bool temp2
= false ;
7845 PyObject
* obj0
= 0 ;
7846 PyObject
* obj1
= 0 ;
7847 PyObject
* obj2
= 0 ;
7848 PyObject
* obj3
= 0 ;
7850 (char *) "self",(char *) "filename",(char *) "width",(char *) "height", NULL
7853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoMetaFile_LoadFromMetaFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7856 arg2
= wxString_in_helper(obj1
);
7857 if (arg2
== NULL
) SWIG_fail
;
7860 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_double
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7861 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_double
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7864 result
= (bool)(arg1
)->LoadFromMetaFile((wxString
const &)*arg2
,arg3
,arg4
);
7866 wxPyEndAllowThreads(__tstate
);
7867 if (PyErr_Occurred()) SWIG_fail
;
7869 resultobj
= PyInt_FromLong((long)result
);
7884 static PyObject
*_wrap_PseudoMetaFile_GetBounds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7885 PyObject
*resultobj
;
7886 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
7887 double *arg2
= (double *) 0 ;
7888 double *arg3
= (double *) 0 ;
7889 double *arg4
= (double *) 0 ;
7890 double *arg5
= (double *) 0 ;
7891 PyObject
* obj0
= 0 ;
7892 PyObject
* obj1
= 0 ;
7893 PyObject
* obj2
= 0 ;
7894 PyObject
* obj3
= 0 ;
7895 PyObject
* obj4
= 0 ;
7897 (char *) "self",(char *) "minX",(char *) "minY",(char *) "maxX",(char *) "maxY", NULL
7900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoMetaFile_GetBounds",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7902 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_double
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7903 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_double
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7904 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_double
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7905 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_double
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7908 (arg1
)->GetBounds(arg2
,arg3
,arg4
,arg5
);
7910 wxPyEndAllowThreads(__tstate
);
7911 if (PyErr_Occurred()) SWIG_fail
;
7913 Py_INCREF(Py_None
); resultobj
= Py_None
;
7920 static PyObject
*_wrap_PseudoMetaFile_CalculateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7921 PyObject
*resultobj
;
7922 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
7923 wxPyDrawnShape
*arg2
= (wxPyDrawnShape
*) 0 ;
7924 PyObject
* obj0
= 0 ;
7925 PyObject
* obj1
= 0 ;
7927 (char *) "self",(char *) "shape", NULL
7930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_CalculateSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7931 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7932 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7935 (arg1
)->CalculateSize(arg2
);
7937 wxPyEndAllowThreads(__tstate
);
7938 if (PyErr_Occurred()) SWIG_fail
;
7940 Py_INCREF(Py_None
); resultobj
= Py_None
;
7947 static PyObject
*_wrap_PseudoMetaFile_SetRotateable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7948 PyObject
*resultobj
;
7949 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
7951 PyObject
* obj0
= 0 ;
7952 PyObject
* obj1
= 0 ;
7954 (char *) "self",(char *) "rot", NULL
7957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetRotateable",kwnames
,&obj0
,&obj1
)) goto fail
;
7958 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7959 arg2
= PyInt_AsLong(obj1
) ? true : false;
7960 if (PyErr_Occurred()) SWIG_fail
;
7962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7963 (arg1
)->SetRotateable(arg2
);
7965 wxPyEndAllowThreads(__tstate
);
7966 if (PyErr_Occurred()) SWIG_fail
;
7968 Py_INCREF(Py_None
); resultobj
= Py_None
;
7975 static PyObject
*_wrap_PseudoMetaFile_GetRotateable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7976 PyObject
*resultobj
;
7977 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
7979 PyObject
* obj0
= 0 ;
7981 (char *) "self", NULL
7984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_GetRotateable",kwnames
,&obj0
)) goto fail
;
7985 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7988 result
= (bool)(arg1
)->GetRotateable();
7990 wxPyEndAllowThreads(__tstate
);
7991 if (PyErr_Occurred()) SWIG_fail
;
7993 resultobj
= PyInt_FromLong((long)result
);
8000 static PyObject
*_wrap_PseudoMetaFile_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8001 PyObject
*resultobj
;
8002 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8005 PyObject
* obj0
= 0 ;
8007 (char *) "self",(char *) "w",(char *) "h", NULL
8010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PseudoMetaFile_SetSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8011 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8014 (arg1
)->SetSize(arg2
,arg3
);
8016 wxPyEndAllowThreads(__tstate
);
8017 if (PyErr_Occurred()) SWIG_fail
;
8019 Py_INCREF(Py_None
); resultobj
= Py_None
;
8026 static PyObject
*_wrap_PseudoMetaFile_SetFillBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8027 PyObject
*resultobj
;
8028 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8029 wxBrush
*arg2
= (wxBrush
*) 0 ;
8030 PyObject
* obj0
= 0 ;
8031 PyObject
* obj1
= 0 ;
8033 (char *) "self",(char *) "brush", NULL
8036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetFillBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
8037 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8041 if (obj1
== Py_None
) {
8044 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxBrush"))) {
8045 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxBrush.");
8050 arg2
= wxTheBrushList
->FindOrCreateBrush(temp
->GetColour(), temp
->GetStyle());
8055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8056 (arg1
)->SetFillBrush(arg2
);
8058 wxPyEndAllowThreads(__tstate
);
8059 if (PyErr_Occurred()) SWIG_fail
;
8061 Py_INCREF(Py_None
); resultobj
= Py_None
;
8068 static PyObject
*_wrap_PseudoMetaFile_GetFillBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8069 PyObject
*resultobj
;
8070 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8072 PyObject
* obj0
= 0 ;
8074 (char *) "self", NULL
8077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_GetFillBrush",kwnames
,&obj0
)) goto fail
;
8078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8081 result
= (wxBrush
*)(arg1
)->GetFillBrush();
8083 wxPyEndAllowThreads(__tstate
);
8084 if (PyErr_Occurred()) SWIG_fail
;
8086 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBrush
, 0);
8093 static PyObject
*_wrap_PseudoMetaFile_SetOutlinePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8094 PyObject
*resultobj
;
8095 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8096 wxPen
*arg2
= (wxPen
*) 0 ;
8097 PyObject
* obj0
= 0 ;
8098 PyObject
* obj1
= 0 ;
8100 (char *) "self",(char *) "pen", NULL
8103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetOutlinePen",kwnames
,&obj0
,&obj1
)) goto fail
;
8104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8108 if (obj1
== Py_None
) {
8111 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
8112 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
8117 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
8124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8125 (arg1
)->SetOutlinePen(arg2
);
8127 wxPyEndAllowThreads(__tstate
);
8128 if (PyErr_Occurred()) SWIG_fail
;
8130 Py_INCREF(Py_None
); resultobj
= Py_None
;
8137 static PyObject
*_wrap_PseudoMetaFile_GetOutlinePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8138 PyObject
*resultobj
;
8139 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8141 PyObject
* obj0
= 0 ;
8143 (char *) "self", NULL
8146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_GetOutlinePen",kwnames
,&obj0
)) goto fail
;
8147 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8150 result
= (wxPen
*)(arg1
)->GetOutlinePen();
8152 wxPyEndAllowThreads(__tstate
);
8153 if (PyErr_Occurred()) SWIG_fail
;
8155 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPen
, 0);
8162 static PyObject
*_wrap_PseudoMetaFile_SetOutlineOp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8163 PyObject
*resultobj
;
8164 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8166 PyObject
* obj0
= 0 ;
8168 (char *) "self",(char *) "op", NULL
8171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PseudoMetaFile_SetOutlineOp",kwnames
,&obj0
,&arg2
)) goto fail
;
8172 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8175 (arg1
)->SetOutlineOp(arg2
);
8177 wxPyEndAllowThreads(__tstate
);
8178 if (PyErr_Occurred()) SWIG_fail
;
8180 Py_INCREF(Py_None
); resultobj
= Py_None
;
8187 static PyObject
*_wrap_PseudoMetaFile_GetOutlineOp(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_GetOutlineOp",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
= (int)(arg1
)->GetOutlineOp();
8202 wxPyEndAllowThreads(__tstate
);
8203 if (PyErr_Occurred()) SWIG_fail
;
8205 resultobj
= PyInt_FromLong((long)result
);
8212 static PyObject
*_wrap_PseudoMetaFile_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8213 PyObject
*resultobj
;
8214 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8216 PyObject
* obj0
= 0 ;
8218 (char *) "self", NULL
8221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_IsValid",kwnames
,&obj0
)) goto fail
;
8222 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8225 result
= (bool)(arg1
)->IsValid();
8227 wxPyEndAllowThreads(__tstate
);
8228 if (PyErr_Occurred()) SWIG_fail
;
8230 resultobj
= PyInt_FromLong((long)result
);
8237 static PyObject
*_wrap_PseudoMetaFile_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8238 PyObject
*resultobj
;
8239 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8244 PyObject
* obj0
= 0 ;
8245 PyObject
* obj1
= 0 ;
8246 PyObject
* obj2
= 0 ;
8248 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
8251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8252 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8255 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8259 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8263 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
8265 wxPyEndAllowThreads(__tstate
);
8266 if (PyErr_Occurred()) SWIG_fail
;
8268 Py_INCREF(Py_None
); resultobj
= Py_None
;
8275 static PyObject
*_wrap_PseudoMetaFile_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8276 PyObject
*resultobj
;
8277 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8280 PyObject
* obj0
= 0 ;
8281 PyObject
* obj1
= 0 ;
8283 (char *) "self",(char *) "rect", NULL
8286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_DrawRectangle",kwnames
,&obj0
,&obj1
)) goto fail
;
8287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8290 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8294 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
8296 wxPyEndAllowThreads(__tstate
);
8297 if (PyErr_Occurred()) SWIG_fail
;
8299 Py_INCREF(Py_None
); resultobj
= Py_None
;
8306 static PyObject
*_wrap_PseudoMetaFile_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8307 PyObject
*resultobj
;
8308 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8312 PyObject
* obj0
= 0 ;
8313 PyObject
* obj1
= 0 ;
8315 (char *) "self",(char *) "rect",(char *) "radius", NULL
8318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOd:PseudoMetaFile_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
8319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8322 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8326 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
8328 wxPyEndAllowThreads(__tstate
);
8329 if (PyErr_Occurred()) SWIG_fail
;
8331 Py_INCREF(Py_None
); resultobj
= Py_None
;
8338 static PyObject
*_wrap_PseudoMetaFile_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8339 PyObject
*resultobj
;
8340 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8347 PyObject
* obj0
= 0 ;
8348 PyObject
* obj1
= 0 ;
8349 PyObject
* obj2
= 0 ;
8350 PyObject
* obj3
= 0 ;
8352 (char *) "self",(char *) "centrePt",(char *) "startPt",(char *) "endPt", NULL
8355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoMetaFile_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8359 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8363 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8367 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8371 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
8373 wxPyEndAllowThreads(__tstate
);
8374 if (PyErr_Occurred()) SWIG_fail
;
8376 Py_INCREF(Py_None
); resultobj
= Py_None
;
8383 static PyObject
*_wrap_PseudoMetaFile_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8384 PyObject
*resultobj
;
8385 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8390 PyObject
* obj0
= 0 ;
8391 PyObject
* obj1
= 0 ;
8393 (char *) "self",(char *) "rect",(char *) "startAngle",(char *) "endAngle", NULL
8396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd:PseudoMetaFile_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
8397 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8400 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8404 (arg1
)->DrawEllipticArc((wxRect
const &)*arg2
,arg3
,arg4
);
8406 wxPyEndAllowThreads(__tstate
);
8407 if (PyErr_Occurred()) SWIG_fail
;
8409 Py_INCREF(Py_None
); resultobj
= Py_None
;
8416 static PyObject
*_wrap_PseudoMetaFile_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8417 PyObject
*resultobj
;
8418 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8421 PyObject
* obj0
= 0 ;
8422 PyObject
* obj1
= 0 ;
8424 (char *) "self",(char *) "rect", NULL
8427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_DrawEllipse",kwnames
,&obj0
,&obj1
)) goto fail
;
8428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8431 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8435 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
8437 wxPyEndAllowThreads(__tstate
);
8438 if (PyErr_Occurred()) SWIG_fail
;
8440 Py_INCREF(Py_None
); resultobj
= Py_None
;
8447 static PyObject
*_wrap_PseudoMetaFile_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8448 PyObject
*resultobj
;
8449 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8452 PyObject
* obj0
= 0 ;
8453 PyObject
* obj1
= 0 ;
8455 (char *) "self",(char *) "pt", NULL
8458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_DrawPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
8459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8462 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8466 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
8468 wxPyEndAllowThreads(__tstate
);
8469 if (PyErr_Occurred()) SWIG_fail
;
8471 Py_INCREF(Py_None
); resultobj
= Py_None
;
8478 static PyObject
*_wrap_PseudoMetaFile_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8479 PyObject
*resultobj
;
8480 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8481 wxString
*arg2
= 0 ;
8483 bool temp2
= false ;
8485 PyObject
* obj0
= 0 ;
8486 PyObject
* obj1
= 0 ;
8487 PyObject
* obj2
= 0 ;
8489 (char *) "self",(char *) "text",(char *) "pt", NULL
8492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_DrawText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8493 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8495 arg2
= wxString_in_helper(obj1
);
8496 if (arg2
== NULL
) SWIG_fail
;
8501 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8505 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
8507 wxPyEndAllowThreads(__tstate
);
8508 if (PyErr_Occurred()) SWIG_fail
;
8510 Py_INCREF(Py_None
); resultobj
= Py_None
;
8525 static PyObject
*_wrap_PseudoMetaFile_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8526 PyObject
*resultobj
;
8527 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8529 wxPoint
*arg3
= (wxPoint
*) 0 ;
8530 PyObject
* obj0
= 0 ;
8531 PyObject
* obj2
= 0 ;
8533 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
8536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:PseudoMetaFile_DrawLines",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
8537 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8538 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8541 (arg1
)->DrawLines(arg2
,arg3
);
8543 wxPyEndAllowThreads(__tstate
);
8544 if (PyErr_Occurred()) SWIG_fail
;
8546 Py_INCREF(Py_None
); resultobj
= Py_None
;
8553 static PyObject
*_wrap_PseudoMetaFile_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8554 PyObject
*resultobj
;
8555 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8557 wxPoint
*arg3
= (wxPoint
*) 0 ;
8558 int arg4
= (int) 0 ;
8559 PyObject
* obj0
= 0 ;
8560 PyObject
* obj2
= 0 ;
8562 (char *) "self",(char *) "PCOUNT",(char *) "points",(char *) "flags", NULL
8565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|i:PseudoMetaFile_DrawPolygon",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
)) goto fail
;
8566 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8567 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8570 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
);
8572 wxPyEndAllowThreads(__tstate
);
8573 if (PyErr_Occurred()) SWIG_fail
;
8575 Py_INCREF(Py_None
); resultobj
= Py_None
;
8582 static PyObject
*_wrap_PseudoMetaFile_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8583 PyObject
*resultobj
;
8584 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8586 wxPoint
*arg3
= (wxPoint
*) 0 ;
8587 PyObject
* obj0
= 0 ;
8588 PyObject
* obj2
= 0 ;
8590 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
8593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:PseudoMetaFile_DrawSpline",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
8594 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8595 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8598 (arg1
)->DrawSpline(arg2
,arg3
);
8600 wxPyEndAllowThreads(__tstate
);
8601 if (PyErr_Occurred()) SWIG_fail
;
8603 Py_INCREF(Py_None
); resultobj
= Py_None
;
8610 static PyObject
*_wrap_PseudoMetaFile_SetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8611 PyObject
*resultobj
;
8612 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8615 PyObject
* obj0
= 0 ;
8616 PyObject
* obj1
= 0 ;
8618 (char *) "self",(char *) "rect", NULL
8621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
8622 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8625 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8629 (arg1
)->SetClippingRect((wxRect
const &)*arg2
);
8631 wxPyEndAllowThreads(__tstate
);
8632 if (PyErr_Occurred()) SWIG_fail
;
8634 Py_INCREF(Py_None
); resultobj
= Py_None
;
8641 static PyObject
*_wrap_PseudoMetaFile_DestroyClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8642 PyObject
*resultobj
;
8643 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8644 PyObject
* obj0
= 0 ;
8646 (char *) "self", NULL
8649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_DestroyClippingRect",kwnames
,&obj0
)) goto fail
;
8650 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8653 (arg1
)->DestroyClippingRect();
8655 wxPyEndAllowThreads(__tstate
);
8656 if (PyErr_Occurred()) SWIG_fail
;
8658 Py_INCREF(Py_None
); resultobj
= Py_None
;
8665 static PyObject
*_wrap_PseudoMetaFile_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8666 PyObject
*resultobj
;
8667 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8668 wxPen
*arg2
= (wxPen
*) 0 ;
8669 bool arg3
= (bool) FALSE
;
8670 PyObject
* obj0
= 0 ;
8671 PyObject
* obj1
= 0 ;
8672 PyObject
* obj2
= 0 ;
8674 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
8677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoMetaFile_SetPen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8678 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8682 if (obj1
== Py_None
) {
8685 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
8686 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
8691 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
8698 arg3
= PyInt_AsLong(obj2
) ? true : false;
8699 if (PyErr_Occurred()) SWIG_fail
;
8702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8703 (arg1
)->SetPen(arg2
,arg3
);
8705 wxPyEndAllowThreads(__tstate
);
8706 if (PyErr_Occurred()) SWIG_fail
;
8708 Py_INCREF(Py_None
); resultobj
= Py_None
;
8715 static PyObject
*_wrap_PseudoMetaFile_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8716 PyObject
*resultobj
;
8717 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8718 wxBrush
*arg2
= (wxBrush
*) 0 ;
8719 bool arg3
= (bool) FALSE
;
8720 PyObject
* obj0
= 0 ;
8721 PyObject
* obj1
= 0 ;
8722 PyObject
* obj2
= 0 ;
8724 (char *) "self",(char *) "brush",(char *) "isFill", NULL
8727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoMetaFile_SetBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8728 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8732 if (obj1
== Py_None
) {
8735 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxBrush"))) {
8736 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxBrush.");
8741 arg2
= wxTheBrushList
->FindOrCreateBrush(temp
->GetColour(), temp
->GetStyle());
8746 arg3
= PyInt_AsLong(obj2
) ? true : false;
8747 if (PyErr_Occurred()) SWIG_fail
;
8750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8751 (arg1
)->SetBrush(arg2
,arg3
);
8753 wxPyEndAllowThreads(__tstate
);
8754 if (PyErr_Occurred()) SWIG_fail
;
8756 Py_INCREF(Py_None
); resultobj
= Py_None
;
8763 static PyObject
*_wrap_PseudoMetaFile_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8764 PyObject
*resultobj
;
8765 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8766 wxFont
*arg2
= (wxFont
*) 0 ;
8767 PyObject
* obj0
= 0 ;
8768 PyObject
* obj1
= 0 ;
8770 (char *) "self",(char *) "font", NULL
8773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
8774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8778 if (obj1
== Py_None
) {
8781 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxFont"))) {
8782 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxFont.");
8787 arg2
= wxTheFontList
->FindOrCreateFont(temp
->GetPointSize(),
8791 temp
->GetUnderlined(),
8792 temp
->GetFaceName(),
8793 temp
->GetEncoding());
8798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8799 (arg1
)->SetFont(arg2
);
8801 wxPyEndAllowThreads(__tstate
);
8802 if (PyErr_Occurred()) SWIG_fail
;
8804 Py_INCREF(Py_None
); resultobj
= Py_None
;
8811 static PyObject
*_wrap_PseudoMetaFile_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8812 PyObject
*resultobj
;
8813 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8814 wxColour
*arg2
= 0 ;
8816 PyObject
* obj0
= 0 ;
8817 PyObject
* obj1
= 0 ;
8819 (char *) "self",(char *) "colour", NULL
8822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
8823 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8826 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8830 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
8832 wxPyEndAllowThreads(__tstate
);
8833 if (PyErr_Occurred()) SWIG_fail
;
8835 Py_INCREF(Py_None
); resultobj
= Py_None
;
8842 static PyObject
*_wrap_PseudoMetaFile_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8843 PyObject
*resultobj
;
8844 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8845 wxColour
*arg2
= 0 ;
8847 PyObject
* obj0
= 0 ;
8848 PyObject
* obj1
= 0 ;
8850 (char *) "self",(char *) "colour", NULL
8853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
8854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8857 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8861 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
8863 wxPyEndAllowThreads(__tstate
);
8864 if (PyErr_Occurred()) SWIG_fail
;
8866 Py_INCREF(Py_None
); resultobj
= Py_None
;
8873 static PyObject
*_wrap_PseudoMetaFile_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8874 PyObject
*resultobj
;
8875 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8877 PyObject
* obj0
= 0 ;
8879 (char *) "self",(char *) "mode", NULL
8882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PseudoMetaFile_SetBackgroundMode",kwnames
,&obj0
,&arg2
)) goto fail
;
8883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8886 (arg1
)->SetBackgroundMode(arg2
);
8888 wxPyEndAllowThreads(__tstate
);
8889 if (PyErr_Occurred()) SWIG_fail
;
8891 Py_INCREF(Py_None
); resultobj
= Py_None
;
8898 static PyObject
* PseudoMetaFile_swigregister(PyObject
*self
, PyObject
*args
) {
8900 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8901 SWIG_TypeClientData(SWIGTYPE_p_wxPseudoMetaFile
, obj
);
8903 return Py_BuildValue((char *)"");
8905 static PyObject
*_wrap_new_PyRectangleShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8906 PyObject
*resultobj
;
8907 double arg1
= (double) 0.0 ;
8908 double arg2
= (double) 0.0 ;
8909 wxPyRectangleShape
*result
;
8911 (char *) "width",(char *) "height", NULL
8914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|dd:new_PyRectangleShape",kwnames
,&arg1
,&arg2
)) goto fail
;
8916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8917 result
= (wxPyRectangleShape
*)new wxPyRectangleShape(arg1
,arg2
);
8919 wxPyEndAllowThreads(__tstate
);
8920 if (PyErr_Occurred()) SWIG_fail
;
8922 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyRectangleShape
, 1);
8929 static PyObject
*_wrap_PyRectangleShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8930 PyObject
*resultobj
;
8931 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
8932 PyObject
*arg2
= (PyObject
*) 0 ;
8933 PyObject
*arg3
= (PyObject
*) 0 ;
8934 PyObject
* obj0
= 0 ;
8935 PyObject
* obj1
= 0 ;
8936 PyObject
* obj2
= 0 ;
8938 (char *) "self",(char *) "self",(char *) "_class", NULL
8941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyRectangleShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8947 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8949 wxPyEndAllowThreads(__tstate
);
8950 if (PyErr_Occurred()) SWIG_fail
;
8952 Py_INCREF(Py_None
); resultobj
= Py_None
;
8959 static PyObject
*_wrap_PyRectangleShape_SetCornerRadius(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8960 PyObject
*resultobj
;
8961 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
8963 PyObject
* obj0
= 0 ;
8965 (char *) "self",(char *) "radius", NULL
8968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:PyRectangleShape_SetCornerRadius",kwnames
,&obj0
,&arg2
)) goto fail
;
8969 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8972 (arg1
)->SetCornerRadius(arg2
);
8974 wxPyEndAllowThreads(__tstate
);
8975 if (PyErr_Occurred()) SWIG_fail
;
8977 Py_INCREF(Py_None
); resultobj
= Py_None
;
8984 static PyObject
*_wrap_PyRectangleShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8985 PyObject
*resultobj
;
8986 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
8987 PyObject
* obj0
= 0 ;
8989 (char *) "self", NULL
8992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyRectangleShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
8993 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8996 (arg1
)->base_OnDelete();
8998 wxPyEndAllowThreads(__tstate
);
8999 if (PyErr_Occurred()) SWIG_fail
;
9001 Py_INCREF(Py_None
); resultobj
= Py_None
;
9008 static PyObject
*_wrap_PyRectangleShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9009 PyObject
*resultobj
;
9010 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9012 PyObject
* obj0
= 0 ;
9013 PyObject
* obj1
= 0 ;
9015 (char *) "self",(char *) "dc", NULL
9018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
9019 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9020 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9022 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9026 (arg1
)->base_OnDraw(*arg2
);
9028 wxPyEndAllowThreads(__tstate
);
9029 if (PyErr_Occurred()) SWIG_fail
;
9031 Py_INCREF(Py_None
); resultobj
= Py_None
;
9038 static PyObject
*_wrap_PyRectangleShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9039 PyObject
*resultobj
;
9040 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9042 PyObject
* obj0
= 0 ;
9043 PyObject
* obj1
= 0 ;
9045 (char *) "self",(char *) "dc", NULL
9048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
9049 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9050 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9052 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9056 (arg1
)->base_OnDrawContents(*arg2
);
9058 wxPyEndAllowThreads(__tstate
);
9059 if (PyErr_Occurred()) SWIG_fail
;
9061 Py_INCREF(Py_None
); resultobj
= Py_None
;
9068 static PyObject
*_wrap_PyRectangleShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9069 PyObject
*resultobj
;
9070 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9072 bool arg3
= (bool) FALSE
;
9073 PyObject
* obj0
= 0 ;
9074 PyObject
* obj1
= 0 ;
9075 PyObject
* obj2
= 0 ;
9077 (char *) "self",(char *) "dc",(char *) "erase", NULL
9080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyRectangleShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9081 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9082 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9084 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9087 arg3
= PyInt_AsLong(obj2
) ? true : false;
9088 if (PyErr_Occurred()) SWIG_fail
;
9091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9092 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
9094 wxPyEndAllowThreads(__tstate
);
9095 if (PyErr_Occurred()) SWIG_fail
;
9097 Py_INCREF(Py_None
); resultobj
= Py_None
;
9104 static PyObject
*_wrap_PyRectangleShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9105 PyObject
*resultobj
;
9106 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9108 PyObject
* obj0
= 0 ;
9109 PyObject
* obj1
= 0 ;
9111 (char *) "self",(char *) "dc", NULL
9114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
9115 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9116 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9118 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9122 (arg1
)->base_OnMoveLinks(*arg2
);
9124 wxPyEndAllowThreads(__tstate
);
9125 if (PyErr_Occurred()) SWIG_fail
;
9127 Py_INCREF(Py_None
); resultobj
= Py_None
;
9134 static PyObject
*_wrap_PyRectangleShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9135 PyObject
*resultobj
;
9136 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9138 PyObject
* obj0
= 0 ;
9139 PyObject
* obj1
= 0 ;
9141 (char *) "self",(char *) "dc", NULL
9144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
9145 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9146 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9148 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9152 (arg1
)->base_OnErase(*arg2
);
9154 wxPyEndAllowThreads(__tstate
);
9155 if (PyErr_Occurred()) SWIG_fail
;
9157 Py_INCREF(Py_None
); resultobj
= Py_None
;
9164 static PyObject
*_wrap_PyRectangleShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9165 PyObject
*resultobj
;
9166 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9168 PyObject
* obj0
= 0 ;
9169 PyObject
* obj1
= 0 ;
9171 (char *) "self",(char *) "dc", NULL
9174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
9175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9176 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9178 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9182 (arg1
)->base_OnEraseContents(*arg2
);
9184 wxPyEndAllowThreads(__tstate
);
9185 if (PyErr_Occurred()) SWIG_fail
;
9187 Py_INCREF(Py_None
); resultobj
= Py_None
;
9194 static PyObject
*_wrap_PyRectangleShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9195 PyObject
*resultobj
;
9196 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9198 PyObject
* obj0
= 0 ;
9199 PyObject
* obj1
= 0 ;
9201 (char *) "self",(char *) "dc", NULL
9204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
9205 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9206 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9208 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9212 (arg1
)->base_OnHighlight(*arg2
);
9214 wxPyEndAllowThreads(__tstate
);
9215 if (PyErr_Occurred()) SWIG_fail
;
9217 Py_INCREF(Py_None
); resultobj
= Py_None
;
9224 static PyObject
*_wrap_PyRectangleShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9225 PyObject
*resultobj
;
9226 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9229 int arg4
= (int) 0 ;
9230 int arg5
= (int) 0 ;
9231 PyObject
* obj0
= 0 ;
9233 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyRectangleShape_base_OnLeftClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
9237 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9240 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
9242 wxPyEndAllowThreads(__tstate
);
9243 if (PyErr_Occurred()) SWIG_fail
;
9245 Py_INCREF(Py_None
); resultobj
= Py_None
;
9252 static PyObject
*_wrap_PyRectangleShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9253 PyObject
*resultobj
;
9254 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9257 int arg4
= (int) 0 ;
9258 int arg5
= (int) 0 ;
9259 PyObject
* obj0
= 0 ;
9261 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyRectangleShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
9265 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9268 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
9270 wxPyEndAllowThreads(__tstate
);
9271 if (PyErr_Occurred()) SWIG_fail
;
9273 Py_INCREF(Py_None
); resultobj
= Py_None
;
9280 static PyObject
*_wrap_PyRectangleShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9281 PyObject
*resultobj
;
9282 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9285 int arg4
= (int) 0 ;
9286 int arg5
= (int) 0 ;
9287 PyObject
* obj0
= 0 ;
9289 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyRectangleShape_base_OnRightClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
9293 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9296 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
9298 wxPyEndAllowThreads(__tstate
);
9299 if (PyErr_Occurred()) SWIG_fail
;
9301 Py_INCREF(Py_None
); resultobj
= Py_None
;
9308 static PyObject
*_wrap_PyRectangleShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9309 PyObject
*resultobj
;
9310 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9313 PyObject
* obj0
= 0 ;
9315 (char *) "self",(char *) "x",(char *) "y", NULL
9318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyRectangleShape_base_OnSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
9319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9322 (arg1
)->base_OnSize(arg2
,arg3
);
9324 wxPyEndAllowThreads(__tstate
);
9325 if (PyErr_Occurred()) SWIG_fail
;
9327 Py_INCREF(Py_None
); resultobj
= Py_None
;
9334 static PyObject
*_wrap_PyRectangleShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9335 PyObject
*resultobj
;
9336 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9342 bool arg7
= (bool) TRUE
;
9344 PyObject
* obj0
= 0 ;
9345 PyObject
* obj1
= 0 ;
9346 PyObject
* obj6
= 0 ;
9348 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
9351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyRectangleShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) 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 arg7
= PyInt_AsLong(obj6
) ? true : false;
9359 if (PyErr_Occurred()) SWIG_fail
;
9362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9363 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9365 wxPyEndAllowThreads(__tstate
);
9366 if (PyErr_Occurred()) SWIG_fail
;
9368 resultobj
= PyInt_FromLong((long)result
);
9375 static PyObject
*_wrap_PyRectangleShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9376 PyObject
*resultobj
;
9377 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9383 bool arg7
= (bool) TRUE
;
9384 PyObject
* obj0
= 0 ;
9385 PyObject
* obj1
= 0 ;
9386 PyObject
* obj6
= 0 ;
9388 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
9391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyRectangleShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
9392 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9393 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9395 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9398 arg7
= PyInt_AsLong(obj6
) ? true : false;
9399 if (PyErr_Occurred()) SWIG_fail
;
9402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9403 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9405 wxPyEndAllowThreads(__tstate
);
9406 if (PyErr_Occurred()) SWIG_fail
;
9408 Py_INCREF(Py_None
); resultobj
= Py_None
;
9415 static PyObject
*_wrap_PyRectangleShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9416 PyObject
*resultobj
;
9417 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9421 int arg5
= (int) 0 ;
9422 int arg6
= (int) 0 ;
9423 PyObject
* obj0
= 0 ;
9424 PyObject
* obj1
= 0 ;
9426 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyRectangleShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
9430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9431 arg2
= PyInt_AsLong(obj1
) ? true : false;
9432 if (PyErr_Occurred()) SWIG_fail
;
9434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9435 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
9437 wxPyEndAllowThreads(__tstate
);
9438 if (PyErr_Occurred()) SWIG_fail
;
9440 Py_INCREF(Py_None
); resultobj
= Py_None
;
9447 static PyObject
*_wrap_PyRectangleShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9448 PyObject
*resultobj
;
9449 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9452 int arg4
= (int) 0 ;
9453 int arg5
= (int) 0 ;
9454 PyObject
* obj0
= 0 ;
9456 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyRectangleShape_base_OnBeginDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
9460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9463 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
9465 wxPyEndAllowThreads(__tstate
);
9466 if (PyErr_Occurred()) SWIG_fail
;
9468 Py_INCREF(Py_None
); resultobj
= Py_None
;
9475 static PyObject
*_wrap_PyRectangleShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9476 PyObject
*resultobj
;
9477 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9480 int arg4
= (int) 0 ;
9481 int arg5
= (int) 0 ;
9482 PyObject
* obj0
= 0 ;
9484 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyRectangleShape_base_OnEndDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
9488 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9491 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
9493 wxPyEndAllowThreads(__tstate
);
9494 if (PyErr_Occurred()) SWIG_fail
;
9496 Py_INCREF(Py_None
); resultobj
= Py_None
;
9503 static PyObject
*_wrap_PyRectangleShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9504 PyObject
*resultobj
;
9505 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9509 int arg5
= (int) 0 ;
9510 int arg6
= (int) 0 ;
9511 PyObject
* obj0
= 0 ;
9512 PyObject
* obj1
= 0 ;
9514 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyRectangleShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
9518 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9519 arg2
= PyInt_AsLong(obj1
) ? true : false;
9520 if (PyErr_Occurred()) SWIG_fail
;
9522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9523 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
9525 wxPyEndAllowThreads(__tstate
);
9526 if (PyErr_Occurred()) SWIG_fail
;
9528 Py_INCREF(Py_None
); resultobj
= Py_None
;
9535 static PyObject
*_wrap_PyRectangleShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9536 PyObject
*resultobj
;
9537 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9540 int arg4
= (int) 0 ;
9541 int arg5
= (int) 0 ;
9542 PyObject
* obj0
= 0 ;
9544 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyRectangleShape_base_OnBeginDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
9548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9551 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
9553 wxPyEndAllowThreads(__tstate
);
9554 if (PyErr_Occurred()) SWIG_fail
;
9556 Py_INCREF(Py_None
); resultobj
= Py_None
;
9563 static PyObject
*_wrap_PyRectangleShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9564 PyObject
*resultobj
;
9565 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9568 int arg4
= (int) 0 ;
9569 int arg5
= (int) 0 ;
9570 PyObject
* obj0
= 0 ;
9572 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyRectangleShape_base_OnEndDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
9576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9579 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
9581 wxPyEndAllowThreads(__tstate
);
9582 if (PyErr_Occurred()) SWIG_fail
;
9584 Py_INCREF(Py_None
); resultobj
= Py_None
;
9591 static PyObject
*_wrap_PyRectangleShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9592 PyObject
*resultobj
;
9593 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9599 PyObject
* obj0
= 0 ;
9600 PyObject
* obj1
= 0 ;
9602 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
9605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd:PyRectangleShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
9606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9607 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9609 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9613 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
9615 wxPyEndAllowThreads(__tstate
);
9616 if (PyErr_Occurred()) SWIG_fail
;
9618 Py_INCREF(Py_None
); resultobj
= Py_None
;
9625 static PyObject
*_wrap_PyRectangleShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9626 PyObject
*resultobj
;
9627 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9629 PyObject
* obj0
= 0 ;
9630 PyObject
* obj1
= 0 ;
9632 (char *) "self",(char *) "dc", NULL
9635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
9636 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9637 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9639 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9643 (arg1
)->base_OnDrawControlPoints(*arg2
);
9645 wxPyEndAllowThreads(__tstate
);
9646 if (PyErr_Occurred()) SWIG_fail
;
9648 Py_INCREF(Py_None
); resultobj
= Py_None
;
9655 static PyObject
*_wrap_PyRectangleShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9656 PyObject
*resultobj
;
9657 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9659 PyObject
* obj0
= 0 ;
9660 PyObject
* obj1
= 0 ;
9662 (char *) "self",(char *) "dc", NULL
9665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
9666 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9667 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9669 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9673 (arg1
)->base_OnEraseControlPoints(*arg2
);
9675 wxPyEndAllowThreads(__tstate
);
9676 if (PyErr_Occurred()) SWIG_fail
;
9678 Py_INCREF(Py_None
); resultobj
= Py_None
;
9685 static PyObject
*_wrap_PyRectangleShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9686 PyObject
*resultobj
;
9687 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9689 bool arg3
= (bool) TRUE
;
9690 PyObject
* obj0
= 0 ;
9691 PyObject
* obj1
= 0 ;
9692 PyObject
* obj2
= 0 ;
9694 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
9697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyRectangleShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9698 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9699 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9701 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9704 arg3
= PyInt_AsLong(obj2
) ? true : false;
9705 if (PyErr_Occurred()) SWIG_fail
;
9708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9709 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
9711 wxPyEndAllowThreads(__tstate
);
9712 if (PyErr_Occurred()) SWIG_fail
;
9714 Py_INCREF(Py_None
); resultobj
= Py_None
;
9721 static PyObject
*_wrap_PyRectangleShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9722 PyObject
*resultobj
;
9723 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9724 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
9728 int arg6
= (int) 0 ;
9729 int arg7
= (int) 0 ;
9730 PyObject
* obj0
= 0 ;
9731 PyObject
* obj1
= 0 ;
9732 PyObject
* obj2
= 0 ;
9734 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd|ii:PyRectangleShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
9738 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9739 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9740 arg3
= PyInt_AsLong(obj2
) ? true : false;
9741 if (PyErr_Occurred()) SWIG_fail
;
9743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9744 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9746 wxPyEndAllowThreads(__tstate
);
9747 if (PyErr_Occurred()) SWIG_fail
;
9749 Py_INCREF(Py_None
); resultobj
= Py_None
;
9756 static PyObject
*_wrap_PyRectangleShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9757 PyObject
*resultobj
;
9758 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9759 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
9762 int arg5
= (int) 0 ;
9763 int arg6
= (int) 0 ;
9764 PyObject
* obj0
= 0 ;
9765 PyObject
* obj1
= 0 ;
9767 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyRectangleShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
9771 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9772 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9775 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
9777 wxPyEndAllowThreads(__tstate
);
9778 if (PyErr_Occurred()) SWIG_fail
;
9780 Py_INCREF(Py_None
); resultobj
= Py_None
;
9787 static PyObject
*_wrap_PyRectangleShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9788 PyObject
*resultobj
;
9789 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9790 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
9793 int arg5
= (int) 0 ;
9794 int arg6
= (int) 0 ;
9795 PyObject
* obj0
= 0 ;
9796 PyObject
* obj1
= 0 ;
9798 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyRectangleShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
9802 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9803 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9806 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
9808 wxPyEndAllowThreads(__tstate
);
9809 if (PyErr_Occurred()) SWIG_fail
;
9811 Py_INCREF(Py_None
); resultobj
= Py_None
;
9818 static PyObject
*_wrap_PyRectangleShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9819 PyObject
*resultobj
;
9820 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9823 PyObject
* obj0
= 0 ;
9825 (char *) "self",(char *) "w",(char *) "h", NULL
9828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyRectangleShape_base_OnBeginSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
9829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9832 (arg1
)->base_OnBeginSize(arg2
,arg3
);
9834 wxPyEndAllowThreads(__tstate
);
9835 if (PyErr_Occurred()) SWIG_fail
;
9837 Py_INCREF(Py_None
); resultobj
= Py_None
;
9844 static PyObject
*_wrap_PyRectangleShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9845 PyObject
*resultobj
;
9846 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9849 PyObject
* obj0
= 0 ;
9851 (char *) "self",(char *) "w",(char *) "h", NULL
9854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyRectangleShape_base_OnEndSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
9855 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9858 (arg1
)->base_OnEndSize(arg2
,arg3
);
9860 wxPyEndAllowThreads(__tstate
);
9861 if (PyErr_Occurred()) SWIG_fail
;
9863 Py_INCREF(Py_None
); resultobj
= Py_None
;
9870 static PyObject
* PyRectangleShape_swigregister(PyObject
*self
, PyObject
*args
) {
9872 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9873 SWIG_TypeClientData(SWIGTYPE_p_wxPyRectangleShape
, obj
);
9875 return Py_BuildValue((char *)"");
9877 static PyObject
*_wrap_new_PyControlPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9878 PyObject
*resultobj
;
9879 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) NULL
;
9880 wxPyShape
*arg2
= (wxPyShape
*) NULL
;
9881 double arg3
= (double) 0.0 ;
9882 double arg4
= (double) 0.0 ;
9883 double arg5
= (double) 0.0 ;
9884 int arg6
= (int) 0 ;
9885 wxPyControlPoint
*result
;
9886 PyObject
* obj0
= 0 ;
9887 PyObject
* obj1
= 0 ;
9889 (char *) "the_canvas",(char *) "object",(char *) "size",(char *) "the_xoffset",(char *) "the_yoffset",(char *) "the_type", NULL
9892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOdddi:new_PyControlPoint",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
9894 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9897 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9901 result
= (wxPyControlPoint
*)new wxPyControlPoint(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
9903 wxPyEndAllowThreads(__tstate
);
9904 if (PyErr_Occurred()) SWIG_fail
;
9906 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyControlPoint
, 1);
9913 static PyObject
*_wrap_PyControlPoint__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9914 PyObject
*resultobj
;
9915 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
9916 PyObject
*arg2
= (PyObject
*) 0 ;
9917 PyObject
*arg3
= (PyObject
*) 0 ;
9918 PyObject
* obj0
= 0 ;
9919 PyObject
* obj1
= 0 ;
9920 PyObject
* obj2
= 0 ;
9922 (char *) "self",(char *) "self",(char *) "_class", NULL
9925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControlPoint__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9926 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9931 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9933 wxPyEndAllowThreads(__tstate
);
9934 if (PyErr_Occurred()) SWIG_fail
;
9936 Py_INCREF(Py_None
); resultobj
= Py_None
;
9943 static PyObject
*_wrap_PyControlPoint_SetCornerRadius(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9944 PyObject
*resultobj
;
9945 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
9947 PyObject
* obj0
= 0 ;
9949 (char *) "self",(char *) "radius", NULL
9952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:PyControlPoint_SetCornerRadius",kwnames
,&obj0
,&arg2
)) goto fail
;
9953 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9956 (arg1
)->SetCornerRadius(arg2
);
9958 wxPyEndAllowThreads(__tstate
);
9959 if (PyErr_Occurred()) SWIG_fail
;
9961 Py_INCREF(Py_None
); resultobj
= Py_None
;
9968 static PyObject
*_wrap_PyControlPoint_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9969 PyObject
*resultobj
;
9970 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
9971 PyObject
* obj0
= 0 ;
9973 (char *) "self", NULL
9976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControlPoint_base_OnDelete",kwnames
,&obj0
)) goto fail
;
9977 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9980 (arg1
)->base_OnDelete();
9982 wxPyEndAllowThreads(__tstate
);
9983 if (PyErr_Occurred()) SWIG_fail
;
9985 Py_INCREF(Py_None
); resultobj
= Py_None
;
9992 static PyObject
*_wrap_PyControlPoint_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9993 PyObject
*resultobj
;
9994 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
9996 PyObject
* obj0
= 0 ;
9997 PyObject
* obj1
= 0 ;
9999 (char *) "self",(char *) "dc", NULL
10002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
10003 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10004 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10005 if (arg2
== NULL
) {
10006 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10010 (arg1
)->base_OnDraw(*arg2
);
10012 wxPyEndAllowThreads(__tstate
);
10013 if (PyErr_Occurred()) SWIG_fail
;
10015 Py_INCREF(Py_None
); resultobj
= Py_None
;
10022 static PyObject
*_wrap_PyControlPoint_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10023 PyObject
*resultobj
;
10024 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10026 PyObject
* obj0
= 0 ;
10027 PyObject
* obj1
= 0 ;
10028 char *kwnames
[] = {
10029 (char *) "self",(char *) "dc", NULL
10032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
10033 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10034 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10035 if (arg2
== NULL
) {
10036 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10040 (arg1
)->base_OnDrawContents(*arg2
);
10042 wxPyEndAllowThreads(__tstate
);
10043 if (PyErr_Occurred()) SWIG_fail
;
10045 Py_INCREF(Py_None
); resultobj
= Py_None
;
10052 static PyObject
*_wrap_PyControlPoint_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10053 PyObject
*resultobj
;
10054 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10056 bool arg3
= (bool) FALSE
;
10057 PyObject
* obj0
= 0 ;
10058 PyObject
* obj1
= 0 ;
10059 PyObject
* obj2
= 0 ;
10060 char *kwnames
[] = {
10061 (char *) "self",(char *) "dc",(char *) "erase", NULL
10064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyControlPoint_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10065 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10066 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10067 if (arg2
== NULL
) {
10068 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10071 arg3
= PyInt_AsLong(obj2
) ? true : false;
10072 if (PyErr_Occurred()) SWIG_fail
;
10075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10076 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
10078 wxPyEndAllowThreads(__tstate
);
10079 if (PyErr_Occurred()) SWIG_fail
;
10081 Py_INCREF(Py_None
); resultobj
= Py_None
;
10088 static PyObject
*_wrap_PyControlPoint_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10089 PyObject
*resultobj
;
10090 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10092 PyObject
* obj0
= 0 ;
10093 PyObject
* obj1
= 0 ;
10094 char *kwnames
[] = {
10095 (char *) "self",(char *) "dc", NULL
10098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
10099 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10100 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10101 if (arg2
== NULL
) {
10102 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10106 (arg1
)->base_OnMoveLinks(*arg2
);
10108 wxPyEndAllowThreads(__tstate
);
10109 if (PyErr_Occurred()) SWIG_fail
;
10111 Py_INCREF(Py_None
); resultobj
= Py_None
;
10118 static PyObject
*_wrap_PyControlPoint_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10119 PyObject
*resultobj
;
10120 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10122 PyObject
* obj0
= 0 ;
10123 PyObject
* obj1
= 0 ;
10124 char *kwnames
[] = {
10125 (char *) "self",(char *) "dc", NULL
10128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
10129 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10130 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10131 if (arg2
== NULL
) {
10132 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10136 (arg1
)->base_OnErase(*arg2
);
10138 wxPyEndAllowThreads(__tstate
);
10139 if (PyErr_Occurred()) SWIG_fail
;
10141 Py_INCREF(Py_None
); resultobj
= Py_None
;
10148 static PyObject
*_wrap_PyControlPoint_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10149 PyObject
*resultobj
;
10150 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10152 PyObject
* obj0
= 0 ;
10153 PyObject
* obj1
= 0 ;
10154 char *kwnames
[] = {
10155 (char *) "self",(char *) "dc", NULL
10158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
10159 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10160 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10161 if (arg2
== NULL
) {
10162 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10166 (arg1
)->base_OnEraseContents(*arg2
);
10168 wxPyEndAllowThreads(__tstate
);
10169 if (PyErr_Occurred()) SWIG_fail
;
10171 Py_INCREF(Py_None
); resultobj
= Py_None
;
10178 static PyObject
*_wrap_PyControlPoint_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10179 PyObject
*resultobj
;
10180 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10182 PyObject
* obj0
= 0 ;
10183 PyObject
* obj1
= 0 ;
10184 char *kwnames
[] = {
10185 (char *) "self",(char *) "dc", NULL
10188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
10189 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10190 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10191 if (arg2
== NULL
) {
10192 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10196 (arg1
)->base_OnHighlight(*arg2
);
10198 wxPyEndAllowThreads(__tstate
);
10199 if (PyErr_Occurred()) SWIG_fail
;
10201 Py_INCREF(Py_None
); resultobj
= Py_None
;
10208 static PyObject
*_wrap_PyControlPoint_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10209 PyObject
*resultobj
;
10210 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10213 int arg4
= (int) 0 ;
10214 int arg5
= (int) 0 ;
10215 PyObject
* obj0
= 0 ;
10216 char *kwnames
[] = {
10217 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyControlPoint_base_OnLeftClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
10221 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10224 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
10226 wxPyEndAllowThreads(__tstate
);
10227 if (PyErr_Occurred()) SWIG_fail
;
10229 Py_INCREF(Py_None
); resultobj
= Py_None
;
10236 static PyObject
*_wrap_PyControlPoint_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10237 PyObject
*resultobj
;
10238 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10241 int arg4
= (int) 0 ;
10242 int arg5
= (int) 0 ;
10243 PyObject
* obj0
= 0 ;
10244 char *kwnames
[] = {
10245 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyControlPoint_base_OnLeftDoubleClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
10249 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10252 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
10254 wxPyEndAllowThreads(__tstate
);
10255 if (PyErr_Occurred()) SWIG_fail
;
10257 Py_INCREF(Py_None
); resultobj
= Py_None
;
10264 static PyObject
*_wrap_PyControlPoint_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10265 PyObject
*resultobj
;
10266 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10269 int arg4
= (int) 0 ;
10270 int arg5
= (int) 0 ;
10271 PyObject
* obj0
= 0 ;
10272 char *kwnames
[] = {
10273 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyControlPoint_base_OnRightClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
10277 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10280 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
10282 wxPyEndAllowThreads(__tstate
);
10283 if (PyErr_Occurred()) SWIG_fail
;
10285 Py_INCREF(Py_None
); resultobj
= Py_None
;
10292 static PyObject
*_wrap_PyControlPoint_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10293 PyObject
*resultobj
;
10294 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10297 PyObject
* obj0
= 0 ;
10298 char *kwnames
[] = {
10299 (char *) "self",(char *) "x",(char *) "y", NULL
10302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyControlPoint_base_OnSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10303 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10306 (arg1
)->base_OnSize(arg2
,arg3
);
10308 wxPyEndAllowThreads(__tstate
);
10309 if (PyErr_Occurred()) SWIG_fail
;
10311 Py_INCREF(Py_None
); resultobj
= Py_None
;
10318 static PyObject
*_wrap_PyControlPoint_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10319 PyObject
*resultobj
;
10320 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10326 bool arg7
= (bool) TRUE
;
10328 PyObject
* obj0
= 0 ;
10329 PyObject
* obj1
= 0 ;
10330 PyObject
* obj6
= 0 ;
10331 char *kwnames
[] = {
10332 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
10335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyControlPoint_base_OnMovePre",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) 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 arg7
= PyInt_AsLong(obj6
) ? true : false;
10343 if (PyErr_Occurred()) SWIG_fail
;
10346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10347 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10349 wxPyEndAllowThreads(__tstate
);
10350 if (PyErr_Occurred()) SWIG_fail
;
10352 resultobj
= PyInt_FromLong((long)result
);
10359 static PyObject
*_wrap_PyControlPoint_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10360 PyObject
*resultobj
;
10361 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10367 bool arg7
= (bool) TRUE
;
10368 PyObject
* obj0
= 0 ;
10369 PyObject
* obj1
= 0 ;
10370 PyObject
* obj6
= 0 ;
10371 char *kwnames
[] = {
10372 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
10375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyControlPoint_base_OnMovePost",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
10376 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10377 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10378 if (arg2
== NULL
) {
10379 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10382 arg7
= PyInt_AsLong(obj6
) ? true : false;
10383 if (PyErr_Occurred()) SWIG_fail
;
10386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10387 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10389 wxPyEndAllowThreads(__tstate
);
10390 if (PyErr_Occurred()) SWIG_fail
;
10392 Py_INCREF(Py_None
); resultobj
= Py_None
;
10399 static PyObject
*_wrap_PyControlPoint_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10400 PyObject
*resultobj
;
10401 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10405 int arg5
= (int) 0 ;
10406 int arg6
= (int) 0 ;
10407 PyObject
* obj0
= 0 ;
10408 PyObject
* obj1
= 0 ;
10409 char *kwnames
[] = {
10410 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyControlPoint_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
10414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10415 arg2
= PyInt_AsLong(obj1
) ? true : false;
10416 if (PyErr_Occurred()) SWIG_fail
;
10418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10419 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
10421 wxPyEndAllowThreads(__tstate
);
10422 if (PyErr_Occurred()) SWIG_fail
;
10424 Py_INCREF(Py_None
); resultobj
= Py_None
;
10431 static PyObject
*_wrap_PyControlPoint_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10432 PyObject
*resultobj
;
10433 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10436 int arg4
= (int) 0 ;
10437 int arg5
= (int) 0 ;
10438 PyObject
* obj0
= 0 ;
10439 char *kwnames
[] = {
10440 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyControlPoint_base_OnBeginDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
10444 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10447 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
10449 wxPyEndAllowThreads(__tstate
);
10450 if (PyErr_Occurred()) SWIG_fail
;
10452 Py_INCREF(Py_None
); resultobj
= Py_None
;
10459 static PyObject
*_wrap_PyControlPoint_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10460 PyObject
*resultobj
;
10461 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10464 int arg4
= (int) 0 ;
10465 int arg5
= (int) 0 ;
10466 PyObject
* obj0
= 0 ;
10467 char *kwnames
[] = {
10468 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyControlPoint_base_OnEndDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
10472 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10475 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
10477 wxPyEndAllowThreads(__tstate
);
10478 if (PyErr_Occurred()) SWIG_fail
;
10480 Py_INCREF(Py_None
); resultobj
= Py_None
;
10487 static PyObject
*_wrap_PyControlPoint_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10488 PyObject
*resultobj
;
10489 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10493 int arg5
= (int) 0 ;
10494 int arg6
= (int) 0 ;
10495 PyObject
* obj0
= 0 ;
10496 PyObject
* obj1
= 0 ;
10497 char *kwnames
[] = {
10498 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyControlPoint_base_OnDragRight",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
10502 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10503 arg2
= PyInt_AsLong(obj1
) ? true : false;
10504 if (PyErr_Occurred()) SWIG_fail
;
10506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10507 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
10509 wxPyEndAllowThreads(__tstate
);
10510 if (PyErr_Occurred()) SWIG_fail
;
10512 Py_INCREF(Py_None
); resultobj
= Py_None
;
10519 static PyObject
*_wrap_PyControlPoint_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10520 PyObject
*resultobj
;
10521 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10524 int arg4
= (int) 0 ;
10525 int arg5
= (int) 0 ;
10526 PyObject
* obj0
= 0 ;
10527 char *kwnames
[] = {
10528 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyControlPoint_base_OnBeginDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
10532 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10535 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
10537 wxPyEndAllowThreads(__tstate
);
10538 if (PyErr_Occurred()) SWIG_fail
;
10540 Py_INCREF(Py_None
); resultobj
= Py_None
;
10547 static PyObject
*_wrap_PyControlPoint_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10548 PyObject
*resultobj
;
10549 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10552 int arg4
= (int) 0 ;
10553 int arg5
= (int) 0 ;
10554 PyObject
* obj0
= 0 ;
10555 char *kwnames
[] = {
10556 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyControlPoint_base_OnEndDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
10560 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10563 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
10565 wxPyEndAllowThreads(__tstate
);
10566 if (PyErr_Occurred()) SWIG_fail
;
10568 Py_INCREF(Py_None
); resultobj
= Py_None
;
10575 static PyObject
*_wrap_PyControlPoint_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10576 PyObject
*resultobj
;
10577 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10583 PyObject
* obj0
= 0 ;
10584 PyObject
* obj1
= 0 ;
10585 char *kwnames
[] = {
10586 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
10589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd:PyControlPoint_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
10590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10591 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10592 if (arg2
== NULL
) {
10593 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10597 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
10599 wxPyEndAllowThreads(__tstate
);
10600 if (PyErr_Occurred()) SWIG_fail
;
10602 Py_INCREF(Py_None
); resultobj
= Py_None
;
10609 static PyObject
*_wrap_PyControlPoint_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10610 PyObject
*resultobj
;
10611 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10613 PyObject
* obj0
= 0 ;
10614 PyObject
* obj1
= 0 ;
10615 char *kwnames
[] = {
10616 (char *) "self",(char *) "dc", NULL
10619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
10620 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10621 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10622 if (arg2
== NULL
) {
10623 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10627 (arg1
)->base_OnDrawControlPoints(*arg2
);
10629 wxPyEndAllowThreads(__tstate
);
10630 if (PyErr_Occurred()) SWIG_fail
;
10632 Py_INCREF(Py_None
); resultobj
= Py_None
;
10639 static PyObject
*_wrap_PyControlPoint_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10640 PyObject
*resultobj
;
10641 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10643 PyObject
* obj0
= 0 ;
10644 PyObject
* obj1
= 0 ;
10645 char *kwnames
[] = {
10646 (char *) "self",(char *) "dc", NULL
10649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
10650 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10651 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10652 if (arg2
== NULL
) {
10653 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10657 (arg1
)->base_OnEraseControlPoints(*arg2
);
10659 wxPyEndAllowThreads(__tstate
);
10660 if (PyErr_Occurred()) SWIG_fail
;
10662 Py_INCREF(Py_None
); resultobj
= Py_None
;
10669 static PyObject
*_wrap_PyControlPoint_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10670 PyObject
*resultobj
;
10671 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10673 bool arg3
= (bool) TRUE
;
10674 PyObject
* obj0
= 0 ;
10675 PyObject
* obj1
= 0 ;
10676 PyObject
* obj2
= 0 ;
10677 char *kwnames
[] = {
10678 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
10681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyControlPoint_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10682 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10683 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10684 if (arg2
== NULL
) {
10685 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10688 arg3
= PyInt_AsLong(obj2
) ? true : false;
10689 if (PyErr_Occurred()) SWIG_fail
;
10692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10693 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
10695 wxPyEndAllowThreads(__tstate
);
10696 if (PyErr_Occurred()) SWIG_fail
;
10698 Py_INCREF(Py_None
); resultobj
= Py_None
;
10705 static PyObject
*_wrap_PyControlPoint_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10706 PyObject
*resultobj
;
10707 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10708 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
10712 int arg6
= (int) 0 ;
10713 int arg7
= (int) 0 ;
10714 PyObject
* obj0
= 0 ;
10715 PyObject
* obj1
= 0 ;
10716 PyObject
* obj2
= 0 ;
10717 char *kwnames
[] = {
10718 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd|ii:PyControlPoint_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
10722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10723 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10724 arg3
= PyInt_AsLong(obj2
) ? true : false;
10725 if (PyErr_Occurred()) SWIG_fail
;
10727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10728 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10730 wxPyEndAllowThreads(__tstate
);
10731 if (PyErr_Occurred()) SWIG_fail
;
10733 Py_INCREF(Py_None
); resultobj
= Py_None
;
10740 static PyObject
*_wrap_PyControlPoint_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10741 PyObject
*resultobj
;
10742 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10743 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
10746 int arg5
= (int) 0 ;
10747 int arg6
= (int) 0 ;
10748 PyObject
* obj0
= 0 ;
10749 PyObject
* obj1
= 0 ;
10750 char *kwnames
[] = {
10751 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyControlPoint_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
10755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10756 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10759 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
10761 wxPyEndAllowThreads(__tstate
);
10762 if (PyErr_Occurred()) SWIG_fail
;
10764 Py_INCREF(Py_None
); resultobj
= Py_None
;
10771 static PyObject
*_wrap_PyControlPoint_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10772 PyObject
*resultobj
;
10773 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10774 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
10777 int arg5
= (int) 0 ;
10778 int arg6
= (int) 0 ;
10779 PyObject
* obj0
= 0 ;
10780 PyObject
* obj1
= 0 ;
10781 char *kwnames
[] = {
10782 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyControlPoint_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
10786 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10787 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10790 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
10792 wxPyEndAllowThreads(__tstate
);
10793 if (PyErr_Occurred()) SWIG_fail
;
10795 Py_INCREF(Py_None
); resultobj
= Py_None
;
10802 static PyObject
*_wrap_PyControlPoint_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10803 PyObject
*resultobj
;
10804 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10807 PyObject
* obj0
= 0 ;
10808 char *kwnames
[] = {
10809 (char *) "self",(char *) "w",(char *) "h", NULL
10812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyControlPoint_base_OnBeginSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10813 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10816 (arg1
)->base_OnBeginSize(arg2
,arg3
);
10818 wxPyEndAllowThreads(__tstate
);
10819 if (PyErr_Occurred()) SWIG_fail
;
10821 Py_INCREF(Py_None
); resultobj
= Py_None
;
10828 static PyObject
*_wrap_PyControlPoint_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10829 PyObject
*resultobj
;
10830 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10833 PyObject
* obj0
= 0 ;
10834 char *kwnames
[] = {
10835 (char *) "self",(char *) "w",(char *) "h", NULL
10838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyControlPoint_base_OnEndSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10839 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10842 (arg1
)->base_OnEndSize(arg2
,arg3
);
10844 wxPyEndAllowThreads(__tstate
);
10845 if (PyErr_Occurred()) SWIG_fail
;
10847 Py_INCREF(Py_None
); resultobj
= Py_None
;
10854 static PyObject
* PyControlPoint_swigregister(PyObject
*self
, PyObject
*args
) {
10856 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10857 SWIG_TypeClientData(SWIGTYPE_p_wxPyControlPoint
, obj
);
10859 return Py_BuildValue((char *)"");
10861 static PyObject
*_wrap_new_PyBitmapShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10862 PyObject
*resultobj
;
10863 wxPyBitmapShape
*result
;
10864 char *kwnames
[] = {
10868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyBitmapShape",kwnames
)) goto fail
;
10870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10871 result
= (wxPyBitmapShape
*)new wxPyBitmapShape();
10873 wxPyEndAllowThreads(__tstate
);
10874 if (PyErr_Occurred()) SWIG_fail
;
10876 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyBitmapShape
, 1);
10883 static PyObject
*_wrap_PyBitmapShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10884 PyObject
*resultobj
;
10885 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
10886 PyObject
*arg2
= (PyObject
*) 0 ;
10887 PyObject
*arg3
= (PyObject
*) 0 ;
10888 PyObject
* obj0
= 0 ;
10889 PyObject
* obj1
= 0 ;
10890 PyObject
* obj2
= 0 ;
10891 char *kwnames
[] = {
10892 (char *) "self",(char *) "self",(char *) "_class", NULL
10895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10896 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10901 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10903 wxPyEndAllowThreads(__tstate
);
10904 if (PyErr_Occurred()) SWIG_fail
;
10906 Py_INCREF(Py_None
); resultobj
= Py_None
;
10913 static PyObject
*_wrap_PyBitmapShape_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10914 PyObject
*resultobj
;
10915 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
10917 PyObject
* obj0
= 0 ;
10918 char *kwnames
[] = {
10919 (char *) "self", NULL
10922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyBitmapShape_GetBitmap",kwnames
,&obj0
)) goto fail
;
10923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10927 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
10928 result
= (wxBitmap
*) &_result_ref
;
10931 wxPyEndAllowThreads(__tstate
);
10932 if (PyErr_Occurred()) SWIG_fail
;
10934 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
10941 static PyObject
*_wrap_PyBitmapShape_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10942 PyObject
*resultobj
;
10943 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
10945 PyObject
* obj0
= 0 ;
10946 char *kwnames
[] = {
10947 (char *) "self", NULL
10950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyBitmapShape_GetFilename",kwnames
,&obj0
)) goto fail
;
10951 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10954 result
= (arg1
)->GetFilename();
10956 wxPyEndAllowThreads(__tstate
);
10957 if (PyErr_Occurred()) SWIG_fail
;
10961 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10963 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10972 static PyObject
*_wrap_PyBitmapShape_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10973 PyObject
*resultobj
;
10974 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
10975 wxBitmap
*arg2
= 0 ;
10976 PyObject
* obj0
= 0 ;
10977 PyObject
* obj1
= 0 ;
10978 char *kwnames
[] = {
10979 (char *) "self",(char *) "bitmap", NULL
10982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
10983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10984 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10985 if (arg2
== NULL
) {
10986 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10990 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
10992 wxPyEndAllowThreads(__tstate
);
10993 if (PyErr_Occurred()) SWIG_fail
;
10995 Py_INCREF(Py_None
); resultobj
= Py_None
;
11002 static PyObject
*_wrap_PyBitmapShape_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11003 PyObject
*resultobj
;
11004 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11005 wxString
*arg2
= 0 ;
11006 bool temp2
= false ;
11007 PyObject
* obj0
= 0 ;
11008 PyObject
* obj1
= 0 ;
11009 char *kwnames
[] = {
11010 (char *) "self",(char *) "filename", NULL
11013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
11014 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11016 arg2
= wxString_in_helper(obj1
);
11017 if (arg2
== NULL
) SWIG_fail
;
11021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11022 (arg1
)->SetFilename((wxString
const &)*arg2
);
11024 wxPyEndAllowThreads(__tstate
);
11025 if (PyErr_Occurred()) SWIG_fail
;
11027 Py_INCREF(Py_None
); resultobj
= Py_None
;
11042 static PyObject
*_wrap_PyBitmapShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11043 PyObject
*resultobj
;
11044 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11045 PyObject
* obj0
= 0 ;
11046 char *kwnames
[] = {
11047 (char *) "self", NULL
11050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyBitmapShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
11051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11054 (arg1
)->base_OnDelete();
11056 wxPyEndAllowThreads(__tstate
);
11057 if (PyErr_Occurred()) SWIG_fail
;
11059 Py_INCREF(Py_None
); resultobj
= Py_None
;
11066 static PyObject
*_wrap_PyBitmapShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11067 PyObject
*resultobj
;
11068 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11070 PyObject
* obj0
= 0 ;
11071 PyObject
* obj1
= 0 ;
11072 char *kwnames
[] = {
11073 (char *) "self",(char *) "dc", NULL
11076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
11077 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11078 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11079 if (arg2
== NULL
) {
11080 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11084 (arg1
)->base_OnDraw(*arg2
);
11086 wxPyEndAllowThreads(__tstate
);
11087 if (PyErr_Occurred()) SWIG_fail
;
11089 Py_INCREF(Py_None
); resultobj
= Py_None
;
11096 static PyObject
*_wrap_PyBitmapShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11097 PyObject
*resultobj
;
11098 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11100 PyObject
* obj0
= 0 ;
11101 PyObject
* obj1
= 0 ;
11102 char *kwnames
[] = {
11103 (char *) "self",(char *) "dc", NULL
11106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
11107 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11108 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11109 if (arg2
== NULL
) {
11110 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11114 (arg1
)->base_OnDrawContents(*arg2
);
11116 wxPyEndAllowThreads(__tstate
);
11117 if (PyErr_Occurred()) SWIG_fail
;
11119 Py_INCREF(Py_None
); resultobj
= Py_None
;
11126 static PyObject
*_wrap_PyBitmapShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11127 PyObject
*resultobj
;
11128 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11130 bool arg3
= (bool) FALSE
;
11131 PyObject
* obj0
= 0 ;
11132 PyObject
* obj1
= 0 ;
11133 PyObject
* obj2
= 0 ;
11134 char *kwnames
[] = {
11135 (char *) "self",(char *) "dc",(char *) "erase", NULL
11138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyBitmapShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11140 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11141 if (arg2
== NULL
) {
11142 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11145 arg3
= PyInt_AsLong(obj2
) ? true : false;
11146 if (PyErr_Occurred()) SWIG_fail
;
11149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11150 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
11152 wxPyEndAllowThreads(__tstate
);
11153 if (PyErr_Occurred()) SWIG_fail
;
11155 Py_INCREF(Py_None
); resultobj
= Py_None
;
11162 static PyObject
*_wrap_PyBitmapShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11163 PyObject
*resultobj
;
11164 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11166 PyObject
* obj0
= 0 ;
11167 PyObject
* obj1
= 0 ;
11168 char *kwnames
[] = {
11169 (char *) "self",(char *) "dc", NULL
11172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
11173 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11174 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11175 if (arg2
== NULL
) {
11176 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11180 (arg1
)->base_OnMoveLinks(*arg2
);
11182 wxPyEndAllowThreads(__tstate
);
11183 if (PyErr_Occurred()) SWIG_fail
;
11185 Py_INCREF(Py_None
); resultobj
= Py_None
;
11192 static PyObject
*_wrap_PyBitmapShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11193 PyObject
*resultobj
;
11194 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11196 PyObject
* obj0
= 0 ;
11197 PyObject
* obj1
= 0 ;
11198 char *kwnames
[] = {
11199 (char *) "self",(char *) "dc", NULL
11202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
11203 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11204 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11205 if (arg2
== NULL
) {
11206 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11210 (arg1
)->base_OnErase(*arg2
);
11212 wxPyEndAllowThreads(__tstate
);
11213 if (PyErr_Occurred()) SWIG_fail
;
11215 Py_INCREF(Py_None
); resultobj
= Py_None
;
11222 static PyObject
*_wrap_PyBitmapShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11223 PyObject
*resultobj
;
11224 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11226 PyObject
* obj0
= 0 ;
11227 PyObject
* obj1
= 0 ;
11228 char *kwnames
[] = {
11229 (char *) "self",(char *) "dc", NULL
11232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
11233 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11234 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11235 if (arg2
== NULL
) {
11236 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11240 (arg1
)->base_OnEraseContents(*arg2
);
11242 wxPyEndAllowThreads(__tstate
);
11243 if (PyErr_Occurred()) SWIG_fail
;
11245 Py_INCREF(Py_None
); resultobj
= Py_None
;
11252 static PyObject
*_wrap_PyBitmapShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11253 PyObject
*resultobj
;
11254 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11256 PyObject
* obj0
= 0 ;
11257 PyObject
* obj1
= 0 ;
11258 char *kwnames
[] = {
11259 (char *) "self",(char *) "dc", NULL
11262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
11263 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11264 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11265 if (arg2
== NULL
) {
11266 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11270 (arg1
)->base_OnHighlight(*arg2
);
11272 wxPyEndAllowThreads(__tstate
);
11273 if (PyErr_Occurred()) SWIG_fail
;
11275 Py_INCREF(Py_None
); resultobj
= Py_None
;
11282 static PyObject
*_wrap_PyBitmapShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11283 PyObject
*resultobj
;
11284 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11287 int arg4
= (int) 0 ;
11288 int arg5
= (int) 0 ;
11289 PyObject
* obj0
= 0 ;
11290 char *kwnames
[] = {
11291 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyBitmapShape_base_OnLeftClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
11295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11298 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
11300 wxPyEndAllowThreads(__tstate
);
11301 if (PyErr_Occurred()) SWIG_fail
;
11303 Py_INCREF(Py_None
); resultobj
= Py_None
;
11310 static PyObject
*_wrap_PyBitmapShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11311 PyObject
*resultobj
;
11312 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11315 int arg4
= (int) 0 ;
11316 int arg5
= (int) 0 ;
11317 PyObject
* obj0
= 0 ;
11318 char *kwnames
[] = {
11319 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyBitmapShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
11323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11326 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
11328 wxPyEndAllowThreads(__tstate
);
11329 if (PyErr_Occurred()) SWIG_fail
;
11331 Py_INCREF(Py_None
); resultobj
= Py_None
;
11338 static PyObject
*_wrap_PyBitmapShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11339 PyObject
*resultobj
;
11340 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11343 int arg4
= (int) 0 ;
11344 int arg5
= (int) 0 ;
11345 PyObject
* obj0
= 0 ;
11346 char *kwnames
[] = {
11347 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyBitmapShape_base_OnRightClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
11351 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11354 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
11356 wxPyEndAllowThreads(__tstate
);
11357 if (PyErr_Occurred()) SWIG_fail
;
11359 Py_INCREF(Py_None
); resultobj
= Py_None
;
11366 static PyObject
*_wrap_PyBitmapShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11367 PyObject
*resultobj
;
11368 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11371 PyObject
* obj0
= 0 ;
11372 char *kwnames
[] = {
11373 (char *) "self",(char *) "x",(char *) "y", NULL
11376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyBitmapShape_base_OnSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
11377 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11380 (arg1
)->base_OnSize(arg2
,arg3
);
11382 wxPyEndAllowThreads(__tstate
);
11383 if (PyErr_Occurred()) SWIG_fail
;
11385 Py_INCREF(Py_None
); resultobj
= Py_None
;
11392 static PyObject
*_wrap_PyBitmapShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11393 PyObject
*resultobj
;
11394 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11400 bool arg7
= (bool) TRUE
;
11402 PyObject
* obj0
= 0 ;
11403 PyObject
* obj1
= 0 ;
11404 PyObject
* obj6
= 0 ;
11405 char *kwnames
[] = {
11406 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
11409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyBitmapShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) 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 arg7
= PyInt_AsLong(obj6
) ? true : false;
11417 if (PyErr_Occurred()) SWIG_fail
;
11420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11421 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11423 wxPyEndAllowThreads(__tstate
);
11424 if (PyErr_Occurred()) SWIG_fail
;
11426 resultobj
= PyInt_FromLong((long)result
);
11433 static PyObject
*_wrap_PyBitmapShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11434 PyObject
*resultobj
;
11435 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11441 bool arg7
= (bool) TRUE
;
11442 PyObject
* obj0
= 0 ;
11443 PyObject
* obj1
= 0 ;
11444 PyObject
* obj6
= 0 ;
11445 char *kwnames
[] = {
11446 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
11449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyBitmapShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
11450 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11451 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11452 if (arg2
== NULL
) {
11453 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11456 arg7
= PyInt_AsLong(obj6
) ? true : false;
11457 if (PyErr_Occurred()) SWIG_fail
;
11460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11461 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11463 wxPyEndAllowThreads(__tstate
);
11464 if (PyErr_Occurred()) SWIG_fail
;
11466 Py_INCREF(Py_None
); resultobj
= Py_None
;
11473 static PyObject
*_wrap_PyBitmapShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11474 PyObject
*resultobj
;
11475 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11479 int arg5
= (int) 0 ;
11480 int arg6
= (int) 0 ;
11481 PyObject
* obj0
= 0 ;
11482 PyObject
* obj1
= 0 ;
11483 char *kwnames
[] = {
11484 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyBitmapShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
11488 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11489 arg2
= PyInt_AsLong(obj1
) ? true : false;
11490 if (PyErr_Occurred()) SWIG_fail
;
11492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11493 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
11495 wxPyEndAllowThreads(__tstate
);
11496 if (PyErr_Occurred()) SWIG_fail
;
11498 Py_INCREF(Py_None
); resultobj
= Py_None
;
11505 static PyObject
*_wrap_PyBitmapShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11506 PyObject
*resultobj
;
11507 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11510 int arg4
= (int) 0 ;
11511 int arg5
= (int) 0 ;
11512 PyObject
* obj0
= 0 ;
11513 char *kwnames
[] = {
11514 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyBitmapShape_base_OnBeginDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
11518 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11521 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
11523 wxPyEndAllowThreads(__tstate
);
11524 if (PyErr_Occurred()) SWIG_fail
;
11526 Py_INCREF(Py_None
); resultobj
= Py_None
;
11533 static PyObject
*_wrap_PyBitmapShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11534 PyObject
*resultobj
;
11535 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11538 int arg4
= (int) 0 ;
11539 int arg5
= (int) 0 ;
11540 PyObject
* obj0
= 0 ;
11541 char *kwnames
[] = {
11542 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyBitmapShape_base_OnEndDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
11546 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11549 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
11551 wxPyEndAllowThreads(__tstate
);
11552 if (PyErr_Occurred()) SWIG_fail
;
11554 Py_INCREF(Py_None
); resultobj
= Py_None
;
11561 static PyObject
*_wrap_PyBitmapShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11562 PyObject
*resultobj
;
11563 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11567 int arg5
= (int) 0 ;
11568 int arg6
= (int) 0 ;
11569 PyObject
* obj0
= 0 ;
11570 PyObject
* obj1
= 0 ;
11571 char *kwnames
[] = {
11572 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyBitmapShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
11576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11577 arg2
= PyInt_AsLong(obj1
) ? true : false;
11578 if (PyErr_Occurred()) SWIG_fail
;
11580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11581 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
11583 wxPyEndAllowThreads(__tstate
);
11584 if (PyErr_Occurred()) SWIG_fail
;
11586 Py_INCREF(Py_None
); resultobj
= Py_None
;
11593 static PyObject
*_wrap_PyBitmapShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11594 PyObject
*resultobj
;
11595 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11598 int arg4
= (int) 0 ;
11599 int arg5
= (int) 0 ;
11600 PyObject
* obj0
= 0 ;
11601 char *kwnames
[] = {
11602 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyBitmapShape_base_OnBeginDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
11606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11609 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
11611 wxPyEndAllowThreads(__tstate
);
11612 if (PyErr_Occurred()) SWIG_fail
;
11614 Py_INCREF(Py_None
); resultobj
= Py_None
;
11621 static PyObject
*_wrap_PyBitmapShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11622 PyObject
*resultobj
;
11623 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11626 int arg4
= (int) 0 ;
11627 int arg5
= (int) 0 ;
11628 PyObject
* obj0
= 0 ;
11629 char *kwnames
[] = {
11630 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyBitmapShape_base_OnEndDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
11634 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11637 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
11639 wxPyEndAllowThreads(__tstate
);
11640 if (PyErr_Occurred()) SWIG_fail
;
11642 Py_INCREF(Py_None
); resultobj
= Py_None
;
11649 static PyObject
*_wrap_PyBitmapShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11650 PyObject
*resultobj
;
11651 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11657 PyObject
* obj0
= 0 ;
11658 PyObject
* obj1
= 0 ;
11659 char *kwnames
[] = {
11660 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
11663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd:PyBitmapShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
11664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11665 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11666 if (arg2
== NULL
) {
11667 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11671 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
11673 wxPyEndAllowThreads(__tstate
);
11674 if (PyErr_Occurred()) SWIG_fail
;
11676 Py_INCREF(Py_None
); resultobj
= Py_None
;
11683 static PyObject
*_wrap_PyBitmapShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11684 PyObject
*resultobj
;
11685 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11687 PyObject
* obj0
= 0 ;
11688 PyObject
* obj1
= 0 ;
11689 char *kwnames
[] = {
11690 (char *) "self",(char *) "dc", NULL
11693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
11694 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11695 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11696 if (arg2
== NULL
) {
11697 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11701 (arg1
)->base_OnDrawControlPoints(*arg2
);
11703 wxPyEndAllowThreads(__tstate
);
11704 if (PyErr_Occurred()) SWIG_fail
;
11706 Py_INCREF(Py_None
); resultobj
= Py_None
;
11713 static PyObject
*_wrap_PyBitmapShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11714 PyObject
*resultobj
;
11715 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11717 PyObject
* obj0
= 0 ;
11718 PyObject
* obj1
= 0 ;
11719 char *kwnames
[] = {
11720 (char *) "self",(char *) "dc", NULL
11723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
11724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11725 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11726 if (arg2
== NULL
) {
11727 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11731 (arg1
)->base_OnEraseControlPoints(*arg2
);
11733 wxPyEndAllowThreads(__tstate
);
11734 if (PyErr_Occurred()) SWIG_fail
;
11736 Py_INCREF(Py_None
); resultobj
= Py_None
;
11743 static PyObject
*_wrap_PyBitmapShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11744 PyObject
*resultobj
;
11745 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11747 bool arg3
= (bool) TRUE
;
11748 PyObject
* obj0
= 0 ;
11749 PyObject
* obj1
= 0 ;
11750 PyObject
* obj2
= 0 ;
11751 char *kwnames
[] = {
11752 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
11755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyBitmapShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11756 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11757 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11758 if (arg2
== NULL
) {
11759 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11762 arg3
= PyInt_AsLong(obj2
) ? true : false;
11763 if (PyErr_Occurred()) SWIG_fail
;
11766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11767 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
11769 wxPyEndAllowThreads(__tstate
);
11770 if (PyErr_Occurred()) SWIG_fail
;
11772 Py_INCREF(Py_None
); resultobj
= Py_None
;
11779 static PyObject
*_wrap_PyBitmapShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11780 PyObject
*resultobj
;
11781 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11782 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
11786 int arg6
= (int) 0 ;
11787 int arg7
= (int) 0 ;
11788 PyObject
* obj0
= 0 ;
11789 PyObject
* obj1
= 0 ;
11790 PyObject
* obj2
= 0 ;
11791 char *kwnames
[] = {
11792 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd|ii:PyBitmapShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
11796 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11797 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11798 arg3
= PyInt_AsLong(obj2
) ? true : false;
11799 if (PyErr_Occurred()) SWIG_fail
;
11801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11802 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11804 wxPyEndAllowThreads(__tstate
);
11805 if (PyErr_Occurred()) SWIG_fail
;
11807 Py_INCREF(Py_None
); resultobj
= Py_None
;
11814 static PyObject
*_wrap_PyBitmapShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11815 PyObject
*resultobj
;
11816 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11817 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
11820 int arg5
= (int) 0 ;
11821 int arg6
= (int) 0 ;
11822 PyObject
* obj0
= 0 ;
11823 PyObject
* obj1
= 0 ;
11824 char *kwnames
[] = {
11825 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyBitmapShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
11829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11830 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11833 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
11835 wxPyEndAllowThreads(__tstate
);
11836 if (PyErr_Occurred()) SWIG_fail
;
11838 Py_INCREF(Py_None
); resultobj
= Py_None
;
11845 static PyObject
*_wrap_PyBitmapShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11846 PyObject
*resultobj
;
11847 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11848 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
11851 int arg5
= (int) 0 ;
11852 int arg6
= (int) 0 ;
11853 PyObject
* obj0
= 0 ;
11854 PyObject
* obj1
= 0 ;
11855 char *kwnames
[] = {
11856 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyBitmapShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
11860 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11861 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11864 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
11866 wxPyEndAllowThreads(__tstate
);
11867 if (PyErr_Occurred()) SWIG_fail
;
11869 Py_INCREF(Py_None
); resultobj
= Py_None
;
11876 static PyObject
*_wrap_PyBitmapShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11877 PyObject
*resultobj
;
11878 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11881 PyObject
* obj0
= 0 ;
11882 char *kwnames
[] = {
11883 (char *) "self",(char *) "w",(char *) "h", NULL
11886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyBitmapShape_base_OnBeginSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
11887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11890 (arg1
)->base_OnBeginSize(arg2
,arg3
);
11892 wxPyEndAllowThreads(__tstate
);
11893 if (PyErr_Occurred()) SWIG_fail
;
11895 Py_INCREF(Py_None
); resultobj
= Py_None
;
11902 static PyObject
*_wrap_PyBitmapShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11903 PyObject
*resultobj
;
11904 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11907 PyObject
* obj0
= 0 ;
11908 char *kwnames
[] = {
11909 (char *) "self",(char *) "w",(char *) "h", NULL
11912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyBitmapShape_base_OnEndSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
11913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11916 (arg1
)->base_OnEndSize(arg2
,arg3
);
11918 wxPyEndAllowThreads(__tstate
);
11919 if (PyErr_Occurred()) SWIG_fail
;
11921 Py_INCREF(Py_None
); resultobj
= Py_None
;
11928 static PyObject
* PyBitmapShape_swigregister(PyObject
*self
, PyObject
*args
) {
11930 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11931 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapShape
, obj
);
11933 return Py_BuildValue((char *)"");
11935 static PyObject
*_wrap_new_PyDrawnShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11936 PyObject
*resultobj
;
11937 wxPyDrawnShape
*result
;
11938 char *kwnames
[] = {
11942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyDrawnShape",kwnames
)) goto fail
;
11944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11945 result
= (wxPyDrawnShape
*)new wxPyDrawnShape();
11947 wxPyEndAllowThreads(__tstate
);
11948 if (PyErr_Occurred()) SWIG_fail
;
11950 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyDrawnShape
, 1);
11957 static PyObject
*_wrap_PyDrawnShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11958 PyObject
*resultobj
;
11959 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
11960 PyObject
*arg2
= (PyObject
*) 0 ;
11961 PyObject
*arg3
= (PyObject
*) 0 ;
11962 PyObject
* obj0
= 0 ;
11963 PyObject
* obj1
= 0 ;
11964 PyObject
* obj2
= 0 ;
11965 char *kwnames
[] = {
11966 (char *) "self",(char *) "self",(char *) "_class", NULL
11969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11970 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11975 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11977 wxPyEndAllowThreads(__tstate
);
11978 if (PyErr_Occurred()) SWIG_fail
;
11980 Py_INCREF(Py_None
); resultobj
= Py_None
;
11987 static PyObject
*_wrap_PyDrawnShape_CalculateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11988 PyObject
*resultobj
;
11989 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
11990 PyObject
* obj0
= 0 ;
11991 char *kwnames
[] = {
11992 (char *) "self", NULL
11995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_CalculateSize",kwnames
,&obj0
)) goto fail
;
11996 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11999 (arg1
)->CalculateSize();
12001 wxPyEndAllowThreads(__tstate
);
12002 if (PyErr_Occurred()) SWIG_fail
;
12004 Py_INCREF(Py_None
); resultobj
= Py_None
;
12011 static PyObject
*_wrap_PyDrawnShape_DestroyClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12012 PyObject
*resultobj
;
12013 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12014 PyObject
* obj0
= 0 ;
12015 char *kwnames
[] = {
12016 (char *) "self", NULL
12019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_DestroyClippingRect",kwnames
,&obj0
)) goto fail
;
12020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12023 (arg1
)->DestroyClippingRect();
12025 wxPyEndAllowThreads(__tstate
);
12026 if (PyErr_Occurred()) SWIG_fail
;
12028 Py_INCREF(Py_None
); resultobj
= Py_None
;
12035 static PyObject
*_wrap_PyDrawnShape_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12036 PyObject
*resultobj
;
12037 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12038 wxPoint
*arg2
= 0 ;
12039 wxPoint
*arg3
= 0 ;
12040 wxPoint
*arg4
= 0 ;
12044 PyObject
* obj0
= 0 ;
12045 PyObject
* obj1
= 0 ;
12046 PyObject
* obj2
= 0 ;
12047 PyObject
* obj3
= 0 ;
12048 char *kwnames
[] = {
12049 (char *) "self",(char *) "centrePoint",(char *) "startPoint",(char *) "endPoint", NULL
12052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyDrawnShape_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12053 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12056 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12060 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12064 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12068 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
12070 wxPyEndAllowThreads(__tstate
);
12071 if (PyErr_Occurred()) SWIG_fail
;
12073 Py_INCREF(Py_None
); resultobj
= Py_None
;
12080 static PyObject
*_wrap_PyDrawnShape_DrawAtAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12081 PyObject
*resultobj
;
12082 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12084 PyObject
* obj0
= 0 ;
12085 char *kwnames
[] = {
12086 (char *) "self",(char *) "angle", NULL
12089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyDrawnShape_DrawAtAngle",kwnames
,&obj0
,&arg2
)) goto fail
;
12090 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12093 (arg1
)->DrawAtAngle(arg2
);
12095 wxPyEndAllowThreads(__tstate
);
12096 if (PyErr_Occurred()) SWIG_fail
;
12098 Py_INCREF(Py_None
); resultobj
= Py_None
;
12105 static PyObject
*_wrap_PyDrawnShape_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12106 PyObject
*resultobj
;
12107 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12112 PyObject
* obj0
= 0 ;
12113 PyObject
* obj1
= 0 ;
12114 char *kwnames
[] = {
12115 (char *) "self",(char *) "rect",(char *) "startAngle",(char *) "endAngle", NULL
12118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd:PyDrawnShape_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
12119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12122 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12126 (arg1
)->DrawEllipticArc((wxRect
const &)*arg2
,arg3
,arg4
);
12128 wxPyEndAllowThreads(__tstate
);
12129 if (PyErr_Occurred()) SWIG_fail
;
12131 Py_INCREF(Py_None
); resultobj
= Py_None
;
12138 static PyObject
*_wrap_PyDrawnShape_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12139 PyObject
*resultobj
;
12140 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12141 wxPoint
*arg2
= 0 ;
12142 wxPoint
*arg3
= 0 ;
12145 PyObject
* obj0
= 0 ;
12146 PyObject
* obj1
= 0 ;
12147 PyObject
* obj2
= 0 ;
12148 char *kwnames
[] = {
12149 (char *) "self",(char *) "point1",(char *) "point2", NULL
12152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12153 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12156 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12160 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12164 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
12166 wxPyEndAllowThreads(__tstate
);
12167 if (PyErr_Occurred()) SWIG_fail
;
12169 Py_INCREF(Py_None
); resultobj
= Py_None
;
12176 static PyObject
*_wrap_PyDrawnShape_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12177 PyObject
*resultobj
;
12178 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12180 wxPoint
*arg3
= (wxPoint
*) 0 ;
12181 PyObject
* obj0
= 0 ;
12182 PyObject
* obj2
= 0 ;
12183 char *kwnames
[] = {
12184 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
12187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:PyDrawnShape_DrawLines",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
12188 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12189 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12192 (arg1
)->DrawLines(arg2
,arg3
);
12194 wxPyEndAllowThreads(__tstate
);
12195 if (PyErr_Occurred()) SWIG_fail
;
12197 Py_INCREF(Py_None
); resultobj
= Py_None
;
12204 static PyObject
*_wrap_PyDrawnShape_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12205 PyObject
*resultobj
;
12206 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12207 wxPoint
*arg2
= 0 ;
12209 PyObject
* obj0
= 0 ;
12210 PyObject
* obj1
= 0 ;
12211 char *kwnames
[] = {
12212 (char *) "self",(char *) "point", NULL
12215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_DrawPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
12216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12219 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12223 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
12225 wxPyEndAllowThreads(__tstate
);
12226 if (PyErr_Occurred()) SWIG_fail
;
12228 Py_INCREF(Py_None
); resultobj
= Py_None
;
12235 static PyObject
*_wrap_PyDrawnShape_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12236 PyObject
*resultobj
;
12237 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12239 wxPoint
*arg3
= (wxPoint
*) 0 ;
12240 int arg4
= (int) 0 ;
12241 PyObject
* obj0
= 0 ;
12242 PyObject
* obj2
= 0 ;
12243 char *kwnames
[] = {
12244 (char *) "self",(char *) "PCOUNT",(char *) "points",(char *) "flags", NULL
12247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|i:PyDrawnShape_DrawPolygon",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
)) goto fail
;
12248 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12249 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12252 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
);
12254 wxPyEndAllowThreads(__tstate
);
12255 if (PyErr_Occurred()) SWIG_fail
;
12257 Py_INCREF(Py_None
); resultobj
= Py_None
;
12264 static PyObject
*_wrap_PyDrawnShape_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12265 PyObject
*resultobj
;
12266 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12269 PyObject
* obj0
= 0 ;
12270 PyObject
* obj1
= 0 ;
12271 char *kwnames
[] = {
12272 (char *) "self",(char *) "rect", NULL
12275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_DrawRectangle",kwnames
,&obj0
,&obj1
)) goto fail
;
12276 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12279 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12283 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
12285 wxPyEndAllowThreads(__tstate
);
12286 if (PyErr_Occurred()) SWIG_fail
;
12288 Py_INCREF(Py_None
); resultobj
= Py_None
;
12295 static PyObject
*_wrap_PyDrawnShape_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12296 PyObject
*resultobj
;
12297 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12301 PyObject
* obj0
= 0 ;
12302 PyObject
* obj1
= 0 ;
12303 char *kwnames
[] = {
12304 (char *) "self",(char *) "rect",(char *) "radius", NULL
12307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOd:PyDrawnShape_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
12308 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12311 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12315 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
12317 wxPyEndAllowThreads(__tstate
);
12318 if (PyErr_Occurred()) SWIG_fail
;
12320 Py_INCREF(Py_None
); resultobj
= Py_None
;
12327 static PyObject
*_wrap_PyDrawnShape_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12328 PyObject
*resultobj
;
12329 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12331 wxPoint
*arg3
= (wxPoint
*) 0 ;
12332 PyObject
* obj0
= 0 ;
12333 PyObject
* obj2
= 0 ;
12334 char *kwnames
[] = {
12335 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
12338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:PyDrawnShape_DrawSpline",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
12339 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12340 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12343 (arg1
)->DrawSpline(arg2
,arg3
);
12345 wxPyEndAllowThreads(__tstate
);
12346 if (PyErr_Occurred()) SWIG_fail
;
12348 Py_INCREF(Py_None
); resultobj
= Py_None
;
12355 static PyObject
*_wrap_PyDrawnShape_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12356 PyObject
*resultobj
;
12357 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12358 wxString
*arg2
= 0 ;
12359 wxPoint
*arg3
= 0 ;
12360 bool temp2
= false ;
12362 PyObject
* obj0
= 0 ;
12363 PyObject
* obj1
= 0 ;
12364 PyObject
* obj2
= 0 ;
12365 char *kwnames
[] = {
12366 (char *) "self",(char *) "text",(char *) "point", NULL
12369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_DrawText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12370 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12372 arg2
= wxString_in_helper(obj1
);
12373 if (arg2
== NULL
) SWIG_fail
;
12378 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12382 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
12384 wxPyEndAllowThreads(__tstate
);
12385 if (PyErr_Occurred()) SWIG_fail
;
12387 Py_INCREF(Py_None
); resultobj
= Py_None
;
12402 static PyObject
*_wrap_PyDrawnShape_GetAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12403 PyObject
*resultobj
;
12404 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12406 PyObject
* obj0
= 0 ;
12407 char *kwnames
[] = {
12408 (char *) "self", NULL
12411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_GetAngle",kwnames
,&obj0
)) goto fail
;
12412 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12415 result
= (int)(arg1
)->GetAngle();
12417 wxPyEndAllowThreads(__tstate
);
12418 if (PyErr_Occurred()) SWIG_fail
;
12420 resultobj
= PyInt_FromLong((long)result
);
12427 static PyObject
*_wrap_PyDrawnShape_GetMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12428 PyObject
*resultobj
;
12429 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12430 wxPseudoMetaFile
*result
;
12431 PyObject
* obj0
= 0 ;
12432 char *kwnames
[] = {
12433 (char *) "self", NULL
12436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_GetMetaFile",kwnames
,&obj0
)) goto fail
;
12437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12441 wxPseudoMetaFile
&_result_ref
= (arg1
)->GetMetaFile();
12442 result
= (wxPseudoMetaFile
*) &_result_ref
;
12445 wxPyEndAllowThreads(__tstate
);
12446 if (PyErr_Occurred()) SWIG_fail
;
12448 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPseudoMetaFile
, 0);
12455 static PyObject
*_wrap_PyDrawnShape_GetRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12456 PyObject
*resultobj
;
12457 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12459 PyObject
* obj0
= 0 ;
12460 char *kwnames
[] = {
12461 (char *) "self", NULL
12464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_GetRotation",kwnames
,&obj0
)) goto fail
;
12465 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12468 result
= (double)(arg1
)->GetRotation();
12470 wxPyEndAllowThreads(__tstate
);
12471 if (PyErr_Occurred()) SWIG_fail
;
12473 resultobj
= PyFloat_FromDouble(result
);
12480 static PyObject
*_wrap_PyDrawnShape_LoadFromMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12481 PyObject
*resultobj
;
12482 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12483 wxString
*arg2
= 0 ;
12485 bool temp2
= false ;
12486 PyObject
* obj0
= 0 ;
12487 PyObject
* obj1
= 0 ;
12488 char *kwnames
[] = {
12489 (char *) "self",(char *) "filename", NULL
12492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_LoadFromMetaFile",kwnames
,&obj0
,&obj1
)) goto fail
;
12493 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12495 arg2
= wxString_in_helper(obj1
);
12496 if (arg2
== NULL
) SWIG_fail
;
12500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12501 result
= (bool)(arg1
)->LoadFromMetaFile((wxString
const &)*arg2
);
12503 wxPyEndAllowThreads(__tstate
);
12504 if (PyErr_Occurred()) SWIG_fail
;
12506 resultobj
= PyInt_FromLong((long)result
);
12521 static PyObject
*_wrap_PyDrawnShape_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12522 PyObject
*resultobj
;
12523 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12527 PyObject
* obj0
= 0 ;
12528 char *kwnames
[] = {
12529 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
12532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oddd:PyDrawnShape_Rotate",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
12533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12536 (arg1
)->Rotate(arg2
,arg3
,arg4
);
12538 wxPyEndAllowThreads(__tstate
);
12539 if (PyErr_Occurred()) SWIG_fail
;
12541 Py_INCREF(Py_None
); resultobj
= Py_None
;
12548 static PyObject
*_wrap_PyDrawnShape_SetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12549 PyObject
*resultobj
;
12550 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12553 PyObject
* obj0
= 0 ;
12554 PyObject
* obj1
= 0 ;
12555 char *kwnames
[] = {
12556 (char *) "self",(char *) "rect", NULL
12559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
12560 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12563 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12567 (arg1
)->SetClippingRect((wxRect
const &)*arg2
);
12569 wxPyEndAllowThreads(__tstate
);
12570 if (PyErr_Occurred()) SWIG_fail
;
12572 Py_INCREF(Py_None
); resultobj
= Py_None
;
12579 static PyObject
*_wrap_PyDrawnShape_SetDrawnBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12580 PyObject
*resultobj
;
12581 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12582 wxColour
*arg2
= 0 ;
12584 PyObject
* obj0
= 0 ;
12585 PyObject
* obj1
= 0 ;
12586 char *kwnames
[] = {
12587 (char *) "self",(char *) "colour", NULL
12590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetDrawnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
12591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12594 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12598 (arg1
)->SetDrawnBackgroundColour((wxColour
const &)*arg2
);
12600 wxPyEndAllowThreads(__tstate
);
12601 if (PyErr_Occurred()) SWIG_fail
;
12603 Py_INCREF(Py_None
); resultobj
= Py_None
;
12610 static PyObject
*_wrap_PyDrawnShape_SetDrawnBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12611 PyObject
*resultobj
;
12612 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12614 PyObject
* obj0
= 0 ;
12615 char *kwnames
[] = {
12616 (char *) "self",(char *) "mode", NULL
12619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyDrawnShape_SetDrawnBackgroundMode",kwnames
,&obj0
,&arg2
)) goto fail
;
12620 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12623 (arg1
)->SetDrawnBackgroundMode(arg2
);
12625 wxPyEndAllowThreads(__tstate
);
12626 if (PyErr_Occurred()) SWIG_fail
;
12628 Py_INCREF(Py_None
); resultobj
= Py_None
;
12635 static PyObject
*_wrap_PyDrawnShape_SetDrawnBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12636 PyObject
*resultobj
;
12637 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12638 wxBrush
*arg2
= (wxBrush
*) 0 ;
12639 bool arg3
= (bool) FALSE
;
12640 PyObject
* obj0
= 0 ;
12641 PyObject
* obj1
= 0 ;
12642 PyObject
* obj2
= 0 ;
12643 char *kwnames
[] = {
12644 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
12647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDrawnShape_SetDrawnBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12648 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12652 if (obj1
== Py_None
) {
12655 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxBrush"))) {
12656 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxBrush.");
12661 arg2
= wxTheBrushList
->FindOrCreateBrush(temp
->GetColour(), temp
->GetStyle());
12666 arg3
= PyInt_AsLong(obj2
) ? true : false;
12667 if (PyErr_Occurred()) SWIG_fail
;
12670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12671 (arg1
)->SetDrawnBrush(arg2
,arg3
);
12673 wxPyEndAllowThreads(__tstate
);
12674 if (PyErr_Occurred()) SWIG_fail
;
12676 Py_INCREF(Py_None
); resultobj
= Py_None
;
12683 static PyObject
*_wrap_PyDrawnShape_SetDrawnFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12684 PyObject
*resultobj
;
12685 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12686 wxFont
*arg2
= (wxFont
*) 0 ;
12687 PyObject
* obj0
= 0 ;
12688 PyObject
* obj1
= 0 ;
12689 char *kwnames
[] = {
12690 (char *) "self",(char *) "font", NULL
12693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetDrawnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12694 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12698 if (obj1
== Py_None
) {
12701 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxFont"))) {
12702 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxFont.");
12707 arg2
= wxTheFontList
->FindOrCreateFont(temp
->GetPointSize(),
12711 temp
->GetUnderlined(),
12712 temp
->GetFaceName(),
12713 temp
->GetEncoding());
12718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12719 (arg1
)->SetDrawnFont(arg2
);
12721 wxPyEndAllowThreads(__tstate
);
12722 if (PyErr_Occurred()) SWIG_fail
;
12724 Py_INCREF(Py_None
); resultobj
= Py_None
;
12731 static PyObject
*_wrap_PyDrawnShape_SetDrawnPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12732 PyObject
*resultobj
;
12733 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12734 wxPen
*arg2
= (wxPen
*) 0 ;
12735 bool arg3
= (bool) FALSE
;
12736 PyObject
* obj0
= 0 ;
12737 PyObject
* obj1
= 0 ;
12738 PyObject
* obj2
= 0 ;
12739 char *kwnames
[] = {
12740 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
12743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDrawnShape_SetDrawnPen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12744 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12748 if (obj1
== Py_None
) {
12751 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
12752 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
12757 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
12764 arg3
= PyInt_AsLong(obj2
) ? true : false;
12765 if (PyErr_Occurred()) SWIG_fail
;
12768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12769 (arg1
)->SetDrawnPen(arg2
,arg3
);
12771 wxPyEndAllowThreads(__tstate
);
12772 if (PyErr_Occurred()) SWIG_fail
;
12774 Py_INCREF(Py_None
); resultobj
= Py_None
;
12781 static PyObject
*_wrap_PyDrawnShape_SetDrawnTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12782 PyObject
*resultobj
;
12783 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12784 wxColour
*arg2
= 0 ;
12786 PyObject
* obj0
= 0 ;
12787 PyObject
* obj1
= 0 ;
12788 char *kwnames
[] = {
12789 (char *) "self",(char *) "colour", NULL
12792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetDrawnTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
12793 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12796 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12800 (arg1
)->SetDrawnTextColour((wxColour
const &)*arg2
);
12802 wxPyEndAllowThreads(__tstate
);
12803 if (PyErr_Occurred()) SWIG_fail
;
12805 Py_INCREF(Py_None
); resultobj
= Py_None
;
12812 static PyObject
*_wrap_PyDrawnShape_Scale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12813 PyObject
*resultobj
;
12814 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12817 PyObject
* obj0
= 0 ;
12818 char *kwnames
[] = {
12819 (char *) "self",(char *) "sx",(char *) "sy", NULL
12822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyDrawnShape_Scale",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
12823 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12826 (arg1
)->Scale(arg2
,arg3
);
12828 wxPyEndAllowThreads(__tstate
);
12829 if (PyErr_Occurred()) SWIG_fail
;
12831 Py_INCREF(Py_None
); resultobj
= Py_None
;
12838 static PyObject
*_wrap_PyDrawnShape_SetSaveToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12839 PyObject
*resultobj
;
12840 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12842 PyObject
* obj0
= 0 ;
12843 PyObject
* obj1
= 0 ;
12844 char *kwnames
[] = {
12845 (char *) "self",(char *) "save", NULL
12848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetSaveToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
12849 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12850 arg2
= PyInt_AsLong(obj1
) ? true : false;
12851 if (PyErr_Occurred()) SWIG_fail
;
12853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12854 (arg1
)->SetSaveToFile(arg2
);
12856 wxPyEndAllowThreads(__tstate
);
12857 if (PyErr_Occurred()) SWIG_fail
;
12859 Py_INCREF(Py_None
); resultobj
= Py_None
;
12866 static PyObject
*_wrap_PyDrawnShape_Translate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12867 PyObject
*resultobj
;
12868 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12871 PyObject
* obj0
= 0 ;
12872 char *kwnames
[] = {
12873 (char *) "self",(char *) "x",(char *) "y", NULL
12876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyDrawnShape_Translate",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
12877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12880 (arg1
)->Translate(arg2
,arg3
);
12882 wxPyEndAllowThreads(__tstate
);
12883 if (PyErr_Occurred()) SWIG_fail
;
12885 Py_INCREF(Py_None
); resultobj
= Py_None
;
12892 static PyObject
*_wrap_PyDrawnShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12893 PyObject
*resultobj
;
12894 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12895 PyObject
* obj0
= 0 ;
12896 char *kwnames
[] = {
12897 (char *) "self", NULL
12900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
12901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12904 (arg1
)->base_OnDelete();
12906 wxPyEndAllowThreads(__tstate
);
12907 if (PyErr_Occurred()) SWIG_fail
;
12909 Py_INCREF(Py_None
); resultobj
= Py_None
;
12916 static PyObject
*_wrap_PyDrawnShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12917 PyObject
*resultobj
;
12918 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12920 PyObject
* obj0
= 0 ;
12921 PyObject
* obj1
= 0 ;
12922 char *kwnames
[] = {
12923 (char *) "self",(char *) "dc", NULL
12926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
12927 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12928 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12929 if (arg2
== NULL
) {
12930 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12934 (arg1
)->base_OnDraw(*arg2
);
12936 wxPyEndAllowThreads(__tstate
);
12937 if (PyErr_Occurred()) SWIG_fail
;
12939 Py_INCREF(Py_None
); resultobj
= Py_None
;
12946 static PyObject
*_wrap_PyDrawnShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12947 PyObject
*resultobj
;
12948 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12950 PyObject
* obj0
= 0 ;
12951 PyObject
* obj1
= 0 ;
12952 char *kwnames
[] = {
12953 (char *) "self",(char *) "dc", NULL
12956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
12957 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12958 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12959 if (arg2
== NULL
) {
12960 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12964 (arg1
)->base_OnDrawContents(*arg2
);
12966 wxPyEndAllowThreads(__tstate
);
12967 if (PyErr_Occurred()) SWIG_fail
;
12969 Py_INCREF(Py_None
); resultobj
= Py_None
;
12976 static PyObject
*_wrap_PyDrawnShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12977 PyObject
*resultobj
;
12978 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12980 bool arg3
= (bool) FALSE
;
12981 PyObject
* obj0
= 0 ;
12982 PyObject
* obj1
= 0 ;
12983 PyObject
* obj2
= 0 ;
12984 char *kwnames
[] = {
12985 (char *) "self",(char *) "dc",(char *) "erase", NULL
12988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDrawnShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12989 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12990 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12991 if (arg2
== NULL
) {
12992 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12995 arg3
= PyInt_AsLong(obj2
) ? true : false;
12996 if (PyErr_Occurred()) SWIG_fail
;
12999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13000 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
13002 wxPyEndAllowThreads(__tstate
);
13003 if (PyErr_Occurred()) SWIG_fail
;
13005 Py_INCREF(Py_None
); resultobj
= Py_None
;
13012 static PyObject
*_wrap_PyDrawnShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13013 PyObject
*resultobj
;
13014 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13016 PyObject
* obj0
= 0 ;
13017 PyObject
* obj1
= 0 ;
13018 char *kwnames
[] = {
13019 (char *) "self",(char *) "dc", NULL
13022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
13023 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13024 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13025 if (arg2
== NULL
) {
13026 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13030 (arg1
)->base_OnMoveLinks(*arg2
);
13032 wxPyEndAllowThreads(__tstate
);
13033 if (PyErr_Occurred()) SWIG_fail
;
13035 Py_INCREF(Py_None
); resultobj
= Py_None
;
13042 static PyObject
*_wrap_PyDrawnShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13043 PyObject
*resultobj
;
13044 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13046 PyObject
* obj0
= 0 ;
13047 PyObject
* obj1
= 0 ;
13048 char *kwnames
[] = {
13049 (char *) "self",(char *) "dc", NULL
13052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
13053 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13054 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13055 if (arg2
== NULL
) {
13056 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13060 (arg1
)->base_OnErase(*arg2
);
13062 wxPyEndAllowThreads(__tstate
);
13063 if (PyErr_Occurred()) SWIG_fail
;
13065 Py_INCREF(Py_None
); resultobj
= Py_None
;
13072 static PyObject
*_wrap_PyDrawnShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13073 PyObject
*resultobj
;
13074 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13076 PyObject
* obj0
= 0 ;
13077 PyObject
* obj1
= 0 ;
13078 char *kwnames
[] = {
13079 (char *) "self",(char *) "dc", NULL
13082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
13083 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13084 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13085 if (arg2
== NULL
) {
13086 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13090 (arg1
)->base_OnEraseContents(*arg2
);
13092 wxPyEndAllowThreads(__tstate
);
13093 if (PyErr_Occurred()) SWIG_fail
;
13095 Py_INCREF(Py_None
); resultobj
= Py_None
;
13102 static PyObject
*_wrap_PyDrawnShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13103 PyObject
*resultobj
;
13104 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13106 PyObject
* obj0
= 0 ;
13107 PyObject
* obj1
= 0 ;
13108 char *kwnames
[] = {
13109 (char *) "self",(char *) "dc", NULL
13112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
13113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13114 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13115 if (arg2
== NULL
) {
13116 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13120 (arg1
)->base_OnHighlight(*arg2
);
13122 wxPyEndAllowThreads(__tstate
);
13123 if (PyErr_Occurred()) SWIG_fail
;
13125 Py_INCREF(Py_None
); resultobj
= Py_None
;
13132 static PyObject
*_wrap_PyDrawnShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13133 PyObject
*resultobj
;
13134 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13137 int arg4
= (int) 0 ;
13138 int arg5
= (int) 0 ;
13139 PyObject
* obj0
= 0 ;
13140 char *kwnames
[] = {
13141 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDrawnShape_base_OnLeftClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
13145 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13148 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
13150 wxPyEndAllowThreads(__tstate
);
13151 if (PyErr_Occurred()) SWIG_fail
;
13153 Py_INCREF(Py_None
); resultobj
= Py_None
;
13160 static PyObject
*_wrap_PyDrawnShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13161 PyObject
*resultobj
;
13162 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13165 int arg4
= (int) 0 ;
13166 int arg5
= (int) 0 ;
13167 PyObject
* obj0
= 0 ;
13168 char *kwnames
[] = {
13169 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDrawnShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
13173 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13176 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
13178 wxPyEndAllowThreads(__tstate
);
13179 if (PyErr_Occurred()) SWIG_fail
;
13181 Py_INCREF(Py_None
); resultobj
= Py_None
;
13188 static PyObject
*_wrap_PyDrawnShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13189 PyObject
*resultobj
;
13190 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13193 int arg4
= (int) 0 ;
13194 int arg5
= (int) 0 ;
13195 PyObject
* obj0
= 0 ;
13196 char *kwnames
[] = {
13197 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDrawnShape_base_OnRightClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
13201 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13204 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
13206 wxPyEndAllowThreads(__tstate
);
13207 if (PyErr_Occurred()) SWIG_fail
;
13209 Py_INCREF(Py_None
); resultobj
= Py_None
;
13216 static PyObject
*_wrap_PyDrawnShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13217 PyObject
*resultobj
;
13218 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13221 PyObject
* obj0
= 0 ;
13222 char *kwnames
[] = {
13223 (char *) "self",(char *) "x",(char *) "y", NULL
13226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyDrawnShape_base_OnSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
13227 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13230 (arg1
)->base_OnSize(arg2
,arg3
);
13232 wxPyEndAllowThreads(__tstate
);
13233 if (PyErr_Occurred()) SWIG_fail
;
13235 Py_INCREF(Py_None
); resultobj
= Py_None
;
13242 static PyObject
*_wrap_PyDrawnShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13243 PyObject
*resultobj
;
13244 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13250 bool arg7
= (bool) TRUE
;
13252 PyObject
* obj0
= 0 ;
13253 PyObject
* obj1
= 0 ;
13254 PyObject
* obj6
= 0 ;
13255 char *kwnames
[] = {
13256 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
13259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyDrawnShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) 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 arg7
= PyInt_AsLong(obj6
) ? true : false;
13267 if (PyErr_Occurred()) SWIG_fail
;
13270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13271 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13273 wxPyEndAllowThreads(__tstate
);
13274 if (PyErr_Occurred()) SWIG_fail
;
13276 resultobj
= PyInt_FromLong((long)result
);
13283 static PyObject
*_wrap_PyDrawnShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13284 PyObject
*resultobj
;
13285 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13291 bool arg7
= (bool) TRUE
;
13292 PyObject
* obj0
= 0 ;
13293 PyObject
* obj1
= 0 ;
13294 PyObject
* obj6
= 0 ;
13295 char *kwnames
[] = {
13296 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
13299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyDrawnShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
13300 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13301 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13302 if (arg2
== NULL
) {
13303 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13306 arg7
= PyInt_AsLong(obj6
) ? true : false;
13307 if (PyErr_Occurred()) SWIG_fail
;
13310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13311 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13313 wxPyEndAllowThreads(__tstate
);
13314 if (PyErr_Occurred()) SWIG_fail
;
13316 Py_INCREF(Py_None
); resultobj
= Py_None
;
13323 static PyObject
*_wrap_PyDrawnShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13324 PyObject
*resultobj
;
13325 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13329 int arg5
= (int) 0 ;
13330 int arg6
= (int) 0 ;
13331 PyObject
* obj0
= 0 ;
13332 PyObject
* obj1
= 0 ;
13333 char *kwnames
[] = {
13334 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyDrawnShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
13338 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13339 arg2
= PyInt_AsLong(obj1
) ? true : false;
13340 if (PyErr_Occurred()) SWIG_fail
;
13342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13343 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
13345 wxPyEndAllowThreads(__tstate
);
13346 if (PyErr_Occurred()) SWIG_fail
;
13348 Py_INCREF(Py_None
); resultobj
= Py_None
;
13355 static PyObject
*_wrap_PyDrawnShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13356 PyObject
*resultobj
;
13357 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13360 int arg4
= (int) 0 ;
13361 int arg5
= (int) 0 ;
13362 PyObject
* obj0
= 0 ;
13363 char *kwnames
[] = {
13364 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDrawnShape_base_OnBeginDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
13368 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13371 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
13373 wxPyEndAllowThreads(__tstate
);
13374 if (PyErr_Occurred()) SWIG_fail
;
13376 Py_INCREF(Py_None
); resultobj
= Py_None
;
13383 static PyObject
*_wrap_PyDrawnShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13384 PyObject
*resultobj
;
13385 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13388 int arg4
= (int) 0 ;
13389 int arg5
= (int) 0 ;
13390 PyObject
* obj0
= 0 ;
13391 char *kwnames
[] = {
13392 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDrawnShape_base_OnEndDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
13396 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13399 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
13401 wxPyEndAllowThreads(__tstate
);
13402 if (PyErr_Occurred()) SWIG_fail
;
13404 Py_INCREF(Py_None
); resultobj
= Py_None
;
13411 static PyObject
*_wrap_PyDrawnShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13412 PyObject
*resultobj
;
13413 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13417 int arg5
= (int) 0 ;
13418 int arg6
= (int) 0 ;
13419 PyObject
* obj0
= 0 ;
13420 PyObject
* obj1
= 0 ;
13421 char *kwnames
[] = {
13422 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyDrawnShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
13426 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13427 arg2
= PyInt_AsLong(obj1
) ? true : false;
13428 if (PyErr_Occurred()) SWIG_fail
;
13430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13431 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
13433 wxPyEndAllowThreads(__tstate
);
13434 if (PyErr_Occurred()) SWIG_fail
;
13436 Py_INCREF(Py_None
); resultobj
= Py_None
;
13443 static PyObject
*_wrap_PyDrawnShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13444 PyObject
*resultobj
;
13445 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13448 int arg4
= (int) 0 ;
13449 int arg5
= (int) 0 ;
13450 PyObject
* obj0
= 0 ;
13451 char *kwnames
[] = {
13452 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDrawnShape_base_OnBeginDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
13456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13459 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
13461 wxPyEndAllowThreads(__tstate
);
13462 if (PyErr_Occurred()) SWIG_fail
;
13464 Py_INCREF(Py_None
); resultobj
= Py_None
;
13471 static PyObject
*_wrap_PyDrawnShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13472 PyObject
*resultobj
;
13473 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13476 int arg4
= (int) 0 ;
13477 int arg5
= (int) 0 ;
13478 PyObject
* obj0
= 0 ;
13479 char *kwnames
[] = {
13480 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDrawnShape_base_OnEndDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
13484 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13487 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
13489 wxPyEndAllowThreads(__tstate
);
13490 if (PyErr_Occurred()) SWIG_fail
;
13492 Py_INCREF(Py_None
); resultobj
= Py_None
;
13499 static PyObject
*_wrap_PyDrawnShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13500 PyObject
*resultobj
;
13501 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13507 PyObject
* obj0
= 0 ;
13508 PyObject
* obj1
= 0 ;
13509 char *kwnames
[] = {
13510 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
13513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd:PyDrawnShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
13514 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13515 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13516 if (arg2
== NULL
) {
13517 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13521 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
13523 wxPyEndAllowThreads(__tstate
);
13524 if (PyErr_Occurred()) SWIG_fail
;
13526 Py_INCREF(Py_None
); resultobj
= Py_None
;
13533 static PyObject
*_wrap_PyDrawnShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13534 PyObject
*resultobj
;
13535 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13537 PyObject
* obj0
= 0 ;
13538 PyObject
* obj1
= 0 ;
13539 char *kwnames
[] = {
13540 (char *) "self",(char *) "dc", NULL
13543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
13544 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13545 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13546 if (arg2
== NULL
) {
13547 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13551 (arg1
)->base_OnDrawControlPoints(*arg2
);
13553 wxPyEndAllowThreads(__tstate
);
13554 if (PyErr_Occurred()) SWIG_fail
;
13556 Py_INCREF(Py_None
); resultobj
= Py_None
;
13563 static PyObject
*_wrap_PyDrawnShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13564 PyObject
*resultobj
;
13565 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13567 PyObject
* obj0
= 0 ;
13568 PyObject
* obj1
= 0 ;
13569 char *kwnames
[] = {
13570 (char *) "self",(char *) "dc", NULL
13573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
13574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13575 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13576 if (arg2
== NULL
) {
13577 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13581 (arg1
)->base_OnEraseControlPoints(*arg2
);
13583 wxPyEndAllowThreads(__tstate
);
13584 if (PyErr_Occurred()) SWIG_fail
;
13586 Py_INCREF(Py_None
); resultobj
= Py_None
;
13593 static PyObject
*_wrap_PyDrawnShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13594 PyObject
*resultobj
;
13595 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13597 bool arg3
= (bool) TRUE
;
13598 PyObject
* obj0
= 0 ;
13599 PyObject
* obj1
= 0 ;
13600 PyObject
* obj2
= 0 ;
13601 char *kwnames
[] = {
13602 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
13605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDrawnShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13607 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13608 if (arg2
== NULL
) {
13609 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13612 arg3
= PyInt_AsLong(obj2
) ? true : false;
13613 if (PyErr_Occurred()) SWIG_fail
;
13616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13617 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
13619 wxPyEndAllowThreads(__tstate
);
13620 if (PyErr_Occurred()) SWIG_fail
;
13622 Py_INCREF(Py_None
); resultobj
= Py_None
;
13629 static PyObject
*_wrap_PyDrawnShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13630 PyObject
*resultobj
;
13631 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13632 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
13636 int arg6
= (int) 0 ;
13637 int arg7
= (int) 0 ;
13638 PyObject
* obj0
= 0 ;
13639 PyObject
* obj1
= 0 ;
13640 PyObject
* obj2
= 0 ;
13641 char *kwnames
[] = {
13642 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd|ii:PyDrawnShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
13646 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13647 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13648 arg3
= PyInt_AsLong(obj2
) ? true : false;
13649 if (PyErr_Occurred()) SWIG_fail
;
13651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13652 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13654 wxPyEndAllowThreads(__tstate
);
13655 if (PyErr_Occurred()) SWIG_fail
;
13657 Py_INCREF(Py_None
); resultobj
= Py_None
;
13664 static PyObject
*_wrap_PyDrawnShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13665 PyObject
*resultobj
;
13666 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13667 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
13670 int arg5
= (int) 0 ;
13671 int arg6
= (int) 0 ;
13672 PyObject
* obj0
= 0 ;
13673 PyObject
* obj1
= 0 ;
13674 char *kwnames
[] = {
13675 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyDrawnShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
13679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13680 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13683 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
13685 wxPyEndAllowThreads(__tstate
);
13686 if (PyErr_Occurred()) SWIG_fail
;
13688 Py_INCREF(Py_None
); resultobj
= Py_None
;
13695 static PyObject
*_wrap_PyDrawnShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13696 PyObject
*resultobj
;
13697 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13698 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
13701 int arg5
= (int) 0 ;
13702 int arg6
= (int) 0 ;
13703 PyObject
* obj0
= 0 ;
13704 PyObject
* obj1
= 0 ;
13705 char *kwnames
[] = {
13706 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyDrawnShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
13710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13711 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13714 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
13716 wxPyEndAllowThreads(__tstate
);
13717 if (PyErr_Occurred()) SWIG_fail
;
13719 Py_INCREF(Py_None
); resultobj
= Py_None
;
13726 static PyObject
*_wrap_PyDrawnShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13727 PyObject
*resultobj
;
13728 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13731 PyObject
* obj0
= 0 ;
13732 char *kwnames
[] = {
13733 (char *) "self",(char *) "w",(char *) "h", NULL
13736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyDrawnShape_base_OnBeginSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
13737 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13740 (arg1
)->base_OnBeginSize(arg2
,arg3
);
13742 wxPyEndAllowThreads(__tstate
);
13743 if (PyErr_Occurred()) SWIG_fail
;
13745 Py_INCREF(Py_None
); resultobj
= Py_None
;
13752 static PyObject
*_wrap_PyDrawnShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13753 PyObject
*resultobj
;
13754 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13757 PyObject
* obj0
= 0 ;
13758 char *kwnames
[] = {
13759 (char *) "self",(char *) "w",(char *) "h", NULL
13762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyDrawnShape_base_OnEndSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
13763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13766 (arg1
)->base_OnEndSize(arg2
,arg3
);
13768 wxPyEndAllowThreads(__tstate
);
13769 if (PyErr_Occurred()) SWIG_fail
;
13771 Py_INCREF(Py_None
); resultobj
= Py_None
;
13778 static PyObject
* PyDrawnShape_swigregister(PyObject
*self
, PyObject
*args
) {
13780 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13781 SWIG_TypeClientData(SWIGTYPE_p_wxPyDrawnShape
, obj
);
13783 return Py_BuildValue((char *)"");
13785 static PyObject
*_wrap_new_OGLConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13786 PyObject
*resultobj
;
13788 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
13789 PyObject
*arg3
= (PyObject
*) 0 ;
13790 wxOGLConstraint
*result
;
13791 PyObject
* obj1
= 0 ;
13792 PyObject
* obj2
= 0 ;
13793 char *kwnames
[] = {
13794 (char *) "type",(char *) "constraining",(char *) "constrained", NULL
13797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iOO:new_OGLConstraint",kwnames
,&arg1
,&obj1
,&obj2
)) goto fail
;
13798 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13802 result
= (wxOGLConstraint
*)new_wxOGLConstraint(arg1
,arg2
,arg3
);
13804 wxPyEndAllowThreads(__tstate
);
13805 if (PyErr_Occurred()) SWIG_fail
;
13808 resultobj
= wxPyMake_wxObject(result
);
13816 static PyObject
*_wrap_OGLConstraint_Evaluate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13817 PyObject
*resultobj
;
13818 wxOGLConstraint
*arg1
= (wxOGLConstraint
*) 0 ;
13820 PyObject
* obj0
= 0 ;
13821 char *kwnames
[] = {
13822 (char *) "self", NULL
13825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:OGLConstraint_Evaluate",kwnames
,&obj0
)) goto fail
;
13826 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxOGLConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13829 result
= (bool)(arg1
)->Evaluate();
13831 wxPyEndAllowThreads(__tstate
);
13832 if (PyErr_Occurred()) SWIG_fail
;
13834 resultobj
= PyInt_FromLong((long)result
);
13841 static PyObject
*_wrap_OGLConstraint_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13842 PyObject
*resultobj
;
13843 wxOGLConstraint
*arg1
= (wxOGLConstraint
*) 0 ;
13846 PyObject
* obj0
= 0 ;
13847 char *kwnames
[] = {
13848 (char *) "self",(char *) "x",(char *) "y", NULL
13851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:OGLConstraint_SetSpacing",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
13852 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxOGLConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13855 (arg1
)->SetSpacing(arg2
,arg3
);
13857 wxPyEndAllowThreads(__tstate
);
13858 if (PyErr_Occurred()) SWIG_fail
;
13860 Py_INCREF(Py_None
); resultobj
= Py_None
;
13867 static PyObject
*_wrap_OGLConstraint_Equals(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13868 PyObject
*resultobj
;
13869 wxOGLConstraint
*arg1
= (wxOGLConstraint
*) 0 ;
13873 PyObject
* obj0
= 0 ;
13874 char *kwnames
[] = {
13875 (char *) "self",(char *) "a",(char *) "b", NULL
13878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:OGLConstraint_Equals",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
13879 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxOGLConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13882 result
= (bool)(arg1
)->Equals(arg2
,arg3
);
13884 wxPyEndAllowThreads(__tstate
);
13885 if (PyErr_Occurred()) SWIG_fail
;
13887 resultobj
= PyInt_FromLong((long)result
);
13894 static PyObject
* OGLConstraint_swigregister(PyObject
*self
, PyObject
*args
) {
13896 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13897 SWIG_TypeClientData(SWIGTYPE_p_wxOGLConstraint
, obj
);
13899 return Py_BuildValue((char *)"");
13901 static PyObject
*_wrap_new_PyCompositeShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13902 PyObject
*resultobj
;
13903 wxPyCompositeShape
*result
;
13904 char *kwnames
[] = {
13908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyCompositeShape",kwnames
)) goto fail
;
13910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13911 result
= (wxPyCompositeShape
*)new wxPyCompositeShape();
13913 wxPyEndAllowThreads(__tstate
);
13914 if (PyErr_Occurred()) SWIG_fail
;
13916 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyCompositeShape
, 1);
13923 static PyObject
*_wrap_PyCompositeShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13924 PyObject
*resultobj
;
13925 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
13926 PyObject
*arg2
= (PyObject
*) 0 ;
13927 PyObject
*arg3
= (PyObject
*) 0 ;
13928 PyObject
* obj0
= 0 ;
13929 PyObject
* obj1
= 0 ;
13930 PyObject
* obj2
= 0 ;
13931 char *kwnames
[] = {
13932 (char *) "self",(char *) "self",(char *) "_class", NULL
13935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCompositeShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13941 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13943 wxPyEndAllowThreads(__tstate
);
13944 if (PyErr_Occurred()) SWIG_fail
;
13946 Py_INCREF(Py_None
); resultobj
= Py_None
;
13953 static PyObject
*_wrap_PyCompositeShape_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13954 PyObject
*resultobj
;
13955 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
13956 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
13957 wxPyShape
*arg3
= (wxPyShape
*) NULL
;
13958 PyObject
* obj0
= 0 ;
13959 PyObject
* obj1
= 0 ;
13960 PyObject
* obj2
= 0 ;
13961 char *kwnames
[] = {
13962 (char *) "self",(char *) "child",(char *) "addAfter", NULL
13965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCompositeShape_AddChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13967 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13969 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13973 (arg1
)->AddChild(arg2
,arg3
);
13975 wxPyEndAllowThreads(__tstate
);
13976 if (PyErr_Occurred()) SWIG_fail
;
13978 Py_INCREF(Py_None
); resultobj
= Py_None
;
13985 static PyObject
*_wrap_PyCompositeShape_AddConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13986 PyObject
*resultobj
;
13987 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
13988 wxOGLConstraint
*arg2
= (wxOGLConstraint
*) 0 ;
13989 wxOGLConstraint
*result
;
13990 PyObject
* obj0
= 0 ;
13991 PyObject
* obj1
= 0 ;
13992 char *kwnames
[] = {
13993 (char *) "self",(char *) "constraint", NULL
13996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_AddConstraint",kwnames
,&obj0
,&obj1
)) goto fail
;
13997 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13998 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxOGLConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14001 result
= (wxOGLConstraint
*)(arg1
)->AddConstraint(arg2
);
14003 wxPyEndAllowThreads(__tstate
);
14004 if (PyErr_Occurred()) SWIG_fail
;
14007 resultobj
= wxPyMake_wxObject(result
);
14015 static PyObject
*_wrap_PyCompositeShape_AddConstrainedShapes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14016 PyObject
*resultobj
;
14017 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14019 wxPyShape
*arg3
= (wxPyShape
*) 0 ;
14020 PyObject
*arg4
= (PyObject
*) 0 ;
14021 wxOGLConstraint
*result
;
14022 PyObject
* obj0
= 0 ;
14023 PyObject
* obj2
= 0 ;
14024 PyObject
* obj3
= 0 ;
14025 char *kwnames
[] = {
14026 (char *) "self",(char *) "type",(char *) "constraining",(char *) "constrained", NULL
14029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOO:PyCompositeShape_AddConstrainedShapes",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
14030 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14031 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14035 result
= (wxOGLConstraint
*)wxPyCompositeShape_AddConstrainedShapes(arg1
,arg2
,arg3
,arg4
);
14037 wxPyEndAllowThreads(__tstate
);
14038 if (PyErr_Occurred()) SWIG_fail
;
14041 resultobj
= wxPyMake_wxObject(result
);
14049 static PyObject
*_wrap_PyCompositeShape_AddSimpleConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14050 PyObject
*resultobj
;
14051 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14053 wxPyShape
*arg3
= (wxPyShape
*) 0 ;
14054 wxPyShape
*arg4
= (wxPyShape
*) 0 ;
14055 wxOGLConstraint
*result
;
14056 PyObject
* obj0
= 0 ;
14057 PyObject
* obj2
= 0 ;
14058 PyObject
* obj3
= 0 ;
14059 char *kwnames
[] = {
14060 (char *) "self",(char *) "type",(char *) "constraining",(char *) "constrained", NULL
14063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOO:PyCompositeShape_AddSimpleConstraint",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
14064 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14065 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14066 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14069 result
= (wxOGLConstraint
*)(arg1
)->AddConstraint(arg2
,arg3
,arg4
);
14071 wxPyEndAllowThreads(__tstate
);
14072 if (PyErr_Occurred()) SWIG_fail
;
14075 resultobj
= wxPyMake_wxObject(result
);
14083 static PyObject
*_wrap_PyCompositeShape_CalculateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14084 PyObject
*resultobj
;
14085 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14086 PyObject
* obj0
= 0 ;
14087 char *kwnames
[] = {
14088 (char *) "self", NULL
14091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_CalculateSize",kwnames
,&obj0
)) goto fail
;
14092 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14095 (arg1
)->CalculateSize();
14097 wxPyEndAllowThreads(__tstate
);
14098 if (PyErr_Occurred()) SWIG_fail
;
14100 Py_INCREF(Py_None
); resultobj
= Py_None
;
14107 static PyObject
*_wrap_PyCompositeShape_ContainsDivision(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14108 PyObject
*resultobj
;
14109 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14110 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
14112 PyObject
* obj0
= 0 ;
14113 PyObject
* obj1
= 0 ;
14114 char *kwnames
[] = {
14115 (char *) "self",(char *) "division", NULL
14118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_ContainsDivision",kwnames
,&obj0
,&obj1
)) goto fail
;
14119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14120 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14123 result
= (bool)(arg1
)->ContainsDivision(arg2
);
14125 wxPyEndAllowThreads(__tstate
);
14126 if (PyErr_Occurred()) SWIG_fail
;
14128 resultobj
= PyInt_FromLong((long)result
);
14135 static PyObject
*_wrap_PyCompositeShape_DeleteConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14136 PyObject
*resultobj
;
14137 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14138 wxOGLConstraint
*arg2
= (wxOGLConstraint
*) 0 ;
14139 PyObject
* obj0
= 0 ;
14140 PyObject
* obj1
= 0 ;
14141 char *kwnames
[] = {
14142 (char *) "self",(char *) "constraint", NULL
14145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_DeleteConstraint",kwnames
,&obj0
,&obj1
)) goto fail
;
14146 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14147 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxOGLConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14150 (arg1
)->DeleteConstraint(arg2
);
14152 wxPyEndAllowThreads(__tstate
);
14153 if (PyErr_Occurred()) SWIG_fail
;
14155 Py_INCREF(Py_None
); resultobj
= Py_None
;
14162 static PyObject
*_wrap_PyCompositeShape_DeleteConstraintsInvolvingChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14163 PyObject
*resultobj
;
14164 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14165 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
14166 PyObject
* obj0
= 0 ;
14167 PyObject
* obj1
= 0 ;
14168 char *kwnames
[] = {
14169 (char *) "self",(char *) "child", NULL
14172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_DeleteConstraintsInvolvingChild",kwnames
,&obj0
,&obj1
)) goto fail
;
14173 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14174 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14177 (arg1
)->DeleteConstraintsInvolvingChild(arg2
);
14179 wxPyEndAllowThreads(__tstate
);
14180 if (PyErr_Occurred()) SWIG_fail
;
14182 Py_INCREF(Py_None
); resultobj
= Py_None
;
14189 static PyObject
*_wrap_PyCompositeShape_FindContainerImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14190 PyObject
*resultobj
;
14191 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14193 PyObject
* obj0
= 0 ;
14194 char *kwnames
[] = {
14195 (char *) "self", NULL
14198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_FindContainerImage",kwnames
,&obj0
)) goto fail
;
14199 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14202 result
= (wxPyShape
*)(arg1
)->FindContainerImage();
14204 wxPyEndAllowThreads(__tstate
);
14205 if (PyErr_Occurred()) SWIG_fail
;
14208 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
14216 static PyObject
*_wrap_PyCompositeShape_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14217 PyObject
*resultobj
;
14218 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14220 PyObject
* obj0
= 0 ;
14221 char *kwnames
[] = {
14222 (char *) "self", NULL
14225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_GetConstraints",kwnames
,&obj0
)) goto fail
;
14226 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14229 result
= (PyObject
*)wxPyCompositeShape_GetConstraints(arg1
);
14231 wxPyEndAllowThreads(__tstate
);
14232 if (PyErr_Occurred()) SWIG_fail
;
14234 resultobj
= result
;
14241 static PyObject
*_wrap_PyCompositeShape_GetDivisions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14242 PyObject
*resultobj
;
14243 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14245 PyObject
* obj0
= 0 ;
14246 char *kwnames
[] = {
14247 (char *) "self", NULL
14250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_GetDivisions",kwnames
,&obj0
)) goto fail
;
14251 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14254 result
= (PyObject
*)wxPyCompositeShape_GetDivisions(arg1
);
14256 wxPyEndAllowThreads(__tstate
);
14257 if (PyErr_Occurred()) SWIG_fail
;
14259 resultobj
= result
;
14266 static PyObject
*_wrap_PyCompositeShape_MakeContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14267 PyObject
*resultobj
;
14268 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14269 PyObject
* obj0
= 0 ;
14270 char *kwnames
[] = {
14271 (char *) "self", NULL
14274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_MakeContainer",kwnames
,&obj0
)) goto fail
;
14275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14278 (arg1
)->MakeContainer();
14280 wxPyEndAllowThreads(__tstate
);
14281 if (PyErr_Occurred()) SWIG_fail
;
14283 Py_INCREF(Py_None
); resultobj
= Py_None
;
14290 static PyObject
*_wrap_PyCompositeShape_Recompute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14291 PyObject
*resultobj
;
14292 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14294 PyObject
* obj0
= 0 ;
14295 char *kwnames
[] = {
14296 (char *) "self", NULL
14299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_Recompute",kwnames
,&obj0
)) goto fail
;
14300 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14303 result
= (bool)(arg1
)->Recompute();
14305 wxPyEndAllowThreads(__tstate
);
14306 if (PyErr_Occurred()) SWIG_fail
;
14308 resultobj
= PyInt_FromLong((long)result
);
14315 static PyObject
*_wrap_PyCompositeShape_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14316 PyObject
*resultobj
;
14317 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14318 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
14319 PyObject
* obj0
= 0 ;
14320 PyObject
* obj1
= 0 ;
14321 char *kwnames
[] = {
14322 (char *) "self",(char *) "child", NULL
14325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
14326 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14327 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14330 (arg1
)->RemoveChild(arg2
);
14332 wxPyEndAllowThreads(__tstate
);
14333 if (PyErr_Occurred()) SWIG_fail
;
14335 Py_INCREF(Py_None
); resultobj
= Py_None
;
14342 static PyObject
*_wrap_PyCompositeShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14343 PyObject
*resultobj
;
14344 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14345 PyObject
* obj0
= 0 ;
14346 char *kwnames
[] = {
14347 (char *) "self", NULL
14350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
14351 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14354 (arg1
)->base_OnDelete();
14356 wxPyEndAllowThreads(__tstate
);
14357 if (PyErr_Occurred()) SWIG_fail
;
14359 Py_INCREF(Py_None
); resultobj
= Py_None
;
14366 static PyObject
*_wrap_PyCompositeShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14367 PyObject
*resultobj
;
14368 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14370 PyObject
* obj0
= 0 ;
14371 PyObject
* obj1
= 0 ;
14372 char *kwnames
[] = {
14373 (char *) "self",(char *) "dc", NULL
14376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
14377 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14378 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14379 if (arg2
== NULL
) {
14380 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14384 (arg1
)->base_OnDraw(*arg2
);
14386 wxPyEndAllowThreads(__tstate
);
14387 if (PyErr_Occurred()) SWIG_fail
;
14389 Py_INCREF(Py_None
); resultobj
= Py_None
;
14396 static PyObject
*_wrap_PyCompositeShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14397 PyObject
*resultobj
;
14398 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14400 PyObject
* obj0
= 0 ;
14401 PyObject
* obj1
= 0 ;
14402 char *kwnames
[] = {
14403 (char *) "self",(char *) "dc", NULL
14406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
14407 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14408 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14409 if (arg2
== NULL
) {
14410 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14414 (arg1
)->base_OnDrawContents(*arg2
);
14416 wxPyEndAllowThreads(__tstate
);
14417 if (PyErr_Occurred()) SWIG_fail
;
14419 Py_INCREF(Py_None
); resultobj
= Py_None
;
14426 static PyObject
*_wrap_PyCompositeShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14427 PyObject
*resultobj
;
14428 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14430 bool arg3
= (bool) FALSE
;
14431 PyObject
* obj0
= 0 ;
14432 PyObject
* obj1
= 0 ;
14433 PyObject
* obj2
= 0 ;
14434 char *kwnames
[] = {
14435 (char *) "self",(char *) "dc",(char *) "erase", NULL
14438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCompositeShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14440 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14441 if (arg2
== NULL
) {
14442 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14445 arg3
= PyInt_AsLong(obj2
) ? true : false;
14446 if (PyErr_Occurred()) SWIG_fail
;
14449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14450 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
14452 wxPyEndAllowThreads(__tstate
);
14453 if (PyErr_Occurred()) SWIG_fail
;
14455 Py_INCREF(Py_None
); resultobj
= Py_None
;
14462 static PyObject
*_wrap_PyCompositeShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14463 PyObject
*resultobj
;
14464 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14466 PyObject
* obj0
= 0 ;
14467 PyObject
* obj1
= 0 ;
14468 char *kwnames
[] = {
14469 (char *) "self",(char *) "dc", NULL
14472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
14473 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14474 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14475 if (arg2
== NULL
) {
14476 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14480 (arg1
)->base_OnMoveLinks(*arg2
);
14482 wxPyEndAllowThreads(__tstate
);
14483 if (PyErr_Occurred()) SWIG_fail
;
14485 Py_INCREF(Py_None
); resultobj
= Py_None
;
14492 static PyObject
*_wrap_PyCompositeShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14493 PyObject
*resultobj
;
14494 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14496 PyObject
* obj0
= 0 ;
14497 PyObject
* obj1
= 0 ;
14498 char *kwnames
[] = {
14499 (char *) "self",(char *) "dc", NULL
14502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
14503 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14504 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14505 if (arg2
== NULL
) {
14506 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14510 (arg1
)->base_OnErase(*arg2
);
14512 wxPyEndAllowThreads(__tstate
);
14513 if (PyErr_Occurred()) SWIG_fail
;
14515 Py_INCREF(Py_None
); resultobj
= Py_None
;
14522 static PyObject
*_wrap_PyCompositeShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14523 PyObject
*resultobj
;
14524 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14526 PyObject
* obj0
= 0 ;
14527 PyObject
* obj1
= 0 ;
14528 char *kwnames
[] = {
14529 (char *) "self",(char *) "dc", NULL
14532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
14533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14534 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14535 if (arg2
== NULL
) {
14536 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14540 (arg1
)->base_OnEraseContents(*arg2
);
14542 wxPyEndAllowThreads(__tstate
);
14543 if (PyErr_Occurred()) SWIG_fail
;
14545 Py_INCREF(Py_None
); resultobj
= Py_None
;
14552 static PyObject
*_wrap_PyCompositeShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14553 PyObject
*resultobj
;
14554 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14556 PyObject
* obj0
= 0 ;
14557 PyObject
* obj1
= 0 ;
14558 char *kwnames
[] = {
14559 (char *) "self",(char *) "dc", NULL
14562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnHighlight",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_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14565 if (arg2
== NULL
) {
14566 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14570 (arg1
)->base_OnHighlight(*arg2
);
14572 wxPyEndAllowThreads(__tstate
);
14573 if (PyErr_Occurred()) SWIG_fail
;
14575 Py_INCREF(Py_None
); resultobj
= Py_None
;
14582 static PyObject
*_wrap_PyCompositeShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14583 PyObject
*resultobj
;
14584 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14587 int arg4
= (int) 0 ;
14588 int arg5
= (int) 0 ;
14589 PyObject
* obj0
= 0 ;
14590 char *kwnames
[] = {
14591 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyCompositeShape_base_OnLeftClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
14595 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14598 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
14600 wxPyEndAllowThreads(__tstate
);
14601 if (PyErr_Occurred()) SWIG_fail
;
14603 Py_INCREF(Py_None
); resultobj
= Py_None
;
14610 static PyObject
*_wrap_PyCompositeShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14611 PyObject
*resultobj
;
14612 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14615 int arg4
= (int) 0 ;
14616 int arg5
= (int) 0 ;
14617 PyObject
* obj0
= 0 ;
14618 char *kwnames
[] = {
14619 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyCompositeShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
14623 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14626 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
14628 wxPyEndAllowThreads(__tstate
);
14629 if (PyErr_Occurred()) SWIG_fail
;
14631 Py_INCREF(Py_None
); resultobj
= Py_None
;
14638 static PyObject
*_wrap_PyCompositeShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14639 PyObject
*resultobj
;
14640 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14643 int arg4
= (int) 0 ;
14644 int arg5
= (int) 0 ;
14645 PyObject
* obj0
= 0 ;
14646 char *kwnames
[] = {
14647 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyCompositeShape_base_OnRightClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
14651 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14654 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
14656 wxPyEndAllowThreads(__tstate
);
14657 if (PyErr_Occurred()) SWIG_fail
;
14659 Py_INCREF(Py_None
); resultobj
= Py_None
;
14666 static PyObject
*_wrap_PyCompositeShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14667 PyObject
*resultobj
;
14668 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14671 PyObject
* obj0
= 0 ;
14672 char *kwnames
[] = {
14673 (char *) "self",(char *) "x",(char *) "y", NULL
14676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyCompositeShape_base_OnSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
14677 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14680 (arg1
)->base_OnSize(arg2
,arg3
);
14682 wxPyEndAllowThreads(__tstate
);
14683 if (PyErr_Occurred()) SWIG_fail
;
14685 Py_INCREF(Py_None
); resultobj
= Py_None
;
14692 static PyObject
*_wrap_PyCompositeShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14693 PyObject
*resultobj
;
14694 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14700 bool arg7
= (bool) TRUE
;
14702 PyObject
* obj0
= 0 ;
14703 PyObject
* obj1
= 0 ;
14704 PyObject
* obj6
= 0 ;
14705 char *kwnames
[] = {
14706 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
14709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyCompositeShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) 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 arg7
= PyInt_AsLong(obj6
) ? true : false;
14717 if (PyErr_Occurred()) SWIG_fail
;
14720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14721 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
14723 wxPyEndAllowThreads(__tstate
);
14724 if (PyErr_Occurred()) SWIG_fail
;
14726 resultobj
= PyInt_FromLong((long)result
);
14733 static PyObject
*_wrap_PyCompositeShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14734 PyObject
*resultobj
;
14735 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14741 bool arg7
= (bool) TRUE
;
14742 PyObject
* obj0
= 0 ;
14743 PyObject
* obj1
= 0 ;
14744 PyObject
* obj6
= 0 ;
14745 char *kwnames
[] = {
14746 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
14749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyCompositeShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
14750 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14751 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14752 if (arg2
== NULL
) {
14753 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14756 arg7
= PyInt_AsLong(obj6
) ? true : false;
14757 if (PyErr_Occurred()) SWIG_fail
;
14760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14761 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
14763 wxPyEndAllowThreads(__tstate
);
14764 if (PyErr_Occurred()) SWIG_fail
;
14766 Py_INCREF(Py_None
); resultobj
= Py_None
;
14773 static PyObject
*_wrap_PyCompositeShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14774 PyObject
*resultobj
;
14775 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14779 int arg5
= (int) 0 ;
14780 int arg6
= (int) 0 ;
14781 PyObject
* obj0
= 0 ;
14782 PyObject
* obj1
= 0 ;
14783 char *kwnames
[] = {
14784 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyCompositeShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
14788 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14789 arg2
= PyInt_AsLong(obj1
) ? true : false;
14790 if (PyErr_Occurred()) SWIG_fail
;
14792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14793 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
14795 wxPyEndAllowThreads(__tstate
);
14796 if (PyErr_Occurred()) SWIG_fail
;
14798 Py_INCREF(Py_None
); resultobj
= Py_None
;
14805 static PyObject
*_wrap_PyCompositeShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14806 PyObject
*resultobj
;
14807 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14810 int arg4
= (int) 0 ;
14811 int arg5
= (int) 0 ;
14812 PyObject
* obj0
= 0 ;
14813 char *kwnames
[] = {
14814 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyCompositeShape_base_OnBeginDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
14818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14821 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
14823 wxPyEndAllowThreads(__tstate
);
14824 if (PyErr_Occurred()) SWIG_fail
;
14826 Py_INCREF(Py_None
); resultobj
= Py_None
;
14833 static PyObject
*_wrap_PyCompositeShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14834 PyObject
*resultobj
;
14835 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14838 int arg4
= (int) 0 ;
14839 int arg5
= (int) 0 ;
14840 PyObject
* obj0
= 0 ;
14841 char *kwnames
[] = {
14842 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyCompositeShape_base_OnEndDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
14846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14849 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
14851 wxPyEndAllowThreads(__tstate
);
14852 if (PyErr_Occurred()) SWIG_fail
;
14854 Py_INCREF(Py_None
); resultobj
= Py_None
;
14861 static PyObject
*_wrap_PyCompositeShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14862 PyObject
*resultobj
;
14863 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14867 int arg5
= (int) 0 ;
14868 int arg6
= (int) 0 ;
14869 PyObject
* obj0
= 0 ;
14870 PyObject
* obj1
= 0 ;
14871 char *kwnames
[] = {
14872 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyCompositeShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
14876 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14877 arg2
= PyInt_AsLong(obj1
) ? true : false;
14878 if (PyErr_Occurred()) SWIG_fail
;
14880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14881 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
14883 wxPyEndAllowThreads(__tstate
);
14884 if (PyErr_Occurred()) SWIG_fail
;
14886 Py_INCREF(Py_None
); resultobj
= Py_None
;
14893 static PyObject
*_wrap_PyCompositeShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14894 PyObject
*resultobj
;
14895 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14898 int arg4
= (int) 0 ;
14899 int arg5
= (int) 0 ;
14900 PyObject
* obj0
= 0 ;
14901 char *kwnames
[] = {
14902 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyCompositeShape_base_OnBeginDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
14906 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14909 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
14911 wxPyEndAllowThreads(__tstate
);
14912 if (PyErr_Occurred()) SWIG_fail
;
14914 Py_INCREF(Py_None
); resultobj
= Py_None
;
14921 static PyObject
*_wrap_PyCompositeShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14922 PyObject
*resultobj
;
14923 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14926 int arg4
= (int) 0 ;
14927 int arg5
= (int) 0 ;
14928 PyObject
* obj0
= 0 ;
14929 char *kwnames
[] = {
14930 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyCompositeShape_base_OnEndDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
14934 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14937 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
14939 wxPyEndAllowThreads(__tstate
);
14940 if (PyErr_Occurred()) SWIG_fail
;
14942 Py_INCREF(Py_None
); resultobj
= Py_None
;
14949 static PyObject
*_wrap_PyCompositeShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14950 PyObject
*resultobj
;
14951 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14957 PyObject
* obj0
= 0 ;
14958 PyObject
* obj1
= 0 ;
14959 char *kwnames
[] = {
14960 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
14963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd:PyCompositeShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
14964 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14965 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14966 if (arg2
== NULL
) {
14967 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14971 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
14973 wxPyEndAllowThreads(__tstate
);
14974 if (PyErr_Occurred()) SWIG_fail
;
14976 Py_INCREF(Py_None
); resultobj
= Py_None
;
14983 static PyObject
*_wrap_PyCompositeShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14984 PyObject
*resultobj
;
14985 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14987 PyObject
* obj0
= 0 ;
14988 PyObject
* obj1
= 0 ;
14989 char *kwnames
[] = {
14990 (char *) "self",(char *) "dc", NULL
14993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
14994 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14995 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14996 if (arg2
== NULL
) {
14997 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15001 (arg1
)->base_OnDrawControlPoints(*arg2
);
15003 wxPyEndAllowThreads(__tstate
);
15004 if (PyErr_Occurred()) SWIG_fail
;
15006 Py_INCREF(Py_None
); resultobj
= Py_None
;
15013 static PyObject
*_wrap_PyCompositeShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15014 PyObject
*resultobj
;
15015 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
15017 PyObject
* obj0
= 0 ;
15018 PyObject
* obj1
= 0 ;
15019 char *kwnames
[] = {
15020 (char *) "self",(char *) "dc", NULL
15023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
15024 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15025 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15026 if (arg2
== NULL
) {
15027 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15031 (arg1
)->base_OnEraseControlPoints(*arg2
);
15033 wxPyEndAllowThreads(__tstate
);
15034 if (PyErr_Occurred()) SWIG_fail
;
15036 Py_INCREF(Py_None
); resultobj
= Py_None
;
15043 static PyObject
*_wrap_PyCompositeShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15044 PyObject
*resultobj
;
15045 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
15047 bool arg3
= (bool) TRUE
;
15048 PyObject
* obj0
= 0 ;
15049 PyObject
* obj1
= 0 ;
15050 PyObject
* obj2
= 0 ;
15051 char *kwnames
[] = {
15052 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
15055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCompositeShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15056 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15057 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15058 if (arg2
== NULL
) {
15059 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15062 arg3
= PyInt_AsLong(obj2
) ? true : false;
15063 if (PyErr_Occurred()) SWIG_fail
;
15066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15067 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
15069 wxPyEndAllowThreads(__tstate
);
15070 if (PyErr_Occurred()) SWIG_fail
;
15072 Py_INCREF(Py_None
); resultobj
= Py_None
;
15079 static PyObject
*_wrap_PyCompositeShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15080 PyObject
*resultobj
;
15081 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
15082 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
15086 int arg6
= (int) 0 ;
15087 int arg7
= (int) 0 ;
15088 PyObject
* obj0
= 0 ;
15089 PyObject
* obj1
= 0 ;
15090 PyObject
* obj2
= 0 ;
15091 char *kwnames
[] = {
15092 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd|ii:PyCompositeShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
15096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15097 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15098 arg3
= PyInt_AsLong(obj2
) ? true : false;
15099 if (PyErr_Occurred()) SWIG_fail
;
15101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15102 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
15104 wxPyEndAllowThreads(__tstate
);
15105 if (PyErr_Occurred()) SWIG_fail
;
15107 Py_INCREF(Py_None
); resultobj
= Py_None
;
15114 static PyObject
*_wrap_PyCompositeShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15115 PyObject
*resultobj
;
15116 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
15117 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
15120 int arg5
= (int) 0 ;
15121 int arg6
= (int) 0 ;
15122 PyObject
* obj0
= 0 ;
15123 PyObject
* obj1
= 0 ;
15124 char *kwnames
[] = {
15125 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyCompositeShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
15129 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15130 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15133 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
15135 wxPyEndAllowThreads(__tstate
);
15136 if (PyErr_Occurred()) SWIG_fail
;
15138 Py_INCREF(Py_None
); resultobj
= Py_None
;
15145 static PyObject
*_wrap_PyCompositeShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15146 PyObject
*resultobj
;
15147 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
15148 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
15151 int arg5
= (int) 0 ;
15152 int arg6
= (int) 0 ;
15153 PyObject
* obj0
= 0 ;
15154 PyObject
* obj1
= 0 ;
15155 char *kwnames
[] = {
15156 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyCompositeShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
15160 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15161 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15164 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
15166 wxPyEndAllowThreads(__tstate
);
15167 if (PyErr_Occurred()) SWIG_fail
;
15169 Py_INCREF(Py_None
); resultobj
= Py_None
;
15176 static PyObject
*_wrap_PyCompositeShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15177 PyObject
*resultobj
;
15178 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
15181 PyObject
* obj0
= 0 ;
15182 char *kwnames
[] = {
15183 (char *) "self",(char *) "w",(char *) "h", NULL
15186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyCompositeShape_base_OnBeginSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
15187 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15190 (arg1
)->base_OnBeginSize(arg2
,arg3
);
15192 wxPyEndAllowThreads(__tstate
);
15193 if (PyErr_Occurred()) SWIG_fail
;
15195 Py_INCREF(Py_None
); resultobj
= Py_None
;
15202 static PyObject
*_wrap_PyCompositeShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15203 PyObject
*resultobj
;
15204 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
15207 PyObject
* obj0
= 0 ;
15208 char *kwnames
[] = {
15209 (char *) "self",(char *) "w",(char *) "h", NULL
15212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyCompositeShape_base_OnEndSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
15213 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15216 (arg1
)->base_OnEndSize(arg2
,arg3
);
15218 wxPyEndAllowThreads(__tstate
);
15219 if (PyErr_Occurred()) SWIG_fail
;
15221 Py_INCREF(Py_None
); resultobj
= Py_None
;
15228 static PyObject
* PyCompositeShape_swigregister(PyObject
*self
, PyObject
*args
) {
15230 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15231 SWIG_TypeClientData(SWIGTYPE_p_wxPyCompositeShape
, obj
);
15233 return Py_BuildValue((char *)"");
15235 static PyObject
*_wrap_new_PyDividedShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15236 PyObject
*resultobj
;
15237 double arg1
= (double) 0.0 ;
15238 double arg2
= (double) 0.0 ;
15239 wxPyDividedShape
*result
;
15240 char *kwnames
[] = {
15241 (char *) "width",(char *) "height", NULL
15244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|dd:new_PyDividedShape",kwnames
,&arg1
,&arg2
)) goto fail
;
15246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15247 result
= (wxPyDividedShape
*)new wxPyDividedShape(arg1
,arg2
);
15249 wxPyEndAllowThreads(__tstate
);
15250 if (PyErr_Occurred()) SWIG_fail
;
15252 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyDividedShape
, 1);
15259 static PyObject
*_wrap_PyDividedShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15260 PyObject
*resultobj
;
15261 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15262 PyObject
*arg2
= (PyObject
*) 0 ;
15263 PyObject
*arg3
= (PyObject
*) 0 ;
15264 PyObject
* obj0
= 0 ;
15265 PyObject
* obj1
= 0 ;
15266 PyObject
* obj2
= 0 ;
15267 char *kwnames
[] = {
15268 (char *) "self",(char *) "self",(char *) "_class", NULL
15271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDividedShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15272 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15277 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15279 wxPyEndAllowThreads(__tstate
);
15280 if (PyErr_Occurred()) SWIG_fail
;
15282 Py_INCREF(Py_None
); resultobj
= Py_None
;
15289 static PyObject
*_wrap_PyDividedShape_EditRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15290 PyObject
*resultobj
;
15291 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15292 PyObject
* obj0
= 0 ;
15293 char *kwnames
[] = {
15294 (char *) "self", NULL
15297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDividedShape_EditRegions",kwnames
,&obj0
)) goto fail
;
15298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15301 (arg1
)->EditRegions();
15303 wxPyEndAllowThreads(__tstate
);
15304 if (PyErr_Occurred()) SWIG_fail
;
15306 Py_INCREF(Py_None
); resultobj
= Py_None
;
15313 static PyObject
*_wrap_PyDividedShape_SetRegionSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15314 PyObject
*resultobj
;
15315 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15316 PyObject
* obj0
= 0 ;
15317 char *kwnames
[] = {
15318 (char *) "self", NULL
15321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDividedShape_SetRegionSizes",kwnames
,&obj0
)) goto fail
;
15322 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15325 (arg1
)->SetRegionSizes();
15327 wxPyEndAllowThreads(__tstate
);
15328 if (PyErr_Occurred()) SWIG_fail
;
15330 Py_INCREF(Py_None
); resultobj
= Py_None
;
15337 static PyObject
*_wrap_PyDividedShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15338 PyObject
*resultobj
;
15339 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15340 PyObject
* obj0
= 0 ;
15341 char *kwnames
[] = {
15342 (char *) "self", NULL
15345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDividedShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
15346 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15349 (arg1
)->base_OnDelete();
15351 wxPyEndAllowThreads(__tstate
);
15352 if (PyErr_Occurred()) SWIG_fail
;
15354 Py_INCREF(Py_None
); resultobj
= Py_None
;
15361 static PyObject
*_wrap_PyDividedShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15362 PyObject
*resultobj
;
15363 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15365 PyObject
* obj0
= 0 ;
15366 PyObject
* obj1
= 0 ;
15367 char *kwnames
[] = {
15368 (char *) "self",(char *) "dc", NULL
15371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
15372 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15373 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15374 if (arg2
== NULL
) {
15375 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15379 (arg1
)->base_OnDraw(*arg2
);
15381 wxPyEndAllowThreads(__tstate
);
15382 if (PyErr_Occurred()) SWIG_fail
;
15384 Py_INCREF(Py_None
); resultobj
= Py_None
;
15391 static PyObject
*_wrap_PyDividedShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15392 PyObject
*resultobj
;
15393 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15395 PyObject
* obj0
= 0 ;
15396 PyObject
* obj1
= 0 ;
15397 char *kwnames
[] = {
15398 (char *) "self",(char *) "dc", NULL
15401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
15402 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15403 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15404 if (arg2
== NULL
) {
15405 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15409 (arg1
)->base_OnDrawContents(*arg2
);
15411 wxPyEndAllowThreads(__tstate
);
15412 if (PyErr_Occurred()) SWIG_fail
;
15414 Py_INCREF(Py_None
); resultobj
= Py_None
;
15421 static PyObject
*_wrap_PyDividedShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15422 PyObject
*resultobj
;
15423 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15425 bool arg3
= (bool) FALSE
;
15426 PyObject
* obj0
= 0 ;
15427 PyObject
* obj1
= 0 ;
15428 PyObject
* obj2
= 0 ;
15429 char *kwnames
[] = {
15430 (char *) "self",(char *) "dc",(char *) "erase", NULL
15433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDividedShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15434 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15435 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15436 if (arg2
== NULL
) {
15437 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15440 arg3
= PyInt_AsLong(obj2
) ? true : false;
15441 if (PyErr_Occurred()) SWIG_fail
;
15444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15445 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
15447 wxPyEndAllowThreads(__tstate
);
15448 if (PyErr_Occurred()) SWIG_fail
;
15450 Py_INCREF(Py_None
); resultobj
= Py_None
;
15457 static PyObject
*_wrap_PyDividedShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15458 PyObject
*resultobj
;
15459 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15461 PyObject
* obj0
= 0 ;
15462 PyObject
* obj1
= 0 ;
15463 char *kwnames
[] = {
15464 (char *) "self",(char *) "dc", NULL
15467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
15468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15469 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15470 if (arg2
== NULL
) {
15471 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15475 (arg1
)->base_OnMoveLinks(*arg2
);
15477 wxPyEndAllowThreads(__tstate
);
15478 if (PyErr_Occurred()) SWIG_fail
;
15480 Py_INCREF(Py_None
); resultobj
= Py_None
;
15487 static PyObject
*_wrap_PyDividedShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15488 PyObject
*resultobj
;
15489 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15491 PyObject
* obj0
= 0 ;
15492 PyObject
* obj1
= 0 ;
15493 char *kwnames
[] = {
15494 (char *) "self",(char *) "dc", NULL
15497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
15498 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15499 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15500 if (arg2
== NULL
) {
15501 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15505 (arg1
)->base_OnErase(*arg2
);
15507 wxPyEndAllowThreads(__tstate
);
15508 if (PyErr_Occurred()) SWIG_fail
;
15510 Py_INCREF(Py_None
); resultobj
= Py_None
;
15517 static PyObject
*_wrap_PyDividedShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15518 PyObject
*resultobj
;
15519 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15521 PyObject
* obj0
= 0 ;
15522 PyObject
* obj1
= 0 ;
15523 char *kwnames
[] = {
15524 (char *) "self",(char *) "dc", NULL
15527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
15528 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15529 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15530 if (arg2
== NULL
) {
15531 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15535 (arg1
)->base_OnEraseContents(*arg2
);
15537 wxPyEndAllowThreads(__tstate
);
15538 if (PyErr_Occurred()) SWIG_fail
;
15540 Py_INCREF(Py_None
); resultobj
= Py_None
;
15547 static PyObject
*_wrap_PyDividedShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15548 PyObject
*resultobj
;
15549 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15551 PyObject
* obj0
= 0 ;
15552 PyObject
* obj1
= 0 ;
15553 char *kwnames
[] = {
15554 (char *) "self",(char *) "dc", NULL
15557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
15558 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15559 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15560 if (arg2
== NULL
) {
15561 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15565 (arg1
)->base_OnHighlight(*arg2
);
15567 wxPyEndAllowThreads(__tstate
);
15568 if (PyErr_Occurred()) SWIG_fail
;
15570 Py_INCREF(Py_None
); resultobj
= Py_None
;
15577 static PyObject
*_wrap_PyDividedShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15578 PyObject
*resultobj
;
15579 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15582 int arg4
= (int) 0 ;
15583 int arg5
= (int) 0 ;
15584 PyObject
* obj0
= 0 ;
15585 char *kwnames
[] = {
15586 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDividedShape_base_OnLeftClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
15590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15593 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
15595 wxPyEndAllowThreads(__tstate
);
15596 if (PyErr_Occurred()) SWIG_fail
;
15598 Py_INCREF(Py_None
); resultobj
= Py_None
;
15605 static PyObject
*_wrap_PyDividedShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15606 PyObject
*resultobj
;
15607 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15610 int arg4
= (int) 0 ;
15611 int arg5
= (int) 0 ;
15612 PyObject
* obj0
= 0 ;
15613 char *kwnames
[] = {
15614 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDividedShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
15618 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15621 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
15623 wxPyEndAllowThreads(__tstate
);
15624 if (PyErr_Occurred()) SWIG_fail
;
15626 Py_INCREF(Py_None
); resultobj
= Py_None
;
15633 static PyObject
*_wrap_PyDividedShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15634 PyObject
*resultobj
;
15635 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15638 int arg4
= (int) 0 ;
15639 int arg5
= (int) 0 ;
15640 PyObject
* obj0
= 0 ;
15641 char *kwnames
[] = {
15642 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDividedShape_base_OnRightClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
15646 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15649 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
15651 wxPyEndAllowThreads(__tstate
);
15652 if (PyErr_Occurred()) SWIG_fail
;
15654 Py_INCREF(Py_None
); resultobj
= Py_None
;
15661 static PyObject
*_wrap_PyDividedShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15662 PyObject
*resultobj
;
15663 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15666 PyObject
* obj0
= 0 ;
15667 char *kwnames
[] = {
15668 (char *) "self",(char *) "x",(char *) "y", NULL
15671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyDividedShape_base_OnSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
15672 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15675 (arg1
)->base_OnSize(arg2
,arg3
);
15677 wxPyEndAllowThreads(__tstate
);
15678 if (PyErr_Occurred()) SWIG_fail
;
15680 Py_INCREF(Py_None
); resultobj
= Py_None
;
15687 static PyObject
*_wrap_PyDividedShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15688 PyObject
*resultobj
;
15689 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15695 bool arg7
= (bool) TRUE
;
15697 PyObject
* obj0
= 0 ;
15698 PyObject
* obj1
= 0 ;
15699 PyObject
* obj6
= 0 ;
15700 char *kwnames
[] = {
15701 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
15704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyDividedShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) 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 arg7
= PyInt_AsLong(obj6
) ? true : false;
15712 if (PyErr_Occurred()) SWIG_fail
;
15715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15716 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
15718 wxPyEndAllowThreads(__tstate
);
15719 if (PyErr_Occurred()) SWIG_fail
;
15721 resultobj
= PyInt_FromLong((long)result
);
15728 static PyObject
*_wrap_PyDividedShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15729 PyObject
*resultobj
;
15730 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15736 bool arg7
= (bool) TRUE
;
15737 PyObject
* obj0
= 0 ;
15738 PyObject
* obj1
= 0 ;
15739 PyObject
* obj6
= 0 ;
15740 char *kwnames
[] = {
15741 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
15744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyDividedShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
15745 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15746 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15747 if (arg2
== NULL
) {
15748 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15751 arg7
= PyInt_AsLong(obj6
) ? true : false;
15752 if (PyErr_Occurred()) SWIG_fail
;
15755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15756 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
15758 wxPyEndAllowThreads(__tstate
);
15759 if (PyErr_Occurred()) SWIG_fail
;
15761 Py_INCREF(Py_None
); resultobj
= Py_None
;
15768 static PyObject
*_wrap_PyDividedShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15769 PyObject
*resultobj
;
15770 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15774 int arg5
= (int) 0 ;
15775 int arg6
= (int) 0 ;
15776 PyObject
* obj0
= 0 ;
15777 PyObject
* obj1
= 0 ;
15778 char *kwnames
[] = {
15779 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyDividedShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
15783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15784 arg2
= PyInt_AsLong(obj1
) ? true : false;
15785 if (PyErr_Occurred()) SWIG_fail
;
15787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15788 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
15790 wxPyEndAllowThreads(__tstate
);
15791 if (PyErr_Occurred()) SWIG_fail
;
15793 Py_INCREF(Py_None
); resultobj
= Py_None
;
15800 static PyObject
*_wrap_PyDividedShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15801 PyObject
*resultobj
;
15802 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15805 int arg4
= (int) 0 ;
15806 int arg5
= (int) 0 ;
15807 PyObject
* obj0
= 0 ;
15808 char *kwnames
[] = {
15809 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDividedShape_base_OnBeginDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
15813 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15816 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
15818 wxPyEndAllowThreads(__tstate
);
15819 if (PyErr_Occurred()) SWIG_fail
;
15821 Py_INCREF(Py_None
); resultobj
= Py_None
;
15828 static PyObject
*_wrap_PyDividedShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15829 PyObject
*resultobj
;
15830 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15833 int arg4
= (int) 0 ;
15834 int arg5
= (int) 0 ;
15835 PyObject
* obj0
= 0 ;
15836 char *kwnames
[] = {
15837 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDividedShape_base_OnEndDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
15841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15844 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
15846 wxPyEndAllowThreads(__tstate
);
15847 if (PyErr_Occurred()) SWIG_fail
;
15849 Py_INCREF(Py_None
); resultobj
= Py_None
;
15856 static PyObject
*_wrap_PyDividedShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15857 PyObject
*resultobj
;
15858 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15862 int arg5
= (int) 0 ;
15863 int arg6
= (int) 0 ;
15864 PyObject
* obj0
= 0 ;
15865 PyObject
* obj1
= 0 ;
15866 char *kwnames
[] = {
15867 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyDividedShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
15871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15872 arg2
= PyInt_AsLong(obj1
) ? true : false;
15873 if (PyErr_Occurred()) SWIG_fail
;
15875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15876 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
15878 wxPyEndAllowThreads(__tstate
);
15879 if (PyErr_Occurred()) SWIG_fail
;
15881 Py_INCREF(Py_None
); resultobj
= Py_None
;
15888 static PyObject
*_wrap_PyDividedShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15889 PyObject
*resultobj
;
15890 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15893 int arg4
= (int) 0 ;
15894 int arg5
= (int) 0 ;
15895 PyObject
* obj0
= 0 ;
15896 char *kwnames
[] = {
15897 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDividedShape_base_OnBeginDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
15901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15904 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
15906 wxPyEndAllowThreads(__tstate
);
15907 if (PyErr_Occurred()) SWIG_fail
;
15909 Py_INCREF(Py_None
); resultobj
= Py_None
;
15916 static PyObject
*_wrap_PyDividedShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15917 PyObject
*resultobj
;
15918 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15921 int arg4
= (int) 0 ;
15922 int arg5
= (int) 0 ;
15923 PyObject
* obj0
= 0 ;
15924 char *kwnames
[] = {
15925 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDividedShape_base_OnEndDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
15929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15932 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
15934 wxPyEndAllowThreads(__tstate
);
15935 if (PyErr_Occurred()) SWIG_fail
;
15937 Py_INCREF(Py_None
); resultobj
= Py_None
;
15944 static PyObject
*_wrap_PyDividedShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15945 PyObject
*resultobj
;
15946 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15952 PyObject
* obj0
= 0 ;
15953 PyObject
* obj1
= 0 ;
15954 char *kwnames
[] = {
15955 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
15958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd:PyDividedShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
15959 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15960 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15961 if (arg2
== NULL
) {
15962 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15966 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
15968 wxPyEndAllowThreads(__tstate
);
15969 if (PyErr_Occurred()) SWIG_fail
;
15971 Py_INCREF(Py_None
); resultobj
= Py_None
;
15978 static PyObject
*_wrap_PyDividedShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15979 PyObject
*resultobj
;
15980 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15982 PyObject
* obj0
= 0 ;
15983 PyObject
* obj1
= 0 ;
15984 char *kwnames
[] = {
15985 (char *) "self",(char *) "dc", NULL
15988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
15989 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15990 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15991 if (arg2
== NULL
) {
15992 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15996 (arg1
)->base_OnDrawControlPoints(*arg2
);
15998 wxPyEndAllowThreads(__tstate
);
15999 if (PyErr_Occurred()) SWIG_fail
;
16001 Py_INCREF(Py_None
); resultobj
= Py_None
;
16008 static PyObject
*_wrap_PyDividedShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16009 PyObject
*resultobj
;
16010 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
16012 PyObject
* obj0
= 0 ;
16013 PyObject
* obj1
= 0 ;
16014 char *kwnames
[] = {
16015 (char *) "self",(char *) "dc", NULL
16018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
16019 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16020 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16021 if (arg2
== NULL
) {
16022 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16026 (arg1
)->base_OnEraseControlPoints(*arg2
);
16028 wxPyEndAllowThreads(__tstate
);
16029 if (PyErr_Occurred()) SWIG_fail
;
16031 Py_INCREF(Py_None
); resultobj
= Py_None
;
16038 static PyObject
*_wrap_PyDividedShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16039 PyObject
*resultobj
;
16040 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
16042 bool arg3
= (bool) TRUE
;
16043 PyObject
* obj0
= 0 ;
16044 PyObject
* obj1
= 0 ;
16045 PyObject
* obj2
= 0 ;
16046 char *kwnames
[] = {
16047 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
16050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDividedShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16052 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16053 if (arg2
== NULL
) {
16054 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16057 arg3
= PyInt_AsLong(obj2
) ? true : false;
16058 if (PyErr_Occurred()) SWIG_fail
;
16061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16062 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
16064 wxPyEndAllowThreads(__tstate
);
16065 if (PyErr_Occurred()) SWIG_fail
;
16067 Py_INCREF(Py_None
); resultobj
= Py_None
;
16074 static PyObject
*_wrap_PyDividedShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16075 PyObject
*resultobj
;
16076 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
16077 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
16081 int arg6
= (int) 0 ;
16082 int arg7
= (int) 0 ;
16083 PyObject
* obj0
= 0 ;
16084 PyObject
* obj1
= 0 ;
16085 PyObject
* obj2
= 0 ;
16086 char *kwnames
[] = {
16087 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd|ii:PyDividedShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
16091 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16092 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16093 arg3
= PyInt_AsLong(obj2
) ? true : false;
16094 if (PyErr_Occurred()) SWIG_fail
;
16096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16097 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
16099 wxPyEndAllowThreads(__tstate
);
16100 if (PyErr_Occurred()) SWIG_fail
;
16102 Py_INCREF(Py_None
); resultobj
= Py_None
;
16109 static PyObject
*_wrap_PyDividedShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16110 PyObject
*resultobj
;
16111 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
16112 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
16115 int arg5
= (int) 0 ;
16116 int arg6
= (int) 0 ;
16117 PyObject
* obj0
= 0 ;
16118 PyObject
* obj1
= 0 ;
16119 char *kwnames
[] = {
16120 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyDividedShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
16124 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16125 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16128 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
16130 wxPyEndAllowThreads(__tstate
);
16131 if (PyErr_Occurred()) SWIG_fail
;
16133 Py_INCREF(Py_None
); resultobj
= Py_None
;
16140 static PyObject
*_wrap_PyDividedShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16141 PyObject
*resultobj
;
16142 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
16143 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
16146 int arg5
= (int) 0 ;
16147 int arg6
= (int) 0 ;
16148 PyObject
* obj0
= 0 ;
16149 PyObject
* obj1
= 0 ;
16150 char *kwnames
[] = {
16151 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyDividedShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
16155 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16156 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16159 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
16161 wxPyEndAllowThreads(__tstate
);
16162 if (PyErr_Occurred()) SWIG_fail
;
16164 Py_INCREF(Py_None
); resultobj
= Py_None
;
16171 static PyObject
*_wrap_PyDividedShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16172 PyObject
*resultobj
;
16173 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
16176 PyObject
* obj0
= 0 ;
16177 char *kwnames
[] = {
16178 (char *) "self",(char *) "w",(char *) "h", NULL
16181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyDividedShape_base_OnBeginSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
16182 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16185 (arg1
)->base_OnBeginSize(arg2
,arg3
);
16187 wxPyEndAllowThreads(__tstate
);
16188 if (PyErr_Occurred()) SWIG_fail
;
16190 Py_INCREF(Py_None
); resultobj
= Py_None
;
16197 static PyObject
*_wrap_PyDividedShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16198 PyObject
*resultobj
;
16199 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
16202 PyObject
* obj0
= 0 ;
16203 char *kwnames
[] = {
16204 (char *) "self",(char *) "w",(char *) "h", NULL
16207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyDividedShape_base_OnEndSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
16208 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16211 (arg1
)->base_OnEndSize(arg2
,arg3
);
16213 wxPyEndAllowThreads(__tstate
);
16214 if (PyErr_Occurred()) SWIG_fail
;
16216 Py_INCREF(Py_None
); resultobj
= Py_None
;
16223 static PyObject
* PyDividedShape_swigregister(PyObject
*self
, PyObject
*args
) {
16225 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16226 SWIG_TypeClientData(SWIGTYPE_p_wxPyDividedShape
, obj
);
16228 return Py_BuildValue((char *)"");
16230 static PyObject
*_wrap_new_PyDivisionShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16231 PyObject
*resultobj
;
16232 wxPyDivisionShape
*result
;
16233 char *kwnames
[] = {
16237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyDivisionShape",kwnames
)) goto fail
;
16239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16240 result
= (wxPyDivisionShape
*)new wxPyDivisionShape();
16242 wxPyEndAllowThreads(__tstate
);
16243 if (PyErr_Occurred()) SWIG_fail
;
16246 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
16254 static PyObject
*_wrap_PyDivisionShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16255 PyObject
*resultobj
;
16256 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16257 PyObject
*arg2
= (PyObject
*) 0 ;
16258 PyObject
*arg3
= (PyObject
*) 0 ;
16259 PyObject
* obj0
= 0 ;
16260 PyObject
* obj1
= 0 ;
16261 PyObject
* obj2
= 0 ;
16262 char *kwnames
[] = {
16263 (char *) "self",(char *) "self",(char *) "_class", NULL
16266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16272 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16274 wxPyEndAllowThreads(__tstate
);
16275 if (PyErr_Occurred()) SWIG_fail
;
16277 Py_INCREF(Py_None
); resultobj
= Py_None
;
16284 static PyObject
*_wrap_PyDivisionShape_AdjustBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16285 PyObject
*resultobj
;
16286 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16289 PyObject
* obj0
= 0 ;
16290 PyObject
* obj2
= 0 ;
16291 char *kwnames
[] = {
16292 (char *) "self",(char *) "bottom",(char *) "test", NULL
16295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OdO:PyDivisionShape_AdjustBottom",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
16296 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16297 arg3
= PyInt_AsLong(obj2
) ? true : false;
16298 if (PyErr_Occurred()) SWIG_fail
;
16300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16301 (arg1
)->AdjustBottom(arg2
,arg3
);
16303 wxPyEndAllowThreads(__tstate
);
16304 if (PyErr_Occurred()) SWIG_fail
;
16306 Py_INCREF(Py_None
); resultobj
= Py_None
;
16313 static PyObject
*_wrap_PyDivisionShape_AdjustLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16314 PyObject
*resultobj
;
16315 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16318 PyObject
* obj0
= 0 ;
16319 PyObject
* obj2
= 0 ;
16320 char *kwnames
[] = {
16321 (char *) "self",(char *) "left",(char *) "test", NULL
16324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OdO:PyDivisionShape_AdjustLeft",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
16325 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16326 arg3
= PyInt_AsLong(obj2
) ? true : false;
16327 if (PyErr_Occurred()) SWIG_fail
;
16329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16330 (arg1
)->AdjustLeft(arg2
,arg3
);
16332 wxPyEndAllowThreads(__tstate
);
16333 if (PyErr_Occurred()) SWIG_fail
;
16335 Py_INCREF(Py_None
); resultobj
= Py_None
;
16342 static PyObject
*_wrap_PyDivisionShape_AdjustRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16343 PyObject
*resultobj
;
16344 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16347 PyObject
* obj0
= 0 ;
16348 PyObject
* obj2
= 0 ;
16349 char *kwnames
[] = {
16350 (char *) "self",(char *) "right",(char *) "test", NULL
16353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OdO:PyDivisionShape_AdjustRight",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
16354 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16355 arg3
= PyInt_AsLong(obj2
) ? true : false;
16356 if (PyErr_Occurred()) SWIG_fail
;
16358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16359 (arg1
)->AdjustRight(arg2
,arg3
);
16361 wxPyEndAllowThreads(__tstate
);
16362 if (PyErr_Occurred()) SWIG_fail
;
16364 Py_INCREF(Py_None
); resultobj
= Py_None
;
16371 static PyObject
*_wrap_PyDivisionShape_AdjustTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16372 PyObject
*resultobj
;
16373 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16376 PyObject
* obj0
= 0 ;
16377 PyObject
* obj2
= 0 ;
16378 char *kwnames
[] = {
16379 (char *) "self",(char *) "top",(char *) "test", NULL
16382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OdO:PyDivisionShape_AdjustTop",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
16383 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16384 arg3
= PyInt_AsLong(obj2
) ? true : false;
16385 if (PyErr_Occurred()) SWIG_fail
;
16387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16388 (arg1
)->AdjustTop(arg2
,arg3
);
16390 wxPyEndAllowThreads(__tstate
);
16391 if (PyErr_Occurred()) SWIG_fail
;
16393 Py_INCREF(Py_None
); resultobj
= Py_None
;
16400 static PyObject
*_wrap_PyDivisionShape_Divide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16401 PyObject
*resultobj
;
16402 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16404 PyObject
* obj0
= 0 ;
16405 char *kwnames
[] = {
16406 (char *) "self",(char *) "direction", NULL
16409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyDivisionShape_Divide",kwnames
,&obj0
,&arg2
)) goto fail
;
16410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16413 (arg1
)->Divide(arg2
);
16415 wxPyEndAllowThreads(__tstate
);
16416 if (PyErr_Occurred()) SWIG_fail
;
16418 Py_INCREF(Py_None
); resultobj
= Py_None
;
16425 static PyObject
*_wrap_PyDivisionShape_EditEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16426 PyObject
*resultobj
;
16427 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16429 PyObject
* obj0
= 0 ;
16430 char *kwnames
[] = {
16431 (char *) "self",(char *) "side", NULL
16434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyDivisionShape_EditEdge",kwnames
,&obj0
,&arg2
)) goto fail
;
16435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16438 (arg1
)->EditEdge(arg2
);
16440 wxPyEndAllowThreads(__tstate
);
16441 if (PyErr_Occurred()) SWIG_fail
;
16443 Py_INCREF(Py_None
); resultobj
= Py_None
;
16450 static PyObject
*_wrap_PyDivisionShape_GetBottomSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16451 PyObject
*resultobj
;
16452 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16453 wxPyDivisionShape
*result
;
16454 PyObject
* obj0
= 0 ;
16455 char *kwnames
[] = {
16456 (char *) "self", NULL
16459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetBottomSide",kwnames
,&obj0
)) goto fail
;
16460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16463 result
= (wxPyDivisionShape
*)(arg1
)->GetBottomSide();
16465 wxPyEndAllowThreads(__tstate
);
16466 if (PyErr_Occurred()) SWIG_fail
;
16469 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
16477 static PyObject
*_wrap_PyDivisionShape_GetHandleSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16478 PyObject
*resultobj
;
16479 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16481 PyObject
* obj0
= 0 ;
16482 char *kwnames
[] = {
16483 (char *) "self", NULL
16486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetHandleSide",kwnames
,&obj0
)) goto fail
;
16487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16490 result
= (int)(arg1
)->GetHandleSide();
16492 wxPyEndAllowThreads(__tstate
);
16493 if (PyErr_Occurred()) SWIG_fail
;
16495 resultobj
= PyInt_FromLong((long)result
);
16502 static PyObject
*_wrap_PyDivisionShape_GetLeftSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16503 PyObject
*resultobj
;
16504 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16505 wxPyDivisionShape
*result
;
16506 PyObject
* obj0
= 0 ;
16507 char *kwnames
[] = {
16508 (char *) "self", NULL
16511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetLeftSide",kwnames
,&obj0
)) goto fail
;
16512 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16515 result
= (wxPyDivisionShape
*)(arg1
)->GetLeftSide();
16517 wxPyEndAllowThreads(__tstate
);
16518 if (PyErr_Occurred()) SWIG_fail
;
16521 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
16529 static PyObject
*_wrap_PyDivisionShape_GetLeftSideColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16530 PyObject
*resultobj
;
16531 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16533 PyObject
* obj0
= 0 ;
16534 char *kwnames
[] = {
16535 (char *) "self", NULL
16538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetLeftSideColour",kwnames
,&obj0
)) goto fail
;
16539 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16542 result
= (arg1
)->GetLeftSideColour();
16544 wxPyEndAllowThreads(__tstate
);
16545 if (PyErr_Occurred()) SWIG_fail
;
16549 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16551 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16560 static PyObject
*_wrap_PyDivisionShape_GetLeftSidePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16561 PyObject
*resultobj
;
16562 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16564 PyObject
* obj0
= 0 ;
16565 char *kwnames
[] = {
16566 (char *) "self", NULL
16569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetLeftSidePen",kwnames
,&obj0
)) goto fail
;
16570 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16573 result
= (wxPen
*)(arg1
)->GetLeftSidePen();
16575 wxPyEndAllowThreads(__tstate
);
16576 if (PyErr_Occurred()) SWIG_fail
;
16578 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPen
, 0);
16585 static PyObject
*_wrap_PyDivisionShape_GetRightSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16586 PyObject
*resultobj
;
16587 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16588 wxPyDivisionShape
*result
;
16589 PyObject
* obj0
= 0 ;
16590 char *kwnames
[] = {
16591 (char *) "self", NULL
16594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetRightSide",kwnames
,&obj0
)) goto fail
;
16595 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16598 result
= (wxPyDivisionShape
*)(arg1
)->GetRightSide();
16600 wxPyEndAllowThreads(__tstate
);
16601 if (PyErr_Occurred()) SWIG_fail
;
16604 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
16612 static PyObject
*_wrap_PyDivisionShape_GetTopSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16613 PyObject
*resultobj
;
16614 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16615 wxPyDivisionShape
*result
;
16616 PyObject
* obj0
= 0 ;
16617 char *kwnames
[] = {
16618 (char *) "self", NULL
16621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetTopSide",kwnames
,&obj0
)) goto fail
;
16622 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16625 result
= (wxPyDivisionShape
*)(arg1
)->GetTopSide();
16627 wxPyEndAllowThreads(__tstate
);
16628 if (PyErr_Occurred()) SWIG_fail
;
16631 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
16639 static PyObject
*_wrap_PyDivisionShape_GetTopSidePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16640 PyObject
*resultobj
;
16641 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16643 PyObject
* obj0
= 0 ;
16644 char *kwnames
[] = {
16645 (char *) "self", NULL
16648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetTopSidePen",kwnames
,&obj0
)) goto fail
;
16649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16652 result
= (wxPen
*)(arg1
)->GetTopSidePen();
16654 wxPyEndAllowThreads(__tstate
);
16655 if (PyErr_Occurred()) SWIG_fail
;
16657 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPen
, 0);
16664 static PyObject
*_wrap_PyDivisionShape_ResizeAdjoining(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16665 PyObject
*resultobj
;
16666 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16670 PyObject
* obj0
= 0 ;
16671 PyObject
* obj3
= 0 ;
16672 char *kwnames
[] = {
16673 (char *) "self",(char *) "side",(char *) "newPos",(char *) "test", NULL
16676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OidO:PyDivisionShape_ResizeAdjoining",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
16677 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16678 arg4
= PyInt_AsLong(obj3
) ? true : false;
16679 if (PyErr_Occurred()) SWIG_fail
;
16681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16682 (arg1
)->ResizeAdjoining(arg2
,arg3
,arg4
);
16684 wxPyEndAllowThreads(__tstate
);
16685 if (PyErr_Occurred()) SWIG_fail
;
16687 Py_INCREF(Py_None
); resultobj
= Py_None
;
16694 static PyObject
*_wrap_PyDivisionShape_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16695 PyObject
*resultobj
;
16696 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16699 PyObject
* obj0
= 0 ;
16700 char *kwnames
[] = {
16701 (char *) "self",(char *) "x",(char *) "y", NULL
16704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyDivisionShape_PopupMenu",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
16705 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16708 (arg1
)->PopupMenu(arg2
,arg3
);
16710 wxPyEndAllowThreads(__tstate
);
16711 if (PyErr_Occurred()) SWIG_fail
;
16713 Py_INCREF(Py_None
); resultobj
= Py_None
;
16720 static PyObject
*_wrap_PyDivisionShape_SetBottomSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16721 PyObject
*resultobj
;
16722 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16723 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
16724 PyObject
* obj0
= 0 ;
16725 PyObject
* obj1
= 0 ;
16726 char *kwnames
[] = {
16727 (char *) "self",(char *) "shape", NULL
16730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetBottomSide",kwnames
,&obj0
,&obj1
)) goto fail
;
16731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16732 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16735 (arg1
)->SetBottomSide(arg2
);
16737 wxPyEndAllowThreads(__tstate
);
16738 if (PyErr_Occurred()) SWIG_fail
;
16740 Py_INCREF(Py_None
); resultobj
= Py_None
;
16747 static PyObject
*_wrap_PyDivisionShape_SetHandleSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16748 PyObject
*resultobj
;
16749 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16751 PyObject
* obj0
= 0 ;
16752 char *kwnames
[] = {
16753 (char *) "self",(char *) "side", NULL
16756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyDivisionShape_SetHandleSide",kwnames
,&obj0
,&arg2
)) goto fail
;
16757 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16760 (arg1
)->SetHandleSide(arg2
);
16762 wxPyEndAllowThreads(__tstate
);
16763 if (PyErr_Occurred()) SWIG_fail
;
16765 Py_INCREF(Py_None
); resultobj
= Py_None
;
16772 static PyObject
*_wrap_PyDivisionShape_SetLeftSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16773 PyObject
*resultobj
;
16774 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16775 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
16776 PyObject
* obj0
= 0 ;
16777 PyObject
* obj1
= 0 ;
16778 char *kwnames
[] = {
16779 (char *) "self",(char *) "shape", NULL
16782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetLeftSide",kwnames
,&obj0
,&obj1
)) goto fail
;
16783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16784 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16787 (arg1
)->SetLeftSide(arg2
);
16789 wxPyEndAllowThreads(__tstate
);
16790 if (PyErr_Occurred()) SWIG_fail
;
16792 Py_INCREF(Py_None
); resultobj
= Py_None
;
16799 static PyObject
*_wrap_PyDivisionShape_SetLeftSideColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16800 PyObject
*resultobj
;
16801 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16802 wxString
*arg2
= 0 ;
16803 bool temp2
= false ;
16804 PyObject
* obj0
= 0 ;
16805 PyObject
* obj1
= 0 ;
16806 char *kwnames
[] = {
16807 (char *) "self",(char *) "colour", NULL
16810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetLeftSideColour",kwnames
,&obj0
,&obj1
)) goto fail
;
16811 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16813 arg2
= wxString_in_helper(obj1
);
16814 if (arg2
== NULL
) SWIG_fail
;
16818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16819 (arg1
)->SetLeftSideColour((wxString
const &)*arg2
);
16821 wxPyEndAllowThreads(__tstate
);
16822 if (PyErr_Occurred()) SWIG_fail
;
16824 Py_INCREF(Py_None
); resultobj
= Py_None
;
16839 static PyObject
*_wrap_PyDivisionShape_SetLeftSidePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16840 PyObject
*resultobj
;
16841 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16842 wxPen
*arg2
= (wxPen
*) 0 ;
16843 PyObject
* obj0
= 0 ;
16844 PyObject
* obj1
= 0 ;
16845 char *kwnames
[] = {
16846 (char *) "self",(char *) "pen", NULL
16849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetLeftSidePen",kwnames
,&obj0
,&obj1
)) goto fail
;
16850 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16854 if (obj1
== Py_None
) {
16857 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
16858 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
16863 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
16870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16871 (arg1
)->SetLeftSidePen(arg2
);
16873 wxPyEndAllowThreads(__tstate
);
16874 if (PyErr_Occurred()) SWIG_fail
;
16876 Py_INCREF(Py_None
); resultobj
= Py_None
;
16883 static PyObject
*_wrap_PyDivisionShape_SetRightSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16884 PyObject
*resultobj
;
16885 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16886 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
16887 PyObject
* obj0
= 0 ;
16888 PyObject
* obj1
= 0 ;
16889 char *kwnames
[] = {
16890 (char *) "self",(char *) "shape", NULL
16893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetRightSide",kwnames
,&obj0
,&obj1
)) goto fail
;
16894 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16895 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16898 (arg1
)->SetRightSide(arg2
);
16900 wxPyEndAllowThreads(__tstate
);
16901 if (PyErr_Occurred()) SWIG_fail
;
16903 Py_INCREF(Py_None
); resultobj
= Py_None
;
16910 static PyObject
*_wrap_PyDivisionShape_SetTopSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16911 PyObject
*resultobj
;
16912 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16913 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
16914 PyObject
* obj0
= 0 ;
16915 PyObject
* obj1
= 0 ;
16916 char *kwnames
[] = {
16917 (char *) "self",(char *) "shape", NULL
16920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetTopSide",kwnames
,&obj0
,&obj1
)) goto fail
;
16921 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16922 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16925 (arg1
)->SetTopSide(arg2
);
16927 wxPyEndAllowThreads(__tstate
);
16928 if (PyErr_Occurred()) SWIG_fail
;
16930 Py_INCREF(Py_None
); resultobj
= Py_None
;
16937 static PyObject
*_wrap_PyDivisionShape_SetTopSideColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16938 PyObject
*resultobj
;
16939 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16940 wxString
*arg2
= 0 ;
16941 bool temp2
= false ;
16942 PyObject
* obj0
= 0 ;
16943 PyObject
* obj1
= 0 ;
16944 char *kwnames
[] = {
16945 (char *) "self",(char *) "colour", NULL
16948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetTopSideColour",kwnames
,&obj0
,&obj1
)) goto fail
;
16949 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16951 arg2
= wxString_in_helper(obj1
);
16952 if (arg2
== NULL
) SWIG_fail
;
16956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16957 (arg1
)->SetTopSideColour((wxString
const &)*arg2
);
16959 wxPyEndAllowThreads(__tstate
);
16960 if (PyErr_Occurred()) SWIG_fail
;
16962 Py_INCREF(Py_None
); resultobj
= Py_None
;
16977 static PyObject
*_wrap_PyDivisionShape_SetTopSidePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16978 PyObject
*resultobj
;
16979 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16980 wxPen
*arg2
= (wxPen
*) 0 ;
16981 PyObject
* obj0
= 0 ;
16982 PyObject
* obj1
= 0 ;
16983 char *kwnames
[] = {
16984 (char *) "self",(char *) "pen", NULL
16987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetTopSidePen",kwnames
,&obj0
,&obj1
)) goto fail
;
16988 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16992 if (obj1
== Py_None
) {
16995 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
16996 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
17001 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
17008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17009 (arg1
)->SetTopSidePen(arg2
);
17011 wxPyEndAllowThreads(__tstate
);
17012 if (PyErr_Occurred()) SWIG_fail
;
17014 Py_INCREF(Py_None
); resultobj
= Py_None
;
17021 static PyObject
*_wrap_PyDivisionShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17022 PyObject
*resultobj
;
17023 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17024 PyObject
* obj0
= 0 ;
17025 char *kwnames
[] = {
17026 (char *) "self", NULL
17029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
17030 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17033 (arg1
)->base_OnDelete();
17035 wxPyEndAllowThreads(__tstate
);
17036 if (PyErr_Occurred()) SWIG_fail
;
17038 Py_INCREF(Py_None
); resultobj
= Py_None
;
17045 static PyObject
*_wrap_PyDivisionShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17046 PyObject
*resultobj
;
17047 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17049 PyObject
* obj0
= 0 ;
17050 PyObject
* obj1
= 0 ;
17051 char *kwnames
[] = {
17052 (char *) "self",(char *) "dc", NULL
17055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
17056 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17057 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17058 if (arg2
== NULL
) {
17059 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17063 (arg1
)->base_OnDraw(*arg2
);
17065 wxPyEndAllowThreads(__tstate
);
17066 if (PyErr_Occurred()) SWIG_fail
;
17068 Py_INCREF(Py_None
); resultobj
= Py_None
;
17075 static PyObject
*_wrap_PyDivisionShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17076 PyObject
*resultobj
;
17077 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17079 PyObject
* obj0
= 0 ;
17080 PyObject
* obj1
= 0 ;
17081 char *kwnames
[] = {
17082 (char *) "self",(char *) "dc", NULL
17085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
17086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17087 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17088 if (arg2
== NULL
) {
17089 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17093 (arg1
)->base_OnDrawContents(*arg2
);
17095 wxPyEndAllowThreads(__tstate
);
17096 if (PyErr_Occurred()) SWIG_fail
;
17098 Py_INCREF(Py_None
); resultobj
= Py_None
;
17105 static PyObject
*_wrap_PyDivisionShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17106 PyObject
*resultobj
;
17107 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17109 bool arg3
= (bool) FALSE
;
17110 PyObject
* obj0
= 0 ;
17111 PyObject
* obj1
= 0 ;
17112 PyObject
* obj2
= 0 ;
17113 char *kwnames
[] = {
17114 (char *) "self",(char *) "dc",(char *) "erase", NULL
17117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDivisionShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17118 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17119 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17120 if (arg2
== NULL
) {
17121 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17124 arg3
= PyInt_AsLong(obj2
) ? true : false;
17125 if (PyErr_Occurred()) SWIG_fail
;
17128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17129 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
17131 wxPyEndAllowThreads(__tstate
);
17132 if (PyErr_Occurred()) SWIG_fail
;
17134 Py_INCREF(Py_None
); resultobj
= Py_None
;
17141 static PyObject
*_wrap_PyDivisionShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17142 PyObject
*resultobj
;
17143 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17145 PyObject
* obj0
= 0 ;
17146 PyObject
* obj1
= 0 ;
17147 char *kwnames
[] = {
17148 (char *) "self",(char *) "dc", NULL
17151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
17152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17153 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17154 if (arg2
== NULL
) {
17155 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17159 (arg1
)->base_OnMoveLinks(*arg2
);
17161 wxPyEndAllowThreads(__tstate
);
17162 if (PyErr_Occurred()) SWIG_fail
;
17164 Py_INCREF(Py_None
); resultobj
= Py_None
;
17171 static PyObject
*_wrap_PyDivisionShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17172 PyObject
*resultobj
;
17173 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17175 PyObject
* obj0
= 0 ;
17176 PyObject
* obj1
= 0 ;
17177 char *kwnames
[] = {
17178 (char *) "self",(char *) "dc", NULL
17181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
17182 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17183 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17184 if (arg2
== NULL
) {
17185 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17189 (arg1
)->base_OnErase(*arg2
);
17191 wxPyEndAllowThreads(__tstate
);
17192 if (PyErr_Occurred()) SWIG_fail
;
17194 Py_INCREF(Py_None
); resultobj
= Py_None
;
17201 static PyObject
*_wrap_PyDivisionShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17202 PyObject
*resultobj
;
17203 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17205 PyObject
* obj0
= 0 ;
17206 PyObject
* obj1
= 0 ;
17207 char *kwnames
[] = {
17208 (char *) "self",(char *) "dc", NULL
17211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
17212 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17213 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17214 if (arg2
== NULL
) {
17215 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17219 (arg1
)->base_OnEraseContents(*arg2
);
17221 wxPyEndAllowThreads(__tstate
);
17222 if (PyErr_Occurred()) SWIG_fail
;
17224 Py_INCREF(Py_None
); resultobj
= Py_None
;
17231 static PyObject
*_wrap_PyDivisionShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17232 PyObject
*resultobj
;
17233 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17235 PyObject
* obj0
= 0 ;
17236 PyObject
* obj1
= 0 ;
17237 char *kwnames
[] = {
17238 (char *) "self",(char *) "dc", NULL
17241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
17242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17243 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17244 if (arg2
== NULL
) {
17245 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17249 (arg1
)->base_OnHighlight(*arg2
);
17251 wxPyEndAllowThreads(__tstate
);
17252 if (PyErr_Occurred()) SWIG_fail
;
17254 Py_INCREF(Py_None
); resultobj
= Py_None
;
17261 static PyObject
*_wrap_PyDivisionShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17262 PyObject
*resultobj
;
17263 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17266 int arg4
= (int) 0 ;
17267 int arg5
= (int) 0 ;
17268 PyObject
* obj0
= 0 ;
17269 char *kwnames
[] = {
17270 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDivisionShape_base_OnLeftClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
17274 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17277 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
17279 wxPyEndAllowThreads(__tstate
);
17280 if (PyErr_Occurred()) SWIG_fail
;
17282 Py_INCREF(Py_None
); resultobj
= Py_None
;
17289 static PyObject
*_wrap_PyDivisionShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17290 PyObject
*resultobj
;
17291 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17294 int arg4
= (int) 0 ;
17295 int arg5
= (int) 0 ;
17296 PyObject
* obj0
= 0 ;
17297 char *kwnames
[] = {
17298 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDivisionShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
17302 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17305 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
17307 wxPyEndAllowThreads(__tstate
);
17308 if (PyErr_Occurred()) SWIG_fail
;
17310 Py_INCREF(Py_None
); resultobj
= Py_None
;
17317 static PyObject
*_wrap_PyDivisionShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17318 PyObject
*resultobj
;
17319 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17322 int arg4
= (int) 0 ;
17323 int arg5
= (int) 0 ;
17324 PyObject
* obj0
= 0 ;
17325 char *kwnames
[] = {
17326 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDivisionShape_base_OnRightClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
17330 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17333 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
17335 wxPyEndAllowThreads(__tstate
);
17336 if (PyErr_Occurred()) SWIG_fail
;
17338 Py_INCREF(Py_None
); resultobj
= Py_None
;
17345 static PyObject
*_wrap_PyDivisionShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17346 PyObject
*resultobj
;
17347 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17350 PyObject
* obj0
= 0 ;
17351 char *kwnames
[] = {
17352 (char *) "self",(char *) "x",(char *) "y", NULL
17355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyDivisionShape_base_OnSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
17356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17359 (arg1
)->base_OnSize(arg2
,arg3
);
17361 wxPyEndAllowThreads(__tstate
);
17362 if (PyErr_Occurred()) SWIG_fail
;
17364 Py_INCREF(Py_None
); resultobj
= Py_None
;
17371 static PyObject
*_wrap_PyDivisionShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17372 PyObject
*resultobj
;
17373 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17379 bool arg7
= (bool) TRUE
;
17381 PyObject
* obj0
= 0 ;
17382 PyObject
* obj1
= 0 ;
17383 PyObject
* obj6
= 0 ;
17384 char *kwnames
[] = {
17385 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
17388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyDivisionShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) 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 arg7
= PyInt_AsLong(obj6
) ? true : false;
17396 if (PyErr_Occurred()) SWIG_fail
;
17399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17400 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17402 wxPyEndAllowThreads(__tstate
);
17403 if (PyErr_Occurred()) SWIG_fail
;
17405 resultobj
= PyInt_FromLong((long)result
);
17412 static PyObject
*_wrap_PyDivisionShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17413 PyObject
*resultobj
;
17414 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17420 bool arg7
= (bool) TRUE
;
17421 PyObject
* obj0
= 0 ;
17422 PyObject
* obj1
= 0 ;
17423 PyObject
* obj6
= 0 ;
17424 char *kwnames
[] = {
17425 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
17428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyDivisionShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
17429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17430 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17431 if (arg2
== NULL
) {
17432 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17435 arg7
= PyInt_AsLong(obj6
) ? true : false;
17436 if (PyErr_Occurred()) SWIG_fail
;
17439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17440 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17442 wxPyEndAllowThreads(__tstate
);
17443 if (PyErr_Occurred()) SWIG_fail
;
17445 Py_INCREF(Py_None
); resultobj
= Py_None
;
17452 static PyObject
*_wrap_PyDivisionShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17453 PyObject
*resultobj
;
17454 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17458 int arg5
= (int) 0 ;
17459 int arg6
= (int) 0 ;
17460 PyObject
* obj0
= 0 ;
17461 PyObject
* obj1
= 0 ;
17462 char *kwnames
[] = {
17463 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyDivisionShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
17467 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17468 arg2
= PyInt_AsLong(obj1
) ? true : false;
17469 if (PyErr_Occurred()) SWIG_fail
;
17471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17472 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
17474 wxPyEndAllowThreads(__tstate
);
17475 if (PyErr_Occurred()) SWIG_fail
;
17477 Py_INCREF(Py_None
); resultobj
= Py_None
;
17484 static PyObject
*_wrap_PyDivisionShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17485 PyObject
*resultobj
;
17486 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17489 int arg4
= (int) 0 ;
17490 int arg5
= (int) 0 ;
17491 PyObject
* obj0
= 0 ;
17492 char *kwnames
[] = {
17493 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDivisionShape_base_OnBeginDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
17497 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17500 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
17502 wxPyEndAllowThreads(__tstate
);
17503 if (PyErr_Occurred()) SWIG_fail
;
17505 Py_INCREF(Py_None
); resultobj
= Py_None
;
17512 static PyObject
*_wrap_PyDivisionShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17513 PyObject
*resultobj
;
17514 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17517 int arg4
= (int) 0 ;
17518 int arg5
= (int) 0 ;
17519 PyObject
* obj0
= 0 ;
17520 char *kwnames
[] = {
17521 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDivisionShape_base_OnEndDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
17525 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17528 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
17530 wxPyEndAllowThreads(__tstate
);
17531 if (PyErr_Occurred()) SWIG_fail
;
17533 Py_INCREF(Py_None
); resultobj
= Py_None
;
17540 static PyObject
*_wrap_PyDivisionShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17541 PyObject
*resultobj
;
17542 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17546 int arg5
= (int) 0 ;
17547 int arg6
= (int) 0 ;
17548 PyObject
* obj0
= 0 ;
17549 PyObject
* obj1
= 0 ;
17550 char *kwnames
[] = {
17551 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyDivisionShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
17555 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17556 arg2
= PyInt_AsLong(obj1
) ? true : false;
17557 if (PyErr_Occurred()) SWIG_fail
;
17559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17560 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
17562 wxPyEndAllowThreads(__tstate
);
17563 if (PyErr_Occurred()) SWIG_fail
;
17565 Py_INCREF(Py_None
); resultobj
= Py_None
;
17572 static PyObject
*_wrap_PyDivisionShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17573 PyObject
*resultobj
;
17574 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17577 int arg4
= (int) 0 ;
17578 int arg5
= (int) 0 ;
17579 PyObject
* obj0
= 0 ;
17580 char *kwnames
[] = {
17581 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDivisionShape_base_OnBeginDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
17585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17588 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
17590 wxPyEndAllowThreads(__tstate
);
17591 if (PyErr_Occurred()) SWIG_fail
;
17593 Py_INCREF(Py_None
); resultobj
= Py_None
;
17600 static PyObject
*_wrap_PyDivisionShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17601 PyObject
*resultobj
;
17602 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17605 int arg4
= (int) 0 ;
17606 int arg5
= (int) 0 ;
17607 PyObject
* obj0
= 0 ;
17608 char *kwnames
[] = {
17609 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDivisionShape_base_OnEndDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
17613 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17616 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
17618 wxPyEndAllowThreads(__tstate
);
17619 if (PyErr_Occurred()) SWIG_fail
;
17621 Py_INCREF(Py_None
); resultobj
= Py_None
;
17628 static PyObject
*_wrap_PyDivisionShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17629 PyObject
*resultobj
;
17630 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17636 PyObject
* obj0
= 0 ;
17637 PyObject
* obj1
= 0 ;
17638 char *kwnames
[] = {
17639 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
17642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd:PyDivisionShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
17643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17644 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17645 if (arg2
== NULL
) {
17646 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17650 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
17652 wxPyEndAllowThreads(__tstate
);
17653 if (PyErr_Occurred()) SWIG_fail
;
17655 Py_INCREF(Py_None
); resultobj
= Py_None
;
17662 static PyObject
*_wrap_PyDivisionShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17663 PyObject
*resultobj
;
17664 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17666 PyObject
* obj0
= 0 ;
17667 PyObject
* obj1
= 0 ;
17668 char *kwnames
[] = {
17669 (char *) "self",(char *) "dc", NULL
17672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
17673 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17674 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17675 if (arg2
== NULL
) {
17676 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17680 (arg1
)->base_OnDrawControlPoints(*arg2
);
17682 wxPyEndAllowThreads(__tstate
);
17683 if (PyErr_Occurred()) SWIG_fail
;
17685 Py_INCREF(Py_None
); resultobj
= Py_None
;
17692 static PyObject
*_wrap_PyDivisionShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17693 PyObject
*resultobj
;
17694 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17696 PyObject
* obj0
= 0 ;
17697 PyObject
* obj1
= 0 ;
17698 char *kwnames
[] = {
17699 (char *) "self",(char *) "dc", NULL
17702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
17703 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17704 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17705 if (arg2
== NULL
) {
17706 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17710 (arg1
)->base_OnEraseControlPoints(*arg2
);
17712 wxPyEndAllowThreads(__tstate
);
17713 if (PyErr_Occurred()) SWIG_fail
;
17715 Py_INCREF(Py_None
); resultobj
= Py_None
;
17722 static PyObject
*_wrap_PyDivisionShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17723 PyObject
*resultobj
;
17724 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17726 bool arg3
= (bool) TRUE
;
17727 PyObject
* obj0
= 0 ;
17728 PyObject
* obj1
= 0 ;
17729 PyObject
* obj2
= 0 ;
17730 char *kwnames
[] = {
17731 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
17734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDivisionShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17736 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17737 if (arg2
== NULL
) {
17738 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17741 arg3
= PyInt_AsLong(obj2
) ? true : false;
17742 if (PyErr_Occurred()) SWIG_fail
;
17745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17746 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
17748 wxPyEndAllowThreads(__tstate
);
17749 if (PyErr_Occurred()) SWIG_fail
;
17751 Py_INCREF(Py_None
); resultobj
= Py_None
;
17758 static PyObject
*_wrap_PyDivisionShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17759 PyObject
*resultobj
;
17760 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17761 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
17765 int arg6
= (int) 0 ;
17766 int arg7
= (int) 0 ;
17767 PyObject
* obj0
= 0 ;
17768 PyObject
* obj1
= 0 ;
17769 PyObject
* obj2
= 0 ;
17770 char *kwnames
[] = {
17771 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd|ii:PyDivisionShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
17775 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17776 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17777 arg3
= PyInt_AsLong(obj2
) ? true : false;
17778 if (PyErr_Occurred()) SWIG_fail
;
17780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17781 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17783 wxPyEndAllowThreads(__tstate
);
17784 if (PyErr_Occurred()) SWIG_fail
;
17786 Py_INCREF(Py_None
); resultobj
= Py_None
;
17793 static PyObject
*_wrap_PyDivisionShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17794 PyObject
*resultobj
;
17795 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17796 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
17799 int arg5
= (int) 0 ;
17800 int arg6
= (int) 0 ;
17801 PyObject
* obj0
= 0 ;
17802 PyObject
* obj1
= 0 ;
17803 char *kwnames
[] = {
17804 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyDivisionShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
17808 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17809 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17812 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
17814 wxPyEndAllowThreads(__tstate
);
17815 if (PyErr_Occurred()) SWIG_fail
;
17817 Py_INCREF(Py_None
); resultobj
= Py_None
;
17824 static PyObject
*_wrap_PyDivisionShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17825 PyObject
*resultobj
;
17826 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17827 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
17830 int arg5
= (int) 0 ;
17831 int arg6
= (int) 0 ;
17832 PyObject
* obj0
= 0 ;
17833 PyObject
* obj1
= 0 ;
17834 char *kwnames
[] = {
17835 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyDivisionShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
17839 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17840 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17843 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
17845 wxPyEndAllowThreads(__tstate
);
17846 if (PyErr_Occurred()) SWIG_fail
;
17848 Py_INCREF(Py_None
); resultobj
= Py_None
;
17855 static PyObject
*_wrap_PyDivisionShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17856 PyObject
*resultobj
;
17857 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17860 PyObject
* obj0
= 0 ;
17861 char *kwnames
[] = {
17862 (char *) "self",(char *) "w",(char *) "h", NULL
17865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyDivisionShape_base_OnBeginSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
17866 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17869 (arg1
)->base_OnBeginSize(arg2
,arg3
);
17871 wxPyEndAllowThreads(__tstate
);
17872 if (PyErr_Occurred()) SWIG_fail
;
17874 Py_INCREF(Py_None
); resultobj
= Py_None
;
17881 static PyObject
*_wrap_PyDivisionShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17882 PyObject
*resultobj
;
17883 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17886 PyObject
* obj0
= 0 ;
17887 char *kwnames
[] = {
17888 (char *) "self",(char *) "w",(char *) "h", NULL
17891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyDivisionShape_base_OnEndSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
17892 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17895 (arg1
)->base_OnEndSize(arg2
,arg3
);
17897 wxPyEndAllowThreads(__tstate
);
17898 if (PyErr_Occurred()) SWIG_fail
;
17900 Py_INCREF(Py_None
); resultobj
= Py_None
;
17907 static PyObject
* PyDivisionShape_swigregister(PyObject
*self
, PyObject
*args
) {
17909 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17910 SWIG_TypeClientData(SWIGTYPE_p_wxPyDivisionShape
, obj
);
17912 return Py_BuildValue((char *)"");
17914 static PyObject
*_wrap_new_PyEllipseShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17915 PyObject
*resultobj
;
17916 double arg1
= (double) 0.0 ;
17917 double arg2
= (double) 0.0 ;
17918 wxPyEllipseShape
*result
;
17919 char *kwnames
[] = {
17920 (char *) "width",(char *) "height", NULL
17923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|dd:new_PyEllipseShape",kwnames
,&arg1
,&arg2
)) goto fail
;
17925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17926 result
= (wxPyEllipseShape
*)new wxPyEllipseShape(arg1
,arg2
);
17928 wxPyEndAllowThreads(__tstate
);
17929 if (PyErr_Occurred()) SWIG_fail
;
17931 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyEllipseShape
, 1);
17938 static PyObject
*_wrap_PyEllipseShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17939 PyObject
*resultobj
;
17940 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
17941 PyObject
*arg2
= (PyObject
*) 0 ;
17942 PyObject
*arg3
= (PyObject
*) 0 ;
17943 PyObject
* obj0
= 0 ;
17944 PyObject
* obj1
= 0 ;
17945 PyObject
* obj2
= 0 ;
17946 char *kwnames
[] = {
17947 (char *) "self",(char *) "self",(char *) "_class", NULL
17950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyEllipseShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17951 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17956 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17958 wxPyEndAllowThreads(__tstate
);
17959 if (PyErr_Occurred()) SWIG_fail
;
17961 Py_INCREF(Py_None
); resultobj
= Py_None
;
17968 static PyObject
*_wrap_PyEllipseShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17969 PyObject
*resultobj
;
17970 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
17972 PyObject
* obj0
= 0 ;
17973 PyObject
* obj1
= 0 ;
17974 char *kwnames
[] = {
17975 (char *) "self",(char *) "dc", NULL
17978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
17979 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17980 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17981 if (arg2
== NULL
) {
17982 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17986 (arg1
)->base_OnDraw(*arg2
);
17988 wxPyEndAllowThreads(__tstate
);
17989 if (PyErr_Occurred()) SWIG_fail
;
17991 Py_INCREF(Py_None
); resultobj
= Py_None
;
17998 static PyObject
*_wrap_PyEllipseShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17999 PyObject
*resultobj
;
18000 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18002 PyObject
* obj0
= 0 ;
18003 PyObject
* obj1
= 0 ;
18004 char *kwnames
[] = {
18005 (char *) "self",(char *) "dc", NULL
18008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
18009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18010 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18011 if (arg2
== NULL
) {
18012 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18016 (arg1
)->base_OnDrawContents(*arg2
);
18018 wxPyEndAllowThreads(__tstate
);
18019 if (PyErr_Occurred()) SWIG_fail
;
18021 Py_INCREF(Py_None
); resultobj
= Py_None
;
18028 static PyObject
*_wrap_PyEllipseShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18029 PyObject
*resultobj
;
18030 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18032 bool arg3
= (bool) FALSE
;
18033 PyObject
* obj0
= 0 ;
18034 PyObject
* obj1
= 0 ;
18035 PyObject
* obj2
= 0 ;
18036 char *kwnames
[] = {
18037 (char *) "self",(char *) "dc",(char *) "erase", NULL
18040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyEllipseShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18041 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18042 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18043 if (arg2
== NULL
) {
18044 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18047 arg3
= PyInt_AsLong(obj2
) ? true : false;
18048 if (PyErr_Occurred()) SWIG_fail
;
18051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18052 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
18054 wxPyEndAllowThreads(__tstate
);
18055 if (PyErr_Occurred()) SWIG_fail
;
18057 Py_INCREF(Py_None
); resultobj
= Py_None
;
18064 static PyObject
*_wrap_PyEllipseShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18065 PyObject
*resultobj
;
18066 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18068 PyObject
* obj0
= 0 ;
18069 PyObject
* obj1
= 0 ;
18070 char *kwnames
[] = {
18071 (char *) "self",(char *) "dc", NULL
18074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
18075 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18076 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18077 if (arg2
== NULL
) {
18078 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18082 (arg1
)->base_OnMoveLinks(*arg2
);
18084 wxPyEndAllowThreads(__tstate
);
18085 if (PyErr_Occurred()) SWIG_fail
;
18087 Py_INCREF(Py_None
); resultobj
= Py_None
;
18094 static PyObject
*_wrap_PyEllipseShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18095 PyObject
*resultobj
;
18096 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18098 PyObject
* obj0
= 0 ;
18099 PyObject
* obj1
= 0 ;
18100 char *kwnames
[] = {
18101 (char *) "self",(char *) "dc", NULL
18104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
18105 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18106 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18107 if (arg2
== NULL
) {
18108 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18112 (arg1
)->base_OnErase(*arg2
);
18114 wxPyEndAllowThreads(__tstate
);
18115 if (PyErr_Occurred()) SWIG_fail
;
18117 Py_INCREF(Py_None
); resultobj
= Py_None
;
18124 static PyObject
*_wrap_PyEllipseShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18125 PyObject
*resultobj
;
18126 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18128 PyObject
* obj0
= 0 ;
18129 PyObject
* obj1
= 0 ;
18130 char *kwnames
[] = {
18131 (char *) "self",(char *) "dc", NULL
18134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
18135 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18136 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18137 if (arg2
== NULL
) {
18138 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18142 (arg1
)->base_OnEraseContents(*arg2
);
18144 wxPyEndAllowThreads(__tstate
);
18145 if (PyErr_Occurred()) SWIG_fail
;
18147 Py_INCREF(Py_None
); resultobj
= Py_None
;
18154 static PyObject
*_wrap_PyEllipseShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18155 PyObject
*resultobj
;
18156 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18158 PyObject
* obj0
= 0 ;
18159 PyObject
* obj1
= 0 ;
18160 char *kwnames
[] = {
18161 (char *) "self",(char *) "dc", NULL
18164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
18165 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18166 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18167 if (arg2
== NULL
) {
18168 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18172 (arg1
)->base_OnHighlight(*arg2
);
18174 wxPyEndAllowThreads(__tstate
);
18175 if (PyErr_Occurred()) SWIG_fail
;
18177 Py_INCREF(Py_None
); resultobj
= Py_None
;
18184 static PyObject
*_wrap_PyEllipseShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18185 PyObject
*resultobj
;
18186 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18189 int arg4
= (int) 0 ;
18190 int arg5
= (int) 0 ;
18191 PyObject
* obj0
= 0 ;
18192 char *kwnames
[] = {
18193 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyEllipseShape_base_OnLeftClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
18197 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18200 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
18202 wxPyEndAllowThreads(__tstate
);
18203 if (PyErr_Occurred()) SWIG_fail
;
18205 Py_INCREF(Py_None
); resultobj
= Py_None
;
18212 static PyObject
*_wrap_PyEllipseShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18213 PyObject
*resultobj
;
18214 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18217 int arg4
= (int) 0 ;
18218 int arg5
= (int) 0 ;
18219 PyObject
* obj0
= 0 ;
18220 char *kwnames
[] = {
18221 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyEllipseShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
18225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18228 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
18230 wxPyEndAllowThreads(__tstate
);
18231 if (PyErr_Occurred()) SWIG_fail
;
18233 Py_INCREF(Py_None
); resultobj
= Py_None
;
18240 static PyObject
*_wrap_PyEllipseShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18241 PyObject
*resultobj
;
18242 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18245 int arg4
= (int) 0 ;
18246 int arg5
= (int) 0 ;
18247 PyObject
* obj0
= 0 ;
18248 char *kwnames
[] = {
18249 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyEllipseShape_base_OnRightClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
18253 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18256 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
18258 wxPyEndAllowThreads(__tstate
);
18259 if (PyErr_Occurred()) SWIG_fail
;
18261 Py_INCREF(Py_None
); resultobj
= Py_None
;
18268 static PyObject
*_wrap_PyEllipseShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18269 PyObject
*resultobj
;
18270 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18273 PyObject
* obj0
= 0 ;
18274 char *kwnames
[] = {
18275 (char *) "self",(char *) "x",(char *) "y", NULL
18278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyEllipseShape_base_OnSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18282 (arg1
)->base_OnSize(arg2
,arg3
);
18284 wxPyEndAllowThreads(__tstate
);
18285 if (PyErr_Occurred()) SWIG_fail
;
18287 Py_INCREF(Py_None
); resultobj
= Py_None
;
18294 static PyObject
*_wrap_PyEllipseShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18295 PyObject
*resultobj
;
18296 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18302 bool arg7
= (bool) TRUE
;
18304 PyObject
* obj0
= 0 ;
18305 PyObject
* obj1
= 0 ;
18306 PyObject
* obj6
= 0 ;
18307 char *kwnames
[] = {
18308 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
18311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyEllipseShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) 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 arg7
= PyInt_AsLong(obj6
) ? true : false;
18319 if (PyErr_Occurred()) SWIG_fail
;
18322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18323 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18325 wxPyEndAllowThreads(__tstate
);
18326 if (PyErr_Occurred()) SWIG_fail
;
18328 resultobj
= PyInt_FromLong((long)result
);
18335 static PyObject
*_wrap_PyEllipseShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18336 PyObject
*resultobj
;
18337 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18343 bool arg7
= (bool) TRUE
;
18344 PyObject
* obj0
= 0 ;
18345 PyObject
* obj1
= 0 ;
18346 PyObject
* obj6
= 0 ;
18347 char *kwnames
[] = {
18348 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
18351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyEllipseShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
18352 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18353 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18354 if (arg2
== NULL
) {
18355 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18358 arg7
= PyInt_AsLong(obj6
) ? true : false;
18359 if (PyErr_Occurred()) SWIG_fail
;
18362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18363 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18365 wxPyEndAllowThreads(__tstate
);
18366 if (PyErr_Occurred()) SWIG_fail
;
18368 Py_INCREF(Py_None
); resultobj
= Py_None
;
18375 static PyObject
*_wrap_PyEllipseShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18376 PyObject
*resultobj
;
18377 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18381 int arg5
= (int) 0 ;
18382 int arg6
= (int) 0 ;
18383 PyObject
* obj0
= 0 ;
18384 PyObject
* obj1
= 0 ;
18385 char *kwnames
[] = {
18386 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyEllipseShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
18390 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18391 arg2
= PyInt_AsLong(obj1
) ? true : false;
18392 if (PyErr_Occurred()) SWIG_fail
;
18394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18395 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
18397 wxPyEndAllowThreads(__tstate
);
18398 if (PyErr_Occurred()) SWIG_fail
;
18400 Py_INCREF(Py_None
); resultobj
= Py_None
;
18407 static PyObject
*_wrap_PyEllipseShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18408 PyObject
*resultobj
;
18409 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18412 int arg4
= (int) 0 ;
18413 int arg5
= (int) 0 ;
18414 PyObject
* obj0
= 0 ;
18415 char *kwnames
[] = {
18416 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyEllipseShape_base_OnBeginDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
18420 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18423 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
18425 wxPyEndAllowThreads(__tstate
);
18426 if (PyErr_Occurred()) SWIG_fail
;
18428 Py_INCREF(Py_None
); resultobj
= Py_None
;
18435 static PyObject
*_wrap_PyEllipseShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18436 PyObject
*resultobj
;
18437 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18440 int arg4
= (int) 0 ;
18441 int arg5
= (int) 0 ;
18442 PyObject
* obj0
= 0 ;
18443 char *kwnames
[] = {
18444 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyEllipseShape_base_OnEndDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
18448 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18451 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
18453 wxPyEndAllowThreads(__tstate
);
18454 if (PyErr_Occurred()) SWIG_fail
;
18456 Py_INCREF(Py_None
); resultobj
= Py_None
;
18463 static PyObject
*_wrap_PyEllipseShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18464 PyObject
*resultobj
;
18465 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18469 int arg5
= (int) 0 ;
18470 int arg6
= (int) 0 ;
18471 PyObject
* obj0
= 0 ;
18472 PyObject
* obj1
= 0 ;
18473 char *kwnames
[] = {
18474 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyEllipseShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
18478 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18479 arg2
= PyInt_AsLong(obj1
) ? true : false;
18480 if (PyErr_Occurred()) SWIG_fail
;
18482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18483 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
18485 wxPyEndAllowThreads(__tstate
);
18486 if (PyErr_Occurred()) SWIG_fail
;
18488 Py_INCREF(Py_None
); resultobj
= Py_None
;
18495 static PyObject
*_wrap_PyEllipseShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18496 PyObject
*resultobj
;
18497 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18500 int arg4
= (int) 0 ;
18501 int arg5
= (int) 0 ;
18502 PyObject
* obj0
= 0 ;
18503 char *kwnames
[] = {
18504 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyEllipseShape_base_OnBeginDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
18508 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18511 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
18513 wxPyEndAllowThreads(__tstate
);
18514 if (PyErr_Occurred()) SWIG_fail
;
18516 Py_INCREF(Py_None
); resultobj
= Py_None
;
18523 static PyObject
*_wrap_PyEllipseShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18524 PyObject
*resultobj
;
18525 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18528 int arg4
= (int) 0 ;
18529 int arg5
= (int) 0 ;
18530 PyObject
* obj0
= 0 ;
18531 char *kwnames
[] = {
18532 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyEllipseShape_base_OnEndDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
18536 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18539 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
18541 wxPyEndAllowThreads(__tstate
);
18542 if (PyErr_Occurred()) SWIG_fail
;
18544 Py_INCREF(Py_None
); resultobj
= Py_None
;
18551 static PyObject
*_wrap_PyEllipseShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18552 PyObject
*resultobj
;
18553 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18559 PyObject
* obj0
= 0 ;
18560 PyObject
* obj1
= 0 ;
18561 char *kwnames
[] = {
18562 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
18565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd:PyEllipseShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
18566 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18567 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18568 if (arg2
== NULL
) {
18569 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18573 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
18575 wxPyEndAllowThreads(__tstate
);
18576 if (PyErr_Occurred()) SWIG_fail
;
18578 Py_INCREF(Py_None
); resultobj
= Py_None
;
18585 static PyObject
*_wrap_PyEllipseShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18586 PyObject
*resultobj
;
18587 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18589 PyObject
* obj0
= 0 ;
18590 PyObject
* obj1
= 0 ;
18591 char *kwnames
[] = {
18592 (char *) "self",(char *) "dc", NULL
18595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
18596 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18597 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18598 if (arg2
== NULL
) {
18599 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18603 (arg1
)->base_OnDrawControlPoints(*arg2
);
18605 wxPyEndAllowThreads(__tstate
);
18606 if (PyErr_Occurred()) SWIG_fail
;
18608 Py_INCREF(Py_None
); resultobj
= Py_None
;
18615 static PyObject
*_wrap_PyEllipseShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18616 PyObject
*resultobj
;
18617 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18619 PyObject
* obj0
= 0 ;
18620 PyObject
* obj1
= 0 ;
18621 char *kwnames
[] = {
18622 (char *) "self",(char *) "dc", NULL
18625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
18626 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18627 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18628 if (arg2
== NULL
) {
18629 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18633 (arg1
)->base_OnEraseControlPoints(*arg2
);
18635 wxPyEndAllowThreads(__tstate
);
18636 if (PyErr_Occurred()) SWIG_fail
;
18638 Py_INCREF(Py_None
); resultobj
= Py_None
;
18645 static PyObject
*_wrap_PyEllipseShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18646 PyObject
*resultobj
;
18647 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18649 bool arg3
= (bool) TRUE
;
18650 PyObject
* obj0
= 0 ;
18651 PyObject
* obj1
= 0 ;
18652 PyObject
* obj2
= 0 ;
18653 char *kwnames
[] = {
18654 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
18657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyEllipseShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18658 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18659 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18660 if (arg2
== NULL
) {
18661 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18664 arg3
= PyInt_AsLong(obj2
) ? true : false;
18665 if (PyErr_Occurred()) SWIG_fail
;
18668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18669 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
18671 wxPyEndAllowThreads(__tstate
);
18672 if (PyErr_Occurred()) SWIG_fail
;
18674 Py_INCREF(Py_None
); resultobj
= Py_None
;
18681 static PyObject
*_wrap_PyEllipseShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18682 PyObject
*resultobj
;
18683 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18684 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
18688 int arg6
= (int) 0 ;
18689 int arg7
= (int) 0 ;
18690 PyObject
* obj0
= 0 ;
18691 PyObject
* obj1
= 0 ;
18692 PyObject
* obj2
= 0 ;
18693 char *kwnames
[] = {
18694 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd|ii:PyEllipseShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
18698 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18699 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18700 arg3
= PyInt_AsLong(obj2
) ? true : false;
18701 if (PyErr_Occurred()) SWIG_fail
;
18703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18704 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18706 wxPyEndAllowThreads(__tstate
);
18707 if (PyErr_Occurred()) SWIG_fail
;
18709 Py_INCREF(Py_None
); resultobj
= Py_None
;
18716 static PyObject
*_wrap_PyEllipseShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18717 PyObject
*resultobj
;
18718 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18719 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
18722 int arg5
= (int) 0 ;
18723 int arg6
= (int) 0 ;
18724 PyObject
* obj0
= 0 ;
18725 PyObject
* obj1
= 0 ;
18726 char *kwnames
[] = {
18727 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyEllipseShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
18731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18732 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18735 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
18737 wxPyEndAllowThreads(__tstate
);
18738 if (PyErr_Occurred()) SWIG_fail
;
18740 Py_INCREF(Py_None
); resultobj
= Py_None
;
18747 static PyObject
*_wrap_PyEllipseShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18748 PyObject
*resultobj
;
18749 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18750 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
18753 int arg5
= (int) 0 ;
18754 int arg6
= (int) 0 ;
18755 PyObject
* obj0
= 0 ;
18756 PyObject
* obj1
= 0 ;
18757 char *kwnames
[] = {
18758 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyEllipseShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
18762 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18763 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18766 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
18768 wxPyEndAllowThreads(__tstate
);
18769 if (PyErr_Occurred()) SWIG_fail
;
18771 Py_INCREF(Py_None
); resultobj
= Py_None
;
18778 static PyObject
*_wrap_PyEllipseShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18779 PyObject
*resultobj
;
18780 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18783 PyObject
* obj0
= 0 ;
18784 char *kwnames
[] = {
18785 (char *) "self",(char *) "w",(char *) "h", NULL
18788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyEllipseShape_base_OnBeginSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18792 (arg1
)->base_OnBeginSize(arg2
,arg3
);
18794 wxPyEndAllowThreads(__tstate
);
18795 if (PyErr_Occurred()) SWIG_fail
;
18797 Py_INCREF(Py_None
); resultobj
= Py_None
;
18804 static PyObject
*_wrap_PyEllipseShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18805 PyObject
*resultobj
;
18806 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18809 PyObject
* obj0
= 0 ;
18810 char *kwnames
[] = {
18811 (char *) "self",(char *) "w",(char *) "h", NULL
18814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyEllipseShape_base_OnEndSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18815 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18818 (arg1
)->base_OnEndSize(arg2
,arg3
);
18820 wxPyEndAllowThreads(__tstate
);
18821 if (PyErr_Occurred()) SWIG_fail
;
18823 Py_INCREF(Py_None
); resultobj
= Py_None
;
18830 static PyObject
* PyEllipseShape_swigregister(PyObject
*self
, PyObject
*args
) {
18832 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18833 SWIG_TypeClientData(SWIGTYPE_p_wxPyEllipseShape
, obj
);
18835 return Py_BuildValue((char *)"");
18837 static PyObject
*_wrap_new_PyCircleShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18838 PyObject
*resultobj
;
18839 double arg1
= (double) 0.0 ;
18840 wxPyCircleShape
*result
;
18841 char *kwnames
[] = {
18842 (char *) "width", NULL
18845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|d:new_PyCircleShape",kwnames
,&arg1
)) goto fail
;
18847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18848 result
= (wxPyCircleShape
*)new wxPyCircleShape(arg1
);
18850 wxPyEndAllowThreads(__tstate
);
18851 if (PyErr_Occurred()) SWIG_fail
;
18853 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyCircleShape
, 1);
18860 static PyObject
*_wrap_PyCircleShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18861 PyObject
*resultobj
;
18862 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
18863 PyObject
*arg2
= (PyObject
*) 0 ;
18864 PyObject
*arg3
= (PyObject
*) 0 ;
18865 PyObject
* obj0
= 0 ;
18866 PyObject
* obj1
= 0 ;
18867 PyObject
* obj2
= 0 ;
18868 char *kwnames
[] = {
18869 (char *) "self",(char *) "self",(char *) "_class", NULL
18872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCircleShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18873 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18878 (arg1
)->_setCallbackInfo(arg2
,arg3
);
18880 wxPyEndAllowThreads(__tstate
);
18881 if (PyErr_Occurred()) SWIG_fail
;
18883 Py_INCREF(Py_None
); resultobj
= Py_None
;
18890 static PyObject
*_wrap_PyCircleShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18891 PyObject
*resultobj
;
18892 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
18894 PyObject
* obj0
= 0 ;
18895 PyObject
* obj1
= 0 ;
18896 char *kwnames
[] = {
18897 (char *) "self",(char *) "dc", NULL
18900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
18901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18902 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18903 if (arg2
== NULL
) {
18904 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18908 (arg1
)->base_OnDraw(*arg2
);
18910 wxPyEndAllowThreads(__tstate
);
18911 if (PyErr_Occurred()) SWIG_fail
;
18913 Py_INCREF(Py_None
); resultobj
= Py_None
;
18920 static PyObject
*_wrap_PyCircleShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18921 PyObject
*resultobj
;
18922 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
18924 PyObject
* obj0
= 0 ;
18925 PyObject
* obj1
= 0 ;
18926 char *kwnames
[] = {
18927 (char *) "self",(char *) "dc", NULL
18930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
18931 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18932 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18933 if (arg2
== NULL
) {
18934 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18938 (arg1
)->base_OnDrawContents(*arg2
);
18940 wxPyEndAllowThreads(__tstate
);
18941 if (PyErr_Occurred()) SWIG_fail
;
18943 Py_INCREF(Py_None
); resultobj
= Py_None
;
18950 static PyObject
*_wrap_PyCircleShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18951 PyObject
*resultobj
;
18952 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
18954 bool arg3
= (bool) FALSE
;
18955 PyObject
* obj0
= 0 ;
18956 PyObject
* obj1
= 0 ;
18957 PyObject
* obj2
= 0 ;
18958 char *kwnames
[] = {
18959 (char *) "self",(char *) "dc",(char *) "erase", NULL
18962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCircleShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18963 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18964 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18965 if (arg2
== NULL
) {
18966 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18969 arg3
= PyInt_AsLong(obj2
) ? true : false;
18970 if (PyErr_Occurred()) SWIG_fail
;
18973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18974 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
18976 wxPyEndAllowThreads(__tstate
);
18977 if (PyErr_Occurred()) SWIG_fail
;
18979 Py_INCREF(Py_None
); resultobj
= Py_None
;
18986 static PyObject
*_wrap_PyCircleShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18987 PyObject
*resultobj
;
18988 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
18990 PyObject
* obj0
= 0 ;
18991 PyObject
* obj1
= 0 ;
18992 char *kwnames
[] = {
18993 (char *) "self",(char *) "dc", NULL
18996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
18997 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18998 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18999 if (arg2
== NULL
) {
19000 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19004 (arg1
)->base_OnMoveLinks(*arg2
);
19006 wxPyEndAllowThreads(__tstate
);
19007 if (PyErr_Occurred()) SWIG_fail
;
19009 Py_INCREF(Py_None
); resultobj
= Py_None
;
19016 static PyObject
*_wrap_PyCircleShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19017 PyObject
*resultobj
;
19018 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19020 PyObject
* obj0
= 0 ;
19021 PyObject
* obj1
= 0 ;
19022 char *kwnames
[] = {
19023 (char *) "self",(char *) "dc", NULL
19026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
19027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19028 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19029 if (arg2
== NULL
) {
19030 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19034 (arg1
)->base_OnErase(*arg2
);
19036 wxPyEndAllowThreads(__tstate
);
19037 if (PyErr_Occurred()) SWIG_fail
;
19039 Py_INCREF(Py_None
); resultobj
= Py_None
;
19046 static PyObject
*_wrap_PyCircleShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19047 PyObject
*resultobj
;
19048 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19050 PyObject
* obj0
= 0 ;
19051 PyObject
* obj1
= 0 ;
19052 char *kwnames
[] = {
19053 (char *) "self",(char *) "dc", NULL
19056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
19057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19058 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19059 if (arg2
== NULL
) {
19060 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19064 (arg1
)->base_OnEraseContents(*arg2
);
19066 wxPyEndAllowThreads(__tstate
);
19067 if (PyErr_Occurred()) SWIG_fail
;
19069 Py_INCREF(Py_None
); resultobj
= Py_None
;
19076 static PyObject
*_wrap_PyCircleShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19077 PyObject
*resultobj
;
19078 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19080 PyObject
* obj0
= 0 ;
19081 PyObject
* obj1
= 0 ;
19082 char *kwnames
[] = {
19083 (char *) "self",(char *) "dc", NULL
19086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
19087 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19088 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19089 if (arg2
== NULL
) {
19090 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19094 (arg1
)->base_OnHighlight(*arg2
);
19096 wxPyEndAllowThreads(__tstate
);
19097 if (PyErr_Occurred()) SWIG_fail
;
19099 Py_INCREF(Py_None
); resultobj
= Py_None
;
19106 static PyObject
*_wrap_PyCircleShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19107 PyObject
*resultobj
;
19108 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19111 int arg4
= (int) 0 ;
19112 int arg5
= (int) 0 ;
19113 PyObject
* obj0
= 0 ;
19114 char *kwnames
[] = {
19115 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyCircleShape_base_OnLeftClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
19119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19122 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
19124 wxPyEndAllowThreads(__tstate
);
19125 if (PyErr_Occurred()) SWIG_fail
;
19127 Py_INCREF(Py_None
); resultobj
= Py_None
;
19134 static PyObject
*_wrap_PyCircleShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19135 PyObject
*resultobj
;
19136 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19139 int arg4
= (int) 0 ;
19140 int arg5
= (int) 0 ;
19141 PyObject
* obj0
= 0 ;
19142 char *kwnames
[] = {
19143 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyCircleShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
19147 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19150 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
19152 wxPyEndAllowThreads(__tstate
);
19153 if (PyErr_Occurred()) SWIG_fail
;
19155 Py_INCREF(Py_None
); resultobj
= Py_None
;
19162 static PyObject
*_wrap_PyCircleShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19163 PyObject
*resultobj
;
19164 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19167 int arg4
= (int) 0 ;
19168 int arg5
= (int) 0 ;
19169 PyObject
* obj0
= 0 ;
19170 char *kwnames
[] = {
19171 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyCircleShape_base_OnRightClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
19175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19178 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
19180 wxPyEndAllowThreads(__tstate
);
19181 if (PyErr_Occurred()) SWIG_fail
;
19183 Py_INCREF(Py_None
); resultobj
= Py_None
;
19190 static PyObject
*_wrap_PyCircleShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19191 PyObject
*resultobj
;
19192 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19195 PyObject
* obj0
= 0 ;
19196 char *kwnames
[] = {
19197 (char *) "self",(char *) "x",(char *) "y", NULL
19200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyCircleShape_base_OnSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19201 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19204 (arg1
)->base_OnSize(arg2
,arg3
);
19206 wxPyEndAllowThreads(__tstate
);
19207 if (PyErr_Occurred()) SWIG_fail
;
19209 Py_INCREF(Py_None
); resultobj
= Py_None
;
19216 static PyObject
*_wrap_PyCircleShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19217 PyObject
*resultobj
;
19218 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19224 bool arg7
= (bool) TRUE
;
19226 PyObject
* obj0
= 0 ;
19227 PyObject
* obj1
= 0 ;
19228 PyObject
* obj6
= 0 ;
19229 char *kwnames
[] = {
19230 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
19233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyCircleShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) 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 arg7
= PyInt_AsLong(obj6
) ? true : false;
19241 if (PyErr_Occurred()) SWIG_fail
;
19244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19245 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19247 wxPyEndAllowThreads(__tstate
);
19248 if (PyErr_Occurred()) SWIG_fail
;
19250 resultobj
= PyInt_FromLong((long)result
);
19257 static PyObject
*_wrap_PyCircleShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19258 PyObject
*resultobj
;
19259 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19265 bool arg7
= (bool) TRUE
;
19266 PyObject
* obj0
= 0 ;
19267 PyObject
* obj1
= 0 ;
19268 PyObject
* obj6
= 0 ;
19269 char *kwnames
[] = {
19270 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
19273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyCircleShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
19274 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19275 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19276 if (arg2
== NULL
) {
19277 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19280 arg7
= PyInt_AsLong(obj6
) ? true : false;
19281 if (PyErr_Occurred()) SWIG_fail
;
19284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19285 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19287 wxPyEndAllowThreads(__tstate
);
19288 if (PyErr_Occurred()) SWIG_fail
;
19290 Py_INCREF(Py_None
); resultobj
= Py_None
;
19297 static PyObject
*_wrap_PyCircleShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19298 PyObject
*resultobj
;
19299 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19303 int arg5
= (int) 0 ;
19304 int arg6
= (int) 0 ;
19305 PyObject
* obj0
= 0 ;
19306 PyObject
* obj1
= 0 ;
19307 char *kwnames
[] = {
19308 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyCircleShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
19312 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19313 arg2
= PyInt_AsLong(obj1
) ? true : false;
19314 if (PyErr_Occurred()) SWIG_fail
;
19316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19317 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
19319 wxPyEndAllowThreads(__tstate
);
19320 if (PyErr_Occurred()) SWIG_fail
;
19322 Py_INCREF(Py_None
); resultobj
= Py_None
;
19329 static PyObject
*_wrap_PyCircleShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19330 PyObject
*resultobj
;
19331 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19334 int arg4
= (int) 0 ;
19335 int arg5
= (int) 0 ;
19336 PyObject
* obj0
= 0 ;
19337 char *kwnames
[] = {
19338 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyCircleShape_base_OnBeginDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
19342 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19345 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
19347 wxPyEndAllowThreads(__tstate
);
19348 if (PyErr_Occurred()) SWIG_fail
;
19350 Py_INCREF(Py_None
); resultobj
= Py_None
;
19357 static PyObject
*_wrap_PyCircleShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19358 PyObject
*resultobj
;
19359 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19362 int arg4
= (int) 0 ;
19363 int arg5
= (int) 0 ;
19364 PyObject
* obj0
= 0 ;
19365 char *kwnames
[] = {
19366 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyCircleShape_base_OnEndDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
19370 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19373 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
19375 wxPyEndAllowThreads(__tstate
);
19376 if (PyErr_Occurred()) SWIG_fail
;
19378 Py_INCREF(Py_None
); resultobj
= Py_None
;
19385 static PyObject
*_wrap_PyCircleShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19386 PyObject
*resultobj
;
19387 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19391 int arg5
= (int) 0 ;
19392 int arg6
= (int) 0 ;
19393 PyObject
* obj0
= 0 ;
19394 PyObject
* obj1
= 0 ;
19395 char *kwnames
[] = {
19396 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyCircleShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
19400 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19401 arg2
= PyInt_AsLong(obj1
) ? true : false;
19402 if (PyErr_Occurred()) SWIG_fail
;
19404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19405 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
19407 wxPyEndAllowThreads(__tstate
);
19408 if (PyErr_Occurred()) SWIG_fail
;
19410 Py_INCREF(Py_None
); resultobj
= Py_None
;
19417 static PyObject
*_wrap_PyCircleShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19418 PyObject
*resultobj
;
19419 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19422 int arg4
= (int) 0 ;
19423 int arg5
= (int) 0 ;
19424 PyObject
* obj0
= 0 ;
19425 char *kwnames
[] = {
19426 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyCircleShape_base_OnBeginDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
19430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19433 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
19435 wxPyEndAllowThreads(__tstate
);
19436 if (PyErr_Occurred()) SWIG_fail
;
19438 Py_INCREF(Py_None
); resultobj
= Py_None
;
19445 static PyObject
*_wrap_PyCircleShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19446 PyObject
*resultobj
;
19447 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19450 int arg4
= (int) 0 ;
19451 int arg5
= (int) 0 ;
19452 PyObject
* obj0
= 0 ;
19453 char *kwnames
[] = {
19454 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyCircleShape_base_OnEndDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
19458 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19461 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
19463 wxPyEndAllowThreads(__tstate
);
19464 if (PyErr_Occurred()) SWIG_fail
;
19466 Py_INCREF(Py_None
); resultobj
= Py_None
;
19473 static PyObject
*_wrap_PyCircleShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19474 PyObject
*resultobj
;
19475 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19481 PyObject
* obj0
= 0 ;
19482 PyObject
* obj1
= 0 ;
19483 char *kwnames
[] = {
19484 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
19487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd:PyCircleShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
19488 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19489 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19490 if (arg2
== NULL
) {
19491 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19495 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
19497 wxPyEndAllowThreads(__tstate
);
19498 if (PyErr_Occurred()) SWIG_fail
;
19500 Py_INCREF(Py_None
); resultobj
= Py_None
;
19507 static PyObject
*_wrap_PyCircleShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19508 PyObject
*resultobj
;
19509 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19511 PyObject
* obj0
= 0 ;
19512 PyObject
* obj1
= 0 ;
19513 char *kwnames
[] = {
19514 (char *) "self",(char *) "dc", NULL
19517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
19518 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19519 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19520 if (arg2
== NULL
) {
19521 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19525 (arg1
)->base_OnDrawControlPoints(*arg2
);
19527 wxPyEndAllowThreads(__tstate
);
19528 if (PyErr_Occurred()) SWIG_fail
;
19530 Py_INCREF(Py_None
); resultobj
= Py_None
;
19537 static PyObject
*_wrap_PyCircleShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19538 PyObject
*resultobj
;
19539 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19541 PyObject
* obj0
= 0 ;
19542 PyObject
* obj1
= 0 ;
19543 char *kwnames
[] = {
19544 (char *) "self",(char *) "dc", NULL
19547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
19548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19549 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19550 if (arg2
== NULL
) {
19551 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19555 (arg1
)->base_OnEraseControlPoints(*arg2
);
19557 wxPyEndAllowThreads(__tstate
);
19558 if (PyErr_Occurred()) SWIG_fail
;
19560 Py_INCREF(Py_None
); resultobj
= Py_None
;
19567 static PyObject
*_wrap_PyCircleShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19568 PyObject
*resultobj
;
19569 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19571 bool arg3
= (bool) TRUE
;
19572 PyObject
* obj0
= 0 ;
19573 PyObject
* obj1
= 0 ;
19574 PyObject
* obj2
= 0 ;
19575 char *kwnames
[] = {
19576 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
19579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCircleShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19580 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19581 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19582 if (arg2
== NULL
) {
19583 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19586 arg3
= PyInt_AsLong(obj2
) ? true : false;
19587 if (PyErr_Occurred()) SWIG_fail
;
19590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19591 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
19593 wxPyEndAllowThreads(__tstate
);
19594 if (PyErr_Occurred()) SWIG_fail
;
19596 Py_INCREF(Py_None
); resultobj
= Py_None
;
19603 static PyObject
*_wrap_PyCircleShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19604 PyObject
*resultobj
;
19605 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19606 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
19610 int arg6
= (int) 0 ;
19611 int arg7
= (int) 0 ;
19612 PyObject
* obj0
= 0 ;
19613 PyObject
* obj1
= 0 ;
19614 PyObject
* obj2
= 0 ;
19615 char *kwnames
[] = {
19616 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd|ii:PyCircleShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
19620 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19621 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19622 arg3
= PyInt_AsLong(obj2
) ? true : false;
19623 if (PyErr_Occurred()) SWIG_fail
;
19625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19626 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19628 wxPyEndAllowThreads(__tstate
);
19629 if (PyErr_Occurred()) SWIG_fail
;
19631 Py_INCREF(Py_None
); resultobj
= Py_None
;
19638 static PyObject
*_wrap_PyCircleShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19639 PyObject
*resultobj
;
19640 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19641 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
19644 int arg5
= (int) 0 ;
19645 int arg6
= (int) 0 ;
19646 PyObject
* obj0
= 0 ;
19647 PyObject
* obj1
= 0 ;
19648 char *kwnames
[] = {
19649 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyCircleShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
19653 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19654 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19657 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
19659 wxPyEndAllowThreads(__tstate
);
19660 if (PyErr_Occurred()) SWIG_fail
;
19662 Py_INCREF(Py_None
); resultobj
= Py_None
;
19669 static PyObject
*_wrap_PyCircleShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19670 PyObject
*resultobj
;
19671 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19672 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
19675 int arg5
= (int) 0 ;
19676 int arg6
= (int) 0 ;
19677 PyObject
* obj0
= 0 ;
19678 PyObject
* obj1
= 0 ;
19679 char *kwnames
[] = {
19680 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyCircleShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
19684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19685 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19688 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
19690 wxPyEndAllowThreads(__tstate
);
19691 if (PyErr_Occurred()) SWIG_fail
;
19693 Py_INCREF(Py_None
); resultobj
= Py_None
;
19700 static PyObject
*_wrap_PyCircleShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19701 PyObject
*resultobj
;
19702 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19705 PyObject
* obj0
= 0 ;
19706 char *kwnames
[] = {
19707 (char *) "self",(char *) "w",(char *) "h", NULL
19710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyCircleShape_base_OnBeginSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19714 (arg1
)->base_OnBeginSize(arg2
,arg3
);
19716 wxPyEndAllowThreads(__tstate
);
19717 if (PyErr_Occurred()) SWIG_fail
;
19719 Py_INCREF(Py_None
); resultobj
= Py_None
;
19726 static PyObject
*_wrap_PyCircleShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19727 PyObject
*resultobj
;
19728 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19731 PyObject
* obj0
= 0 ;
19732 char *kwnames
[] = {
19733 (char *) "self",(char *) "w",(char *) "h", NULL
19736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyCircleShape_base_OnEndSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19737 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19740 (arg1
)->base_OnEndSize(arg2
,arg3
);
19742 wxPyEndAllowThreads(__tstate
);
19743 if (PyErr_Occurred()) SWIG_fail
;
19745 Py_INCREF(Py_None
); resultobj
= Py_None
;
19752 static PyObject
* PyCircleShape_swigregister(PyObject
*self
, PyObject
*args
) {
19754 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19755 SWIG_TypeClientData(SWIGTYPE_p_wxPyCircleShape
, obj
);
19757 return Py_BuildValue((char *)"");
19759 static PyObject
*_wrap_new_ArrowHead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19760 PyObject
*resultobj
;
19761 int arg1
= (int) 0 ;
19762 int arg2
= (int) 0 ;
19763 double arg3
= (double) 0.0 ;
19764 double arg4
= (double) 0.0 ;
19765 wxString
const &arg5_defvalue
= wxPyEmptyString
;
19766 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
19767 wxPseudoMetaFile
*arg6
= (wxPseudoMetaFile
*) NULL
;
19768 long arg7
= (long) -1 ;
19769 wxArrowHead
*result
;
19770 bool temp5
= false ;
19771 PyObject
* obj4
= 0 ;
19772 PyObject
* obj5
= 0 ;
19773 char *kwnames
[] = {
19774 (char *) "type",(char *) "end",(char *) "size",(char *) "dist",(char *) "name",(char *) "mf",(char *) "arrowId", NULL
19777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiddOOl:new_ArrowHead",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
,&obj4
,&obj5
,&arg7
)) goto fail
;
19780 arg5
= wxString_in_helper(obj4
);
19781 if (arg5
== NULL
) SWIG_fail
;
19786 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19790 result
= (wxArrowHead
*)new wxArrowHead(arg1
,arg2
,arg3
,arg4
,(wxString
const &)*arg5
,arg6
,arg7
);
19792 wxPyEndAllowThreads(__tstate
);
19793 if (PyErr_Occurred()) SWIG_fail
;
19796 resultobj
= wxPyMake_wxObject(result
);
19812 static PyObject
*_wrap_delete_ArrowHead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19813 PyObject
*resultobj
;
19814 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
19815 PyObject
* obj0
= 0 ;
19816 char *kwnames
[] = {
19817 (char *) "self", NULL
19820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ArrowHead",kwnames
,&obj0
)) goto fail
;
19821 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19826 wxPyEndAllowThreads(__tstate
);
19827 if (PyErr_Occurred()) SWIG_fail
;
19829 Py_INCREF(Py_None
); resultobj
= Py_None
;
19836 static PyObject
*_wrap_ArrowHead__GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19837 PyObject
*resultobj
;
19838 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
19840 PyObject
* obj0
= 0 ;
19841 char *kwnames
[] = {
19842 (char *) "self", NULL
19845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead__GetType",kwnames
,&obj0
)) goto fail
;
19846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19849 result
= (int)(arg1
)->_GetType();
19851 wxPyEndAllowThreads(__tstate
);
19852 if (PyErr_Occurred()) SWIG_fail
;
19854 resultobj
= PyInt_FromLong((long)result
);
19861 static PyObject
*_wrap_ArrowHead_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19862 PyObject
*resultobj
;
19863 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
19865 PyObject
* obj0
= 0 ;
19866 char *kwnames
[] = {
19867 (char *) "self", NULL
19870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetPosition",kwnames
,&obj0
)) goto fail
;
19871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19874 result
= (int)(arg1
)->GetPosition();
19876 wxPyEndAllowThreads(__tstate
);
19877 if (PyErr_Occurred()) SWIG_fail
;
19879 resultobj
= PyInt_FromLong((long)result
);
19886 static PyObject
*_wrap_ArrowHead_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19887 PyObject
*resultobj
;
19888 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
19890 PyObject
* obj0
= 0 ;
19891 char *kwnames
[] = {
19892 (char *) "self",(char *) "pos", NULL
19895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ArrowHead_SetPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
19896 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19899 (arg1
)->SetPosition(arg2
);
19901 wxPyEndAllowThreads(__tstate
);
19902 if (PyErr_Occurred()) SWIG_fail
;
19904 Py_INCREF(Py_None
); resultobj
= Py_None
;
19911 static PyObject
*_wrap_ArrowHead_GetXOffset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19912 PyObject
*resultobj
;
19913 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
19915 PyObject
* obj0
= 0 ;
19916 char *kwnames
[] = {
19917 (char *) "self", NULL
19920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetXOffset",kwnames
,&obj0
)) goto fail
;
19921 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19924 result
= (double)(arg1
)->GetXOffset();
19926 wxPyEndAllowThreads(__tstate
);
19927 if (PyErr_Occurred()) SWIG_fail
;
19929 resultobj
= PyFloat_FromDouble(result
);
19936 static PyObject
*_wrap_ArrowHead_GetYOffset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19937 PyObject
*resultobj
;
19938 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
19940 PyObject
* obj0
= 0 ;
19941 char *kwnames
[] = {
19942 (char *) "self", NULL
19945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetYOffset",kwnames
,&obj0
)) goto fail
;
19946 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19949 result
= (double)(arg1
)->GetYOffset();
19951 wxPyEndAllowThreads(__tstate
);
19952 if (PyErr_Occurred()) SWIG_fail
;
19954 resultobj
= PyFloat_FromDouble(result
);
19961 static PyObject
*_wrap_ArrowHead_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19962 PyObject
*resultobj
;
19963 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
19965 PyObject
* obj0
= 0 ;
19966 char *kwnames
[] = {
19967 (char *) "self", NULL
19970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetSpacing",kwnames
,&obj0
)) goto fail
;
19971 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19974 result
= (double)(arg1
)->GetSpacing();
19976 wxPyEndAllowThreads(__tstate
);
19977 if (PyErr_Occurred()) SWIG_fail
;
19979 resultobj
= PyFloat_FromDouble(result
);
19986 static PyObject
*_wrap_ArrowHead_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19987 PyObject
*resultobj
;
19988 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
19990 PyObject
* obj0
= 0 ;
19991 char *kwnames
[] = {
19992 (char *) "self", NULL
19995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetSize",kwnames
,&obj0
)) goto fail
;
19996 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19999 result
= (double)(arg1
)->GetSize();
20001 wxPyEndAllowThreads(__tstate
);
20002 if (PyErr_Occurred()) SWIG_fail
;
20004 resultobj
= PyFloat_FromDouble(result
);
20011 static PyObject
*_wrap_ArrowHead_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20012 PyObject
*resultobj
;
20013 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
20015 PyObject
* obj0
= 0 ;
20016 char *kwnames
[] = {
20017 (char *) "self", NULL
20020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetName",kwnames
,&obj0
)) goto fail
;
20021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20024 result
= (arg1
)->GetName();
20026 wxPyEndAllowThreads(__tstate
);
20027 if (PyErr_Occurred()) SWIG_fail
;
20031 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20033 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20042 static PyObject
*_wrap_ArrowHead_SetXOffset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20043 PyObject
*resultobj
;
20044 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
20046 PyObject
* obj0
= 0 ;
20047 char *kwnames
[] = {
20048 (char *) "self",(char *) "x", NULL
20051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:ArrowHead_SetXOffset",kwnames
,&obj0
,&arg2
)) goto fail
;
20052 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20055 (arg1
)->SetXOffset(arg2
);
20057 wxPyEndAllowThreads(__tstate
);
20058 if (PyErr_Occurred()) SWIG_fail
;
20060 Py_INCREF(Py_None
); resultobj
= Py_None
;
20067 static PyObject
*_wrap_ArrowHead_SetYOffset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20068 PyObject
*resultobj
;
20069 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
20071 PyObject
* obj0
= 0 ;
20072 char *kwnames
[] = {
20073 (char *) "self",(char *) "y", NULL
20076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:ArrowHead_SetYOffset",kwnames
,&obj0
,&arg2
)) goto fail
;
20077 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20080 (arg1
)->SetYOffset(arg2
);
20082 wxPyEndAllowThreads(__tstate
);
20083 if (PyErr_Occurred()) SWIG_fail
;
20085 Py_INCREF(Py_None
); resultobj
= Py_None
;
20092 static PyObject
*_wrap_ArrowHead_GetMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20093 PyObject
*resultobj
;
20094 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
20095 wxPseudoMetaFile
*result
;
20096 PyObject
* obj0
= 0 ;
20097 char *kwnames
[] = {
20098 (char *) "self", NULL
20101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetMetaFile",kwnames
,&obj0
)) goto fail
;
20102 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20105 result
= (wxPseudoMetaFile
*)(arg1
)->GetMetaFile();
20107 wxPyEndAllowThreads(__tstate
);
20108 if (PyErr_Occurred()) SWIG_fail
;
20111 resultobj
= wxPyMake_wxObject(result
);
20119 static PyObject
*_wrap_ArrowHead_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20120 PyObject
*resultobj
;
20121 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
20123 PyObject
* obj0
= 0 ;
20124 char *kwnames
[] = {
20125 (char *) "self", NULL
20128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetId",kwnames
,&obj0
)) goto fail
;
20129 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20132 result
= (long)(arg1
)->GetId();
20134 wxPyEndAllowThreads(__tstate
);
20135 if (PyErr_Occurred()) SWIG_fail
;
20137 resultobj
= PyInt_FromLong((long)result
);
20144 static PyObject
*_wrap_ArrowHead_GetArrowEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20145 PyObject
*resultobj
;
20146 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
20148 PyObject
* obj0
= 0 ;
20149 char *kwnames
[] = {
20150 (char *) "self", NULL
20153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetArrowEnd",kwnames
,&obj0
)) goto fail
;
20154 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20157 result
= (int)(arg1
)->GetArrowEnd();
20159 wxPyEndAllowThreads(__tstate
);
20160 if (PyErr_Occurred()) SWIG_fail
;
20162 resultobj
= PyInt_FromLong((long)result
);
20169 static PyObject
*_wrap_ArrowHead_GetArrowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20170 PyObject
*resultobj
;
20171 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
20173 PyObject
* obj0
= 0 ;
20174 char *kwnames
[] = {
20175 (char *) "self", NULL
20178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetArrowSize",kwnames
,&obj0
)) goto fail
;
20179 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20182 result
= (double)(arg1
)->GetArrowSize();
20184 wxPyEndAllowThreads(__tstate
);
20185 if (PyErr_Occurred()) SWIG_fail
;
20187 resultobj
= PyFloat_FromDouble(result
);
20194 static PyObject
*_wrap_ArrowHead_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20195 PyObject
*resultobj
;
20196 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
20198 PyObject
* obj0
= 0 ;
20199 char *kwnames
[] = {
20200 (char *) "self",(char *) "size", NULL
20203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:ArrowHead_SetSize",kwnames
,&obj0
,&arg2
)) goto fail
;
20204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20207 (arg1
)->SetSize(arg2
);
20209 wxPyEndAllowThreads(__tstate
);
20210 if (PyErr_Occurred()) SWIG_fail
;
20212 Py_INCREF(Py_None
); resultobj
= Py_None
;
20219 static PyObject
*_wrap_ArrowHead_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20220 PyObject
*resultobj
;
20221 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
20223 PyObject
* obj0
= 0 ;
20224 char *kwnames
[] = {
20225 (char *) "self",(char *) "sp", NULL
20228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:ArrowHead_SetSpacing",kwnames
,&obj0
,&arg2
)) goto fail
;
20229 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20232 (arg1
)->SetSpacing(arg2
);
20234 wxPyEndAllowThreads(__tstate
);
20235 if (PyErr_Occurred()) SWIG_fail
;
20237 Py_INCREF(Py_None
); resultobj
= Py_None
;
20244 static PyObject
* ArrowHead_swigregister(PyObject
*self
, PyObject
*args
) {
20246 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20247 SWIG_TypeClientData(SWIGTYPE_p_wxArrowHead
, obj
);
20249 return Py_BuildValue((char *)"");
20251 static PyObject
*_wrap_new_PyLineShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20252 PyObject
*resultobj
;
20253 wxPyLineShape
*result
;
20254 char *kwnames
[] = {
20258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLineShape",kwnames
)) goto fail
;
20260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20261 result
= (wxPyLineShape
*)new wxPyLineShape();
20263 wxPyEndAllowThreads(__tstate
);
20264 if (PyErr_Occurred()) SWIG_fail
;
20266 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyLineShape
, 1);
20273 static PyObject
*_wrap_PyLineShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20274 PyObject
*resultobj
;
20275 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20276 PyObject
*arg2
= (PyObject
*) 0 ;
20277 PyObject
*arg3
= (PyObject
*) 0 ;
20278 PyObject
* obj0
= 0 ;
20279 PyObject
* obj1
= 0 ;
20280 PyObject
* obj2
= 0 ;
20281 char *kwnames
[] = {
20282 (char *) "self",(char *) "self",(char *) "_class", NULL
20285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20286 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20291 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20293 wxPyEndAllowThreads(__tstate
);
20294 if (PyErr_Occurred()) SWIG_fail
;
20296 Py_INCREF(Py_None
); resultobj
= Py_None
;
20303 static PyObject
*_wrap_PyLineShape_AddArrow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20304 PyObject
*resultobj
;
20305 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20307 int arg3
= (int) ARROW_POSITION_END
;
20308 double arg4
= (double) 10.0 ;
20309 double arg5
= (double) 0.0 ;
20310 wxString
const &arg6_defvalue
= wxPyEmptyString
;
20311 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20312 wxPseudoMetaFile
*arg7
= (wxPseudoMetaFile
*) NULL
;
20313 long arg8
= (long) -1 ;
20314 bool temp6
= false ;
20315 PyObject
* obj0
= 0 ;
20316 PyObject
* obj5
= 0 ;
20317 PyObject
* obj6
= 0 ;
20318 char *kwnames
[] = {
20319 (char *) "self",(char *) "type",(char *) "end",(char *) "arrowSize",(char *) "xOffset",(char *) "name",(char *) "mf",(char *) "arrowId", NULL
20322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|iddOOl:PyLineShape_AddArrow",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&obj5
,&obj6
,&arg8
)) goto fail
;
20323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20326 arg6
= wxString_in_helper(obj5
);
20327 if (arg6
== NULL
) SWIG_fail
;
20332 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20336 (arg1
)->AddArrow(arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
,arg8
);
20338 wxPyEndAllowThreads(__tstate
);
20339 if (PyErr_Occurred()) SWIG_fail
;
20341 Py_INCREF(Py_None
); resultobj
= Py_None
;
20356 static PyObject
*_wrap_PyLineShape_AddArrowOrdered(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20357 PyObject
*resultobj
;
20358 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20359 wxArrowHead
*arg2
= (wxArrowHead
*) 0 ;
20360 PyObject
*arg3
= (PyObject
*) 0 ;
20362 PyObject
* obj0
= 0 ;
20363 PyObject
* obj1
= 0 ;
20364 PyObject
* obj2
= 0 ;
20365 char *kwnames
[] = {
20366 (char *) "self",(char *) "arrow",(char *) "referenceList",(char *) "end", NULL
20369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOi:PyLineShape_AddArrowOrdered",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
20370 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20371 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20375 wxPyLineShape_AddArrowOrdered(arg1
,arg2
,arg3
,arg4
);
20377 wxPyEndAllowThreads(__tstate
);
20378 if (PyErr_Occurred()) SWIG_fail
;
20380 Py_INCREF(Py_None
); resultobj
= Py_None
;
20387 static PyObject
*_wrap_PyLineShape_ClearArrow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20388 PyObject
*resultobj
;
20389 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20390 wxString
*arg2
= 0 ;
20392 bool temp2
= false ;
20393 PyObject
* obj0
= 0 ;
20394 PyObject
* obj1
= 0 ;
20395 char *kwnames
[] = {
20396 (char *) "self",(char *) "name", NULL
20399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_ClearArrow",kwnames
,&obj0
,&obj1
)) goto fail
;
20400 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20402 arg2
= wxString_in_helper(obj1
);
20403 if (arg2
== NULL
) SWIG_fail
;
20407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20408 result
= (bool)(arg1
)->ClearArrow((wxString
const &)*arg2
);
20410 wxPyEndAllowThreads(__tstate
);
20411 if (PyErr_Occurred()) SWIG_fail
;
20413 resultobj
= PyInt_FromLong((long)result
);
20428 static PyObject
*_wrap_PyLineShape_ClearArrowsAtPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20429 PyObject
*resultobj
;
20430 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20431 int arg2
= (int) -1 ;
20432 PyObject
* obj0
= 0 ;
20433 char *kwnames
[] = {
20434 (char *) "self",(char *) "position", NULL
20437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:PyLineShape_ClearArrowsAtPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
20438 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20441 (arg1
)->ClearArrowsAtPosition(arg2
);
20443 wxPyEndAllowThreads(__tstate
);
20444 if (PyErr_Occurred()) SWIG_fail
;
20446 Py_INCREF(Py_None
); resultobj
= Py_None
;
20453 static PyObject
*_wrap_PyLineShape_DrawArrow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20454 PyObject
*resultobj
;
20455 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20457 wxArrowHead
*arg3
= (wxArrowHead
*) 0 ;
20460 PyObject
* obj0
= 0 ;
20461 PyObject
* obj1
= 0 ;
20462 PyObject
* obj2
= 0 ;
20463 PyObject
* obj4
= 0 ;
20464 char *kwnames
[] = {
20465 (char *) "self",(char *) "dc",(char *) "arrow",(char *) "xOffset",(char *) "proportionalOffset", NULL
20468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdO:PyLineShape_DrawArrow",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&obj4
)) goto fail
;
20469 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20470 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20471 if (arg2
== NULL
) {
20472 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20474 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20475 arg5
= PyInt_AsLong(obj4
) ? true : false;
20476 if (PyErr_Occurred()) SWIG_fail
;
20478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20479 (arg1
)->DrawArrow(*arg2
,arg3
,arg4
,arg5
);
20481 wxPyEndAllowThreads(__tstate
);
20482 if (PyErr_Occurred()) SWIG_fail
;
20484 Py_INCREF(Py_None
); resultobj
= Py_None
;
20491 static PyObject
*_wrap_PyLineShape_DeleteArrowHeadId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20492 PyObject
*resultobj
;
20493 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20496 PyObject
* obj0
= 0 ;
20497 char *kwnames
[] = {
20498 (char *) "self",(char *) "arrowId", NULL
20501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:PyLineShape_DeleteArrowHeadId",kwnames
,&obj0
,&arg2
)) goto fail
;
20502 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20505 result
= (bool)(arg1
)->DeleteArrowHead(arg2
);
20507 wxPyEndAllowThreads(__tstate
);
20508 if (PyErr_Occurred()) SWIG_fail
;
20510 resultobj
= PyInt_FromLong((long)result
);
20517 static PyObject
*_wrap_PyLineShape_DeleteArrowHead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20518 PyObject
*resultobj
;
20519 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20521 wxString
*arg3
= 0 ;
20523 bool temp3
= false ;
20524 PyObject
* obj0
= 0 ;
20525 PyObject
* obj2
= 0 ;
20526 char *kwnames
[] = {
20527 (char *) "self",(char *) "position",(char *) "name", NULL
20530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:PyLineShape_DeleteArrowHead",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
20531 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20533 arg3
= wxString_in_helper(obj2
);
20534 if (arg3
== NULL
) SWIG_fail
;
20538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20539 result
= (bool)(arg1
)->DeleteArrowHead(arg2
,(wxString
const &)*arg3
);
20541 wxPyEndAllowThreads(__tstate
);
20542 if (PyErr_Occurred()) SWIG_fail
;
20544 resultobj
= PyInt_FromLong((long)result
);
20559 static PyObject
*_wrap_PyLineShape_DeleteLineControlPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20560 PyObject
*resultobj
;
20561 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20563 PyObject
* obj0
= 0 ;
20564 char *kwnames
[] = {
20565 (char *) "self", NULL
20568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_DeleteLineControlPoint",kwnames
,&obj0
)) goto fail
;
20569 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20572 result
= (bool)(arg1
)->DeleteLineControlPoint();
20574 wxPyEndAllowThreads(__tstate
);
20575 if (PyErr_Occurred()) SWIG_fail
;
20577 resultobj
= PyInt_FromLong((long)result
);
20584 static PyObject
*_wrap_PyLineShape_DrawArrows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20585 PyObject
*resultobj
;
20586 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20588 PyObject
* obj0
= 0 ;
20589 PyObject
* obj1
= 0 ;
20590 char *kwnames
[] = {
20591 (char *) "self",(char *) "dc", NULL
20594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_DrawArrows",kwnames
,&obj0
,&obj1
)) goto fail
;
20595 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20596 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20597 if (arg2
== NULL
) {
20598 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20602 (arg1
)->DrawArrows(*arg2
);
20604 wxPyEndAllowThreads(__tstate
);
20605 if (PyErr_Occurred()) SWIG_fail
;
20607 Py_INCREF(Py_None
); resultobj
= Py_None
;
20614 static PyObject
*_wrap_PyLineShape_DrawRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20615 PyObject
*resultobj
;
20616 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20618 wxShapeRegion
*arg3
= (wxShapeRegion
*) 0 ;
20621 PyObject
* obj0
= 0 ;
20622 PyObject
* obj1
= 0 ;
20623 PyObject
* obj2
= 0 ;
20624 char *kwnames
[] = {
20625 (char *) "self",(char *) "dc",(char *) "region",(char *) "x",(char *) "y", NULL
20628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd:PyLineShape_DrawRegion",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
)) goto fail
;
20629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20630 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20631 if (arg2
== NULL
) {
20632 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20634 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20637 (arg1
)->DrawRegion(*arg2
,arg3
,arg4
,arg5
);
20639 wxPyEndAllowThreads(__tstate
);
20640 if (PyErr_Occurred()) SWIG_fail
;
20642 Py_INCREF(Py_None
); resultobj
= Py_None
;
20649 static PyObject
*_wrap_PyLineShape_EraseRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20650 PyObject
*resultobj
;
20651 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20653 wxShapeRegion
*arg3
= (wxShapeRegion
*) 0 ;
20656 PyObject
* obj0
= 0 ;
20657 PyObject
* obj1
= 0 ;
20658 PyObject
* obj2
= 0 ;
20659 char *kwnames
[] = {
20660 (char *) "self",(char *) "dc",(char *) "region",(char *) "x",(char *) "y", NULL
20663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd:PyLineShape_EraseRegion",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
)) goto fail
;
20664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20665 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20666 if (arg2
== NULL
) {
20667 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20669 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20672 (arg1
)->EraseRegion(*arg2
,arg3
,arg4
,arg5
);
20674 wxPyEndAllowThreads(__tstate
);
20675 if (PyErr_Occurred()) SWIG_fail
;
20677 Py_INCREF(Py_None
); resultobj
= Py_None
;
20684 static PyObject
*_wrap_PyLineShape_FindArrowHeadId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20685 PyObject
*resultobj
;
20686 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20688 wxArrowHead
*result
;
20689 PyObject
* obj0
= 0 ;
20690 char *kwnames
[] = {
20691 (char *) "self",(char *) "arrowId", NULL
20694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:PyLineShape_FindArrowHeadId",kwnames
,&obj0
,&arg2
)) goto fail
;
20695 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20698 result
= (wxArrowHead
*)(arg1
)->FindArrowHead(arg2
);
20700 wxPyEndAllowThreads(__tstate
);
20701 if (PyErr_Occurred()) SWIG_fail
;
20704 resultobj
= wxPyMake_wxObject(result
);
20712 static PyObject
*_wrap_PyLineShape_FindArrowHead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20713 PyObject
*resultobj
;
20714 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20716 wxString
*arg3
= 0 ;
20717 wxArrowHead
*result
;
20718 bool temp3
= false ;
20719 PyObject
* obj0
= 0 ;
20720 PyObject
* obj2
= 0 ;
20721 char *kwnames
[] = {
20722 (char *) "self",(char *) "position",(char *) "name", NULL
20725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:PyLineShape_FindArrowHead",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
20726 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20728 arg3
= wxString_in_helper(obj2
);
20729 if (arg3
== NULL
) SWIG_fail
;
20733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20734 result
= (wxArrowHead
*)(arg1
)->FindArrowHead(arg2
,(wxString
const &)*arg3
);
20736 wxPyEndAllowThreads(__tstate
);
20737 if (PyErr_Occurred()) SWIG_fail
;
20740 resultobj
= wxPyMake_wxObject(result
);
20756 static PyObject
*_wrap_PyLineShape_FindLineEndPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20757 PyObject
*resultobj
;
20758 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20759 double *arg2
= (double *) 0 ;
20760 double *arg3
= (double *) 0 ;
20761 double *arg4
= (double *) 0 ;
20762 double *arg5
= (double *) 0 ;
20767 PyObject
* obj0
= 0 ;
20768 char *kwnames
[] = {
20769 (char *) "self", NULL
20776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_FindLineEndPoints",kwnames
,&obj0
)) goto fail
;
20777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20780 (arg1
)->FindLineEndPoints(arg2
,arg3
,arg4
,arg5
);
20782 wxPyEndAllowThreads(__tstate
);
20783 if (PyErr_Occurred()) SWIG_fail
;
20785 Py_INCREF(Py_None
); resultobj
= Py_None
;
20787 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
20788 resultobj
= t_output_helper(resultobj
,o
);
20791 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
20792 resultobj
= t_output_helper(resultobj
,o
);
20795 PyObject
*o
= PyFloat_FromDouble((double) (*arg4
));
20796 resultobj
= t_output_helper(resultobj
,o
);
20799 PyObject
*o
= PyFloat_FromDouble((double) (*arg5
));
20800 resultobj
= t_output_helper(resultobj
,o
);
20808 static PyObject
*_wrap_PyLineShape_FindLinePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20809 PyObject
*resultobj
;
20810 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20814 PyObject
* obj0
= 0 ;
20815 char *kwnames
[] = {
20816 (char *) "self",(char *) "x",(char *) "y", NULL
20819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyLineShape_FindLinePosition",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
20820 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20823 result
= (int)(arg1
)->FindLinePosition(arg2
,arg3
);
20825 wxPyEndAllowThreads(__tstate
);
20826 if (PyErr_Occurred()) SWIG_fail
;
20828 resultobj
= PyInt_FromLong((long)result
);
20835 static PyObject
*_wrap_PyLineShape_FindMinimumWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20836 PyObject
*resultobj
;
20837 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20839 PyObject
* obj0
= 0 ;
20840 char *kwnames
[] = {
20841 (char *) "self", NULL
20844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_FindMinimumWidth",kwnames
,&obj0
)) goto fail
;
20845 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20848 result
= (double)(arg1
)->FindMinimumWidth();
20850 wxPyEndAllowThreads(__tstate
);
20851 if (PyErr_Occurred()) SWIG_fail
;
20853 resultobj
= PyFloat_FromDouble(result
);
20860 static PyObject
*_wrap_PyLineShape_FindNth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20861 PyObject
*resultobj
;
20862 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20863 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
20864 int *arg3
= (int *) 0 ;
20865 int *arg4
= (int *) 0 ;
20869 PyObject
* obj0
= 0 ;
20870 PyObject
* obj1
= 0 ;
20871 PyObject
* obj2
= 0 ;
20872 char *kwnames
[] = {
20873 (char *) "self",(char *) "image",(char *) "incoming", NULL
20878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_FindNth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20879 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20880 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20881 arg5
= PyInt_AsLong(obj2
) ? true : false;
20882 if (PyErr_Occurred()) SWIG_fail
;
20884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20885 (arg1
)->FindNth(arg2
,arg3
,arg4
,arg5
);
20887 wxPyEndAllowThreads(__tstate
);
20888 if (PyErr_Occurred()) SWIG_fail
;
20890 Py_INCREF(Py_None
); resultobj
= Py_None
;
20892 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20893 resultobj
= t_output_helper(resultobj
,o
);
20896 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
20897 resultobj
= t_output_helper(resultobj
,o
);
20905 static PyObject
*_wrap_PyLineShape_GetAttachmentFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20906 PyObject
*resultobj
;
20907 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20909 PyObject
* obj0
= 0 ;
20910 char *kwnames
[] = {
20911 (char *) "self", NULL
20914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetAttachmentFrom",kwnames
,&obj0
)) goto fail
;
20915 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20918 result
= (int)(arg1
)->GetAttachmentFrom();
20920 wxPyEndAllowThreads(__tstate
);
20921 if (PyErr_Occurred()) SWIG_fail
;
20923 resultobj
= PyInt_FromLong((long)result
);
20930 static PyObject
*_wrap_PyLineShape_GetAttachmentTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20931 PyObject
*resultobj
;
20932 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20934 PyObject
* obj0
= 0 ;
20935 char *kwnames
[] = {
20936 (char *) "self", NULL
20939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetAttachmentTo",kwnames
,&obj0
)) goto fail
;
20940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20943 result
= (int)(arg1
)->GetAttachmentTo();
20945 wxPyEndAllowThreads(__tstate
);
20946 if (PyErr_Occurred()) SWIG_fail
;
20948 resultobj
= PyInt_FromLong((long)result
);
20955 static PyObject
*_wrap_PyLineShape_GetEnds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20956 PyObject
*resultobj
;
20957 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20958 double *arg2
= (double *) 0 ;
20959 double *arg3
= (double *) 0 ;
20960 double *arg4
= (double *) 0 ;
20961 double *arg5
= (double *) 0 ;
20966 PyObject
* obj0
= 0 ;
20967 char *kwnames
[] = {
20968 (char *) "self", NULL
20975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetEnds",kwnames
,&obj0
)) goto fail
;
20976 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20979 (arg1
)->GetEnds(arg2
,arg3
,arg4
,arg5
);
20981 wxPyEndAllowThreads(__tstate
);
20982 if (PyErr_Occurred()) SWIG_fail
;
20984 Py_INCREF(Py_None
); resultobj
= Py_None
;
20986 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
20987 resultobj
= t_output_helper(resultobj
,o
);
20990 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
20991 resultobj
= t_output_helper(resultobj
,o
);
20994 PyObject
*o
= PyFloat_FromDouble((double) (*arg4
));
20995 resultobj
= t_output_helper(resultobj
,o
);
20998 PyObject
*o
= PyFloat_FromDouble((double) (*arg5
));
20999 resultobj
= t_output_helper(resultobj
,o
);
21007 static PyObject
*_wrap_PyLineShape_GetFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21008 PyObject
*resultobj
;
21009 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21011 PyObject
* obj0
= 0 ;
21012 char *kwnames
[] = {
21013 (char *) "self", NULL
21016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetFrom",kwnames
,&obj0
)) goto fail
;
21017 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21020 result
= (wxPyShape
*)(arg1
)->GetFrom();
21022 wxPyEndAllowThreads(__tstate
);
21023 if (PyErr_Occurred()) SWIG_fail
;
21026 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
21034 static PyObject
*_wrap_PyLineShape_GetLabelPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21035 PyObject
*resultobj
;
21036 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21038 double *arg3
= (double *) 0 ;
21039 double *arg4
= (double *) 0 ;
21042 PyObject
* obj0
= 0 ;
21043 char *kwnames
[] = {
21044 (char *) "self",(char *) "position", NULL
21049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyLineShape_GetLabelPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
21050 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21053 (arg1
)->GetLabelPosition(arg2
,arg3
,arg4
);
21055 wxPyEndAllowThreads(__tstate
);
21056 if (PyErr_Occurred()) SWIG_fail
;
21058 Py_INCREF(Py_None
); resultobj
= Py_None
;
21060 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
21061 resultobj
= t_output_helper(resultobj
,o
);
21064 PyObject
*o
= PyFloat_FromDouble((double) (*arg4
));
21065 resultobj
= t_output_helper(resultobj
,o
);
21073 static PyObject
*_wrap_PyLineShape_GetNextControlPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21074 PyObject
*resultobj
;
21075 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21076 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
21077 wxRealPoint
*result
;
21078 PyObject
* obj0
= 0 ;
21079 PyObject
* obj1
= 0 ;
21080 char *kwnames
[] = {
21081 (char *) "self",(char *) "shape", NULL
21084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_GetNextControlPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
21085 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21086 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21089 result
= (wxRealPoint
*)(arg1
)->GetNextControlPoint(arg2
);
21091 wxPyEndAllowThreads(__tstate
);
21092 if (PyErr_Occurred()) SWIG_fail
;
21094 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRealPoint
, 0);
21101 static PyObject
*_wrap_PyLineShape_GetTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21102 PyObject
*resultobj
;
21103 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21105 PyObject
* obj0
= 0 ;
21106 char *kwnames
[] = {
21107 (char *) "self", NULL
21110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetTo",kwnames
,&obj0
)) goto fail
;
21111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21114 result
= (wxPyShape
*)(arg1
)->GetTo();
21116 wxPyEndAllowThreads(__tstate
);
21117 if (PyErr_Occurred()) SWIG_fail
;
21120 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
21128 static PyObject
*_wrap_PyLineShape_Initialise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21129 PyObject
*resultobj
;
21130 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21131 PyObject
* obj0
= 0 ;
21132 char *kwnames
[] = {
21133 (char *) "self", NULL
21136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_Initialise",kwnames
,&obj0
)) goto fail
;
21137 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21140 (arg1
)->Initialise();
21142 wxPyEndAllowThreads(__tstate
);
21143 if (PyErr_Occurred()) SWIG_fail
;
21145 Py_INCREF(Py_None
); resultobj
= Py_None
;
21152 static PyObject
*_wrap_PyLineShape_InsertLineControlPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21153 PyObject
*resultobj
;
21154 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21155 wxDC
*arg2
= (wxDC
*) 0 ;
21156 PyObject
* obj0
= 0 ;
21157 PyObject
* obj1
= 0 ;
21158 char *kwnames
[] = {
21159 (char *) "self",(char *) "dc", NULL
21162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_InsertLineControlPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
21163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21164 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21167 (arg1
)->InsertLineControlPoint(arg2
);
21169 wxPyEndAllowThreads(__tstate
);
21170 if (PyErr_Occurred()) SWIG_fail
;
21172 Py_INCREF(Py_None
); resultobj
= Py_None
;
21179 static PyObject
*_wrap_PyLineShape_IsEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21180 PyObject
*resultobj
;
21181 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21182 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
21184 PyObject
* obj0
= 0 ;
21185 PyObject
* obj1
= 0 ;
21186 char *kwnames
[] = {
21187 (char *) "self",(char *) "shape", NULL
21190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_IsEnd",kwnames
,&obj0
,&obj1
)) goto fail
;
21191 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21192 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21195 result
= (bool)(arg1
)->IsEnd(arg2
);
21197 wxPyEndAllowThreads(__tstate
);
21198 if (PyErr_Occurred()) SWIG_fail
;
21200 resultobj
= PyInt_FromLong((long)result
);
21207 static PyObject
*_wrap_PyLineShape_IsSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21208 PyObject
*resultobj
;
21209 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21211 PyObject
* obj0
= 0 ;
21212 char *kwnames
[] = {
21213 (char *) "self", NULL
21216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_IsSpline",kwnames
,&obj0
)) goto fail
;
21217 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21220 result
= (bool)(arg1
)->IsSpline();
21222 wxPyEndAllowThreads(__tstate
);
21223 if (PyErr_Occurred()) SWIG_fail
;
21225 resultobj
= PyInt_FromLong((long)result
);
21232 static PyObject
*_wrap_PyLineShape_MakeLineControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21233 PyObject
*resultobj
;
21234 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21236 PyObject
* obj0
= 0 ;
21237 char *kwnames
[] = {
21238 (char *) "self",(char *) "n", NULL
21241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyLineShape_MakeLineControlPoints",kwnames
,&obj0
,&arg2
)) goto fail
;
21242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21245 (arg1
)->MakeLineControlPoints(arg2
);
21247 wxPyEndAllowThreads(__tstate
);
21248 if (PyErr_Occurred()) SWIG_fail
;
21250 Py_INCREF(Py_None
); resultobj
= Py_None
;
21257 static PyObject
*_wrap_PyLineShape_GetLineControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21258 PyObject
*resultobj
;
21259 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21261 PyObject
* obj0
= 0 ;
21262 char *kwnames
[] = {
21263 (char *) "self", NULL
21266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetLineControlPoints",kwnames
,&obj0
)) goto fail
;
21267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21270 result
= (PyObject
*)wxPyLineShape_GetLineControlPoints(arg1
);
21272 wxPyEndAllowThreads(__tstate
);
21273 if (PyErr_Occurred()) SWIG_fail
;
21275 resultobj
= result
;
21282 static PyObject
*_wrap_PyLineShape_SetAttachmentFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21283 PyObject
*resultobj
;
21284 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21286 PyObject
* obj0
= 0 ;
21287 char *kwnames
[] = {
21288 (char *) "self",(char *) "fromAttach", NULL
21291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyLineShape_SetAttachmentFrom",kwnames
,&obj0
,&arg2
)) goto fail
;
21292 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21295 (arg1
)->SetAttachmentFrom(arg2
);
21297 wxPyEndAllowThreads(__tstate
);
21298 if (PyErr_Occurred()) SWIG_fail
;
21300 Py_INCREF(Py_None
); resultobj
= Py_None
;
21307 static PyObject
*_wrap_PyLineShape_SetAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21308 PyObject
*resultobj
;
21309 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21312 PyObject
* obj0
= 0 ;
21313 char *kwnames
[] = {
21314 (char *) "self",(char *) "fromAttach",(char *) "toAttach", NULL
21317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyLineShape_SetAttachments",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
21318 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21321 (arg1
)->SetAttachments(arg2
,arg3
);
21323 wxPyEndAllowThreads(__tstate
);
21324 if (PyErr_Occurred()) SWIG_fail
;
21326 Py_INCREF(Py_None
); resultobj
= Py_None
;
21333 static PyObject
*_wrap_PyLineShape_SetAttachmentTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21334 PyObject
*resultobj
;
21335 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21337 PyObject
* obj0
= 0 ;
21338 char *kwnames
[] = {
21339 (char *) "self",(char *) "toAttach", NULL
21342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyLineShape_SetAttachmentTo",kwnames
,&obj0
,&arg2
)) goto fail
;
21343 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21346 (arg1
)->SetAttachmentTo(arg2
);
21348 wxPyEndAllowThreads(__tstate
);
21349 if (PyErr_Occurred()) SWIG_fail
;
21351 Py_INCREF(Py_None
); resultobj
= Py_None
;
21358 static PyObject
*_wrap_PyLineShape_SetEnds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21359 PyObject
*resultobj
;
21360 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21365 PyObject
* obj0
= 0 ;
21366 char *kwnames
[] = {
21367 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
21370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odddd:PyLineShape_SetEnds",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
21371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21374 (arg1
)->SetEnds(arg2
,arg3
,arg4
,arg5
);
21376 wxPyEndAllowThreads(__tstate
);
21377 if (PyErr_Occurred()) SWIG_fail
;
21379 Py_INCREF(Py_None
); resultobj
= Py_None
;
21386 static PyObject
*_wrap_PyLineShape_SetFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21387 PyObject
*resultobj
;
21388 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21389 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
21390 PyObject
* obj0
= 0 ;
21391 PyObject
* obj1
= 0 ;
21392 char *kwnames
[] = {
21393 (char *) "self",(char *) "object", NULL
21396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetFrom",kwnames
,&obj0
,&obj1
)) goto fail
;
21397 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21398 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21401 (arg1
)->SetFrom(arg2
);
21403 wxPyEndAllowThreads(__tstate
);
21404 if (PyErr_Occurred()) SWIG_fail
;
21406 Py_INCREF(Py_None
); resultobj
= Py_None
;
21413 static PyObject
*_wrap_PyLineShape_SetIgnoreOffsets(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21414 PyObject
*resultobj
;
21415 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21417 PyObject
* obj0
= 0 ;
21418 PyObject
* obj1
= 0 ;
21419 char *kwnames
[] = {
21420 (char *) "self",(char *) "ignore", NULL
21423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetIgnoreOffsets",kwnames
,&obj0
,&obj1
)) goto fail
;
21424 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21425 arg2
= PyInt_AsLong(obj1
) ? true : false;
21426 if (PyErr_Occurred()) SWIG_fail
;
21428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21429 (arg1
)->SetIgnoreOffsets(arg2
);
21431 wxPyEndAllowThreads(__tstate
);
21432 if (PyErr_Occurred()) SWIG_fail
;
21434 Py_INCREF(Py_None
); resultobj
= Py_None
;
21441 static PyObject
*_wrap_PyLineShape_SetSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21442 PyObject
*resultobj
;
21443 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21445 PyObject
* obj0
= 0 ;
21446 PyObject
* obj1
= 0 ;
21447 char *kwnames
[] = {
21448 (char *) "self",(char *) "spline", NULL
21451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
21452 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21453 arg2
= PyInt_AsLong(obj1
) ? true : false;
21454 if (PyErr_Occurred()) SWIG_fail
;
21456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21457 (arg1
)->SetSpline(arg2
);
21459 wxPyEndAllowThreads(__tstate
);
21460 if (PyErr_Occurred()) SWIG_fail
;
21462 Py_INCREF(Py_None
); resultobj
= Py_None
;
21469 static PyObject
*_wrap_PyLineShape_SetTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21470 PyObject
*resultobj
;
21471 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21472 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
21473 PyObject
* obj0
= 0 ;
21474 PyObject
* obj1
= 0 ;
21475 char *kwnames
[] = {
21476 (char *) "self",(char *) "object", NULL
21479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetTo",kwnames
,&obj0
,&obj1
)) goto fail
;
21480 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21481 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21484 (arg1
)->SetTo(arg2
);
21486 wxPyEndAllowThreads(__tstate
);
21487 if (PyErr_Occurred()) SWIG_fail
;
21489 Py_INCREF(Py_None
); resultobj
= Py_None
;
21496 static PyObject
*_wrap_PyLineShape_Straighten(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21497 PyObject
*resultobj
;
21498 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21499 wxDC
*arg2
= (wxDC
*) NULL
;
21500 PyObject
* obj0
= 0 ;
21501 PyObject
* obj1
= 0 ;
21502 char *kwnames
[] = {
21503 (char *) "self",(char *) "dc", NULL
21506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyLineShape_Straighten",kwnames
,&obj0
,&obj1
)) goto fail
;
21507 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21509 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21513 (arg1
)->Straighten(arg2
);
21515 wxPyEndAllowThreads(__tstate
);
21516 if (PyErr_Occurred()) SWIG_fail
;
21518 Py_INCREF(Py_None
); resultobj
= Py_None
;
21525 static PyObject
*_wrap_PyLineShape_Unlink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21526 PyObject
*resultobj
;
21527 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21528 PyObject
* obj0
= 0 ;
21529 char *kwnames
[] = {
21530 (char *) "self", NULL
21533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_Unlink",kwnames
,&obj0
)) goto fail
;
21534 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21539 wxPyEndAllowThreads(__tstate
);
21540 if (PyErr_Occurred()) SWIG_fail
;
21542 Py_INCREF(Py_None
); resultobj
= Py_None
;
21549 static PyObject
*_wrap_PyLineShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21550 PyObject
*resultobj
;
21551 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21553 PyObject
* obj0
= 0 ;
21554 PyObject
* obj1
= 0 ;
21555 char *kwnames
[] = {
21556 (char *) "self",(char *) "dc", NULL
21559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
21560 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21561 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21562 if (arg2
== NULL
) {
21563 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21567 (arg1
)->base_OnDraw(*arg2
);
21569 wxPyEndAllowThreads(__tstate
);
21570 if (PyErr_Occurred()) SWIG_fail
;
21572 Py_INCREF(Py_None
); resultobj
= Py_None
;
21579 static PyObject
*_wrap_PyLineShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21580 PyObject
*resultobj
;
21581 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21583 PyObject
* obj0
= 0 ;
21584 PyObject
* obj1
= 0 ;
21585 char *kwnames
[] = {
21586 (char *) "self",(char *) "dc", NULL
21589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
21590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21591 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21592 if (arg2
== NULL
) {
21593 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21597 (arg1
)->base_OnDrawContents(*arg2
);
21599 wxPyEndAllowThreads(__tstate
);
21600 if (PyErr_Occurred()) SWIG_fail
;
21602 Py_INCREF(Py_None
); resultobj
= Py_None
;
21609 static PyObject
*_wrap_PyLineShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21610 PyObject
*resultobj
;
21611 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21613 bool arg3
= (bool) FALSE
;
21614 PyObject
* obj0
= 0 ;
21615 PyObject
* obj1
= 0 ;
21616 PyObject
* obj2
= 0 ;
21617 char *kwnames
[] = {
21618 (char *) "self",(char *) "dc",(char *) "erase", NULL
21621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLineShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21622 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21623 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21624 if (arg2
== NULL
) {
21625 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21628 arg3
= PyInt_AsLong(obj2
) ? true : false;
21629 if (PyErr_Occurred()) SWIG_fail
;
21632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21633 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
21635 wxPyEndAllowThreads(__tstate
);
21636 if (PyErr_Occurred()) SWIG_fail
;
21638 Py_INCREF(Py_None
); resultobj
= Py_None
;
21645 static PyObject
*_wrap_PyLineShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21646 PyObject
*resultobj
;
21647 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21649 PyObject
* obj0
= 0 ;
21650 PyObject
* obj1
= 0 ;
21651 char *kwnames
[] = {
21652 (char *) "self",(char *) "dc", NULL
21655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
21656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21657 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21658 if (arg2
== NULL
) {
21659 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21663 (arg1
)->base_OnMoveLinks(*arg2
);
21665 wxPyEndAllowThreads(__tstate
);
21666 if (PyErr_Occurred()) SWIG_fail
;
21668 Py_INCREF(Py_None
); resultobj
= Py_None
;
21675 static PyObject
*_wrap_PyLineShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21676 PyObject
*resultobj
;
21677 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21679 PyObject
* obj0
= 0 ;
21680 PyObject
* obj1
= 0 ;
21681 char *kwnames
[] = {
21682 (char *) "self",(char *) "dc", NULL
21685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
21686 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21687 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21688 if (arg2
== NULL
) {
21689 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21693 (arg1
)->base_OnErase(*arg2
);
21695 wxPyEndAllowThreads(__tstate
);
21696 if (PyErr_Occurred()) SWIG_fail
;
21698 Py_INCREF(Py_None
); resultobj
= Py_None
;
21705 static PyObject
*_wrap_PyLineShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21706 PyObject
*resultobj
;
21707 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21709 PyObject
* obj0
= 0 ;
21710 PyObject
* obj1
= 0 ;
21711 char *kwnames
[] = {
21712 (char *) "self",(char *) "dc", NULL
21715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
21716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21717 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21718 if (arg2
== NULL
) {
21719 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21723 (arg1
)->base_OnEraseContents(*arg2
);
21725 wxPyEndAllowThreads(__tstate
);
21726 if (PyErr_Occurred()) SWIG_fail
;
21728 Py_INCREF(Py_None
); resultobj
= Py_None
;
21735 static PyObject
*_wrap_PyLineShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21736 PyObject
*resultobj
;
21737 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21739 PyObject
* obj0
= 0 ;
21740 PyObject
* obj1
= 0 ;
21741 char *kwnames
[] = {
21742 (char *) "self",(char *) "dc", NULL
21745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
21746 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21747 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21748 if (arg2
== NULL
) {
21749 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21753 (arg1
)->base_OnHighlight(*arg2
);
21755 wxPyEndAllowThreads(__tstate
);
21756 if (PyErr_Occurred()) SWIG_fail
;
21758 Py_INCREF(Py_None
); resultobj
= Py_None
;
21765 static PyObject
*_wrap_PyLineShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21766 PyObject
*resultobj
;
21767 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21770 int arg4
= (int) 0 ;
21771 int arg5
= (int) 0 ;
21772 PyObject
* obj0
= 0 ;
21773 char *kwnames
[] = {
21774 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyLineShape_base_OnLeftClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
21778 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21781 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
21783 wxPyEndAllowThreads(__tstate
);
21784 if (PyErr_Occurred()) SWIG_fail
;
21786 Py_INCREF(Py_None
); resultobj
= Py_None
;
21793 static PyObject
*_wrap_PyLineShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21794 PyObject
*resultobj
;
21795 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21798 int arg4
= (int) 0 ;
21799 int arg5
= (int) 0 ;
21800 PyObject
* obj0
= 0 ;
21801 char *kwnames
[] = {
21802 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyLineShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
21806 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21809 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
21811 wxPyEndAllowThreads(__tstate
);
21812 if (PyErr_Occurred()) SWIG_fail
;
21814 Py_INCREF(Py_None
); resultobj
= Py_None
;
21821 static PyObject
*_wrap_PyLineShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21822 PyObject
*resultobj
;
21823 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21826 int arg4
= (int) 0 ;
21827 int arg5
= (int) 0 ;
21828 PyObject
* obj0
= 0 ;
21829 char *kwnames
[] = {
21830 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyLineShape_base_OnRightClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
21834 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21837 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
21839 wxPyEndAllowThreads(__tstate
);
21840 if (PyErr_Occurred()) SWIG_fail
;
21842 Py_INCREF(Py_None
); resultobj
= Py_None
;
21849 static PyObject
*_wrap_PyLineShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21850 PyObject
*resultobj
;
21851 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21854 PyObject
* obj0
= 0 ;
21855 char *kwnames
[] = {
21856 (char *) "self",(char *) "x",(char *) "y", NULL
21859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyLineShape_base_OnSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
21860 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21863 (arg1
)->base_OnSize(arg2
,arg3
);
21865 wxPyEndAllowThreads(__tstate
);
21866 if (PyErr_Occurred()) SWIG_fail
;
21868 Py_INCREF(Py_None
); resultobj
= Py_None
;
21875 static PyObject
*_wrap_PyLineShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21876 PyObject
*resultobj
;
21877 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21883 bool arg7
= (bool) TRUE
;
21885 PyObject
* obj0
= 0 ;
21886 PyObject
* obj1
= 0 ;
21887 PyObject
* obj6
= 0 ;
21888 char *kwnames
[] = {
21889 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
21892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyLineShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
21893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21894 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21895 if (arg2
== NULL
) {
21896 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21899 arg7
= PyInt_AsLong(obj6
) ? true : false;
21900 if (PyErr_Occurred()) SWIG_fail
;
21903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21904 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21906 wxPyEndAllowThreads(__tstate
);
21907 if (PyErr_Occurred()) SWIG_fail
;
21909 resultobj
= PyInt_FromLong((long)result
);
21916 static PyObject
*_wrap_PyLineShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21917 PyObject
*resultobj
;
21918 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21924 bool arg7
= (bool) TRUE
;
21925 PyObject
* obj0
= 0 ;
21926 PyObject
* obj1
= 0 ;
21927 PyObject
* obj6
= 0 ;
21928 char *kwnames
[] = {
21929 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
21932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyLineShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
21933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21934 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21935 if (arg2
== NULL
) {
21936 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21939 arg7
= PyInt_AsLong(obj6
) ? true : false;
21940 if (PyErr_Occurred()) SWIG_fail
;
21943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21944 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21946 wxPyEndAllowThreads(__tstate
);
21947 if (PyErr_Occurred()) SWIG_fail
;
21949 Py_INCREF(Py_None
); resultobj
= Py_None
;
21956 static PyObject
*_wrap_PyLineShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21957 PyObject
*resultobj
;
21958 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21962 int arg5
= (int) 0 ;
21963 int arg6
= (int) 0 ;
21964 PyObject
* obj0
= 0 ;
21965 PyObject
* obj1
= 0 ;
21966 char *kwnames
[] = {
21967 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyLineShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
21971 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21972 arg2
= PyInt_AsLong(obj1
) ? true : false;
21973 if (PyErr_Occurred()) SWIG_fail
;
21975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21976 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
21978 wxPyEndAllowThreads(__tstate
);
21979 if (PyErr_Occurred()) SWIG_fail
;
21981 Py_INCREF(Py_None
); resultobj
= Py_None
;
21988 static PyObject
*_wrap_PyLineShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21989 PyObject
*resultobj
;
21990 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21993 int arg4
= (int) 0 ;
21994 int arg5
= (int) 0 ;
21995 PyObject
* obj0
= 0 ;
21996 char *kwnames
[] = {
21997 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyLineShape_base_OnBeginDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
22001 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22004 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
22006 wxPyEndAllowThreads(__tstate
);
22007 if (PyErr_Occurred()) SWIG_fail
;
22009 Py_INCREF(Py_None
); resultobj
= Py_None
;
22016 static PyObject
*_wrap_PyLineShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22017 PyObject
*resultobj
;
22018 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22021 int arg4
= (int) 0 ;
22022 int arg5
= (int) 0 ;
22023 PyObject
* obj0
= 0 ;
22024 char *kwnames
[] = {
22025 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyLineShape_base_OnEndDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
22029 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22032 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
22034 wxPyEndAllowThreads(__tstate
);
22035 if (PyErr_Occurred()) SWIG_fail
;
22037 Py_INCREF(Py_None
); resultobj
= Py_None
;
22044 static PyObject
*_wrap_PyLineShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22045 PyObject
*resultobj
;
22046 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22050 int arg5
= (int) 0 ;
22051 int arg6
= (int) 0 ;
22052 PyObject
* obj0
= 0 ;
22053 PyObject
* obj1
= 0 ;
22054 char *kwnames
[] = {
22055 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyLineShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
22059 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22060 arg2
= PyInt_AsLong(obj1
) ? true : false;
22061 if (PyErr_Occurred()) SWIG_fail
;
22063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22064 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
22066 wxPyEndAllowThreads(__tstate
);
22067 if (PyErr_Occurred()) SWIG_fail
;
22069 Py_INCREF(Py_None
); resultobj
= Py_None
;
22076 static PyObject
*_wrap_PyLineShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22077 PyObject
*resultobj
;
22078 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22081 int arg4
= (int) 0 ;
22082 int arg5
= (int) 0 ;
22083 PyObject
* obj0
= 0 ;
22084 char *kwnames
[] = {
22085 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyLineShape_base_OnBeginDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
22089 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22092 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
22094 wxPyEndAllowThreads(__tstate
);
22095 if (PyErr_Occurred()) SWIG_fail
;
22097 Py_INCREF(Py_None
); resultobj
= Py_None
;
22104 static PyObject
*_wrap_PyLineShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22105 PyObject
*resultobj
;
22106 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22109 int arg4
= (int) 0 ;
22110 int arg5
= (int) 0 ;
22111 PyObject
* obj0
= 0 ;
22112 char *kwnames
[] = {
22113 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyLineShape_base_OnEndDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
22117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22120 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
22122 wxPyEndAllowThreads(__tstate
);
22123 if (PyErr_Occurred()) SWIG_fail
;
22125 Py_INCREF(Py_None
); resultobj
= Py_None
;
22132 static PyObject
*_wrap_PyLineShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22133 PyObject
*resultobj
;
22134 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22140 PyObject
* obj0
= 0 ;
22141 PyObject
* obj1
= 0 ;
22142 char *kwnames
[] = {
22143 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
22146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd:PyLineShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
22147 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22148 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22149 if (arg2
== NULL
) {
22150 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22154 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
22156 wxPyEndAllowThreads(__tstate
);
22157 if (PyErr_Occurred()) SWIG_fail
;
22159 Py_INCREF(Py_None
); resultobj
= Py_None
;
22166 static PyObject
*_wrap_PyLineShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22167 PyObject
*resultobj
;
22168 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22170 PyObject
* obj0
= 0 ;
22171 PyObject
* obj1
= 0 ;
22172 char *kwnames
[] = {
22173 (char *) "self",(char *) "dc", NULL
22176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
22177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22178 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22179 if (arg2
== NULL
) {
22180 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22184 (arg1
)->base_OnDrawControlPoints(*arg2
);
22186 wxPyEndAllowThreads(__tstate
);
22187 if (PyErr_Occurred()) SWIG_fail
;
22189 Py_INCREF(Py_None
); resultobj
= Py_None
;
22196 static PyObject
*_wrap_PyLineShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22197 PyObject
*resultobj
;
22198 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22200 PyObject
* obj0
= 0 ;
22201 PyObject
* obj1
= 0 ;
22202 char *kwnames
[] = {
22203 (char *) "self",(char *) "dc", NULL
22206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
22207 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22208 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22209 if (arg2
== NULL
) {
22210 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22214 (arg1
)->base_OnEraseControlPoints(*arg2
);
22216 wxPyEndAllowThreads(__tstate
);
22217 if (PyErr_Occurred()) SWIG_fail
;
22219 Py_INCREF(Py_None
); resultobj
= Py_None
;
22226 static PyObject
*_wrap_PyLineShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22227 PyObject
*resultobj
;
22228 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22230 bool arg3
= (bool) TRUE
;
22231 PyObject
* obj0
= 0 ;
22232 PyObject
* obj1
= 0 ;
22233 PyObject
* obj2
= 0 ;
22234 char *kwnames
[] = {
22235 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
22238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLineShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22239 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22240 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22241 if (arg2
== NULL
) {
22242 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22245 arg3
= PyInt_AsLong(obj2
) ? true : false;
22246 if (PyErr_Occurred()) SWIG_fail
;
22249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22250 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
22252 wxPyEndAllowThreads(__tstate
);
22253 if (PyErr_Occurred()) SWIG_fail
;
22255 Py_INCREF(Py_None
); resultobj
= Py_None
;
22262 static PyObject
*_wrap_PyLineShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22263 PyObject
*resultobj
;
22264 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22265 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
22269 int arg6
= (int) 0 ;
22270 int arg7
= (int) 0 ;
22271 PyObject
* obj0
= 0 ;
22272 PyObject
* obj1
= 0 ;
22273 PyObject
* obj2
= 0 ;
22274 char *kwnames
[] = {
22275 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd|ii:PyLineShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
22279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22280 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22281 arg3
= PyInt_AsLong(obj2
) ? true : false;
22282 if (PyErr_Occurred()) SWIG_fail
;
22284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22285 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22287 wxPyEndAllowThreads(__tstate
);
22288 if (PyErr_Occurred()) SWIG_fail
;
22290 Py_INCREF(Py_None
); resultobj
= Py_None
;
22297 static PyObject
*_wrap_PyLineShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22298 PyObject
*resultobj
;
22299 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22300 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
22303 int arg5
= (int) 0 ;
22304 int arg6
= (int) 0 ;
22305 PyObject
* obj0
= 0 ;
22306 PyObject
* obj1
= 0 ;
22307 char *kwnames
[] = {
22308 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyLineShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
22312 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22313 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22316 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
22318 wxPyEndAllowThreads(__tstate
);
22319 if (PyErr_Occurred()) SWIG_fail
;
22321 Py_INCREF(Py_None
); resultobj
= Py_None
;
22328 static PyObject
*_wrap_PyLineShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22329 PyObject
*resultobj
;
22330 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22331 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
22334 int arg5
= (int) 0 ;
22335 int arg6
= (int) 0 ;
22336 PyObject
* obj0
= 0 ;
22337 PyObject
* obj1
= 0 ;
22338 char *kwnames
[] = {
22339 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyLineShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
22343 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22344 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22347 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
22349 wxPyEndAllowThreads(__tstate
);
22350 if (PyErr_Occurred()) SWIG_fail
;
22352 Py_INCREF(Py_None
); resultobj
= Py_None
;
22359 static PyObject
*_wrap_PyLineShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22360 PyObject
*resultobj
;
22361 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22364 PyObject
* obj0
= 0 ;
22365 char *kwnames
[] = {
22366 (char *) "self",(char *) "w",(char *) "h", NULL
22369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyLineShape_base_OnBeginSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
22370 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22373 (arg1
)->base_OnBeginSize(arg2
,arg3
);
22375 wxPyEndAllowThreads(__tstate
);
22376 if (PyErr_Occurred()) SWIG_fail
;
22378 Py_INCREF(Py_None
); resultobj
= Py_None
;
22385 static PyObject
*_wrap_PyLineShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22386 PyObject
*resultobj
;
22387 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22390 PyObject
* obj0
= 0 ;
22391 char *kwnames
[] = {
22392 (char *) "self",(char *) "w",(char *) "h", NULL
22395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyLineShape_base_OnEndSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
22396 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22399 (arg1
)->base_OnEndSize(arg2
,arg3
);
22401 wxPyEndAllowThreads(__tstate
);
22402 if (PyErr_Occurred()) SWIG_fail
;
22404 Py_INCREF(Py_None
); resultobj
= Py_None
;
22411 static PyObject
* PyLineShape_swigregister(PyObject
*self
, PyObject
*args
) {
22413 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22414 SWIG_TypeClientData(SWIGTYPE_p_wxPyLineShape
, obj
);
22416 return Py_BuildValue((char *)"");
22418 static PyObject
*_wrap_new_PyPolygonShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22419 PyObject
*resultobj
;
22420 wxPyPolygonShape
*result
;
22421 char *kwnames
[] = {
22425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyPolygonShape",kwnames
)) goto fail
;
22427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22428 result
= (wxPyPolygonShape
*)new wxPyPolygonShape();
22430 wxPyEndAllowThreads(__tstate
);
22431 if (PyErr_Occurred()) SWIG_fail
;
22433 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPolygonShape
, 1);
22440 static PyObject
*_wrap_PyPolygonShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22441 PyObject
*resultobj
;
22442 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
22443 PyObject
*arg2
= (PyObject
*) 0 ;
22444 PyObject
*arg3
= (PyObject
*) 0 ;
22445 PyObject
* obj0
= 0 ;
22446 PyObject
* obj1
= 0 ;
22447 PyObject
* obj2
= 0 ;
22448 char *kwnames
[] = {
22449 (char *) "self",(char *) "self",(char *) "_class", NULL
22452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPolygonShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22453 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22458 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22460 wxPyEndAllowThreads(__tstate
);
22461 if (PyErr_Occurred()) SWIG_fail
;
22463 Py_INCREF(Py_None
); resultobj
= Py_None
;
22470 static PyObject
*_wrap_PyPolygonShape_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22471 PyObject
*resultobj
;
22472 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
22473 PyObject
*arg2
= (PyObject
*) 0 ;
22475 PyObject
* obj0
= 0 ;
22476 PyObject
* obj1
= 0 ;
22477 char *kwnames
[] = {
22478 (char *) "self",(char *) "points", NULL
22481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
22482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22486 result
= (PyObject
*)wxPyPolygonShape_Create(arg1
,arg2
);
22488 wxPyEndAllowThreads(__tstate
);
22489 if (PyErr_Occurred()) SWIG_fail
;
22491 resultobj
= result
;
22498 static PyObject
*_wrap_PyPolygonShape_AddPolygonPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22499 PyObject
*resultobj
;
22500 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
22501 int arg2
= (int) 0 ;
22502 PyObject
* obj0
= 0 ;
22503 char *kwnames
[] = {
22504 (char *) "self",(char *) "pos", NULL
22507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:PyPolygonShape_AddPolygonPoint",kwnames
,&obj0
,&arg2
)) goto fail
;
22508 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22511 (arg1
)->AddPolygonPoint(arg2
);
22513 wxPyEndAllowThreads(__tstate
);
22514 if (PyErr_Occurred()) SWIG_fail
;
22516 Py_INCREF(Py_None
); resultobj
= Py_None
;
22523 static PyObject
*_wrap_PyPolygonShape_CalculatePolygonCentre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22524 PyObject
*resultobj
;
22525 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
22526 PyObject
* obj0
= 0 ;
22527 char *kwnames
[] = {
22528 (char *) "self", NULL
22531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_CalculatePolygonCentre",kwnames
,&obj0
)) goto fail
;
22532 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22535 (arg1
)->CalculatePolygonCentre();
22537 wxPyEndAllowThreads(__tstate
);
22538 if (PyErr_Occurred()) SWIG_fail
;
22540 Py_INCREF(Py_None
); resultobj
= Py_None
;
22547 static PyObject
*_wrap_PyPolygonShape_DeletePolygonPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22548 PyObject
*resultobj
;
22549 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
22550 int arg2
= (int) 0 ;
22551 PyObject
* obj0
= 0 ;
22552 char *kwnames
[] = {
22553 (char *) "self",(char *) "pos", NULL
22556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:PyPolygonShape_DeletePolygonPoint",kwnames
,&obj0
,&arg2
)) goto fail
;
22557 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22560 (arg1
)->DeletePolygonPoint(arg2
);
22562 wxPyEndAllowThreads(__tstate
);
22563 if (PyErr_Occurred()) SWIG_fail
;
22565 Py_INCREF(Py_None
); resultobj
= Py_None
;
22572 static PyObject
*_wrap_PyPolygonShape_GetPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22573 PyObject
*resultobj
;
22574 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
22576 PyObject
* obj0
= 0 ;
22577 char *kwnames
[] = {
22578 (char *) "self", NULL
22581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_GetPoints",kwnames
,&obj0
)) goto fail
;
22582 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22585 result
= (PyObject
*)wxPyPolygonShape_GetPoints(arg1
);
22587 wxPyEndAllowThreads(__tstate
);
22588 if (PyErr_Occurred()) SWIG_fail
;
22590 resultobj
= result
;
22597 static PyObject
*_wrap_PyPolygonShape_UpdateOriginalPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22598 PyObject
*resultobj
;
22599 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
22600 PyObject
* obj0
= 0 ;
22601 char *kwnames
[] = {
22602 (char *) "self", NULL
22605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_UpdateOriginalPoints",kwnames
,&obj0
)) goto fail
;
22606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22609 (arg1
)->UpdateOriginalPoints();
22611 wxPyEndAllowThreads(__tstate
);
22612 if (PyErr_Occurred()) SWIG_fail
;
22614 Py_INCREF(Py_None
); resultobj
= Py_None
;
22621 static PyObject
*_wrap_PyPolygonShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22622 PyObject
*resultobj
;
22623 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
22625 PyObject
* obj0
= 0 ;
22626 PyObject
* obj1
= 0 ;
22627 char *kwnames
[] = {
22628 (char *) "self",(char *) "dc", NULL
22631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
22632 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22633 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22634 if (arg2
== NULL
) {
22635 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22639 (arg1
)->base_OnDraw(*arg2
);
22641 wxPyEndAllowThreads(__tstate
);
22642 if (PyErr_Occurred()) SWIG_fail
;
22644 Py_INCREF(Py_None
); resultobj
= Py_None
;
22651 static PyObject
*_wrap_PyPolygonShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22652 PyObject
*resultobj
;
22653 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
22655 PyObject
* obj0
= 0 ;
22656 PyObject
* obj1
= 0 ;
22657 char *kwnames
[] = {
22658 (char *) "self",(char *) "dc", NULL
22661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
22662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22663 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22664 if (arg2
== NULL
) {
22665 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22669 (arg1
)->base_OnDrawContents(*arg2
);
22671 wxPyEndAllowThreads(__tstate
);
22672 if (PyErr_Occurred()) SWIG_fail
;
22674 Py_INCREF(Py_None
); resultobj
= Py_None
;
22681 static PyObject
*_wrap_PyPolygonShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22682 PyObject
*resultobj
;
22683 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
22685 bool arg3
= (bool) FALSE
;
22686 PyObject
* obj0
= 0 ;
22687 PyObject
* obj1
= 0 ;
22688 PyObject
* obj2
= 0 ;
22689 char *kwnames
[] = {
22690 (char *) "self",(char *) "dc",(char *) "erase", NULL
22693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyPolygonShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22694 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22695 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22696 if (arg2
== NULL
) {
22697 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22700 arg3
= PyInt_AsLong(obj2
) ? true : false;
22701 if (PyErr_Occurred()) SWIG_fail
;
22704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22705 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
22707 wxPyEndAllowThreads(__tstate
);
22708 if (PyErr_Occurred()) SWIG_fail
;
22710 Py_INCREF(Py_None
); resultobj
= Py_None
;
22717 static PyObject
*_wrap_PyPolygonShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22718 PyObject
*resultobj
;
22719 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
22721 PyObject
* obj0
= 0 ;
22722 PyObject
* obj1
= 0 ;
22723 char *kwnames
[] = {
22724 (char *) "self",(char *) "dc", NULL
22727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
22728 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22729 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22730 if (arg2
== NULL
) {
22731 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22735 (arg1
)->base_OnMoveLinks(*arg2
);
22737 wxPyEndAllowThreads(__tstate
);
22738 if (PyErr_Occurred()) SWIG_fail
;
22740 Py_INCREF(Py_None
); resultobj
= Py_None
;
22747 static PyObject
*_wrap_PyPolygonShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22748 PyObject
*resultobj
;
22749 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
22751 PyObject
* obj0
= 0 ;
22752 PyObject
* obj1
= 0 ;
22753 char *kwnames
[] = {
22754 (char *) "self",(char *) "dc", NULL
22757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
22758 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22759 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22760 if (arg2
== NULL
) {
22761 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22765 (arg1
)->base_OnErase(*arg2
);
22767 wxPyEndAllowThreads(__tstate
);
22768 if (PyErr_Occurred()) SWIG_fail
;
22770 Py_INCREF(Py_None
); resultobj
= Py_None
;
22777 static PyObject
*_wrap_PyPolygonShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22778 PyObject
*resultobj
;
22779 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
22781 PyObject
* obj0
= 0 ;
22782 PyObject
* obj1
= 0 ;
22783 char *kwnames
[] = {
22784 (char *) "self",(char *) "dc", NULL
22787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
22788 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22789 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22790 if (arg2
== NULL
) {
22791 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22795 (arg1
)->base_OnEraseContents(*arg2
);
22797 wxPyEndAllowThreads(__tstate
);
22798 if (PyErr_Occurred()) SWIG_fail
;
22800 Py_INCREF(Py_None
); resultobj
= Py_None
;
22807 static PyObject
*_wrap_PyPolygonShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22808 PyObject
*resultobj
;
22809 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
22811 PyObject
* obj0
= 0 ;
22812 PyObject
* obj1
= 0 ;
22813 char *kwnames
[] = {
22814 (char *) "self",(char *) "dc", NULL
22817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
22818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22819 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22820 if (arg2
== NULL
) {
22821 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22825 (arg1
)->base_OnHighlight(*arg2
);
22827 wxPyEndAllowThreads(__tstate
);
22828 if (PyErr_Occurred()) SWIG_fail
;
22830 Py_INCREF(Py_None
); resultobj
= Py_None
;
22837 static PyObject
*_wrap_PyPolygonShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22838 PyObject
*resultobj
;
22839 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
22842 int arg4
= (int) 0 ;
22843 int arg5
= (int) 0 ;
22844 PyObject
* obj0
= 0 ;
22845 char *kwnames
[] = {
22846 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyPolygonShape_base_OnLeftClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
22850 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22853 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
22855 wxPyEndAllowThreads(__tstate
);
22856 if (PyErr_Occurred()) SWIG_fail
;
22858 Py_INCREF(Py_None
); resultobj
= Py_None
;
22865 static PyObject
*_wrap_PyPolygonShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22866 PyObject
*resultobj
;
22867 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
22870 int arg4
= (int) 0 ;
22871 int arg5
= (int) 0 ;
22872 PyObject
* obj0
= 0 ;
22873 char *kwnames
[] = {
22874 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyPolygonShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
22878 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22881 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
22883 wxPyEndAllowThreads(__tstate
);
22884 if (PyErr_Occurred()) SWIG_fail
;
22886 Py_INCREF(Py_None
); resultobj
= Py_None
;
22893 static PyObject
*_wrap_PyPolygonShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22894 PyObject
*resultobj
;
22895 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
22898 int arg4
= (int) 0 ;
22899 int arg5
= (int) 0 ;
22900 PyObject
* obj0
= 0 ;
22901 char *kwnames
[] = {
22902 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyPolygonShape_base_OnRightClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
22906 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22909 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
22911 wxPyEndAllowThreads(__tstate
);
22912 if (PyErr_Occurred()) SWIG_fail
;
22914 Py_INCREF(Py_None
); resultobj
= Py_None
;
22921 static PyObject
*_wrap_PyPolygonShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22922 PyObject
*resultobj
;
22923 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
22926 PyObject
* obj0
= 0 ;
22927 char *kwnames
[] = {
22928 (char *) "self",(char *) "x",(char *) "y", NULL
22931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyPolygonShape_base_OnSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
22932 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22935 (arg1
)->base_OnSize(arg2
,arg3
);
22937 wxPyEndAllowThreads(__tstate
);
22938 if (PyErr_Occurred()) SWIG_fail
;
22940 Py_INCREF(Py_None
); resultobj
= Py_None
;
22947 static PyObject
*_wrap_PyPolygonShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22948 PyObject
*resultobj
;
22949 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
22955 bool arg7
= (bool) TRUE
;
22957 PyObject
* obj0
= 0 ;
22958 PyObject
* obj1
= 0 ;
22959 PyObject
* obj6
= 0 ;
22960 char *kwnames
[] = {
22961 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
22964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyPolygonShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
22965 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22966 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22967 if (arg2
== NULL
) {
22968 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22971 arg7
= PyInt_AsLong(obj6
) ? true : false;
22972 if (PyErr_Occurred()) SWIG_fail
;
22975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22976 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22978 wxPyEndAllowThreads(__tstate
);
22979 if (PyErr_Occurred()) SWIG_fail
;
22981 resultobj
= PyInt_FromLong((long)result
);
22988 static PyObject
*_wrap_PyPolygonShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22989 PyObject
*resultobj
;
22990 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
22996 bool arg7
= (bool) TRUE
;
22997 PyObject
* obj0
= 0 ;
22998 PyObject
* obj1
= 0 ;
22999 PyObject
* obj6
= 0 ;
23000 char *kwnames
[] = {
23001 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
23004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyPolygonShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
23005 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23006 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23007 if (arg2
== NULL
) {
23008 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23011 arg7
= PyInt_AsLong(obj6
) ? true : false;
23012 if (PyErr_Occurred()) SWIG_fail
;
23015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23016 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23018 wxPyEndAllowThreads(__tstate
);
23019 if (PyErr_Occurred()) SWIG_fail
;
23021 Py_INCREF(Py_None
); resultobj
= Py_None
;
23028 static PyObject
*_wrap_PyPolygonShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23029 PyObject
*resultobj
;
23030 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23034 int arg5
= (int) 0 ;
23035 int arg6
= (int) 0 ;
23036 PyObject
* obj0
= 0 ;
23037 PyObject
* obj1
= 0 ;
23038 char *kwnames
[] = {
23039 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyPolygonShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
23043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23044 arg2
= PyInt_AsLong(obj1
) ? true : false;
23045 if (PyErr_Occurred()) SWIG_fail
;
23047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23048 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
23050 wxPyEndAllowThreads(__tstate
);
23051 if (PyErr_Occurred()) SWIG_fail
;
23053 Py_INCREF(Py_None
); resultobj
= Py_None
;
23060 static PyObject
*_wrap_PyPolygonShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23061 PyObject
*resultobj
;
23062 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23065 int arg4
= (int) 0 ;
23066 int arg5
= (int) 0 ;
23067 PyObject
* obj0
= 0 ;
23068 char *kwnames
[] = {
23069 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyPolygonShape_base_OnBeginDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
23073 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23076 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
23078 wxPyEndAllowThreads(__tstate
);
23079 if (PyErr_Occurred()) SWIG_fail
;
23081 Py_INCREF(Py_None
); resultobj
= Py_None
;
23088 static PyObject
*_wrap_PyPolygonShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23089 PyObject
*resultobj
;
23090 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23093 int arg4
= (int) 0 ;
23094 int arg5
= (int) 0 ;
23095 PyObject
* obj0
= 0 ;
23096 char *kwnames
[] = {
23097 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyPolygonShape_base_OnEndDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
23101 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23104 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
23106 wxPyEndAllowThreads(__tstate
);
23107 if (PyErr_Occurred()) SWIG_fail
;
23109 Py_INCREF(Py_None
); resultobj
= Py_None
;
23116 static PyObject
*_wrap_PyPolygonShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23117 PyObject
*resultobj
;
23118 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23122 int arg5
= (int) 0 ;
23123 int arg6
= (int) 0 ;
23124 PyObject
* obj0
= 0 ;
23125 PyObject
* obj1
= 0 ;
23126 char *kwnames
[] = {
23127 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyPolygonShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
23131 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23132 arg2
= PyInt_AsLong(obj1
) ? true : false;
23133 if (PyErr_Occurred()) SWIG_fail
;
23135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23136 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
23138 wxPyEndAllowThreads(__tstate
);
23139 if (PyErr_Occurred()) SWIG_fail
;
23141 Py_INCREF(Py_None
); resultobj
= Py_None
;
23148 static PyObject
*_wrap_PyPolygonShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23149 PyObject
*resultobj
;
23150 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23153 int arg4
= (int) 0 ;
23154 int arg5
= (int) 0 ;
23155 PyObject
* obj0
= 0 ;
23156 char *kwnames
[] = {
23157 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyPolygonShape_base_OnBeginDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
23161 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23164 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
23166 wxPyEndAllowThreads(__tstate
);
23167 if (PyErr_Occurred()) SWIG_fail
;
23169 Py_INCREF(Py_None
); resultobj
= Py_None
;
23176 static PyObject
*_wrap_PyPolygonShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23177 PyObject
*resultobj
;
23178 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23181 int arg4
= (int) 0 ;
23182 int arg5
= (int) 0 ;
23183 PyObject
* obj0
= 0 ;
23184 char *kwnames
[] = {
23185 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyPolygonShape_base_OnEndDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
23189 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23192 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
23194 wxPyEndAllowThreads(__tstate
);
23195 if (PyErr_Occurred()) SWIG_fail
;
23197 Py_INCREF(Py_None
); resultobj
= Py_None
;
23204 static PyObject
*_wrap_PyPolygonShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23205 PyObject
*resultobj
;
23206 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23212 PyObject
* obj0
= 0 ;
23213 PyObject
* obj1
= 0 ;
23214 char *kwnames
[] = {
23215 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
23218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd:PyPolygonShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
23219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23220 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23221 if (arg2
== NULL
) {
23222 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23226 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
23228 wxPyEndAllowThreads(__tstate
);
23229 if (PyErr_Occurred()) SWIG_fail
;
23231 Py_INCREF(Py_None
); resultobj
= Py_None
;
23238 static PyObject
*_wrap_PyPolygonShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23239 PyObject
*resultobj
;
23240 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23242 PyObject
* obj0
= 0 ;
23243 PyObject
* obj1
= 0 ;
23244 char *kwnames
[] = {
23245 (char *) "self",(char *) "dc", NULL
23248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
23249 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23250 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23251 if (arg2
== NULL
) {
23252 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23256 (arg1
)->base_OnDrawControlPoints(*arg2
);
23258 wxPyEndAllowThreads(__tstate
);
23259 if (PyErr_Occurred()) SWIG_fail
;
23261 Py_INCREF(Py_None
); resultobj
= Py_None
;
23268 static PyObject
*_wrap_PyPolygonShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23269 PyObject
*resultobj
;
23270 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23272 PyObject
* obj0
= 0 ;
23273 PyObject
* obj1
= 0 ;
23274 char *kwnames
[] = {
23275 (char *) "self",(char *) "dc", NULL
23278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
23279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23280 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23281 if (arg2
== NULL
) {
23282 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23286 (arg1
)->base_OnEraseControlPoints(*arg2
);
23288 wxPyEndAllowThreads(__tstate
);
23289 if (PyErr_Occurred()) SWIG_fail
;
23291 Py_INCREF(Py_None
); resultobj
= Py_None
;
23298 static PyObject
*_wrap_PyPolygonShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23299 PyObject
*resultobj
;
23300 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23302 bool arg3
= (bool) TRUE
;
23303 PyObject
* obj0
= 0 ;
23304 PyObject
* obj1
= 0 ;
23305 PyObject
* obj2
= 0 ;
23306 char *kwnames
[] = {
23307 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
23310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyPolygonShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23311 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23312 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23313 if (arg2
== NULL
) {
23314 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23317 arg3
= PyInt_AsLong(obj2
) ? true : false;
23318 if (PyErr_Occurred()) SWIG_fail
;
23321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23322 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
23324 wxPyEndAllowThreads(__tstate
);
23325 if (PyErr_Occurred()) SWIG_fail
;
23327 Py_INCREF(Py_None
); resultobj
= Py_None
;
23334 static PyObject
*_wrap_PyPolygonShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23335 PyObject
*resultobj
;
23336 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23337 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
23341 int arg6
= (int) 0 ;
23342 int arg7
= (int) 0 ;
23343 PyObject
* obj0
= 0 ;
23344 PyObject
* obj1
= 0 ;
23345 PyObject
* obj2
= 0 ;
23346 char *kwnames
[] = {
23347 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd|ii:PyPolygonShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
23351 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23352 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23353 arg3
= PyInt_AsLong(obj2
) ? true : false;
23354 if (PyErr_Occurred()) SWIG_fail
;
23356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23357 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23359 wxPyEndAllowThreads(__tstate
);
23360 if (PyErr_Occurred()) SWIG_fail
;
23362 Py_INCREF(Py_None
); resultobj
= Py_None
;
23369 static PyObject
*_wrap_PyPolygonShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23370 PyObject
*resultobj
;
23371 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23372 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
23375 int arg5
= (int) 0 ;
23376 int arg6
= (int) 0 ;
23377 PyObject
* obj0
= 0 ;
23378 PyObject
* obj1
= 0 ;
23379 char *kwnames
[] = {
23380 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyPolygonShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
23384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23385 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23388 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
23390 wxPyEndAllowThreads(__tstate
);
23391 if (PyErr_Occurred()) SWIG_fail
;
23393 Py_INCREF(Py_None
); resultobj
= Py_None
;
23400 static PyObject
*_wrap_PyPolygonShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23401 PyObject
*resultobj
;
23402 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23403 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
23406 int arg5
= (int) 0 ;
23407 int arg6
= (int) 0 ;
23408 PyObject
* obj0
= 0 ;
23409 PyObject
* obj1
= 0 ;
23410 char *kwnames
[] = {
23411 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyPolygonShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
23415 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23416 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23419 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
23421 wxPyEndAllowThreads(__tstate
);
23422 if (PyErr_Occurred()) SWIG_fail
;
23424 Py_INCREF(Py_None
); resultobj
= Py_None
;
23431 static PyObject
*_wrap_PyPolygonShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23432 PyObject
*resultobj
;
23433 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23436 PyObject
* obj0
= 0 ;
23437 char *kwnames
[] = {
23438 (char *) "self",(char *) "w",(char *) "h", NULL
23441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyPolygonShape_base_OnBeginSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
23442 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23445 (arg1
)->base_OnBeginSize(arg2
,arg3
);
23447 wxPyEndAllowThreads(__tstate
);
23448 if (PyErr_Occurred()) SWIG_fail
;
23450 Py_INCREF(Py_None
); resultobj
= Py_None
;
23457 static PyObject
*_wrap_PyPolygonShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23458 PyObject
*resultobj
;
23459 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23462 PyObject
* obj0
= 0 ;
23463 char *kwnames
[] = {
23464 (char *) "self",(char *) "w",(char *) "h", NULL
23467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyPolygonShape_base_OnEndSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
23468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23471 (arg1
)->base_OnEndSize(arg2
,arg3
);
23473 wxPyEndAllowThreads(__tstate
);
23474 if (PyErr_Occurred()) SWIG_fail
;
23476 Py_INCREF(Py_None
); resultobj
= Py_None
;
23483 static PyObject
* PyPolygonShape_swigregister(PyObject
*self
, PyObject
*args
) {
23485 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23486 SWIG_TypeClientData(SWIGTYPE_p_wxPyPolygonShape
, obj
);
23488 return Py_BuildValue((char *)"");
23490 static PyObject
*_wrap_new_PyTextShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23491 PyObject
*resultobj
;
23492 double arg1
= (double) 0.0 ;
23493 double arg2
= (double) 0.0 ;
23494 wxPyTextShape
*result
;
23495 char *kwnames
[] = {
23496 (char *) "width",(char *) "height", NULL
23499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|dd:new_PyTextShape",kwnames
,&arg1
,&arg2
)) goto fail
;
23501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23502 result
= (wxPyTextShape
*)new wxPyTextShape(arg1
,arg2
);
23504 wxPyEndAllowThreads(__tstate
);
23505 if (PyErr_Occurred()) SWIG_fail
;
23507 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTextShape
, 1);
23514 static PyObject
*_wrap_PyTextShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23515 PyObject
*resultobj
;
23516 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
23517 PyObject
*arg2
= (PyObject
*) 0 ;
23518 PyObject
*arg3
= (PyObject
*) 0 ;
23519 PyObject
* obj0
= 0 ;
23520 PyObject
* obj1
= 0 ;
23521 PyObject
* obj2
= 0 ;
23522 char *kwnames
[] = {
23523 (char *) "self",(char *) "self",(char *) "_class", NULL
23526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23527 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23532 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23534 wxPyEndAllowThreads(__tstate
);
23535 if (PyErr_Occurred()) SWIG_fail
;
23537 Py_INCREF(Py_None
); resultobj
= Py_None
;
23544 static PyObject
*_wrap_PyTextShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23545 PyObject
*resultobj
;
23546 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
23547 PyObject
* obj0
= 0 ;
23548 char *kwnames
[] = {
23549 (char *) "self", NULL
23552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyTextShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
23553 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23556 (arg1
)->base_OnDelete();
23558 wxPyEndAllowThreads(__tstate
);
23559 if (PyErr_Occurred()) SWIG_fail
;
23561 Py_INCREF(Py_None
); resultobj
= Py_None
;
23568 static PyObject
*_wrap_PyTextShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23569 PyObject
*resultobj
;
23570 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
23572 PyObject
* obj0
= 0 ;
23573 PyObject
* obj1
= 0 ;
23574 char *kwnames
[] = {
23575 (char *) "self",(char *) "dc", NULL
23578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
23579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23580 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23581 if (arg2
== NULL
) {
23582 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23586 (arg1
)->base_OnDraw(*arg2
);
23588 wxPyEndAllowThreads(__tstate
);
23589 if (PyErr_Occurred()) SWIG_fail
;
23591 Py_INCREF(Py_None
); resultobj
= Py_None
;
23598 static PyObject
*_wrap_PyTextShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23599 PyObject
*resultobj
;
23600 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
23602 PyObject
* obj0
= 0 ;
23603 PyObject
* obj1
= 0 ;
23604 char *kwnames
[] = {
23605 (char *) "self",(char *) "dc", NULL
23608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
23609 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23610 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23611 if (arg2
== NULL
) {
23612 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23616 (arg1
)->base_OnDrawContents(*arg2
);
23618 wxPyEndAllowThreads(__tstate
);
23619 if (PyErr_Occurred()) SWIG_fail
;
23621 Py_INCREF(Py_None
); resultobj
= Py_None
;
23628 static PyObject
*_wrap_PyTextShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23629 PyObject
*resultobj
;
23630 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
23632 bool arg3
= (bool) FALSE
;
23633 PyObject
* obj0
= 0 ;
23634 PyObject
* obj1
= 0 ;
23635 PyObject
* obj2
= 0 ;
23636 char *kwnames
[] = {
23637 (char *) "self",(char *) "dc",(char *) "erase", NULL
23640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyTextShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23641 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23642 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23643 if (arg2
== NULL
) {
23644 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23647 arg3
= PyInt_AsLong(obj2
) ? true : false;
23648 if (PyErr_Occurred()) SWIG_fail
;
23651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23652 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
23654 wxPyEndAllowThreads(__tstate
);
23655 if (PyErr_Occurred()) SWIG_fail
;
23657 Py_INCREF(Py_None
); resultobj
= Py_None
;
23664 static PyObject
*_wrap_PyTextShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23665 PyObject
*resultobj
;
23666 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
23668 PyObject
* obj0
= 0 ;
23669 PyObject
* obj1
= 0 ;
23670 char *kwnames
[] = {
23671 (char *) "self",(char *) "dc", NULL
23674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
23675 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23676 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23677 if (arg2
== NULL
) {
23678 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23682 (arg1
)->base_OnMoveLinks(*arg2
);
23684 wxPyEndAllowThreads(__tstate
);
23685 if (PyErr_Occurred()) SWIG_fail
;
23687 Py_INCREF(Py_None
); resultobj
= Py_None
;
23694 static PyObject
*_wrap_PyTextShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23695 PyObject
*resultobj
;
23696 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
23698 PyObject
* obj0
= 0 ;
23699 PyObject
* obj1
= 0 ;
23700 char *kwnames
[] = {
23701 (char *) "self",(char *) "dc", NULL
23704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
23705 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23706 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23707 if (arg2
== NULL
) {
23708 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23712 (arg1
)->base_OnErase(*arg2
);
23714 wxPyEndAllowThreads(__tstate
);
23715 if (PyErr_Occurred()) SWIG_fail
;
23717 Py_INCREF(Py_None
); resultobj
= Py_None
;
23724 static PyObject
*_wrap_PyTextShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23725 PyObject
*resultobj
;
23726 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
23728 PyObject
* obj0
= 0 ;
23729 PyObject
* obj1
= 0 ;
23730 char *kwnames
[] = {
23731 (char *) "self",(char *) "dc", NULL
23734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
23735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23736 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23737 if (arg2
== NULL
) {
23738 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23742 (arg1
)->base_OnEraseContents(*arg2
);
23744 wxPyEndAllowThreads(__tstate
);
23745 if (PyErr_Occurred()) SWIG_fail
;
23747 Py_INCREF(Py_None
); resultobj
= Py_None
;
23754 static PyObject
*_wrap_PyTextShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23755 PyObject
*resultobj
;
23756 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
23758 PyObject
* obj0
= 0 ;
23759 PyObject
* obj1
= 0 ;
23760 char *kwnames
[] = {
23761 (char *) "self",(char *) "dc", NULL
23764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
23765 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23766 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23767 if (arg2
== NULL
) {
23768 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23772 (arg1
)->base_OnHighlight(*arg2
);
23774 wxPyEndAllowThreads(__tstate
);
23775 if (PyErr_Occurred()) SWIG_fail
;
23777 Py_INCREF(Py_None
); resultobj
= Py_None
;
23784 static PyObject
*_wrap_PyTextShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23785 PyObject
*resultobj
;
23786 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
23789 int arg4
= (int) 0 ;
23790 int arg5
= (int) 0 ;
23791 PyObject
* obj0
= 0 ;
23792 char *kwnames
[] = {
23793 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyTextShape_base_OnLeftClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
23797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23800 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
23802 wxPyEndAllowThreads(__tstate
);
23803 if (PyErr_Occurred()) SWIG_fail
;
23805 Py_INCREF(Py_None
); resultobj
= Py_None
;
23812 static PyObject
*_wrap_PyTextShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23813 PyObject
*resultobj
;
23814 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
23817 int arg4
= (int) 0 ;
23818 int arg5
= (int) 0 ;
23819 PyObject
* obj0
= 0 ;
23820 char *kwnames
[] = {
23821 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyTextShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
23825 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23828 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
23830 wxPyEndAllowThreads(__tstate
);
23831 if (PyErr_Occurred()) SWIG_fail
;
23833 Py_INCREF(Py_None
); resultobj
= Py_None
;
23840 static PyObject
*_wrap_PyTextShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23841 PyObject
*resultobj
;
23842 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
23845 int arg4
= (int) 0 ;
23846 int arg5
= (int) 0 ;
23847 PyObject
* obj0
= 0 ;
23848 char *kwnames
[] = {
23849 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyTextShape_base_OnRightClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
23853 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23856 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
23858 wxPyEndAllowThreads(__tstate
);
23859 if (PyErr_Occurred()) SWIG_fail
;
23861 Py_INCREF(Py_None
); resultobj
= Py_None
;
23868 static PyObject
*_wrap_PyTextShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23869 PyObject
*resultobj
;
23870 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
23873 PyObject
* obj0
= 0 ;
23874 char *kwnames
[] = {
23875 (char *) "self",(char *) "x",(char *) "y", NULL
23878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyTextShape_base_OnSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
23879 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23882 (arg1
)->base_OnSize(arg2
,arg3
);
23884 wxPyEndAllowThreads(__tstate
);
23885 if (PyErr_Occurred()) SWIG_fail
;
23887 Py_INCREF(Py_None
); resultobj
= Py_None
;
23894 static PyObject
*_wrap_PyTextShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23895 PyObject
*resultobj
;
23896 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
23902 bool arg7
= (bool) TRUE
;
23904 PyObject
* obj0
= 0 ;
23905 PyObject
* obj1
= 0 ;
23906 PyObject
* obj6
= 0 ;
23907 char *kwnames
[] = {
23908 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
23911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyTextShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
23912 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23913 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23914 if (arg2
== NULL
) {
23915 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23918 arg7
= PyInt_AsLong(obj6
) ? true : false;
23919 if (PyErr_Occurred()) SWIG_fail
;
23922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23923 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23925 wxPyEndAllowThreads(__tstate
);
23926 if (PyErr_Occurred()) SWIG_fail
;
23928 resultobj
= PyInt_FromLong((long)result
);
23935 static PyObject
*_wrap_PyTextShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23936 PyObject
*resultobj
;
23937 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
23943 bool arg7
= (bool) TRUE
;
23944 PyObject
* obj0
= 0 ;
23945 PyObject
* obj1
= 0 ;
23946 PyObject
* obj6
= 0 ;
23947 char *kwnames
[] = {
23948 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
23951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyTextShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
23952 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23953 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23954 if (arg2
== NULL
) {
23955 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23958 arg7
= PyInt_AsLong(obj6
) ? true : false;
23959 if (PyErr_Occurred()) SWIG_fail
;
23962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23963 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23965 wxPyEndAllowThreads(__tstate
);
23966 if (PyErr_Occurred()) SWIG_fail
;
23968 Py_INCREF(Py_None
); resultobj
= Py_None
;
23975 static PyObject
*_wrap_PyTextShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23976 PyObject
*resultobj
;
23977 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
23981 int arg5
= (int) 0 ;
23982 int arg6
= (int) 0 ;
23983 PyObject
* obj0
= 0 ;
23984 PyObject
* obj1
= 0 ;
23985 char *kwnames
[] = {
23986 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyTextShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
23990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23991 arg2
= PyInt_AsLong(obj1
) ? true : false;
23992 if (PyErr_Occurred()) SWIG_fail
;
23994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23995 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
23997 wxPyEndAllowThreads(__tstate
);
23998 if (PyErr_Occurred()) SWIG_fail
;
24000 Py_INCREF(Py_None
); resultobj
= Py_None
;
24007 static PyObject
*_wrap_PyTextShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24008 PyObject
*resultobj
;
24009 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24012 int arg4
= (int) 0 ;
24013 int arg5
= (int) 0 ;
24014 PyObject
* obj0
= 0 ;
24015 char *kwnames
[] = {
24016 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyTextShape_base_OnBeginDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
24020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24023 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
24025 wxPyEndAllowThreads(__tstate
);
24026 if (PyErr_Occurred()) SWIG_fail
;
24028 Py_INCREF(Py_None
); resultobj
= Py_None
;
24035 static PyObject
*_wrap_PyTextShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24036 PyObject
*resultobj
;
24037 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24040 int arg4
= (int) 0 ;
24041 int arg5
= (int) 0 ;
24042 PyObject
* obj0
= 0 ;
24043 char *kwnames
[] = {
24044 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyTextShape_base_OnEndDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
24048 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24051 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
24053 wxPyEndAllowThreads(__tstate
);
24054 if (PyErr_Occurred()) SWIG_fail
;
24056 Py_INCREF(Py_None
); resultobj
= Py_None
;
24063 static PyObject
*_wrap_PyTextShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24064 PyObject
*resultobj
;
24065 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24069 int arg5
= (int) 0 ;
24070 int arg6
= (int) 0 ;
24071 PyObject
* obj0
= 0 ;
24072 PyObject
* obj1
= 0 ;
24073 char *kwnames
[] = {
24074 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyTextShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
24078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24079 arg2
= PyInt_AsLong(obj1
) ? true : false;
24080 if (PyErr_Occurred()) SWIG_fail
;
24082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24083 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
24085 wxPyEndAllowThreads(__tstate
);
24086 if (PyErr_Occurred()) SWIG_fail
;
24088 Py_INCREF(Py_None
); resultobj
= Py_None
;
24095 static PyObject
*_wrap_PyTextShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24096 PyObject
*resultobj
;
24097 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24100 int arg4
= (int) 0 ;
24101 int arg5
= (int) 0 ;
24102 PyObject
* obj0
= 0 ;
24103 char *kwnames
[] = {
24104 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyTextShape_base_OnBeginDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
24108 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24111 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
24113 wxPyEndAllowThreads(__tstate
);
24114 if (PyErr_Occurred()) SWIG_fail
;
24116 Py_INCREF(Py_None
); resultobj
= Py_None
;
24123 static PyObject
*_wrap_PyTextShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24124 PyObject
*resultobj
;
24125 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24128 int arg4
= (int) 0 ;
24129 int arg5
= (int) 0 ;
24130 PyObject
* obj0
= 0 ;
24131 char *kwnames
[] = {
24132 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyTextShape_base_OnEndDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
24136 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24139 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
24141 wxPyEndAllowThreads(__tstate
);
24142 if (PyErr_Occurred()) SWIG_fail
;
24144 Py_INCREF(Py_None
); resultobj
= Py_None
;
24151 static PyObject
*_wrap_PyTextShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24152 PyObject
*resultobj
;
24153 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24159 PyObject
* obj0
= 0 ;
24160 PyObject
* obj1
= 0 ;
24161 char *kwnames
[] = {
24162 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
24165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd:PyTextShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
24166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24167 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24168 if (arg2
== NULL
) {
24169 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24173 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
24175 wxPyEndAllowThreads(__tstate
);
24176 if (PyErr_Occurred()) SWIG_fail
;
24178 Py_INCREF(Py_None
); resultobj
= Py_None
;
24185 static PyObject
*_wrap_PyTextShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24186 PyObject
*resultobj
;
24187 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24189 PyObject
* obj0
= 0 ;
24190 PyObject
* obj1
= 0 ;
24191 char *kwnames
[] = {
24192 (char *) "self",(char *) "dc", NULL
24195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
24196 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24197 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24198 if (arg2
== NULL
) {
24199 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24203 (arg1
)->base_OnDrawControlPoints(*arg2
);
24205 wxPyEndAllowThreads(__tstate
);
24206 if (PyErr_Occurred()) SWIG_fail
;
24208 Py_INCREF(Py_None
); resultobj
= Py_None
;
24215 static PyObject
*_wrap_PyTextShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24216 PyObject
*resultobj
;
24217 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24219 PyObject
* obj0
= 0 ;
24220 PyObject
* obj1
= 0 ;
24221 char *kwnames
[] = {
24222 (char *) "self",(char *) "dc", NULL
24225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
24226 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24227 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24228 if (arg2
== NULL
) {
24229 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24233 (arg1
)->base_OnEraseControlPoints(*arg2
);
24235 wxPyEndAllowThreads(__tstate
);
24236 if (PyErr_Occurred()) SWIG_fail
;
24238 Py_INCREF(Py_None
); resultobj
= Py_None
;
24245 static PyObject
*_wrap_PyTextShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24246 PyObject
*resultobj
;
24247 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24249 bool arg3
= (bool) TRUE
;
24250 PyObject
* obj0
= 0 ;
24251 PyObject
* obj1
= 0 ;
24252 PyObject
* obj2
= 0 ;
24253 char *kwnames
[] = {
24254 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
24257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyTextShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24258 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24259 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24260 if (arg2
== NULL
) {
24261 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24264 arg3
= PyInt_AsLong(obj2
) ? true : false;
24265 if (PyErr_Occurred()) SWIG_fail
;
24268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24269 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
24271 wxPyEndAllowThreads(__tstate
);
24272 if (PyErr_Occurred()) SWIG_fail
;
24274 Py_INCREF(Py_None
); resultobj
= Py_None
;
24281 static PyObject
*_wrap_PyTextShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24282 PyObject
*resultobj
;
24283 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24284 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
24288 int arg6
= (int) 0 ;
24289 int arg7
= (int) 0 ;
24290 PyObject
* obj0
= 0 ;
24291 PyObject
* obj1
= 0 ;
24292 PyObject
* obj2
= 0 ;
24293 char *kwnames
[] = {
24294 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd|ii:PyTextShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
24298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24299 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24300 arg3
= PyInt_AsLong(obj2
) ? true : false;
24301 if (PyErr_Occurred()) SWIG_fail
;
24303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24304 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
24306 wxPyEndAllowThreads(__tstate
);
24307 if (PyErr_Occurred()) SWIG_fail
;
24309 Py_INCREF(Py_None
); resultobj
= Py_None
;
24316 static PyObject
*_wrap_PyTextShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24317 PyObject
*resultobj
;
24318 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24319 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
24322 int arg5
= (int) 0 ;
24323 int arg6
= (int) 0 ;
24324 PyObject
* obj0
= 0 ;
24325 PyObject
* obj1
= 0 ;
24326 char *kwnames
[] = {
24327 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyTextShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
24331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24332 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24335 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
24337 wxPyEndAllowThreads(__tstate
);
24338 if (PyErr_Occurred()) SWIG_fail
;
24340 Py_INCREF(Py_None
); resultobj
= Py_None
;
24347 static PyObject
*_wrap_PyTextShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24348 PyObject
*resultobj
;
24349 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24350 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
24353 int arg5
= (int) 0 ;
24354 int arg6
= (int) 0 ;
24355 PyObject
* obj0
= 0 ;
24356 PyObject
* obj1
= 0 ;
24357 char *kwnames
[] = {
24358 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyTextShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
24362 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24363 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24366 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
24368 wxPyEndAllowThreads(__tstate
);
24369 if (PyErr_Occurred()) SWIG_fail
;
24371 Py_INCREF(Py_None
); resultobj
= Py_None
;
24378 static PyObject
*_wrap_PyTextShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24379 PyObject
*resultobj
;
24380 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24383 PyObject
* obj0
= 0 ;
24384 char *kwnames
[] = {
24385 (char *) "self",(char *) "w",(char *) "h", NULL
24388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyTextShape_base_OnBeginSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
24389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24392 (arg1
)->base_OnBeginSize(arg2
,arg3
);
24394 wxPyEndAllowThreads(__tstate
);
24395 if (PyErr_Occurred()) SWIG_fail
;
24397 Py_INCREF(Py_None
); resultobj
= Py_None
;
24404 static PyObject
*_wrap_PyTextShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24405 PyObject
*resultobj
;
24406 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24409 PyObject
* obj0
= 0 ;
24410 char *kwnames
[] = {
24411 (char *) "self",(char *) "w",(char *) "h", NULL
24414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyTextShape_base_OnEndSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
24415 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24418 (arg1
)->base_OnEndSize(arg2
,arg3
);
24420 wxPyEndAllowThreads(__tstate
);
24421 if (PyErr_Occurred()) SWIG_fail
;
24423 Py_INCREF(Py_None
); resultobj
= Py_None
;
24430 static PyObject
* PyTextShape_swigregister(PyObject
*self
, PyObject
*args
) {
24432 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24433 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextShape
, obj
);
24435 return Py_BuildValue((char *)"");
24437 static PyObject
*_wrap_new_Diagram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24438 PyObject
*resultobj
;
24440 char *kwnames
[] = {
24444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Diagram",kwnames
)) goto fail
;
24446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24447 result
= (wxDiagram
*)new wxDiagram();
24449 wxPyEndAllowThreads(__tstate
);
24450 if (PyErr_Occurred()) SWIG_fail
;
24453 resultobj
= wxPyMake_wxObject(result
);
24461 static PyObject
*_wrap_Diagram_AddShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24462 PyObject
*resultobj
;
24463 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
24464 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
24465 wxPyShape
*arg3
= (wxPyShape
*) NULL
;
24466 PyObject
* obj0
= 0 ;
24467 PyObject
* obj1
= 0 ;
24468 PyObject
* obj2
= 0 ;
24469 char *kwnames
[] = {
24470 (char *) "self",(char *) "shape",(char *) "addAfter", NULL
24473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Diagram_AddShape",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24474 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24475 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24477 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24481 (arg1
)->AddShape(arg2
,arg3
);
24483 wxPyEndAllowThreads(__tstate
);
24484 if (PyErr_Occurred()) SWIG_fail
;
24486 Py_INCREF(Py_None
); resultobj
= Py_None
;
24493 static PyObject
*_wrap_Diagram_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24494 PyObject
*resultobj
;
24495 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
24497 PyObject
* obj0
= 0 ;
24498 PyObject
* obj1
= 0 ;
24499 char *kwnames
[] = {
24500 (char *) "self",(char *) "dc", NULL
24503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
24504 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24505 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24506 if (arg2
== NULL
) {
24507 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24511 (arg1
)->Clear(*arg2
);
24513 wxPyEndAllowThreads(__tstate
);
24514 if (PyErr_Occurred()) SWIG_fail
;
24516 Py_INCREF(Py_None
); resultobj
= Py_None
;
24523 static PyObject
*_wrap_Diagram_DeleteAllShapes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24524 PyObject
*resultobj
;
24525 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
24526 PyObject
* obj0
= 0 ;
24527 char *kwnames
[] = {
24528 (char *) "self", NULL
24531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_DeleteAllShapes",kwnames
,&obj0
)) goto fail
;
24532 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24535 (arg1
)->DeleteAllShapes();
24537 wxPyEndAllowThreads(__tstate
);
24538 if (PyErr_Occurred()) SWIG_fail
;
24540 Py_INCREF(Py_None
); resultobj
= Py_None
;
24547 static PyObject
*_wrap_Diagram_DrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24548 PyObject
*resultobj
;
24549 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
24555 PyObject
* obj0
= 0 ;
24556 PyObject
* obj1
= 0 ;
24557 char *kwnames
[] = {
24558 (char *) "self",(char *) "dc",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
24561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd:Diagram_DrawOutline",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
24562 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24563 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24564 if (arg2
== NULL
) {
24565 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24569 (arg1
)->DrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
24571 wxPyEndAllowThreads(__tstate
);
24572 if (PyErr_Occurred()) SWIG_fail
;
24574 Py_INCREF(Py_None
); resultobj
= Py_None
;
24581 static PyObject
*_wrap_Diagram_FindShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24582 PyObject
*resultobj
;
24583 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
24586 PyObject
* obj0
= 0 ;
24587 char *kwnames
[] = {
24588 (char *) "self",(char *) "id", NULL
24591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:Diagram_FindShape",kwnames
,&obj0
,&arg2
)) goto fail
;
24592 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24595 result
= (wxPyShape
*)(arg1
)->FindShape(arg2
);
24597 wxPyEndAllowThreads(__tstate
);
24598 if (PyErr_Occurred()) SWIG_fail
;
24601 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
24609 static PyObject
*_wrap_Diagram_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24610 PyObject
*resultobj
;
24611 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
24612 wxPyShapeCanvas
*result
;
24613 PyObject
* obj0
= 0 ;
24614 char *kwnames
[] = {
24615 (char *) "self", NULL
24618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetCanvas",kwnames
,&obj0
)) goto fail
;
24619 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24622 result
= (wxPyShapeCanvas
*)(arg1
)->GetCanvas();
24624 wxPyEndAllowThreads(__tstate
);
24625 if (PyErr_Occurred()) SWIG_fail
;
24628 resultobj
= wxPyMake_wxObject(result
);
24636 static PyObject
*_wrap_Diagram_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24637 PyObject
*resultobj
;
24638 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
24640 PyObject
* obj0
= 0 ;
24641 char *kwnames
[] = {
24642 (char *) "self", NULL
24645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetCount",kwnames
,&obj0
)) goto fail
;
24646 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24649 result
= (int)(arg1
)->GetCount();
24651 wxPyEndAllowThreads(__tstate
);
24652 if (PyErr_Occurred()) SWIG_fail
;
24654 resultobj
= PyInt_FromLong((long)result
);
24661 static PyObject
*_wrap_Diagram_GetGridSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24662 PyObject
*resultobj
;
24663 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
24665 PyObject
* obj0
= 0 ;
24666 char *kwnames
[] = {
24667 (char *) "self", NULL
24670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetGridSpacing",kwnames
,&obj0
)) goto fail
;
24671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24674 result
= (double)(arg1
)->GetGridSpacing();
24676 wxPyEndAllowThreads(__tstate
);
24677 if (PyErr_Occurred()) SWIG_fail
;
24679 resultobj
= PyFloat_FromDouble(result
);
24686 static PyObject
*_wrap_Diagram_GetMouseTolerance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24687 PyObject
*resultobj
;
24688 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
24690 PyObject
* obj0
= 0 ;
24691 char *kwnames
[] = {
24692 (char *) "self", NULL
24695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetMouseTolerance",kwnames
,&obj0
)) goto fail
;
24696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24699 result
= (int)(arg1
)->GetMouseTolerance();
24701 wxPyEndAllowThreads(__tstate
);
24702 if (PyErr_Occurred()) SWIG_fail
;
24704 resultobj
= PyInt_FromLong((long)result
);
24711 static PyObject
*_wrap_Diagram_GetShapeList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24712 PyObject
*resultobj
;
24713 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
24715 PyObject
* obj0
= 0 ;
24716 char *kwnames
[] = {
24717 (char *) "self", NULL
24720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetShapeList",kwnames
,&obj0
)) goto fail
;
24721 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24724 result
= (PyObject
*)wxDiagram_GetShapeList(arg1
);
24726 wxPyEndAllowThreads(__tstate
);
24727 if (PyErr_Occurred()) SWIG_fail
;
24729 resultobj
= result
;
24736 static PyObject
*_wrap_Diagram_GetQuickEditMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24737 PyObject
*resultobj
;
24738 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
24740 PyObject
* obj0
= 0 ;
24741 char *kwnames
[] = {
24742 (char *) "self", NULL
24745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetQuickEditMode",kwnames
,&obj0
)) goto fail
;
24746 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24749 result
= (bool)(arg1
)->GetQuickEditMode();
24751 wxPyEndAllowThreads(__tstate
);
24752 if (PyErr_Occurred()) SWIG_fail
;
24754 resultobj
= PyInt_FromLong((long)result
);
24761 static PyObject
*_wrap_Diagram_GetSnapToGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24762 PyObject
*resultobj
;
24763 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
24765 PyObject
* obj0
= 0 ;
24766 char *kwnames
[] = {
24767 (char *) "self", NULL
24770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetSnapToGrid",kwnames
,&obj0
)) goto fail
;
24771 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24774 result
= (bool)(arg1
)->GetSnapToGrid();
24776 wxPyEndAllowThreads(__tstate
);
24777 if (PyErr_Occurred()) SWIG_fail
;
24779 resultobj
= PyInt_FromLong((long)result
);
24786 static PyObject
*_wrap_Diagram_InsertShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24787 PyObject
*resultobj
;
24788 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
24789 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
24790 PyObject
* obj0
= 0 ;
24791 PyObject
* obj1
= 0 ;
24792 char *kwnames
[] = {
24793 (char *) "self",(char *) "shape", NULL
24796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_InsertShape",kwnames
,&obj0
,&obj1
)) goto fail
;
24797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24798 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24801 (arg1
)->InsertShape(arg2
);
24803 wxPyEndAllowThreads(__tstate
);
24804 if (PyErr_Occurred()) SWIG_fail
;
24806 Py_INCREF(Py_None
); resultobj
= Py_None
;
24813 static PyObject
*_wrap_Diagram_RecentreAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24814 PyObject
*resultobj
;
24815 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
24817 PyObject
* obj0
= 0 ;
24818 PyObject
* obj1
= 0 ;
24819 char *kwnames
[] = {
24820 (char *) "self",(char *) "dc", NULL
24823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_RecentreAll",kwnames
,&obj0
,&obj1
)) goto fail
;
24824 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24825 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24826 if (arg2
== NULL
) {
24827 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24831 (arg1
)->RecentreAll(*arg2
);
24833 wxPyEndAllowThreads(__tstate
);
24834 if (PyErr_Occurred()) SWIG_fail
;
24836 Py_INCREF(Py_None
); resultobj
= Py_None
;
24843 static PyObject
*_wrap_Diagram_Redraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24844 PyObject
*resultobj
;
24845 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
24847 PyObject
* obj0
= 0 ;
24848 PyObject
* obj1
= 0 ;
24849 char *kwnames
[] = {
24850 (char *) "self",(char *) "dc", NULL
24853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_Redraw",kwnames
,&obj0
,&obj1
)) goto fail
;
24854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24855 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24856 if (arg2
== NULL
) {
24857 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24861 (arg1
)->Redraw(*arg2
);
24863 wxPyEndAllowThreads(__tstate
);
24864 if (PyErr_Occurred()) SWIG_fail
;
24866 Py_INCREF(Py_None
); resultobj
= Py_None
;
24873 static PyObject
*_wrap_Diagram_RemoveAllShapes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24874 PyObject
*resultobj
;
24875 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
24876 PyObject
* obj0
= 0 ;
24877 char *kwnames
[] = {
24878 (char *) "self", NULL
24881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_RemoveAllShapes",kwnames
,&obj0
)) goto fail
;
24882 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24885 (arg1
)->RemoveAllShapes();
24887 wxPyEndAllowThreads(__tstate
);
24888 if (PyErr_Occurred()) SWIG_fail
;
24890 Py_INCREF(Py_None
); resultobj
= Py_None
;
24897 static PyObject
*_wrap_Diagram_RemoveShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24898 PyObject
*resultobj
;
24899 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
24900 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
24901 PyObject
* obj0
= 0 ;
24902 PyObject
* obj1
= 0 ;
24903 char *kwnames
[] = {
24904 (char *) "self",(char *) "shape", NULL
24907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_RemoveShape",kwnames
,&obj0
,&obj1
)) goto fail
;
24908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24909 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24912 (arg1
)->RemoveShape(arg2
);
24914 wxPyEndAllowThreads(__tstate
);
24915 if (PyErr_Occurred()) SWIG_fail
;
24917 Py_INCREF(Py_None
); resultobj
= Py_None
;
24924 static PyObject
*_wrap_Diagram_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24925 PyObject
*resultobj
;
24926 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
24927 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
24928 PyObject
* obj0
= 0 ;
24929 PyObject
* obj1
= 0 ;
24930 char *kwnames
[] = {
24931 (char *) "self",(char *) "canvas", NULL
24934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
24935 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24936 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24939 (arg1
)->SetCanvas(arg2
);
24941 wxPyEndAllowThreads(__tstate
);
24942 if (PyErr_Occurred()) SWIG_fail
;
24944 Py_INCREF(Py_None
); resultobj
= Py_None
;
24951 static PyObject
*_wrap_Diagram_SetGridSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24952 PyObject
*resultobj
;
24953 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
24955 PyObject
* obj0
= 0 ;
24956 char *kwnames
[] = {
24957 (char *) "self",(char *) "spacing", NULL
24960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:Diagram_SetGridSpacing",kwnames
,&obj0
,&arg2
)) goto fail
;
24961 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24964 (arg1
)->SetGridSpacing(arg2
);
24966 wxPyEndAllowThreads(__tstate
);
24967 if (PyErr_Occurred()) SWIG_fail
;
24969 Py_INCREF(Py_None
); resultobj
= Py_None
;
24976 static PyObject
*_wrap_Diagram_SetMouseTolerance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24977 PyObject
*resultobj
;
24978 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
24980 PyObject
* obj0
= 0 ;
24981 char *kwnames
[] = {
24982 (char *) "self",(char *) "tolerance", NULL
24985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Diagram_SetMouseTolerance",kwnames
,&obj0
,&arg2
)) goto fail
;
24986 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24989 (arg1
)->SetMouseTolerance(arg2
);
24991 wxPyEndAllowThreads(__tstate
);
24992 if (PyErr_Occurred()) SWIG_fail
;
24994 Py_INCREF(Py_None
); resultobj
= Py_None
;
25001 static PyObject
*_wrap_Diagram_SetQuickEditMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25002 PyObject
*resultobj
;
25003 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
25005 PyObject
* obj0
= 0 ;
25006 PyObject
* obj1
= 0 ;
25007 char *kwnames
[] = {
25008 (char *) "self",(char *) "mode", NULL
25011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_SetQuickEditMode",kwnames
,&obj0
,&obj1
)) goto fail
;
25012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25013 arg2
= PyInt_AsLong(obj1
) ? true : false;
25014 if (PyErr_Occurred()) SWIG_fail
;
25016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25017 (arg1
)->SetQuickEditMode(arg2
);
25019 wxPyEndAllowThreads(__tstate
);
25020 if (PyErr_Occurred()) SWIG_fail
;
25022 Py_INCREF(Py_None
); resultobj
= Py_None
;
25029 static PyObject
*_wrap_Diagram_SetSnapToGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25030 PyObject
*resultobj
;
25031 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
25033 PyObject
* obj0
= 0 ;
25034 PyObject
* obj1
= 0 ;
25035 char *kwnames
[] = {
25036 (char *) "self",(char *) "snap", NULL
25039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_SetSnapToGrid",kwnames
,&obj0
,&obj1
)) goto fail
;
25040 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25041 arg2
= PyInt_AsLong(obj1
) ? true : false;
25042 if (PyErr_Occurred()) SWIG_fail
;
25044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25045 (arg1
)->SetSnapToGrid(arg2
);
25047 wxPyEndAllowThreads(__tstate
);
25048 if (PyErr_Occurred()) SWIG_fail
;
25050 Py_INCREF(Py_None
); resultobj
= Py_None
;
25057 static PyObject
*_wrap_Diagram_ShowAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25058 PyObject
*resultobj
;
25059 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
25061 PyObject
* obj0
= 0 ;
25062 PyObject
* obj1
= 0 ;
25063 char *kwnames
[] = {
25064 (char *) "self",(char *) "show", NULL
25067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_ShowAll",kwnames
,&obj0
,&obj1
)) goto fail
;
25068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25069 arg2
= PyInt_AsLong(obj1
) ? true : false;
25070 if (PyErr_Occurred()) SWIG_fail
;
25072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25073 (arg1
)->ShowAll(arg2
);
25075 wxPyEndAllowThreads(__tstate
);
25076 if (PyErr_Occurred()) SWIG_fail
;
25078 Py_INCREF(Py_None
); resultobj
= Py_None
;
25085 static PyObject
*_wrap_Diagram_Snap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25086 PyObject
*resultobj
;
25087 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
25088 double *arg2
= (double *) 0 ;
25089 double *arg3
= (double *) 0 ;
25092 PyObject
* obj0
= 0 ;
25093 PyObject
* obj1
= 0 ;
25094 PyObject
* obj2
= 0 ;
25095 char *kwnames
[] = {
25096 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
25099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Diagram_Snap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25100 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25102 temp2
= PyFloat_AsDouble(obj1
);
25103 if (PyErr_Occurred()) SWIG_fail
;
25107 temp3
= PyFloat_AsDouble(obj2
);
25108 if (PyErr_Occurred()) SWIG_fail
;
25112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25113 (arg1
)->Snap(arg2
,arg3
);
25115 wxPyEndAllowThreads(__tstate
);
25116 if (PyErr_Occurred()) SWIG_fail
;
25118 Py_INCREF(Py_None
); resultobj
= Py_None
;
25120 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
25121 resultobj
= t_output_helper(resultobj
,o
);
25124 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
25125 resultobj
= t_output_helper(resultobj
,o
);
25133 static PyObject
* Diagram_swigregister(PyObject
*self
, PyObject
*args
) {
25135 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25136 SWIG_TypeClientData(SWIGTYPE_p_wxDiagram
, obj
);
25138 return Py_BuildValue((char *)"");
25140 static PyObject
*_wrap_new_PyShapeCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25141 PyObject
*resultobj
;
25142 wxWindow
*arg1
= (wxWindow
*) NULL
;
25143 wxWindowID arg2
= (wxWindowID
) -1 ;
25144 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25145 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25146 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25147 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25148 long arg5
= (long) wxBORDER
;
25149 wxString
const &arg6_defvalue
= wxPyShapeCanvasNameStr
;
25150 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25151 wxPyShapeCanvas
*result
;
25154 bool temp6
= false ;
25155 PyObject
* obj0
= 0 ;
25156 PyObject
* obj2
= 0 ;
25157 PyObject
* obj3
= 0 ;
25158 PyObject
* obj5
= 0 ;
25159 char *kwnames
[] = {
25160 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OiOOlO:new_PyShapeCanvas",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
25165 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25170 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25176 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25181 arg6
= wxString_in_helper(obj5
);
25182 if (arg6
== NULL
) SWIG_fail
;
25187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25188 result
= (wxPyShapeCanvas
*)new wxPyShapeCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25190 wxPyEndAllowThreads(__tstate
);
25191 if (PyErr_Occurred()) SWIG_fail
;
25194 resultobj
= wxPyMake_wxObject(result
);
25210 static PyObject
*_wrap_PyShapeCanvas__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25211 PyObject
*resultobj
;
25212 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
25213 PyObject
*arg2
= (PyObject
*) 0 ;
25214 PyObject
*arg3
= (PyObject
*) 0 ;
25215 PyObject
* obj0
= 0 ;
25216 PyObject
* obj1
= 0 ;
25217 PyObject
* obj2
= 0 ;
25218 char *kwnames
[] = {
25219 (char *) "self",(char *) "self",(char *) "_class", NULL
25222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeCanvas__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25228 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25230 wxPyEndAllowThreads(__tstate
);
25231 if (PyErr_Occurred()) SWIG_fail
;
25233 Py_INCREF(Py_None
); resultobj
= Py_None
;
25240 static PyObject
*_wrap_PyShapeCanvas_AddShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25241 PyObject
*resultobj
;
25242 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
25243 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
25244 wxPyShape
*arg3
= (wxPyShape
*) NULL
;
25245 PyObject
* obj0
= 0 ;
25246 PyObject
* obj1
= 0 ;
25247 PyObject
* obj2
= 0 ;
25248 char *kwnames
[] = {
25249 (char *) "self",(char *) "shape",(char *) "addAfter", NULL
25252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShapeCanvas_AddShape",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25253 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25254 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25256 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25260 (arg1
)->AddShape(arg2
,arg3
);
25262 wxPyEndAllowThreads(__tstate
);
25263 if (PyErr_Occurred()) SWIG_fail
;
25265 Py_INCREF(Py_None
); resultobj
= Py_None
;
25272 static PyObject
*_wrap_PyShapeCanvas_FindShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25273 PyObject
*resultobj
;
25274 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
25277 int *arg4
= (int *) 0 ;
25278 wxClassInfo
*arg5
= (wxClassInfo
*) NULL
;
25279 wxPyShape
*arg6
= (wxPyShape
*) NULL
;
25282 PyObject
* obj0
= 0 ;
25283 PyObject
* obj3
= 0 ;
25284 PyObject
* obj4
= 0 ;
25285 char *kwnames
[] = {
25286 (char *) "self",(char *) "x1",(char *) "y",(char *) "info",(char *) "notImage", NULL
25290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|OO:PyShapeCanvas_FindShape",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
,&obj4
)) goto fail
;
25291 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25293 if ((SWIG_ConvertPtr(obj3
,(void **) &arg5
, SWIGTYPE_p_wxClassInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25296 if ((SWIG_ConvertPtr(obj4
,(void **) &arg6
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25300 result
= (wxPyShape
*)(arg1
)->FindShape(arg2
,arg3
,arg4
,arg5
,arg6
);
25302 wxPyEndAllowThreads(__tstate
);
25303 if (PyErr_Occurred()) SWIG_fail
;
25306 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
25309 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
25310 resultobj
= t_output_helper(resultobj
,o
);
25318 static PyObject
*_wrap_PyShapeCanvas_FindFirstSensitiveShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25319 PyObject
*resultobj
;
25320 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
25323 int *arg4
= (int *) 0 ;
25327 PyObject
* obj0
= 0 ;
25328 char *kwnames
[] = {
25329 (char *) "self",(char *) "x1",(char *) "y",(char *) "op", NULL
25333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oddi:PyShapeCanvas_FindFirstSensitiveShape",kwnames
,&obj0
,&arg2
,&arg3
,&arg5
)) goto fail
;
25334 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25337 result
= (wxPyShape
*)(arg1
)->FindFirstSensitiveShape(arg2
,arg3
,arg4
,arg5
);
25339 wxPyEndAllowThreads(__tstate
);
25340 if (PyErr_Occurred()) SWIG_fail
;
25343 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
25346 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
25347 resultobj
= t_output_helper(resultobj
,o
);
25355 static PyObject
*_wrap_PyShapeCanvas_GetDiagram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25356 PyObject
*resultobj
;
25357 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
25359 PyObject
* obj0
= 0 ;
25360 char *kwnames
[] = {
25361 (char *) "self", NULL
25364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeCanvas_GetDiagram",kwnames
,&obj0
)) goto fail
;
25365 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25368 result
= (wxDiagram
*)(arg1
)->GetDiagram();
25370 wxPyEndAllowThreads(__tstate
);
25371 if (PyErr_Occurred()) SWIG_fail
;
25374 resultobj
= wxPyMake_wxObject(result
);
25382 static PyObject
*_wrap_PyShapeCanvas_GetQuickEditMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25383 PyObject
*resultobj
;
25384 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
25386 PyObject
* obj0
= 0 ;
25387 char *kwnames
[] = {
25388 (char *) "self", NULL
25391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeCanvas_GetQuickEditMode",kwnames
,&obj0
)) goto fail
;
25392 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25395 result
= (bool)(arg1
)->GetQuickEditMode();
25397 wxPyEndAllowThreads(__tstate
);
25398 if (PyErr_Occurred()) SWIG_fail
;
25400 resultobj
= PyInt_FromLong((long)result
);
25407 static PyObject
*_wrap_PyShapeCanvas_InsertShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25408 PyObject
*resultobj
;
25409 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
25410 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
25411 PyObject
* obj0
= 0 ;
25412 PyObject
* obj1
= 0 ;
25413 char *kwnames
[] = {
25414 (char *) "self",(char *) "shape", NULL
25417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeCanvas_InsertShape",kwnames
,&obj0
,&obj1
)) goto fail
;
25418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25419 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25422 (arg1
)->InsertShape(arg2
);
25424 wxPyEndAllowThreads(__tstate
);
25425 if (PyErr_Occurred()) SWIG_fail
;
25427 Py_INCREF(Py_None
); resultobj
= Py_None
;
25434 static PyObject
*_wrap_PyShapeCanvas_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25435 PyObject
*resultobj
;
25436 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
25439 int arg4
= (int) 0 ;
25440 PyObject
* obj0
= 0 ;
25441 char *kwnames
[] = {
25442 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
25445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|i:PyShapeCanvas_base_OnBeginDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
25446 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25449 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
);
25451 wxPyEndAllowThreads(__tstate
);
25452 if (PyErr_Occurred()) SWIG_fail
;
25454 Py_INCREF(Py_None
); resultobj
= Py_None
;
25461 static PyObject
*_wrap_PyShapeCanvas_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25462 PyObject
*resultobj
;
25463 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
25466 int arg4
= (int) 0 ;
25467 PyObject
* obj0
= 0 ;
25468 char *kwnames
[] = {
25469 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
25472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|i:PyShapeCanvas_base_OnBeginDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
25473 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25476 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
);
25478 wxPyEndAllowThreads(__tstate
);
25479 if (PyErr_Occurred()) SWIG_fail
;
25481 Py_INCREF(Py_None
); resultobj
= Py_None
;
25488 static PyObject
*_wrap_PyShapeCanvas_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25489 PyObject
*resultobj
;
25490 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
25493 int arg4
= (int) 0 ;
25494 PyObject
* obj0
= 0 ;
25495 char *kwnames
[] = {
25496 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
25499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|i:PyShapeCanvas_base_OnEndDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
25500 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25503 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
);
25505 wxPyEndAllowThreads(__tstate
);
25506 if (PyErr_Occurred()) SWIG_fail
;
25508 Py_INCREF(Py_None
); resultobj
= Py_None
;
25515 static PyObject
*_wrap_PyShapeCanvas_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25516 PyObject
*resultobj
;
25517 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
25520 int arg4
= (int) 0 ;
25521 PyObject
* obj0
= 0 ;
25522 char *kwnames
[] = {
25523 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
25526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|i:PyShapeCanvas_base_OnEndDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
25527 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25530 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
);
25532 wxPyEndAllowThreads(__tstate
);
25533 if (PyErr_Occurred()) SWIG_fail
;
25535 Py_INCREF(Py_None
); resultobj
= Py_None
;
25542 static PyObject
*_wrap_PyShapeCanvas_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25543 PyObject
*resultobj
;
25544 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
25548 int arg5
= (int) 0 ;
25549 PyObject
* obj0
= 0 ;
25550 PyObject
* obj1
= 0 ;
25551 char *kwnames
[] = {
25552 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys", NULL
25555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|i:PyShapeCanvas_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
)) goto fail
;
25556 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25557 arg2
= PyInt_AsLong(obj1
) ? true : false;
25558 if (PyErr_Occurred()) SWIG_fail
;
25560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25561 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
);
25563 wxPyEndAllowThreads(__tstate
);
25564 if (PyErr_Occurred()) SWIG_fail
;
25566 Py_INCREF(Py_None
); resultobj
= Py_None
;
25573 static PyObject
*_wrap_PyShapeCanvas_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25574 PyObject
*resultobj
;
25575 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
25579 int arg5
= (int) 0 ;
25580 PyObject
* obj0
= 0 ;
25581 PyObject
* obj1
= 0 ;
25582 char *kwnames
[] = {
25583 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys", NULL
25586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|i:PyShapeCanvas_base_OnDragRight",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
)) goto fail
;
25587 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25588 arg2
= PyInt_AsLong(obj1
) ? true : false;
25589 if (PyErr_Occurred()) SWIG_fail
;
25591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25592 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
);
25594 wxPyEndAllowThreads(__tstate
);
25595 if (PyErr_Occurred()) SWIG_fail
;
25597 Py_INCREF(Py_None
); resultobj
= Py_None
;
25604 static PyObject
*_wrap_PyShapeCanvas_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25605 PyObject
*resultobj
;
25606 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
25609 int arg4
= (int) 0 ;
25610 PyObject
* obj0
= 0 ;
25611 char *kwnames
[] = {
25612 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
25615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|i:PyShapeCanvas_base_OnLeftClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
25616 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25619 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
);
25621 wxPyEndAllowThreads(__tstate
);
25622 if (PyErr_Occurred()) SWIG_fail
;
25624 Py_INCREF(Py_None
); resultobj
= Py_None
;
25631 static PyObject
*_wrap_PyShapeCanvas_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25632 PyObject
*resultobj
;
25633 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
25636 int arg4
= (int) 0 ;
25637 PyObject
* obj0
= 0 ;
25638 char *kwnames
[] = {
25639 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
25642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|i:PyShapeCanvas_base_OnRightClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
25643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25646 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
);
25648 wxPyEndAllowThreads(__tstate
);
25649 if (PyErr_Occurred()) SWIG_fail
;
25651 Py_INCREF(Py_None
); resultobj
= Py_None
;
25658 static PyObject
*_wrap_PyShapeCanvas_Redraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25659 PyObject
*resultobj
;
25660 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
25662 PyObject
* obj0
= 0 ;
25663 PyObject
* obj1
= 0 ;
25664 char *kwnames
[] = {
25665 (char *) "self",(char *) "dc", NULL
25668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeCanvas_Redraw",kwnames
,&obj0
,&obj1
)) goto fail
;
25669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25670 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25671 if (arg2
== NULL
) {
25672 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25676 (arg1
)->Redraw(*arg2
);
25678 wxPyEndAllowThreads(__tstate
);
25679 if (PyErr_Occurred()) SWIG_fail
;
25681 Py_INCREF(Py_None
); resultobj
= Py_None
;
25688 static PyObject
*_wrap_PyShapeCanvas_RemoveShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25689 PyObject
*resultobj
;
25690 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
25691 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
25692 PyObject
* obj0
= 0 ;
25693 PyObject
* obj1
= 0 ;
25694 char *kwnames
[] = {
25695 (char *) "self",(char *) "shape", NULL
25698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeCanvas_RemoveShape",kwnames
,&obj0
,&obj1
)) goto fail
;
25699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25700 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25703 (arg1
)->RemoveShape(arg2
);
25705 wxPyEndAllowThreads(__tstate
);
25706 if (PyErr_Occurred()) SWIG_fail
;
25708 Py_INCREF(Py_None
); resultobj
= Py_None
;
25715 static PyObject
*_wrap_PyShapeCanvas_SetDiagram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25716 PyObject
*resultobj
;
25717 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
25718 wxDiagram
*arg2
= (wxDiagram
*) 0 ;
25719 PyObject
* obj0
= 0 ;
25720 PyObject
* obj1
= 0 ;
25721 char *kwnames
[] = {
25722 (char *) "self",(char *) "diagram", NULL
25725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeCanvas_SetDiagram",kwnames
,&obj0
,&obj1
)) goto fail
;
25726 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25727 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25730 (arg1
)->SetDiagram(arg2
);
25732 wxPyEndAllowThreads(__tstate
);
25733 if (PyErr_Occurred()) SWIG_fail
;
25735 Py_INCREF(Py_None
); resultobj
= Py_None
;
25742 static PyObject
*_wrap_PyShapeCanvas_Snap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25743 PyObject
*resultobj
;
25744 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
25745 double *arg2
= (double *) 0 ;
25746 double *arg3
= (double *) 0 ;
25749 PyObject
* obj0
= 0 ;
25750 PyObject
* obj1
= 0 ;
25751 PyObject
* obj2
= 0 ;
25752 char *kwnames
[] = {
25753 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
25756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeCanvas_Snap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25757 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25759 temp2
= PyFloat_AsDouble(obj1
);
25760 if (PyErr_Occurred()) SWIG_fail
;
25764 temp3
= PyFloat_AsDouble(obj2
);
25765 if (PyErr_Occurred()) SWIG_fail
;
25769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25770 (arg1
)->Snap(arg2
,arg3
);
25772 wxPyEndAllowThreads(__tstate
);
25773 if (PyErr_Occurred()) SWIG_fail
;
25775 Py_INCREF(Py_None
); resultobj
= Py_None
;
25777 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
25778 resultobj
= t_output_helper(resultobj
,o
);
25781 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
25782 resultobj
= t_output_helper(resultobj
,o
);
25790 static PyObject
* PyShapeCanvas_swigregister(PyObject
*self
, PyObject
*args
) {
25792 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25793 SWIG_TypeClientData(SWIGTYPE_p_wxPyShapeCanvas
, obj
);
25795 return Py_BuildValue((char *)"");
25797 static PyObject
*_wrap_OGLInitialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25798 PyObject
*resultobj
;
25799 char *kwnames
[] = {
25803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":OGLInitialize",kwnames
)) goto fail
;
25805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25808 wxPyEndAllowThreads(__tstate
);
25809 if (PyErr_Occurred()) SWIG_fail
;
25811 Py_INCREF(Py_None
); resultobj
= Py_None
;
25818 static PyObject
*_wrap_OGLCleanUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25819 PyObject
*resultobj
;
25820 char *kwnames
[] = {
25824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":OGLCleanUp",kwnames
)) goto fail
;
25826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25829 wxPyEndAllowThreads(__tstate
);
25830 if (PyErr_Occurred()) SWIG_fail
;
25832 Py_INCREF(Py_None
); resultobj
= Py_None
;
25839 static PyMethodDef SwigMethods
[] = {
25840 { (char *)"new_ShapeRegion", (PyCFunction
) _wrap_new_ShapeRegion
, METH_VARARGS
| METH_KEYWORDS
},
25841 { (char *)"ShapeRegion_SetText", (PyCFunction
) _wrap_ShapeRegion_SetText
, METH_VARARGS
| METH_KEYWORDS
},
25842 { (char *)"ShapeRegion_SetFont", (PyCFunction
) _wrap_ShapeRegion_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
25843 { (char *)"ShapeRegion_SetMinSize", (PyCFunction
) _wrap_ShapeRegion_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
25844 { (char *)"ShapeRegion_SetSize", (PyCFunction
) _wrap_ShapeRegion_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
25845 { (char *)"ShapeRegion_SetPosition", (PyCFunction
) _wrap_ShapeRegion_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
25846 { (char *)"ShapeRegion_SetProportions", (PyCFunction
) _wrap_ShapeRegion_SetProportions
, METH_VARARGS
| METH_KEYWORDS
},
25847 { (char *)"ShapeRegion_SetFormatMode", (PyCFunction
) _wrap_ShapeRegion_SetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
25848 { (char *)"ShapeRegion_SetName", (PyCFunction
) _wrap_ShapeRegion_SetName
, METH_VARARGS
| METH_KEYWORDS
},
25849 { (char *)"ShapeRegion_SetColour", (PyCFunction
) _wrap_ShapeRegion_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
25850 { (char *)"ShapeRegion_GetText", (PyCFunction
) _wrap_ShapeRegion_GetText
, METH_VARARGS
| METH_KEYWORDS
},
25851 { (char *)"ShapeRegion_GetFont", (PyCFunction
) _wrap_ShapeRegion_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
25852 { (char *)"ShapeRegion_GetMinSize", (PyCFunction
) _wrap_ShapeRegion_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
25853 { (char *)"ShapeRegion_GetProportion", (PyCFunction
) _wrap_ShapeRegion_GetProportion
, METH_VARARGS
| METH_KEYWORDS
},
25854 { (char *)"ShapeRegion_GetSize", (PyCFunction
) _wrap_ShapeRegion_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
25855 { (char *)"ShapeRegion_GetPosition", (PyCFunction
) _wrap_ShapeRegion_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
25856 { (char *)"ShapeRegion_GetFormatMode", (PyCFunction
) _wrap_ShapeRegion_GetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
25857 { (char *)"ShapeRegion_GetName", (PyCFunction
) _wrap_ShapeRegion_GetName
, METH_VARARGS
| METH_KEYWORDS
},
25858 { (char *)"ShapeRegion_GetColour", (PyCFunction
) _wrap_ShapeRegion_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
25859 { (char *)"ShapeRegion_GetActualColourObject", (PyCFunction
) _wrap_ShapeRegion_GetActualColourObject
, METH_VARARGS
| METH_KEYWORDS
},
25860 { (char *)"ShapeRegion_GetFormattedText", (PyCFunction
) _wrap_ShapeRegion_GetFormattedText
, METH_VARARGS
| METH_KEYWORDS
},
25861 { (char *)"ShapeRegion_GetPenColour", (PyCFunction
) _wrap_ShapeRegion_GetPenColour
, METH_VARARGS
| METH_KEYWORDS
},
25862 { (char *)"ShapeRegion_GetPenStyle", (PyCFunction
) _wrap_ShapeRegion_GetPenStyle
, METH_VARARGS
| METH_KEYWORDS
},
25863 { (char *)"ShapeRegion_SetPenStyle", (PyCFunction
) _wrap_ShapeRegion_SetPenStyle
, METH_VARARGS
| METH_KEYWORDS
},
25864 { (char *)"ShapeRegion_SetPenColour", (PyCFunction
) _wrap_ShapeRegion_SetPenColour
, METH_VARARGS
| METH_KEYWORDS
},
25865 { (char *)"ShapeRegion_GetActualPen", (PyCFunction
) _wrap_ShapeRegion_GetActualPen
, METH_VARARGS
| METH_KEYWORDS
},
25866 { (char *)"ShapeRegion_GetWidth", (PyCFunction
) _wrap_ShapeRegion_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
25867 { (char *)"ShapeRegion_GetHeight", (PyCFunction
) _wrap_ShapeRegion_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
25868 { (char *)"ShapeRegion_ClearText", (PyCFunction
) _wrap_ShapeRegion_ClearText
, METH_VARARGS
| METH_KEYWORDS
},
25869 { (char *)"ShapeRegion_swigregister", ShapeRegion_swigregister
, METH_VARARGS
},
25870 { (char *)"new_PyShapeEvtHandler", (PyCFunction
) _wrap_new_PyShapeEvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
25871 { (char *)"PyShapeEvtHandler__setCallbackInfo", (PyCFunction
) _wrap_PyShapeEvtHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25872 { (char *)"PyShapeEvtHandler__setOORInfo", (PyCFunction
) _wrap_PyShapeEvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
25873 { (char *)"PyShapeEvtHandler_SetShape", (PyCFunction
) _wrap_PyShapeEvtHandler_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
25874 { (char *)"PyShapeEvtHandler_GetShape", (PyCFunction
) _wrap_PyShapeEvtHandler_GetShape
, METH_VARARGS
| METH_KEYWORDS
},
25875 { (char *)"PyShapeEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_PyShapeEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
25876 { (char *)"PyShapeEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_PyShapeEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
25877 { (char *)"PyShapeEvtHandler_CreateNewCopy", (PyCFunction
) _wrap_PyShapeEvtHandler_CreateNewCopy
, METH_VARARGS
| METH_KEYWORDS
},
25878 { (char *)"PyShapeEvtHandler_base_OnDelete", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
25879 { (char *)"PyShapeEvtHandler_base_OnDraw", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
25880 { (char *)"PyShapeEvtHandler_base_OnDrawContents", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
25881 { (char *)"PyShapeEvtHandler_base_OnDrawBranches", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
25882 { (char *)"PyShapeEvtHandler_base_OnMoveLinks", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
25883 { (char *)"PyShapeEvtHandler_base_OnErase", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
25884 { (char *)"PyShapeEvtHandler_base_OnEraseContents", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
25885 { (char *)"PyShapeEvtHandler_base_OnHighlight", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
25886 { (char *)"PyShapeEvtHandler_base_OnLeftClick", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
25887 { (char *)"PyShapeEvtHandler_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
25888 { (char *)"PyShapeEvtHandler_base_OnRightClick", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
25889 { (char *)"PyShapeEvtHandler_base_OnSize", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
25890 { (char *)"PyShapeEvtHandler_base_OnMovePre", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
25891 { (char *)"PyShapeEvtHandler_base_OnMovePost", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
25892 { (char *)"PyShapeEvtHandler_base_OnDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
25893 { (char *)"PyShapeEvtHandler_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
25894 { (char *)"PyShapeEvtHandler_base_OnEndDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
25895 { (char *)"PyShapeEvtHandler_base_OnDragRight", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
25896 { (char *)"PyShapeEvtHandler_base_OnBeginDragRight", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
25897 { (char *)"PyShapeEvtHandler_base_OnEndDragRight", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
25898 { (char *)"PyShapeEvtHandler_base_OnDrawOutline", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
25899 { (char *)"PyShapeEvtHandler_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
25900 { (char *)"PyShapeEvtHandler_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
25901 { (char *)"PyShapeEvtHandler_base_OnMoveLink", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
25902 { (char *)"PyShapeEvtHandler_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
25903 { (char *)"PyShapeEvtHandler_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
25904 { (char *)"PyShapeEvtHandler_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
25905 { (char *)"PyShapeEvtHandler_base_OnBeginSize", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
25906 { (char *)"PyShapeEvtHandler_base_OnEndSize", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
25907 { (char *)"PyShapeEvtHandler_swigregister", PyShapeEvtHandler_swigregister
, METH_VARARGS
},
25908 { (char *)"new_PyShape", (PyCFunction
) _wrap_new_PyShape
, METH_VARARGS
| METH_KEYWORDS
},
25909 { (char *)"PyShape__setCallbackInfo", (PyCFunction
) _wrap_PyShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25910 { (char *)"PyShape_GetBoundingBoxMax", (PyCFunction
) _wrap_PyShape_GetBoundingBoxMax
, METH_VARARGS
| METH_KEYWORDS
},
25911 { (char *)"PyShape_GetBoundingBoxMin", (PyCFunction
) _wrap_PyShape_GetBoundingBoxMin
, METH_VARARGS
| METH_KEYWORDS
},
25912 { (char *)"PyShape_GetPerimeterPoint", (PyCFunction
) _wrap_PyShape_GetPerimeterPoint
, METH_VARARGS
| METH_KEYWORDS
},
25913 { (char *)"PyShape_GetCanvas", (PyCFunction
) _wrap_PyShape_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25914 { (char *)"PyShape_SetCanvas", (PyCFunction
) _wrap_PyShape_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25915 { (char *)"PyShape_AddToCanvas", (PyCFunction
) _wrap_PyShape_AddToCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25916 { (char *)"PyShape_InsertInCanvas", (PyCFunction
) _wrap_PyShape_InsertInCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25917 { (char *)"PyShape_RemoveFromCanvas", (PyCFunction
) _wrap_PyShape_RemoveFromCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25918 { (char *)"PyShape_GetX", (PyCFunction
) _wrap_PyShape_GetX
, METH_VARARGS
| METH_KEYWORDS
},
25919 { (char *)"PyShape_GetY", (PyCFunction
) _wrap_PyShape_GetY
, METH_VARARGS
| METH_KEYWORDS
},
25920 { (char *)"PyShape_SetX", (PyCFunction
) _wrap_PyShape_SetX
, METH_VARARGS
| METH_KEYWORDS
},
25921 { (char *)"PyShape_SetY", (PyCFunction
) _wrap_PyShape_SetY
, METH_VARARGS
| METH_KEYWORDS
},
25922 { (char *)"PyShape_GetParent", (PyCFunction
) _wrap_PyShape_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
25923 { (char *)"PyShape_SetParent", (PyCFunction
) _wrap_PyShape_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
25924 { (char *)"PyShape_GetTopAncestor", (PyCFunction
) _wrap_PyShape_GetTopAncestor
, METH_VARARGS
| METH_KEYWORDS
},
25925 { (char *)"PyShape_GetChildren", (PyCFunction
) _wrap_PyShape_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
25926 { (char *)"PyShape_Unlink", (PyCFunction
) _wrap_PyShape_Unlink
, METH_VARARGS
| METH_KEYWORDS
},
25927 { (char *)"PyShape_SetDrawHandles", (PyCFunction
) _wrap_PyShape_SetDrawHandles
, METH_VARARGS
| METH_KEYWORDS
},
25928 { (char *)"PyShape_GetDrawHandles", (PyCFunction
) _wrap_PyShape_GetDrawHandles
, METH_VARARGS
| METH_KEYWORDS
},
25929 { (char *)"PyShape_MakeControlPoints", (PyCFunction
) _wrap_PyShape_MakeControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
25930 { (char *)"PyShape_DeleteControlPoints", (PyCFunction
) _wrap_PyShape_DeleteControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
25931 { (char *)"PyShape_ResetControlPoints", (PyCFunction
) _wrap_PyShape_ResetControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
25932 { (char *)"PyShape_GetEventHandler", (PyCFunction
) _wrap_PyShape_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
25933 { (char *)"PyShape_SetEventHandler", (PyCFunction
) _wrap_PyShape_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
25934 { (char *)"PyShape_MakeMandatoryControlPoints", (PyCFunction
) _wrap_PyShape_MakeMandatoryControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
25935 { (char *)"PyShape_ResetMandatoryControlPoints", (PyCFunction
) _wrap_PyShape_ResetMandatoryControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
25936 { (char *)"PyShape_Recompute", (PyCFunction
) _wrap_PyShape_Recompute
, METH_VARARGS
| METH_KEYWORDS
},
25937 { (char *)"PyShape_CalculateSize", (PyCFunction
) _wrap_PyShape_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
},
25938 { (char *)"PyShape_Select", (PyCFunction
) _wrap_PyShape_Select
, METH_VARARGS
| METH_KEYWORDS
},
25939 { (char *)"PyShape_SetHighlight", (PyCFunction
) _wrap_PyShape_SetHighlight
, METH_VARARGS
| METH_KEYWORDS
},
25940 { (char *)"PyShape_IsHighlighted", (PyCFunction
) _wrap_PyShape_IsHighlighted
, METH_VARARGS
| METH_KEYWORDS
},
25941 { (char *)"PyShape_Selected", (PyCFunction
) _wrap_PyShape_Selected
, METH_VARARGS
| METH_KEYWORDS
},
25942 { (char *)"PyShape_AncestorSelected", (PyCFunction
) _wrap_PyShape_AncestorSelected
, METH_VARARGS
| METH_KEYWORDS
},
25943 { (char *)"PyShape_SetSensitivityFilter", (PyCFunction
) _wrap_PyShape_SetSensitivityFilter
, METH_VARARGS
| METH_KEYWORDS
},
25944 { (char *)"PyShape_GetSensitivityFilter", (PyCFunction
) _wrap_PyShape_GetSensitivityFilter
, METH_VARARGS
| METH_KEYWORDS
},
25945 { (char *)"PyShape_SetDraggable", (PyCFunction
) _wrap_PyShape_SetDraggable
, METH_VARARGS
| METH_KEYWORDS
},
25946 { (char *)"PyShape_SetFixedSize", (PyCFunction
) _wrap_PyShape_SetFixedSize
, METH_VARARGS
| METH_KEYWORDS
},
25947 { (char *)"PyShape_GetFixedSize", (PyCFunction
) _wrap_PyShape_GetFixedSize
, METH_VARARGS
| METH_KEYWORDS
},
25948 { (char *)"PyShape_GetFixedWidth", (PyCFunction
) _wrap_PyShape_GetFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
25949 { (char *)"PyShape_GetFixedHeight", (PyCFunction
) _wrap_PyShape_GetFixedHeight
, METH_VARARGS
| METH_KEYWORDS
},
25950 { (char *)"PyShape_SetSpaceAttachments", (PyCFunction
) _wrap_PyShape_SetSpaceAttachments
, METH_VARARGS
| METH_KEYWORDS
},
25951 { (char *)"PyShape_GetSpaceAttachments", (PyCFunction
) _wrap_PyShape_GetSpaceAttachments
, METH_VARARGS
| METH_KEYWORDS
},
25952 { (char *)"PyShape_SetShadowMode", (PyCFunction
) _wrap_PyShape_SetShadowMode
, METH_VARARGS
| METH_KEYWORDS
},
25953 { (char *)"PyShape_GetShadowMode", (PyCFunction
) _wrap_PyShape_GetShadowMode
, METH_VARARGS
| METH_KEYWORDS
},
25954 { (char *)"PyShape_HitTest", (PyCFunction
) _wrap_PyShape_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
25955 { (char *)"PyShape_SetCentreResize", (PyCFunction
) _wrap_PyShape_SetCentreResize
, METH_VARARGS
| METH_KEYWORDS
},
25956 { (char *)"PyShape_GetCentreResize", (PyCFunction
) _wrap_PyShape_GetCentreResize
, METH_VARARGS
| METH_KEYWORDS
},
25957 { (char *)"PyShape_SetMaintainAspectRatio", (PyCFunction
) _wrap_PyShape_SetMaintainAspectRatio
, METH_VARARGS
| METH_KEYWORDS
},
25958 { (char *)"PyShape_GetMaintainAspectRatio", (PyCFunction
) _wrap_PyShape_GetMaintainAspectRatio
, METH_VARARGS
| METH_KEYWORDS
},
25959 { (char *)"PyShape_GetLines", (PyCFunction
) _wrap_PyShape_GetLines
, METH_VARARGS
| METH_KEYWORDS
},
25960 { (char *)"PyShape_SetDisableLabel", (PyCFunction
) _wrap_PyShape_SetDisableLabel
, METH_VARARGS
| METH_KEYWORDS
},
25961 { (char *)"PyShape_GetDisableLabel", (PyCFunction
) _wrap_PyShape_GetDisableLabel
, METH_VARARGS
| METH_KEYWORDS
},
25962 { (char *)"PyShape_SetAttachmentMode", (PyCFunction
) _wrap_PyShape_SetAttachmentMode
, METH_VARARGS
| METH_KEYWORDS
},
25963 { (char *)"PyShape_GetAttachmentMode", (PyCFunction
) _wrap_PyShape_GetAttachmentMode
, METH_VARARGS
| METH_KEYWORDS
},
25964 { (char *)"PyShape_SetId", (PyCFunction
) _wrap_PyShape_SetId
, METH_VARARGS
| METH_KEYWORDS
},
25965 { (char *)"PyShape_GetId", (PyCFunction
) _wrap_PyShape_GetId
, METH_VARARGS
| METH_KEYWORDS
},
25966 { (char *)"PyShape_SetPen", (PyCFunction
) _wrap_PyShape_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
25967 { (char *)"PyShape_SetBrush", (PyCFunction
) _wrap_PyShape_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
25968 { (char *)"PyShape_Show", (PyCFunction
) _wrap_PyShape_Show
, METH_VARARGS
| METH_KEYWORDS
},
25969 { (char *)"PyShape_IsShown", (PyCFunction
) _wrap_PyShape_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
25970 { (char *)"PyShape_Move", (PyCFunction
) _wrap_PyShape_Move
, METH_VARARGS
| METH_KEYWORDS
},
25971 { (char *)"PyShape_Erase", (PyCFunction
) _wrap_PyShape_Erase
, METH_VARARGS
| METH_KEYWORDS
},
25972 { (char *)"PyShape_EraseContents", (PyCFunction
) _wrap_PyShape_EraseContents
, METH_VARARGS
| METH_KEYWORDS
},
25973 { (char *)"PyShape_Draw", (PyCFunction
) _wrap_PyShape_Draw
, METH_VARARGS
| METH_KEYWORDS
},
25974 { (char *)"PyShape_Flash", (PyCFunction
) _wrap_PyShape_Flash
, METH_VARARGS
| METH_KEYWORDS
},
25975 { (char *)"PyShape_MoveLinks", (PyCFunction
) _wrap_PyShape_MoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
25976 { (char *)"PyShape_DrawContents", (PyCFunction
) _wrap_PyShape_DrawContents
, METH_VARARGS
| METH_KEYWORDS
},
25977 { (char *)"PyShape_SetSize", (PyCFunction
) _wrap_PyShape_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
25978 { (char *)"PyShape_SetAttachmentSize", (PyCFunction
) _wrap_PyShape_SetAttachmentSize
, METH_VARARGS
| METH_KEYWORDS
},
25979 { (char *)"PyShape_Attach", (PyCFunction
) _wrap_PyShape_Attach
, METH_VARARGS
| METH_KEYWORDS
},
25980 { (char *)"PyShape_Detach", (PyCFunction
) _wrap_PyShape_Detach
, METH_VARARGS
| METH_KEYWORDS
},
25981 { (char *)"PyShape_Constrain", (PyCFunction
) _wrap_PyShape_Constrain
, METH_VARARGS
| METH_KEYWORDS
},
25982 { (char *)"PyShape_AddLine", (PyCFunction
) _wrap_PyShape_AddLine
, METH_VARARGS
| METH_KEYWORDS
},
25983 { (char *)"PyShape_GetLinePosition", (PyCFunction
) _wrap_PyShape_GetLinePosition
, METH_VARARGS
| METH_KEYWORDS
},
25984 { (char *)"PyShape_AddText", (PyCFunction
) _wrap_PyShape_AddText
, METH_VARARGS
| METH_KEYWORDS
},
25985 { (char *)"PyShape_GetPen", (PyCFunction
) _wrap_PyShape_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
25986 { (char *)"PyShape_GetBrush", (PyCFunction
) _wrap_PyShape_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
25987 { (char *)"PyShape_SetDefaultRegionSize", (PyCFunction
) _wrap_PyShape_SetDefaultRegionSize
, METH_VARARGS
| METH_KEYWORDS
},
25988 { (char *)"PyShape_FormatText", (PyCFunction
) _wrap_PyShape_FormatText
, METH_VARARGS
| METH_KEYWORDS
},
25989 { (char *)"PyShape_SetFormatMode", (PyCFunction
) _wrap_PyShape_SetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
25990 { (char *)"PyShape_GetFormatMode", (PyCFunction
) _wrap_PyShape_GetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
25991 { (char *)"PyShape_SetFont", (PyCFunction
) _wrap_PyShape_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
25992 { (char *)"PyShape_GetFont", (PyCFunction
) _wrap_PyShape_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
25993 { (char *)"PyShape_SetTextColour", (PyCFunction
) _wrap_PyShape_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
25994 { (char *)"PyShape_GetTextColour", (PyCFunction
) _wrap_PyShape_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
25995 { (char *)"PyShape_GetNumberOfTextRegions", (PyCFunction
) _wrap_PyShape_GetNumberOfTextRegions
, METH_VARARGS
| METH_KEYWORDS
},
25996 { (char *)"PyShape_SetRegionName", (PyCFunction
) _wrap_PyShape_SetRegionName
, METH_VARARGS
| METH_KEYWORDS
},
25997 { (char *)"PyShape_GetRegionName", (PyCFunction
) _wrap_PyShape_GetRegionName
, METH_VARARGS
| METH_KEYWORDS
},
25998 { (char *)"PyShape_GetRegionId", (PyCFunction
) _wrap_PyShape_GetRegionId
, METH_VARARGS
| METH_KEYWORDS
},
25999 { (char *)"PyShape_NameRegions", (PyCFunction
) _wrap_PyShape_NameRegions
, METH_VARARGS
| METH_KEYWORDS
},
26000 { (char *)"PyShape_GetRegions", (PyCFunction
) _wrap_PyShape_GetRegions
, METH_VARARGS
| METH_KEYWORDS
},
26001 { (char *)"PyShape_AddRegion", (PyCFunction
) _wrap_PyShape_AddRegion
, METH_VARARGS
| METH_KEYWORDS
},
26002 { (char *)"PyShape_ClearRegions", (PyCFunction
) _wrap_PyShape_ClearRegions
, METH_VARARGS
| METH_KEYWORDS
},
26003 { (char *)"PyShape_AssignNewIds", (PyCFunction
) _wrap_PyShape_AssignNewIds
, METH_VARARGS
| METH_KEYWORDS
},
26004 { (char *)"PyShape_FindRegion", (PyCFunction
) _wrap_PyShape_FindRegion
, METH_VARARGS
| METH_KEYWORDS
},
26005 { (char *)"PyShape_FindRegionNames", (PyCFunction
) _wrap_PyShape_FindRegionNames
, METH_VARARGS
| METH_KEYWORDS
},
26006 { (char *)"PyShape_ClearText", (PyCFunction
) _wrap_PyShape_ClearText
, METH_VARARGS
| METH_KEYWORDS
},
26007 { (char *)"PyShape_RemoveLine", (PyCFunction
) _wrap_PyShape_RemoveLine
, METH_VARARGS
| METH_KEYWORDS
},
26008 { (char *)"PyShape_GetAttachmentPosition", (PyCFunction
) _wrap_PyShape_GetAttachmentPosition
, METH_VARARGS
| METH_KEYWORDS
},
26009 { (char *)"PyShape_GetNumberOfAttachments", (PyCFunction
) _wrap_PyShape_GetNumberOfAttachments
, METH_VARARGS
| METH_KEYWORDS
},
26010 { (char *)"PyShape_AttachmentIsValid", (PyCFunction
) _wrap_PyShape_AttachmentIsValid
, METH_VARARGS
| METH_KEYWORDS
},
26011 { (char *)"PyShape_GetAttachmentPositionEdge", (PyCFunction
) _wrap_PyShape_GetAttachmentPositionEdge
, METH_VARARGS
| METH_KEYWORDS
},
26012 { (char *)"PyShape_CalcSimpleAttachment", (PyCFunction
) _wrap_PyShape_CalcSimpleAttachment
, METH_VARARGS
| METH_KEYWORDS
},
26013 { (char *)"PyShape_AttachmentSortTest", (PyCFunction
) _wrap_PyShape_AttachmentSortTest
, METH_VARARGS
| METH_KEYWORDS
},
26014 { (char *)"PyShape_EraseLinks", (PyCFunction
) _wrap_PyShape_EraseLinks
, METH_VARARGS
| METH_KEYWORDS
},
26015 { (char *)"PyShape_DrawLinks", (PyCFunction
) _wrap_PyShape_DrawLinks
, METH_VARARGS
| METH_KEYWORDS
},
26016 { (char *)"PyShape_MoveLineToNewAttachment", (PyCFunction
) _wrap_PyShape_MoveLineToNewAttachment
, METH_VARARGS
| METH_KEYWORDS
},
26017 { (char *)"PyShape_ApplyAttachmentOrdering", (PyCFunction
) _wrap_PyShape_ApplyAttachmentOrdering
, METH_VARARGS
| METH_KEYWORDS
},
26018 { (char *)"PyShape_GetBranchingAttachmentRoot", (PyCFunction
) _wrap_PyShape_GetBranchingAttachmentRoot
, METH_VARARGS
| METH_KEYWORDS
},
26019 { (char *)"PyShape_GetBranchingAttachmentInfo", (PyCFunction
) _wrap_PyShape_GetBranchingAttachmentInfo
, METH_VARARGS
| METH_KEYWORDS
},
26020 { (char *)"PyShape_GetBranchingAttachmentPoint", (PyCFunction
) _wrap_PyShape_GetBranchingAttachmentPoint
, METH_VARARGS
| METH_KEYWORDS
},
26021 { (char *)"PyShape_GetAttachmentLineCount", (PyCFunction
) _wrap_PyShape_GetAttachmentLineCount
, METH_VARARGS
| METH_KEYWORDS
},
26022 { (char *)"PyShape_SetBranchNeckLength", (PyCFunction
) _wrap_PyShape_SetBranchNeckLength
, METH_VARARGS
| METH_KEYWORDS
},
26023 { (char *)"PyShape_GetBranchNeckLength", (PyCFunction
) _wrap_PyShape_GetBranchNeckLength
, METH_VARARGS
| METH_KEYWORDS
},
26024 { (char *)"PyShape_SetBranchStemLength", (PyCFunction
) _wrap_PyShape_SetBranchStemLength
, METH_VARARGS
| METH_KEYWORDS
},
26025 { (char *)"PyShape_GetBranchStemLength", (PyCFunction
) _wrap_PyShape_GetBranchStemLength
, METH_VARARGS
| METH_KEYWORDS
},
26026 { (char *)"PyShape_SetBranchSpacing", (PyCFunction
) _wrap_PyShape_SetBranchSpacing
, METH_VARARGS
| METH_KEYWORDS
},
26027 { (char *)"PyShape_GetBranchSpacing", (PyCFunction
) _wrap_PyShape_GetBranchSpacing
, METH_VARARGS
| METH_KEYWORDS
},
26028 { (char *)"PyShape_SetBranchStyle", (PyCFunction
) _wrap_PyShape_SetBranchStyle
, METH_VARARGS
| METH_KEYWORDS
},
26029 { (char *)"PyShape_GetBranchStyle", (PyCFunction
) _wrap_PyShape_GetBranchStyle
, METH_VARARGS
| METH_KEYWORDS
},
26030 { (char *)"PyShape_PhysicalToLogicalAttachment", (PyCFunction
) _wrap_PyShape_PhysicalToLogicalAttachment
, METH_VARARGS
| METH_KEYWORDS
},
26031 { (char *)"PyShape_LogicalToPhysicalAttachment", (PyCFunction
) _wrap_PyShape_LogicalToPhysicalAttachment
, METH_VARARGS
| METH_KEYWORDS
},
26032 { (char *)"PyShape_Draggable", (PyCFunction
) _wrap_PyShape_Draggable
, METH_VARARGS
| METH_KEYWORDS
},
26033 { (char *)"PyShape_HasDescendant", (PyCFunction
) _wrap_PyShape_HasDescendant
, METH_VARARGS
| METH_KEYWORDS
},
26034 { (char *)"PyShape_CreateNewCopy", (PyCFunction
) _wrap_PyShape_CreateNewCopy
, METH_VARARGS
| METH_KEYWORDS
},
26035 { (char *)"PyShape_Copy", (PyCFunction
) _wrap_PyShape_Copy
, METH_VARARGS
| METH_KEYWORDS
},
26036 { (char *)"PyShape_CopyWithHandler", (PyCFunction
) _wrap_PyShape_CopyWithHandler
, METH_VARARGS
| METH_KEYWORDS
},
26037 { (char *)"PyShape_Rotate", (PyCFunction
) _wrap_PyShape_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
26038 { (char *)"PyShape_GetRotation", (PyCFunction
) _wrap_PyShape_GetRotation
, METH_VARARGS
| METH_KEYWORDS
},
26039 { (char *)"PyShape_ClearAttachments", (PyCFunction
) _wrap_PyShape_ClearAttachments
, METH_VARARGS
| METH_KEYWORDS
},
26040 { (char *)"PyShape_Recentre", (PyCFunction
) _wrap_PyShape_Recentre
, METH_VARARGS
| METH_KEYWORDS
},
26041 { (char *)"PyShape_ClearPointList", (PyCFunction
) _wrap_PyShape_ClearPointList
, METH_VARARGS
| METH_KEYWORDS
},
26042 { (char *)"PyShape_GetBackgroundPen", (PyCFunction
) _wrap_PyShape_GetBackgroundPen
, METH_VARARGS
| METH_KEYWORDS
},
26043 { (char *)"PyShape_GetBackgroundBrush", (PyCFunction
) _wrap_PyShape_GetBackgroundBrush
, METH_VARARGS
| METH_KEYWORDS
},
26044 { (char *)"PyShape_base_OnDelete", (PyCFunction
) _wrap_PyShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
26045 { (char *)"PyShape_base_OnDraw", (PyCFunction
) _wrap_PyShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
26046 { (char *)"PyShape_base_OnDrawContents", (PyCFunction
) _wrap_PyShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
26047 { (char *)"PyShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
26048 { (char *)"PyShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
26049 { (char *)"PyShape_base_OnErase", (PyCFunction
) _wrap_PyShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
26050 { (char *)"PyShape_base_OnEraseContents", (PyCFunction
) _wrap_PyShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
26051 { (char *)"PyShape_base_OnHighlight", (PyCFunction
) _wrap_PyShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
26052 { (char *)"PyShape_base_OnLeftClick", (PyCFunction
) _wrap_PyShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
26053 { (char *)"PyShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
26054 { (char *)"PyShape_base_OnRightClick", (PyCFunction
) _wrap_PyShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
26055 { (char *)"PyShape_base_OnSize", (PyCFunction
) _wrap_PyShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
26056 { (char *)"PyShape_base_OnMovePre", (PyCFunction
) _wrap_PyShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
26057 { (char *)"PyShape_base_OnMovePost", (PyCFunction
) _wrap_PyShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
26058 { (char *)"PyShape_base_OnDragLeft", (PyCFunction
) _wrap_PyShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26059 { (char *)"PyShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26060 { (char *)"PyShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26061 { (char *)"PyShape_base_OnDragRight", (PyCFunction
) _wrap_PyShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26062 { (char *)"PyShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26063 { (char *)"PyShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26064 { (char *)"PyShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
26065 { (char *)"PyShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26066 { (char *)"PyShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26067 { (char *)"PyShape_base_OnMoveLink", (PyCFunction
) _wrap_PyShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
26068 { (char *)"PyShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26069 { (char *)"PyShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26070 { (char *)"PyShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26071 { (char *)"PyShape_base_OnBeginSize", (PyCFunction
) _wrap_PyShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
26072 { (char *)"PyShape_base_OnEndSize", (PyCFunction
) _wrap_PyShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
26073 { (char *)"PyShape_swigregister", PyShape_swigregister
, METH_VARARGS
},
26074 { (char *)"new_PseudoMetaFile", (PyCFunction
) _wrap_new_PseudoMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
26075 { (char *)"delete_PseudoMetaFile", (PyCFunction
) _wrap_delete_PseudoMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
26076 { (char *)"PseudoMetaFile_Draw", (PyCFunction
) _wrap_PseudoMetaFile_Draw
, METH_VARARGS
| METH_KEYWORDS
},
26077 { (char *)"PseudoMetaFile_Clear", (PyCFunction
) _wrap_PseudoMetaFile_Clear
, METH_VARARGS
| METH_KEYWORDS
},
26078 { (char *)"PseudoMetaFile_Copy", (PyCFunction
) _wrap_PseudoMetaFile_Copy
, METH_VARARGS
| METH_KEYWORDS
},
26079 { (char *)"PseudoMetaFile_Scale", (PyCFunction
) _wrap_PseudoMetaFile_Scale
, METH_VARARGS
| METH_KEYWORDS
},
26080 { (char *)"PseudoMetaFile_ScaleTo", (PyCFunction
) _wrap_PseudoMetaFile_ScaleTo
, METH_VARARGS
| METH_KEYWORDS
},
26081 { (char *)"PseudoMetaFile_Translate", (PyCFunction
) _wrap_PseudoMetaFile_Translate
, METH_VARARGS
| METH_KEYWORDS
},
26082 { (char *)"PseudoMetaFile_Rotate", (PyCFunction
) _wrap_PseudoMetaFile_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
26083 { (char *)"PseudoMetaFile_LoadFromMetaFile", (PyCFunction
) _wrap_PseudoMetaFile_LoadFromMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
26084 { (char *)"PseudoMetaFile_GetBounds", (PyCFunction
) _wrap_PseudoMetaFile_GetBounds
, METH_VARARGS
| METH_KEYWORDS
},
26085 { (char *)"PseudoMetaFile_CalculateSize", (PyCFunction
) _wrap_PseudoMetaFile_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
},
26086 { (char *)"PseudoMetaFile_SetRotateable", (PyCFunction
) _wrap_PseudoMetaFile_SetRotateable
, METH_VARARGS
| METH_KEYWORDS
},
26087 { (char *)"PseudoMetaFile_GetRotateable", (PyCFunction
) _wrap_PseudoMetaFile_GetRotateable
, METH_VARARGS
| METH_KEYWORDS
},
26088 { (char *)"PseudoMetaFile_SetSize", (PyCFunction
) _wrap_PseudoMetaFile_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
26089 { (char *)"PseudoMetaFile_SetFillBrush", (PyCFunction
) _wrap_PseudoMetaFile_SetFillBrush
, METH_VARARGS
| METH_KEYWORDS
},
26090 { (char *)"PseudoMetaFile_GetFillBrush", (PyCFunction
) _wrap_PseudoMetaFile_GetFillBrush
, METH_VARARGS
| METH_KEYWORDS
},
26091 { (char *)"PseudoMetaFile_SetOutlinePen", (PyCFunction
) _wrap_PseudoMetaFile_SetOutlinePen
, METH_VARARGS
| METH_KEYWORDS
},
26092 { (char *)"PseudoMetaFile_GetOutlinePen", (PyCFunction
) _wrap_PseudoMetaFile_GetOutlinePen
, METH_VARARGS
| METH_KEYWORDS
},
26093 { (char *)"PseudoMetaFile_SetOutlineOp", (PyCFunction
) _wrap_PseudoMetaFile_SetOutlineOp
, METH_VARARGS
| METH_KEYWORDS
},
26094 { (char *)"PseudoMetaFile_GetOutlineOp", (PyCFunction
) _wrap_PseudoMetaFile_GetOutlineOp
, METH_VARARGS
| METH_KEYWORDS
},
26095 { (char *)"PseudoMetaFile_IsValid", (PyCFunction
) _wrap_PseudoMetaFile_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
26096 { (char *)"PseudoMetaFile_DrawLine", (PyCFunction
) _wrap_PseudoMetaFile_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
26097 { (char *)"PseudoMetaFile_DrawRectangle", (PyCFunction
) _wrap_PseudoMetaFile_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
26098 { (char *)"PseudoMetaFile_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoMetaFile_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
26099 { (char *)"PseudoMetaFile_DrawArc", (PyCFunction
) _wrap_PseudoMetaFile_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
26100 { (char *)"PseudoMetaFile_DrawEllipticArc", (PyCFunction
) _wrap_PseudoMetaFile_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
26101 { (char *)"PseudoMetaFile_DrawEllipse", (PyCFunction
) _wrap_PseudoMetaFile_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
26102 { (char *)"PseudoMetaFile_DrawPoint", (PyCFunction
) _wrap_PseudoMetaFile_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
26103 { (char *)"PseudoMetaFile_DrawText", (PyCFunction
) _wrap_PseudoMetaFile_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
26104 { (char *)"PseudoMetaFile_DrawLines", (PyCFunction
) _wrap_PseudoMetaFile_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
26105 { (char *)"PseudoMetaFile_DrawPolygon", (PyCFunction
) _wrap_PseudoMetaFile_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
26106 { (char *)"PseudoMetaFile_DrawSpline", (PyCFunction
) _wrap_PseudoMetaFile_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
26107 { (char *)"PseudoMetaFile_SetClippingRect", (PyCFunction
) _wrap_PseudoMetaFile_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
26108 { (char *)"PseudoMetaFile_DestroyClippingRect", (PyCFunction
) _wrap_PseudoMetaFile_DestroyClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
26109 { (char *)"PseudoMetaFile_SetPen", (PyCFunction
) _wrap_PseudoMetaFile_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
26110 { (char *)"PseudoMetaFile_SetBrush", (PyCFunction
) _wrap_PseudoMetaFile_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
26111 { (char *)"PseudoMetaFile_SetFont", (PyCFunction
) _wrap_PseudoMetaFile_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
26112 { (char *)"PseudoMetaFile_SetTextColour", (PyCFunction
) _wrap_PseudoMetaFile_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26113 { (char *)"PseudoMetaFile_SetBackgroundColour", (PyCFunction
) _wrap_PseudoMetaFile_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26114 { (char *)"PseudoMetaFile_SetBackgroundMode", (PyCFunction
) _wrap_PseudoMetaFile_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
26115 { (char *)"PseudoMetaFile_swigregister", PseudoMetaFile_swigregister
, METH_VARARGS
},
26116 { (char *)"new_PyRectangleShape", (PyCFunction
) _wrap_new_PyRectangleShape
, METH_VARARGS
| METH_KEYWORDS
},
26117 { (char *)"PyRectangleShape__setCallbackInfo", (PyCFunction
) _wrap_PyRectangleShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26118 { (char *)"PyRectangleShape_SetCornerRadius", (PyCFunction
) _wrap_PyRectangleShape_SetCornerRadius
, METH_VARARGS
| METH_KEYWORDS
},
26119 { (char *)"PyRectangleShape_base_OnDelete", (PyCFunction
) _wrap_PyRectangleShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
26120 { (char *)"PyRectangleShape_base_OnDraw", (PyCFunction
) _wrap_PyRectangleShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
26121 { (char *)"PyRectangleShape_base_OnDrawContents", (PyCFunction
) _wrap_PyRectangleShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
26122 { (char *)"PyRectangleShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyRectangleShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
26123 { (char *)"PyRectangleShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyRectangleShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
26124 { (char *)"PyRectangleShape_base_OnErase", (PyCFunction
) _wrap_PyRectangleShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
26125 { (char *)"PyRectangleShape_base_OnEraseContents", (PyCFunction
) _wrap_PyRectangleShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
26126 { (char *)"PyRectangleShape_base_OnHighlight", (PyCFunction
) _wrap_PyRectangleShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
26127 { (char *)"PyRectangleShape_base_OnLeftClick", (PyCFunction
) _wrap_PyRectangleShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
26128 { (char *)"PyRectangleShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyRectangleShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
26129 { (char *)"PyRectangleShape_base_OnRightClick", (PyCFunction
) _wrap_PyRectangleShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
26130 { (char *)"PyRectangleShape_base_OnSize", (PyCFunction
) _wrap_PyRectangleShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
26131 { (char *)"PyRectangleShape_base_OnMovePre", (PyCFunction
) _wrap_PyRectangleShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
26132 { (char *)"PyRectangleShape_base_OnMovePost", (PyCFunction
) _wrap_PyRectangleShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
26133 { (char *)"PyRectangleShape_base_OnDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26134 { (char *)"PyRectangleShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26135 { (char *)"PyRectangleShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26136 { (char *)"PyRectangleShape_base_OnDragRight", (PyCFunction
) _wrap_PyRectangleShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26137 { (char *)"PyRectangleShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyRectangleShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26138 { (char *)"PyRectangleShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyRectangleShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26139 { (char *)"PyRectangleShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyRectangleShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
26140 { (char *)"PyRectangleShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyRectangleShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26141 { (char *)"PyRectangleShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyRectangleShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26142 { (char *)"PyRectangleShape_base_OnMoveLink", (PyCFunction
) _wrap_PyRectangleShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
26143 { (char *)"PyRectangleShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26144 { (char *)"PyRectangleShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26145 { (char *)"PyRectangleShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26146 { (char *)"PyRectangleShape_base_OnBeginSize", (PyCFunction
) _wrap_PyRectangleShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
26147 { (char *)"PyRectangleShape_base_OnEndSize", (PyCFunction
) _wrap_PyRectangleShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
26148 { (char *)"PyRectangleShape_swigregister", PyRectangleShape_swigregister
, METH_VARARGS
},
26149 { (char *)"new_PyControlPoint", (PyCFunction
) _wrap_new_PyControlPoint
, METH_VARARGS
| METH_KEYWORDS
},
26150 { (char *)"PyControlPoint__setCallbackInfo", (PyCFunction
) _wrap_PyControlPoint__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26151 { (char *)"PyControlPoint_SetCornerRadius", (PyCFunction
) _wrap_PyControlPoint_SetCornerRadius
, METH_VARARGS
| METH_KEYWORDS
},
26152 { (char *)"PyControlPoint_base_OnDelete", (PyCFunction
) _wrap_PyControlPoint_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
26153 { (char *)"PyControlPoint_base_OnDraw", (PyCFunction
) _wrap_PyControlPoint_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
26154 { (char *)"PyControlPoint_base_OnDrawContents", (PyCFunction
) _wrap_PyControlPoint_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
26155 { (char *)"PyControlPoint_base_OnDrawBranches", (PyCFunction
) _wrap_PyControlPoint_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
26156 { (char *)"PyControlPoint_base_OnMoveLinks", (PyCFunction
) _wrap_PyControlPoint_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
26157 { (char *)"PyControlPoint_base_OnErase", (PyCFunction
) _wrap_PyControlPoint_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
26158 { (char *)"PyControlPoint_base_OnEraseContents", (PyCFunction
) _wrap_PyControlPoint_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
26159 { (char *)"PyControlPoint_base_OnHighlight", (PyCFunction
) _wrap_PyControlPoint_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
26160 { (char *)"PyControlPoint_base_OnLeftClick", (PyCFunction
) _wrap_PyControlPoint_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
26161 { (char *)"PyControlPoint_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyControlPoint_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
26162 { (char *)"PyControlPoint_base_OnRightClick", (PyCFunction
) _wrap_PyControlPoint_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
26163 { (char *)"PyControlPoint_base_OnSize", (PyCFunction
) _wrap_PyControlPoint_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
26164 { (char *)"PyControlPoint_base_OnMovePre", (PyCFunction
) _wrap_PyControlPoint_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
26165 { (char *)"PyControlPoint_base_OnMovePost", (PyCFunction
) _wrap_PyControlPoint_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
26166 { (char *)"PyControlPoint_base_OnDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26167 { (char *)"PyControlPoint_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26168 { (char *)"PyControlPoint_base_OnEndDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26169 { (char *)"PyControlPoint_base_OnDragRight", (PyCFunction
) _wrap_PyControlPoint_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26170 { (char *)"PyControlPoint_base_OnBeginDragRight", (PyCFunction
) _wrap_PyControlPoint_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26171 { (char *)"PyControlPoint_base_OnEndDragRight", (PyCFunction
) _wrap_PyControlPoint_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26172 { (char *)"PyControlPoint_base_OnDrawOutline", (PyCFunction
) _wrap_PyControlPoint_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
26173 { (char *)"PyControlPoint_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyControlPoint_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26174 { (char *)"PyControlPoint_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyControlPoint_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26175 { (char *)"PyControlPoint_base_OnMoveLink", (PyCFunction
) _wrap_PyControlPoint_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
26176 { (char *)"PyControlPoint_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26177 { (char *)"PyControlPoint_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26178 { (char *)"PyControlPoint_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26179 { (char *)"PyControlPoint_base_OnBeginSize", (PyCFunction
) _wrap_PyControlPoint_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
26180 { (char *)"PyControlPoint_base_OnEndSize", (PyCFunction
) _wrap_PyControlPoint_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
26181 { (char *)"PyControlPoint_swigregister", PyControlPoint_swigregister
, METH_VARARGS
},
26182 { (char *)"new_PyBitmapShape", (PyCFunction
) _wrap_new_PyBitmapShape
, METH_VARARGS
| METH_KEYWORDS
},
26183 { (char *)"PyBitmapShape__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26184 { (char *)"PyBitmapShape_GetBitmap", (PyCFunction
) _wrap_PyBitmapShape_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26185 { (char *)"PyBitmapShape_GetFilename", (PyCFunction
) _wrap_PyBitmapShape_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
26186 { (char *)"PyBitmapShape_SetBitmap", (PyCFunction
) _wrap_PyBitmapShape_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26187 { (char *)"PyBitmapShape_SetFilename", (PyCFunction
) _wrap_PyBitmapShape_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
26188 { (char *)"PyBitmapShape_base_OnDelete", (PyCFunction
) _wrap_PyBitmapShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
26189 { (char *)"PyBitmapShape_base_OnDraw", (PyCFunction
) _wrap_PyBitmapShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
26190 { (char *)"PyBitmapShape_base_OnDrawContents", (PyCFunction
) _wrap_PyBitmapShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
26191 { (char *)"PyBitmapShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyBitmapShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
26192 { (char *)"PyBitmapShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyBitmapShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
26193 { (char *)"PyBitmapShape_base_OnErase", (PyCFunction
) _wrap_PyBitmapShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
26194 { (char *)"PyBitmapShape_base_OnEraseContents", (PyCFunction
) _wrap_PyBitmapShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
26195 { (char *)"PyBitmapShape_base_OnHighlight", (PyCFunction
) _wrap_PyBitmapShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
26196 { (char *)"PyBitmapShape_base_OnLeftClick", (PyCFunction
) _wrap_PyBitmapShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
26197 { (char *)"PyBitmapShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyBitmapShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
26198 { (char *)"PyBitmapShape_base_OnRightClick", (PyCFunction
) _wrap_PyBitmapShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
26199 { (char *)"PyBitmapShape_base_OnSize", (PyCFunction
) _wrap_PyBitmapShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
26200 { (char *)"PyBitmapShape_base_OnMovePre", (PyCFunction
) _wrap_PyBitmapShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
26201 { (char *)"PyBitmapShape_base_OnMovePost", (PyCFunction
) _wrap_PyBitmapShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
26202 { (char *)"PyBitmapShape_base_OnDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26203 { (char *)"PyBitmapShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26204 { (char *)"PyBitmapShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26205 { (char *)"PyBitmapShape_base_OnDragRight", (PyCFunction
) _wrap_PyBitmapShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26206 { (char *)"PyBitmapShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyBitmapShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26207 { (char *)"PyBitmapShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyBitmapShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26208 { (char *)"PyBitmapShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyBitmapShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
26209 { (char *)"PyBitmapShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyBitmapShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26210 { (char *)"PyBitmapShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyBitmapShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26211 { (char *)"PyBitmapShape_base_OnMoveLink", (PyCFunction
) _wrap_PyBitmapShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
26212 { (char *)"PyBitmapShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26213 { (char *)"PyBitmapShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26214 { (char *)"PyBitmapShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26215 { (char *)"PyBitmapShape_base_OnBeginSize", (PyCFunction
) _wrap_PyBitmapShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
26216 { (char *)"PyBitmapShape_base_OnEndSize", (PyCFunction
) _wrap_PyBitmapShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
26217 { (char *)"PyBitmapShape_swigregister", PyBitmapShape_swigregister
, METH_VARARGS
},
26218 { (char *)"new_PyDrawnShape", (PyCFunction
) _wrap_new_PyDrawnShape
, METH_VARARGS
| METH_KEYWORDS
},
26219 { (char *)"PyDrawnShape__setCallbackInfo", (PyCFunction
) _wrap_PyDrawnShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26220 { (char *)"PyDrawnShape_CalculateSize", (PyCFunction
) _wrap_PyDrawnShape_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
},
26221 { (char *)"PyDrawnShape_DestroyClippingRect", (PyCFunction
) _wrap_PyDrawnShape_DestroyClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
26222 { (char *)"PyDrawnShape_DrawArc", (PyCFunction
) _wrap_PyDrawnShape_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
26223 { (char *)"PyDrawnShape_DrawAtAngle", (PyCFunction
) _wrap_PyDrawnShape_DrawAtAngle
, METH_VARARGS
| METH_KEYWORDS
},
26224 { (char *)"PyDrawnShape_DrawEllipticArc", (PyCFunction
) _wrap_PyDrawnShape_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
26225 { (char *)"PyDrawnShape_DrawLine", (PyCFunction
) _wrap_PyDrawnShape_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
26226 { (char *)"PyDrawnShape_DrawLines", (PyCFunction
) _wrap_PyDrawnShape_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
26227 { (char *)"PyDrawnShape_DrawPoint", (PyCFunction
) _wrap_PyDrawnShape_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
26228 { (char *)"PyDrawnShape_DrawPolygon", (PyCFunction
) _wrap_PyDrawnShape_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
26229 { (char *)"PyDrawnShape_DrawRectangle", (PyCFunction
) _wrap_PyDrawnShape_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
26230 { (char *)"PyDrawnShape_DrawRoundedRectangle", (PyCFunction
) _wrap_PyDrawnShape_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
26231 { (char *)"PyDrawnShape_DrawSpline", (PyCFunction
) _wrap_PyDrawnShape_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
26232 { (char *)"PyDrawnShape_DrawText", (PyCFunction
) _wrap_PyDrawnShape_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
26233 { (char *)"PyDrawnShape_GetAngle", (PyCFunction
) _wrap_PyDrawnShape_GetAngle
, METH_VARARGS
| METH_KEYWORDS
},
26234 { (char *)"PyDrawnShape_GetMetaFile", (PyCFunction
) _wrap_PyDrawnShape_GetMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
26235 { (char *)"PyDrawnShape_GetRotation", (PyCFunction
) _wrap_PyDrawnShape_GetRotation
, METH_VARARGS
| METH_KEYWORDS
},
26236 { (char *)"PyDrawnShape_LoadFromMetaFile", (PyCFunction
) _wrap_PyDrawnShape_LoadFromMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
26237 { (char *)"PyDrawnShape_Rotate", (PyCFunction
) _wrap_PyDrawnShape_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
26238 { (char *)"PyDrawnShape_SetClippingRect", (PyCFunction
) _wrap_PyDrawnShape_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
26239 { (char *)"PyDrawnShape_SetDrawnBackgroundColour", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26240 { (char *)"PyDrawnShape_SetDrawnBackgroundMode", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
26241 { (char *)"PyDrawnShape_SetDrawnBrush", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnBrush
, METH_VARARGS
| METH_KEYWORDS
},
26242 { (char *)"PyDrawnShape_SetDrawnFont", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnFont
, METH_VARARGS
| METH_KEYWORDS
},
26243 { (char *)"PyDrawnShape_SetDrawnPen", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnPen
, METH_VARARGS
| METH_KEYWORDS
},
26244 { (char *)"PyDrawnShape_SetDrawnTextColour", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26245 { (char *)"PyDrawnShape_Scale", (PyCFunction
) _wrap_PyDrawnShape_Scale
, METH_VARARGS
| METH_KEYWORDS
},
26246 { (char *)"PyDrawnShape_SetSaveToFile", (PyCFunction
) _wrap_PyDrawnShape_SetSaveToFile
, METH_VARARGS
| METH_KEYWORDS
},
26247 { (char *)"PyDrawnShape_Translate", (PyCFunction
) _wrap_PyDrawnShape_Translate
, METH_VARARGS
| METH_KEYWORDS
},
26248 { (char *)"PyDrawnShape_base_OnDelete", (PyCFunction
) _wrap_PyDrawnShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
26249 { (char *)"PyDrawnShape_base_OnDraw", (PyCFunction
) _wrap_PyDrawnShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
26250 { (char *)"PyDrawnShape_base_OnDrawContents", (PyCFunction
) _wrap_PyDrawnShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
26251 { (char *)"PyDrawnShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyDrawnShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
26252 { (char *)"PyDrawnShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyDrawnShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
26253 { (char *)"PyDrawnShape_base_OnErase", (PyCFunction
) _wrap_PyDrawnShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
26254 { (char *)"PyDrawnShape_base_OnEraseContents", (PyCFunction
) _wrap_PyDrawnShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
26255 { (char *)"PyDrawnShape_base_OnHighlight", (PyCFunction
) _wrap_PyDrawnShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
26256 { (char *)"PyDrawnShape_base_OnLeftClick", (PyCFunction
) _wrap_PyDrawnShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
26257 { (char *)"PyDrawnShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyDrawnShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
26258 { (char *)"PyDrawnShape_base_OnRightClick", (PyCFunction
) _wrap_PyDrawnShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
26259 { (char *)"PyDrawnShape_base_OnSize", (PyCFunction
) _wrap_PyDrawnShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
26260 { (char *)"PyDrawnShape_base_OnMovePre", (PyCFunction
) _wrap_PyDrawnShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
26261 { (char *)"PyDrawnShape_base_OnMovePost", (PyCFunction
) _wrap_PyDrawnShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
26262 { (char *)"PyDrawnShape_base_OnDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26263 { (char *)"PyDrawnShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26264 { (char *)"PyDrawnShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26265 { (char *)"PyDrawnShape_base_OnDragRight", (PyCFunction
) _wrap_PyDrawnShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26266 { (char *)"PyDrawnShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyDrawnShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26267 { (char *)"PyDrawnShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyDrawnShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26268 { (char *)"PyDrawnShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyDrawnShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
26269 { (char *)"PyDrawnShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyDrawnShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26270 { (char *)"PyDrawnShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyDrawnShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26271 { (char *)"PyDrawnShape_base_OnMoveLink", (PyCFunction
) _wrap_PyDrawnShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
26272 { (char *)"PyDrawnShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26273 { (char *)"PyDrawnShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26274 { (char *)"PyDrawnShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26275 { (char *)"PyDrawnShape_base_OnBeginSize", (PyCFunction
) _wrap_PyDrawnShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
26276 { (char *)"PyDrawnShape_base_OnEndSize", (PyCFunction
) _wrap_PyDrawnShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
26277 { (char *)"PyDrawnShape_swigregister", PyDrawnShape_swigregister
, METH_VARARGS
},
26278 { (char *)"new_OGLConstraint", (PyCFunction
) _wrap_new_OGLConstraint
, METH_VARARGS
| METH_KEYWORDS
},
26279 { (char *)"OGLConstraint_Evaluate", (PyCFunction
) _wrap_OGLConstraint_Evaluate
, METH_VARARGS
| METH_KEYWORDS
},
26280 { (char *)"OGLConstraint_SetSpacing", (PyCFunction
) _wrap_OGLConstraint_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
26281 { (char *)"OGLConstraint_Equals", (PyCFunction
) _wrap_OGLConstraint_Equals
, METH_VARARGS
| METH_KEYWORDS
},
26282 { (char *)"OGLConstraint_swigregister", OGLConstraint_swigregister
, METH_VARARGS
},
26283 { (char *)"new_PyCompositeShape", (PyCFunction
) _wrap_new_PyCompositeShape
, METH_VARARGS
| METH_KEYWORDS
},
26284 { (char *)"PyCompositeShape__setCallbackInfo", (PyCFunction
) _wrap_PyCompositeShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26285 { (char *)"PyCompositeShape_AddChild", (PyCFunction
) _wrap_PyCompositeShape_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
26286 { (char *)"PyCompositeShape_AddConstraint", (PyCFunction
) _wrap_PyCompositeShape_AddConstraint
, METH_VARARGS
| METH_KEYWORDS
},
26287 { (char *)"PyCompositeShape_AddConstrainedShapes", (PyCFunction
) _wrap_PyCompositeShape_AddConstrainedShapes
, METH_VARARGS
| METH_KEYWORDS
},
26288 { (char *)"PyCompositeShape_AddSimpleConstraint", (PyCFunction
) _wrap_PyCompositeShape_AddSimpleConstraint
, METH_VARARGS
| METH_KEYWORDS
},
26289 { (char *)"PyCompositeShape_CalculateSize", (PyCFunction
) _wrap_PyCompositeShape_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
},
26290 { (char *)"PyCompositeShape_ContainsDivision", (PyCFunction
) _wrap_PyCompositeShape_ContainsDivision
, METH_VARARGS
| METH_KEYWORDS
},
26291 { (char *)"PyCompositeShape_DeleteConstraint", (PyCFunction
) _wrap_PyCompositeShape_DeleteConstraint
, METH_VARARGS
| METH_KEYWORDS
},
26292 { (char *)"PyCompositeShape_DeleteConstraintsInvolvingChild", (PyCFunction
) _wrap_PyCompositeShape_DeleteConstraintsInvolvingChild
, METH_VARARGS
| METH_KEYWORDS
},
26293 { (char *)"PyCompositeShape_FindContainerImage", (PyCFunction
) _wrap_PyCompositeShape_FindContainerImage
, METH_VARARGS
| METH_KEYWORDS
},
26294 { (char *)"PyCompositeShape_GetConstraints", (PyCFunction
) _wrap_PyCompositeShape_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
26295 { (char *)"PyCompositeShape_GetDivisions", (PyCFunction
) _wrap_PyCompositeShape_GetDivisions
, METH_VARARGS
| METH_KEYWORDS
},
26296 { (char *)"PyCompositeShape_MakeContainer", (PyCFunction
) _wrap_PyCompositeShape_MakeContainer
, METH_VARARGS
| METH_KEYWORDS
},
26297 { (char *)"PyCompositeShape_Recompute", (PyCFunction
) _wrap_PyCompositeShape_Recompute
, METH_VARARGS
| METH_KEYWORDS
},
26298 { (char *)"PyCompositeShape_RemoveChild", (PyCFunction
) _wrap_PyCompositeShape_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
26299 { (char *)"PyCompositeShape_base_OnDelete", (PyCFunction
) _wrap_PyCompositeShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
26300 { (char *)"PyCompositeShape_base_OnDraw", (PyCFunction
) _wrap_PyCompositeShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
26301 { (char *)"PyCompositeShape_base_OnDrawContents", (PyCFunction
) _wrap_PyCompositeShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
26302 { (char *)"PyCompositeShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyCompositeShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
26303 { (char *)"PyCompositeShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyCompositeShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
26304 { (char *)"PyCompositeShape_base_OnErase", (PyCFunction
) _wrap_PyCompositeShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
26305 { (char *)"PyCompositeShape_base_OnEraseContents", (PyCFunction
) _wrap_PyCompositeShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
26306 { (char *)"PyCompositeShape_base_OnHighlight", (PyCFunction
) _wrap_PyCompositeShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
26307 { (char *)"PyCompositeShape_base_OnLeftClick", (PyCFunction
) _wrap_PyCompositeShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
26308 { (char *)"PyCompositeShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyCompositeShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
26309 { (char *)"PyCompositeShape_base_OnRightClick", (PyCFunction
) _wrap_PyCompositeShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
26310 { (char *)"PyCompositeShape_base_OnSize", (PyCFunction
) _wrap_PyCompositeShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
26311 { (char *)"PyCompositeShape_base_OnMovePre", (PyCFunction
) _wrap_PyCompositeShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
26312 { (char *)"PyCompositeShape_base_OnMovePost", (PyCFunction
) _wrap_PyCompositeShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
26313 { (char *)"PyCompositeShape_base_OnDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26314 { (char *)"PyCompositeShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26315 { (char *)"PyCompositeShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26316 { (char *)"PyCompositeShape_base_OnDragRight", (PyCFunction
) _wrap_PyCompositeShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26317 { (char *)"PyCompositeShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyCompositeShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26318 { (char *)"PyCompositeShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyCompositeShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26319 { (char *)"PyCompositeShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyCompositeShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
26320 { (char *)"PyCompositeShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyCompositeShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26321 { (char *)"PyCompositeShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyCompositeShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26322 { (char *)"PyCompositeShape_base_OnMoveLink", (PyCFunction
) _wrap_PyCompositeShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
26323 { (char *)"PyCompositeShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26324 { (char *)"PyCompositeShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26325 { (char *)"PyCompositeShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26326 { (char *)"PyCompositeShape_base_OnBeginSize", (PyCFunction
) _wrap_PyCompositeShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
26327 { (char *)"PyCompositeShape_base_OnEndSize", (PyCFunction
) _wrap_PyCompositeShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
26328 { (char *)"PyCompositeShape_swigregister", PyCompositeShape_swigregister
, METH_VARARGS
},
26329 { (char *)"new_PyDividedShape", (PyCFunction
) _wrap_new_PyDividedShape
, METH_VARARGS
| METH_KEYWORDS
},
26330 { (char *)"PyDividedShape__setCallbackInfo", (PyCFunction
) _wrap_PyDividedShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26331 { (char *)"PyDividedShape_EditRegions", (PyCFunction
) _wrap_PyDividedShape_EditRegions
, METH_VARARGS
| METH_KEYWORDS
},
26332 { (char *)"PyDividedShape_SetRegionSizes", (PyCFunction
) _wrap_PyDividedShape_SetRegionSizes
, METH_VARARGS
| METH_KEYWORDS
},
26333 { (char *)"PyDividedShape_base_OnDelete", (PyCFunction
) _wrap_PyDividedShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
26334 { (char *)"PyDividedShape_base_OnDraw", (PyCFunction
) _wrap_PyDividedShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
26335 { (char *)"PyDividedShape_base_OnDrawContents", (PyCFunction
) _wrap_PyDividedShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
26336 { (char *)"PyDividedShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyDividedShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
26337 { (char *)"PyDividedShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyDividedShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
26338 { (char *)"PyDividedShape_base_OnErase", (PyCFunction
) _wrap_PyDividedShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
26339 { (char *)"PyDividedShape_base_OnEraseContents", (PyCFunction
) _wrap_PyDividedShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
26340 { (char *)"PyDividedShape_base_OnHighlight", (PyCFunction
) _wrap_PyDividedShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
26341 { (char *)"PyDividedShape_base_OnLeftClick", (PyCFunction
) _wrap_PyDividedShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
26342 { (char *)"PyDividedShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyDividedShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
26343 { (char *)"PyDividedShape_base_OnRightClick", (PyCFunction
) _wrap_PyDividedShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
26344 { (char *)"PyDividedShape_base_OnSize", (PyCFunction
) _wrap_PyDividedShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
26345 { (char *)"PyDividedShape_base_OnMovePre", (PyCFunction
) _wrap_PyDividedShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
26346 { (char *)"PyDividedShape_base_OnMovePost", (PyCFunction
) _wrap_PyDividedShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
26347 { (char *)"PyDividedShape_base_OnDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26348 { (char *)"PyDividedShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26349 { (char *)"PyDividedShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26350 { (char *)"PyDividedShape_base_OnDragRight", (PyCFunction
) _wrap_PyDividedShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26351 { (char *)"PyDividedShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyDividedShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26352 { (char *)"PyDividedShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyDividedShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26353 { (char *)"PyDividedShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyDividedShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
26354 { (char *)"PyDividedShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyDividedShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26355 { (char *)"PyDividedShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyDividedShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26356 { (char *)"PyDividedShape_base_OnMoveLink", (PyCFunction
) _wrap_PyDividedShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
26357 { (char *)"PyDividedShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26358 { (char *)"PyDividedShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26359 { (char *)"PyDividedShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26360 { (char *)"PyDividedShape_base_OnBeginSize", (PyCFunction
) _wrap_PyDividedShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
26361 { (char *)"PyDividedShape_base_OnEndSize", (PyCFunction
) _wrap_PyDividedShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
26362 { (char *)"PyDividedShape_swigregister", PyDividedShape_swigregister
, METH_VARARGS
},
26363 { (char *)"new_PyDivisionShape", (PyCFunction
) _wrap_new_PyDivisionShape
, METH_VARARGS
| METH_KEYWORDS
},
26364 { (char *)"PyDivisionShape__setCallbackInfo", (PyCFunction
) _wrap_PyDivisionShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26365 { (char *)"PyDivisionShape_AdjustBottom", (PyCFunction
) _wrap_PyDivisionShape_AdjustBottom
, METH_VARARGS
| METH_KEYWORDS
},
26366 { (char *)"PyDivisionShape_AdjustLeft", (PyCFunction
) _wrap_PyDivisionShape_AdjustLeft
, METH_VARARGS
| METH_KEYWORDS
},
26367 { (char *)"PyDivisionShape_AdjustRight", (PyCFunction
) _wrap_PyDivisionShape_AdjustRight
, METH_VARARGS
| METH_KEYWORDS
},
26368 { (char *)"PyDivisionShape_AdjustTop", (PyCFunction
) _wrap_PyDivisionShape_AdjustTop
, METH_VARARGS
| METH_KEYWORDS
},
26369 { (char *)"PyDivisionShape_Divide", (PyCFunction
) _wrap_PyDivisionShape_Divide
, METH_VARARGS
| METH_KEYWORDS
},
26370 { (char *)"PyDivisionShape_EditEdge", (PyCFunction
) _wrap_PyDivisionShape_EditEdge
, METH_VARARGS
| METH_KEYWORDS
},
26371 { (char *)"PyDivisionShape_GetBottomSide", (PyCFunction
) _wrap_PyDivisionShape_GetBottomSide
, METH_VARARGS
| METH_KEYWORDS
},
26372 { (char *)"PyDivisionShape_GetHandleSide", (PyCFunction
) _wrap_PyDivisionShape_GetHandleSide
, METH_VARARGS
| METH_KEYWORDS
},
26373 { (char *)"PyDivisionShape_GetLeftSide", (PyCFunction
) _wrap_PyDivisionShape_GetLeftSide
, METH_VARARGS
| METH_KEYWORDS
},
26374 { (char *)"PyDivisionShape_GetLeftSideColour", (PyCFunction
) _wrap_PyDivisionShape_GetLeftSideColour
, METH_VARARGS
| METH_KEYWORDS
},
26375 { (char *)"PyDivisionShape_GetLeftSidePen", (PyCFunction
) _wrap_PyDivisionShape_GetLeftSidePen
, METH_VARARGS
| METH_KEYWORDS
},
26376 { (char *)"PyDivisionShape_GetRightSide", (PyCFunction
) _wrap_PyDivisionShape_GetRightSide
, METH_VARARGS
| METH_KEYWORDS
},
26377 { (char *)"PyDivisionShape_GetTopSide", (PyCFunction
) _wrap_PyDivisionShape_GetTopSide
, METH_VARARGS
| METH_KEYWORDS
},
26378 { (char *)"PyDivisionShape_GetTopSidePen", (PyCFunction
) _wrap_PyDivisionShape_GetTopSidePen
, METH_VARARGS
| METH_KEYWORDS
},
26379 { (char *)"PyDivisionShape_ResizeAdjoining", (PyCFunction
) _wrap_PyDivisionShape_ResizeAdjoining
, METH_VARARGS
| METH_KEYWORDS
},
26380 { (char *)"PyDivisionShape_PopupMenu", (PyCFunction
) _wrap_PyDivisionShape_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
26381 { (char *)"PyDivisionShape_SetBottomSide", (PyCFunction
) _wrap_PyDivisionShape_SetBottomSide
, METH_VARARGS
| METH_KEYWORDS
},
26382 { (char *)"PyDivisionShape_SetHandleSide", (PyCFunction
) _wrap_PyDivisionShape_SetHandleSide
, METH_VARARGS
| METH_KEYWORDS
},
26383 { (char *)"PyDivisionShape_SetLeftSide", (PyCFunction
) _wrap_PyDivisionShape_SetLeftSide
, METH_VARARGS
| METH_KEYWORDS
},
26384 { (char *)"PyDivisionShape_SetLeftSideColour", (PyCFunction
) _wrap_PyDivisionShape_SetLeftSideColour
, METH_VARARGS
| METH_KEYWORDS
},
26385 { (char *)"PyDivisionShape_SetLeftSidePen", (PyCFunction
) _wrap_PyDivisionShape_SetLeftSidePen
, METH_VARARGS
| METH_KEYWORDS
},
26386 { (char *)"PyDivisionShape_SetRightSide", (PyCFunction
) _wrap_PyDivisionShape_SetRightSide
, METH_VARARGS
| METH_KEYWORDS
},
26387 { (char *)"PyDivisionShape_SetTopSide", (PyCFunction
) _wrap_PyDivisionShape_SetTopSide
, METH_VARARGS
| METH_KEYWORDS
},
26388 { (char *)"PyDivisionShape_SetTopSideColour", (PyCFunction
) _wrap_PyDivisionShape_SetTopSideColour
, METH_VARARGS
| METH_KEYWORDS
},
26389 { (char *)"PyDivisionShape_SetTopSidePen", (PyCFunction
) _wrap_PyDivisionShape_SetTopSidePen
, METH_VARARGS
| METH_KEYWORDS
},
26390 { (char *)"PyDivisionShape_base_OnDelete", (PyCFunction
) _wrap_PyDivisionShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
26391 { (char *)"PyDivisionShape_base_OnDraw", (PyCFunction
) _wrap_PyDivisionShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
26392 { (char *)"PyDivisionShape_base_OnDrawContents", (PyCFunction
) _wrap_PyDivisionShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
26393 { (char *)"PyDivisionShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyDivisionShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
26394 { (char *)"PyDivisionShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyDivisionShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
26395 { (char *)"PyDivisionShape_base_OnErase", (PyCFunction
) _wrap_PyDivisionShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
26396 { (char *)"PyDivisionShape_base_OnEraseContents", (PyCFunction
) _wrap_PyDivisionShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
26397 { (char *)"PyDivisionShape_base_OnHighlight", (PyCFunction
) _wrap_PyDivisionShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
26398 { (char *)"PyDivisionShape_base_OnLeftClick", (PyCFunction
) _wrap_PyDivisionShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
26399 { (char *)"PyDivisionShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyDivisionShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
26400 { (char *)"PyDivisionShape_base_OnRightClick", (PyCFunction
) _wrap_PyDivisionShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
26401 { (char *)"PyDivisionShape_base_OnSize", (PyCFunction
) _wrap_PyDivisionShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
26402 { (char *)"PyDivisionShape_base_OnMovePre", (PyCFunction
) _wrap_PyDivisionShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
26403 { (char *)"PyDivisionShape_base_OnMovePost", (PyCFunction
) _wrap_PyDivisionShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
26404 { (char *)"PyDivisionShape_base_OnDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26405 { (char *)"PyDivisionShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26406 { (char *)"PyDivisionShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26407 { (char *)"PyDivisionShape_base_OnDragRight", (PyCFunction
) _wrap_PyDivisionShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26408 { (char *)"PyDivisionShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyDivisionShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26409 { (char *)"PyDivisionShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyDivisionShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26410 { (char *)"PyDivisionShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyDivisionShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
26411 { (char *)"PyDivisionShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyDivisionShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26412 { (char *)"PyDivisionShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyDivisionShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26413 { (char *)"PyDivisionShape_base_OnMoveLink", (PyCFunction
) _wrap_PyDivisionShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
26414 { (char *)"PyDivisionShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26415 { (char *)"PyDivisionShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26416 { (char *)"PyDivisionShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26417 { (char *)"PyDivisionShape_base_OnBeginSize", (PyCFunction
) _wrap_PyDivisionShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
26418 { (char *)"PyDivisionShape_base_OnEndSize", (PyCFunction
) _wrap_PyDivisionShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
26419 { (char *)"PyDivisionShape_swigregister", PyDivisionShape_swigregister
, METH_VARARGS
},
26420 { (char *)"new_PyEllipseShape", (PyCFunction
) _wrap_new_PyEllipseShape
, METH_VARARGS
| METH_KEYWORDS
},
26421 { (char *)"PyEllipseShape__setCallbackInfo", (PyCFunction
) _wrap_PyEllipseShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26422 { (char *)"PyEllipseShape_base_OnDraw", (PyCFunction
) _wrap_PyEllipseShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
26423 { (char *)"PyEllipseShape_base_OnDrawContents", (PyCFunction
) _wrap_PyEllipseShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
26424 { (char *)"PyEllipseShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyEllipseShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
26425 { (char *)"PyEllipseShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyEllipseShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
26426 { (char *)"PyEllipseShape_base_OnErase", (PyCFunction
) _wrap_PyEllipseShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
26427 { (char *)"PyEllipseShape_base_OnEraseContents", (PyCFunction
) _wrap_PyEllipseShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
26428 { (char *)"PyEllipseShape_base_OnHighlight", (PyCFunction
) _wrap_PyEllipseShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
26429 { (char *)"PyEllipseShape_base_OnLeftClick", (PyCFunction
) _wrap_PyEllipseShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
26430 { (char *)"PyEllipseShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyEllipseShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
26431 { (char *)"PyEllipseShape_base_OnRightClick", (PyCFunction
) _wrap_PyEllipseShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
26432 { (char *)"PyEllipseShape_base_OnSize", (PyCFunction
) _wrap_PyEllipseShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
26433 { (char *)"PyEllipseShape_base_OnMovePre", (PyCFunction
) _wrap_PyEllipseShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
26434 { (char *)"PyEllipseShape_base_OnMovePost", (PyCFunction
) _wrap_PyEllipseShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
26435 { (char *)"PyEllipseShape_base_OnDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26436 { (char *)"PyEllipseShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26437 { (char *)"PyEllipseShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26438 { (char *)"PyEllipseShape_base_OnDragRight", (PyCFunction
) _wrap_PyEllipseShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26439 { (char *)"PyEllipseShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyEllipseShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26440 { (char *)"PyEllipseShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyEllipseShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26441 { (char *)"PyEllipseShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyEllipseShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
26442 { (char *)"PyEllipseShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyEllipseShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26443 { (char *)"PyEllipseShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyEllipseShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26444 { (char *)"PyEllipseShape_base_OnMoveLink", (PyCFunction
) _wrap_PyEllipseShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
26445 { (char *)"PyEllipseShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26446 { (char *)"PyEllipseShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26447 { (char *)"PyEllipseShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26448 { (char *)"PyEllipseShape_base_OnBeginSize", (PyCFunction
) _wrap_PyEllipseShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
26449 { (char *)"PyEllipseShape_base_OnEndSize", (PyCFunction
) _wrap_PyEllipseShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
26450 { (char *)"PyEllipseShape_swigregister", PyEllipseShape_swigregister
, METH_VARARGS
},
26451 { (char *)"new_PyCircleShape", (PyCFunction
) _wrap_new_PyCircleShape
, METH_VARARGS
| METH_KEYWORDS
},
26452 { (char *)"PyCircleShape__setCallbackInfo", (PyCFunction
) _wrap_PyCircleShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26453 { (char *)"PyCircleShape_base_OnDraw", (PyCFunction
) _wrap_PyCircleShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
26454 { (char *)"PyCircleShape_base_OnDrawContents", (PyCFunction
) _wrap_PyCircleShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
26455 { (char *)"PyCircleShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyCircleShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
26456 { (char *)"PyCircleShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyCircleShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
26457 { (char *)"PyCircleShape_base_OnErase", (PyCFunction
) _wrap_PyCircleShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
26458 { (char *)"PyCircleShape_base_OnEraseContents", (PyCFunction
) _wrap_PyCircleShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
26459 { (char *)"PyCircleShape_base_OnHighlight", (PyCFunction
) _wrap_PyCircleShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
26460 { (char *)"PyCircleShape_base_OnLeftClick", (PyCFunction
) _wrap_PyCircleShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
26461 { (char *)"PyCircleShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyCircleShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
26462 { (char *)"PyCircleShape_base_OnRightClick", (PyCFunction
) _wrap_PyCircleShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
26463 { (char *)"PyCircleShape_base_OnSize", (PyCFunction
) _wrap_PyCircleShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
26464 { (char *)"PyCircleShape_base_OnMovePre", (PyCFunction
) _wrap_PyCircleShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
26465 { (char *)"PyCircleShape_base_OnMovePost", (PyCFunction
) _wrap_PyCircleShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
26466 { (char *)"PyCircleShape_base_OnDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26467 { (char *)"PyCircleShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26468 { (char *)"PyCircleShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26469 { (char *)"PyCircleShape_base_OnDragRight", (PyCFunction
) _wrap_PyCircleShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26470 { (char *)"PyCircleShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyCircleShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26471 { (char *)"PyCircleShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyCircleShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26472 { (char *)"PyCircleShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyCircleShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
26473 { (char *)"PyCircleShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyCircleShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26474 { (char *)"PyCircleShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyCircleShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26475 { (char *)"PyCircleShape_base_OnMoveLink", (PyCFunction
) _wrap_PyCircleShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
26476 { (char *)"PyCircleShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26477 { (char *)"PyCircleShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26478 { (char *)"PyCircleShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26479 { (char *)"PyCircleShape_base_OnBeginSize", (PyCFunction
) _wrap_PyCircleShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
26480 { (char *)"PyCircleShape_base_OnEndSize", (PyCFunction
) _wrap_PyCircleShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
26481 { (char *)"PyCircleShape_swigregister", PyCircleShape_swigregister
, METH_VARARGS
},
26482 { (char *)"new_ArrowHead", (PyCFunction
) _wrap_new_ArrowHead
, METH_VARARGS
| METH_KEYWORDS
},
26483 { (char *)"delete_ArrowHead", (PyCFunction
) _wrap_delete_ArrowHead
, METH_VARARGS
| METH_KEYWORDS
},
26484 { (char *)"ArrowHead__GetType", (PyCFunction
) _wrap_ArrowHead__GetType
, METH_VARARGS
| METH_KEYWORDS
},
26485 { (char *)"ArrowHead_GetPosition", (PyCFunction
) _wrap_ArrowHead_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
26486 { (char *)"ArrowHead_SetPosition", (PyCFunction
) _wrap_ArrowHead_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
26487 { (char *)"ArrowHead_GetXOffset", (PyCFunction
) _wrap_ArrowHead_GetXOffset
, METH_VARARGS
| METH_KEYWORDS
},
26488 { (char *)"ArrowHead_GetYOffset", (PyCFunction
) _wrap_ArrowHead_GetYOffset
, METH_VARARGS
| METH_KEYWORDS
},
26489 { (char *)"ArrowHead_GetSpacing", (PyCFunction
) _wrap_ArrowHead_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
26490 { (char *)"ArrowHead_GetSize", (PyCFunction
) _wrap_ArrowHead_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
26491 { (char *)"ArrowHead_GetName", (PyCFunction
) _wrap_ArrowHead_GetName
, METH_VARARGS
| METH_KEYWORDS
},
26492 { (char *)"ArrowHead_SetXOffset", (PyCFunction
) _wrap_ArrowHead_SetXOffset
, METH_VARARGS
| METH_KEYWORDS
},
26493 { (char *)"ArrowHead_SetYOffset", (PyCFunction
) _wrap_ArrowHead_SetYOffset
, METH_VARARGS
| METH_KEYWORDS
},
26494 { (char *)"ArrowHead_GetMetaFile", (PyCFunction
) _wrap_ArrowHead_GetMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
26495 { (char *)"ArrowHead_GetId", (PyCFunction
) _wrap_ArrowHead_GetId
, METH_VARARGS
| METH_KEYWORDS
},
26496 { (char *)"ArrowHead_GetArrowEnd", (PyCFunction
) _wrap_ArrowHead_GetArrowEnd
, METH_VARARGS
| METH_KEYWORDS
},
26497 { (char *)"ArrowHead_GetArrowSize", (PyCFunction
) _wrap_ArrowHead_GetArrowSize
, METH_VARARGS
| METH_KEYWORDS
},
26498 { (char *)"ArrowHead_SetSize", (PyCFunction
) _wrap_ArrowHead_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
26499 { (char *)"ArrowHead_SetSpacing", (PyCFunction
) _wrap_ArrowHead_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
26500 { (char *)"ArrowHead_swigregister", ArrowHead_swigregister
, METH_VARARGS
},
26501 { (char *)"new_PyLineShape", (PyCFunction
) _wrap_new_PyLineShape
, METH_VARARGS
| METH_KEYWORDS
},
26502 { (char *)"PyLineShape__setCallbackInfo", (PyCFunction
) _wrap_PyLineShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26503 { (char *)"PyLineShape_AddArrow", (PyCFunction
) _wrap_PyLineShape_AddArrow
, METH_VARARGS
| METH_KEYWORDS
},
26504 { (char *)"PyLineShape_AddArrowOrdered", (PyCFunction
) _wrap_PyLineShape_AddArrowOrdered
, METH_VARARGS
| METH_KEYWORDS
},
26505 { (char *)"PyLineShape_ClearArrow", (PyCFunction
) _wrap_PyLineShape_ClearArrow
, METH_VARARGS
| METH_KEYWORDS
},
26506 { (char *)"PyLineShape_ClearArrowsAtPosition", (PyCFunction
) _wrap_PyLineShape_ClearArrowsAtPosition
, METH_VARARGS
| METH_KEYWORDS
},
26507 { (char *)"PyLineShape_DrawArrow", (PyCFunction
) _wrap_PyLineShape_DrawArrow
, METH_VARARGS
| METH_KEYWORDS
},
26508 { (char *)"PyLineShape_DeleteArrowHeadId", (PyCFunction
) _wrap_PyLineShape_DeleteArrowHeadId
, METH_VARARGS
| METH_KEYWORDS
},
26509 { (char *)"PyLineShape_DeleteArrowHead", (PyCFunction
) _wrap_PyLineShape_DeleteArrowHead
, METH_VARARGS
| METH_KEYWORDS
},
26510 { (char *)"PyLineShape_DeleteLineControlPoint", (PyCFunction
) _wrap_PyLineShape_DeleteLineControlPoint
, METH_VARARGS
| METH_KEYWORDS
},
26511 { (char *)"PyLineShape_DrawArrows", (PyCFunction
) _wrap_PyLineShape_DrawArrows
, METH_VARARGS
| METH_KEYWORDS
},
26512 { (char *)"PyLineShape_DrawRegion", (PyCFunction
) _wrap_PyLineShape_DrawRegion
, METH_VARARGS
| METH_KEYWORDS
},
26513 { (char *)"PyLineShape_EraseRegion", (PyCFunction
) _wrap_PyLineShape_EraseRegion
, METH_VARARGS
| METH_KEYWORDS
},
26514 { (char *)"PyLineShape_FindArrowHeadId", (PyCFunction
) _wrap_PyLineShape_FindArrowHeadId
, METH_VARARGS
| METH_KEYWORDS
},
26515 { (char *)"PyLineShape_FindArrowHead", (PyCFunction
) _wrap_PyLineShape_FindArrowHead
, METH_VARARGS
| METH_KEYWORDS
},
26516 { (char *)"PyLineShape_FindLineEndPoints", (PyCFunction
) _wrap_PyLineShape_FindLineEndPoints
, METH_VARARGS
| METH_KEYWORDS
},
26517 { (char *)"PyLineShape_FindLinePosition", (PyCFunction
) _wrap_PyLineShape_FindLinePosition
, METH_VARARGS
| METH_KEYWORDS
},
26518 { (char *)"PyLineShape_FindMinimumWidth", (PyCFunction
) _wrap_PyLineShape_FindMinimumWidth
, METH_VARARGS
| METH_KEYWORDS
},
26519 { (char *)"PyLineShape_FindNth", (PyCFunction
) _wrap_PyLineShape_FindNth
, METH_VARARGS
| METH_KEYWORDS
},
26520 { (char *)"PyLineShape_GetAttachmentFrom", (PyCFunction
) _wrap_PyLineShape_GetAttachmentFrom
, METH_VARARGS
| METH_KEYWORDS
},
26521 { (char *)"PyLineShape_GetAttachmentTo", (PyCFunction
) _wrap_PyLineShape_GetAttachmentTo
, METH_VARARGS
| METH_KEYWORDS
},
26522 { (char *)"PyLineShape_GetEnds", (PyCFunction
) _wrap_PyLineShape_GetEnds
, METH_VARARGS
| METH_KEYWORDS
},
26523 { (char *)"PyLineShape_GetFrom", (PyCFunction
) _wrap_PyLineShape_GetFrom
, METH_VARARGS
| METH_KEYWORDS
},
26524 { (char *)"PyLineShape_GetLabelPosition", (PyCFunction
) _wrap_PyLineShape_GetLabelPosition
, METH_VARARGS
| METH_KEYWORDS
},
26525 { (char *)"PyLineShape_GetNextControlPoint", (PyCFunction
) _wrap_PyLineShape_GetNextControlPoint
, METH_VARARGS
| METH_KEYWORDS
},
26526 { (char *)"PyLineShape_GetTo", (PyCFunction
) _wrap_PyLineShape_GetTo
, METH_VARARGS
| METH_KEYWORDS
},
26527 { (char *)"PyLineShape_Initialise", (PyCFunction
) _wrap_PyLineShape_Initialise
, METH_VARARGS
| METH_KEYWORDS
},
26528 { (char *)"PyLineShape_InsertLineControlPoint", (PyCFunction
) _wrap_PyLineShape_InsertLineControlPoint
, METH_VARARGS
| METH_KEYWORDS
},
26529 { (char *)"PyLineShape_IsEnd", (PyCFunction
) _wrap_PyLineShape_IsEnd
, METH_VARARGS
| METH_KEYWORDS
},
26530 { (char *)"PyLineShape_IsSpline", (PyCFunction
) _wrap_PyLineShape_IsSpline
, METH_VARARGS
| METH_KEYWORDS
},
26531 { (char *)"PyLineShape_MakeLineControlPoints", (PyCFunction
) _wrap_PyLineShape_MakeLineControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26532 { (char *)"PyLineShape_GetLineControlPoints", (PyCFunction
) _wrap_PyLineShape_GetLineControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26533 { (char *)"PyLineShape_SetAttachmentFrom", (PyCFunction
) _wrap_PyLineShape_SetAttachmentFrom
, METH_VARARGS
| METH_KEYWORDS
},
26534 { (char *)"PyLineShape_SetAttachments", (PyCFunction
) _wrap_PyLineShape_SetAttachments
, METH_VARARGS
| METH_KEYWORDS
},
26535 { (char *)"PyLineShape_SetAttachmentTo", (PyCFunction
) _wrap_PyLineShape_SetAttachmentTo
, METH_VARARGS
| METH_KEYWORDS
},
26536 { (char *)"PyLineShape_SetEnds", (PyCFunction
) _wrap_PyLineShape_SetEnds
, METH_VARARGS
| METH_KEYWORDS
},
26537 { (char *)"PyLineShape_SetFrom", (PyCFunction
) _wrap_PyLineShape_SetFrom
, METH_VARARGS
| METH_KEYWORDS
},
26538 { (char *)"PyLineShape_SetIgnoreOffsets", (PyCFunction
) _wrap_PyLineShape_SetIgnoreOffsets
, METH_VARARGS
| METH_KEYWORDS
},
26539 { (char *)"PyLineShape_SetSpline", (PyCFunction
) _wrap_PyLineShape_SetSpline
, METH_VARARGS
| METH_KEYWORDS
},
26540 { (char *)"PyLineShape_SetTo", (PyCFunction
) _wrap_PyLineShape_SetTo
, METH_VARARGS
| METH_KEYWORDS
},
26541 { (char *)"PyLineShape_Straighten", (PyCFunction
) _wrap_PyLineShape_Straighten
, METH_VARARGS
| METH_KEYWORDS
},
26542 { (char *)"PyLineShape_Unlink", (PyCFunction
) _wrap_PyLineShape_Unlink
, METH_VARARGS
| METH_KEYWORDS
},
26543 { (char *)"PyLineShape_base_OnDraw", (PyCFunction
) _wrap_PyLineShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
26544 { (char *)"PyLineShape_base_OnDrawContents", (PyCFunction
) _wrap_PyLineShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
26545 { (char *)"PyLineShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyLineShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
26546 { (char *)"PyLineShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyLineShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
26547 { (char *)"PyLineShape_base_OnErase", (PyCFunction
) _wrap_PyLineShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
26548 { (char *)"PyLineShape_base_OnEraseContents", (PyCFunction
) _wrap_PyLineShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
26549 { (char *)"PyLineShape_base_OnHighlight", (PyCFunction
) _wrap_PyLineShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
26550 { (char *)"PyLineShape_base_OnLeftClick", (PyCFunction
) _wrap_PyLineShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
26551 { (char *)"PyLineShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyLineShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
26552 { (char *)"PyLineShape_base_OnRightClick", (PyCFunction
) _wrap_PyLineShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
26553 { (char *)"PyLineShape_base_OnSize", (PyCFunction
) _wrap_PyLineShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
26554 { (char *)"PyLineShape_base_OnMovePre", (PyCFunction
) _wrap_PyLineShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
26555 { (char *)"PyLineShape_base_OnMovePost", (PyCFunction
) _wrap_PyLineShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
26556 { (char *)"PyLineShape_base_OnDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26557 { (char *)"PyLineShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26558 { (char *)"PyLineShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26559 { (char *)"PyLineShape_base_OnDragRight", (PyCFunction
) _wrap_PyLineShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26560 { (char *)"PyLineShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyLineShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26561 { (char *)"PyLineShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyLineShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26562 { (char *)"PyLineShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyLineShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
26563 { (char *)"PyLineShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyLineShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26564 { (char *)"PyLineShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyLineShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26565 { (char *)"PyLineShape_base_OnMoveLink", (PyCFunction
) _wrap_PyLineShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
26566 { (char *)"PyLineShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26567 { (char *)"PyLineShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26568 { (char *)"PyLineShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26569 { (char *)"PyLineShape_base_OnBeginSize", (PyCFunction
) _wrap_PyLineShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
26570 { (char *)"PyLineShape_base_OnEndSize", (PyCFunction
) _wrap_PyLineShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
26571 { (char *)"PyLineShape_swigregister", PyLineShape_swigregister
, METH_VARARGS
},
26572 { (char *)"new_PyPolygonShape", (PyCFunction
) _wrap_new_PyPolygonShape
, METH_VARARGS
| METH_KEYWORDS
},
26573 { (char *)"PyPolygonShape__setCallbackInfo", (PyCFunction
) _wrap_PyPolygonShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26574 { (char *)"PyPolygonShape_Create", (PyCFunction
) _wrap_PyPolygonShape_Create
, METH_VARARGS
| METH_KEYWORDS
},
26575 { (char *)"PyPolygonShape_AddPolygonPoint", (PyCFunction
) _wrap_PyPolygonShape_AddPolygonPoint
, METH_VARARGS
| METH_KEYWORDS
},
26576 { (char *)"PyPolygonShape_CalculatePolygonCentre", (PyCFunction
) _wrap_PyPolygonShape_CalculatePolygonCentre
, METH_VARARGS
| METH_KEYWORDS
},
26577 { (char *)"PyPolygonShape_DeletePolygonPoint", (PyCFunction
) _wrap_PyPolygonShape_DeletePolygonPoint
, METH_VARARGS
| METH_KEYWORDS
},
26578 { (char *)"PyPolygonShape_GetPoints", (PyCFunction
) _wrap_PyPolygonShape_GetPoints
, METH_VARARGS
| METH_KEYWORDS
},
26579 { (char *)"PyPolygonShape_UpdateOriginalPoints", (PyCFunction
) _wrap_PyPolygonShape_UpdateOriginalPoints
, METH_VARARGS
| METH_KEYWORDS
},
26580 { (char *)"PyPolygonShape_base_OnDraw", (PyCFunction
) _wrap_PyPolygonShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
26581 { (char *)"PyPolygonShape_base_OnDrawContents", (PyCFunction
) _wrap_PyPolygonShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
26582 { (char *)"PyPolygonShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyPolygonShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
26583 { (char *)"PyPolygonShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyPolygonShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
26584 { (char *)"PyPolygonShape_base_OnErase", (PyCFunction
) _wrap_PyPolygonShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
26585 { (char *)"PyPolygonShape_base_OnEraseContents", (PyCFunction
) _wrap_PyPolygonShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
26586 { (char *)"PyPolygonShape_base_OnHighlight", (PyCFunction
) _wrap_PyPolygonShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
26587 { (char *)"PyPolygonShape_base_OnLeftClick", (PyCFunction
) _wrap_PyPolygonShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
26588 { (char *)"PyPolygonShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyPolygonShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
26589 { (char *)"PyPolygonShape_base_OnRightClick", (PyCFunction
) _wrap_PyPolygonShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
26590 { (char *)"PyPolygonShape_base_OnSize", (PyCFunction
) _wrap_PyPolygonShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
26591 { (char *)"PyPolygonShape_base_OnMovePre", (PyCFunction
) _wrap_PyPolygonShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
26592 { (char *)"PyPolygonShape_base_OnMovePost", (PyCFunction
) _wrap_PyPolygonShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
26593 { (char *)"PyPolygonShape_base_OnDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26594 { (char *)"PyPolygonShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26595 { (char *)"PyPolygonShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26596 { (char *)"PyPolygonShape_base_OnDragRight", (PyCFunction
) _wrap_PyPolygonShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26597 { (char *)"PyPolygonShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyPolygonShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26598 { (char *)"PyPolygonShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyPolygonShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26599 { (char *)"PyPolygonShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyPolygonShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
26600 { (char *)"PyPolygonShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyPolygonShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26601 { (char *)"PyPolygonShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyPolygonShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26602 { (char *)"PyPolygonShape_base_OnMoveLink", (PyCFunction
) _wrap_PyPolygonShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
26603 { (char *)"PyPolygonShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26604 { (char *)"PyPolygonShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26605 { (char *)"PyPolygonShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26606 { (char *)"PyPolygonShape_base_OnBeginSize", (PyCFunction
) _wrap_PyPolygonShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
26607 { (char *)"PyPolygonShape_base_OnEndSize", (PyCFunction
) _wrap_PyPolygonShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
26608 { (char *)"PyPolygonShape_swigregister", PyPolygonShape_swigregister
, METH_VARARGS
},
26609 { (char *)"new_PyTextShape", (PyCFunction
) _wrap_new_PyTextShape
, METH_VARARGS
| METH_KEYWORDS
},
26610 { (char *)"PyTextShape__setCallbackInfo", (PyCFunction
) _wrap_PyTextShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26611 { (char *)"PyTextShape_base_OnDelete", (PyCFunction
) _wrap_PyTextShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
26612 { (char *)"PyTextShape_base_OnDraw", (PyCFunction
) _wrap_PyTextShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
26613 { (char *)"PyTextShape_base_OnDrawContents", (PyCFunction
) _wrap_PyTextShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
26614 { (char *)"PyTextShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyTextShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
26615 { (char *)"PyTextShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyTextShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
26616 { (char *)"PyTextShape_base_OnErase", (PyCFunction
) _wrap_PyTextShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
26617 { (char *)"PyTextShape_base_OnEraseContents", (PyCFunction
) _wrap_PyTextShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
26618 { (char *)"PyTextShape_base_OnHighlight", (PyCFunction
) _wrap_PyTextShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
26619 { (char *)"PyTextShape_base_OnLeftClick", (PyCFunction
) _wrap_PyTextShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
26620 { (char *)"PyTextShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyTextShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
26621 { (char *)"PyTextShape_base_OnRightClick", (PyCFunction
) _wrap_PyTextShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
26622 { (char *)"PyTextShape_base_OnSize", (PyCFunction
) _wrap_PyTextShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
26623 { (char *)"PyTextShape_base_OnMovePre", (PyCFunction
) _wrap_PyTextShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
26624 { (char *)"PyTextShape_base_OnMovePost", (PyCFunction
) _wrap_PyTextShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
26625 { (char *)"PyTextShape_base_OnDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26626 { (char *)"PyTextShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26627 { (char *)"PyTextShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26628 { (char *)"PyTextShape_base_OnDragRight", (PyCFunction
) _wrap_PyTextShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26629 { (char *)"PyTextShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyTextShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26630 { (char *)"PyTextShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyTextShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26631 { (char *)"PyTextShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyTextShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
26632 { (char *)"PyTextShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyTextShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26633 { (char *)"PyTextShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyTextShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26634 { (char *)"PyTextShape_base_OnMoveLink", (PyCFunction
) _wrap_PyTextShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
26635 { (char *)"PyTextShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26636 { (char *)"PyTextShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26637 { (char *)"PyTextShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26638 { (char *)"PyTextShape_base_OnBeginSize", (PyCFunction
) _wrap_PyTextShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
26639 { (char *)"PyTextShape_base_OnEndSize", (PyCFunction
) _wrap_PyTextShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
26640 { (char *)"PyTextShape_swigregister", PyTextShape_swigregister
, METH_VARARGS
},
26641 { (char *)"new_Diagram", (PyCFunction
) _wrap_new_Diagram
, METH_VARARGS
| METH_KEYWORDS
},
26642 { (char *)"Diagram_AddShape", (PyCFunction
) _wrap_Diagram_AddShape
, METH_VARARGS
| METH_KEYWORDS
},
26643 { (char *)"Diagram_Clear", (PyCFunction
) _wrap_Diagram_Clear
, METH_VARARGS
| METH_KEYWORDS
},
26644 { (char *)"Diagram_DeleteAllShapes", (PyCFunction
) _wrap_Diagram_DeleteAllShapes
, METH_VARARGS
| METH_KEYWORDS
},
26645 { (char *)"Diagram_DrawOutline", (PyCFunction
) _wrap_Diagram_DrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
26646 { (char *)"Diagram_FindShape", (PyCFunction
) _wrap_Diagram_FindShape
, METH_VARARGS
| METH_KEYWORDS
},
26647 { (char *)"Diagram_GetCanvas", (PyCFunction
) _wrap_Diagram_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
26648 { (char *)"Diagram_GetCount", (PyCFunction
) _wrap_Diagram_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
26649 { (char *)"Diagram_GetGridSpacing", (PyCFunction
) _wrap_Diagram_GetGridSpacing
, METH_VARARGS
| METH_KEYWORDS
},
26650 { (char *)"Diagram_GetMouseTolerance", (PyCFunction
) _wrap_Diagram_GetMouseTolerance
, METH_VARARGS
| METH_KEYWORDS
},
26651 { (char *)"Diagram_GetShapeList", (PyCFunction
) _wrap_Diagram_GetShapeList
, METH_VARARGS
| METH_KEYWORDS
},
26652 { (char *)"Diagram_GetQuickEditMode", (PyCFunction
) _wrap_Diagram_GetQuickEditMode
, METH_VARARGS
| METH_KEYWORDS
},
26653 { (char *)"Diagram_GetSnapToGrid", (PyCFunction
) _wrap_Diagram_GetSnapToGrid
, METH_VARARGS
| METH_KEYWORDS
},
26654 { (char *)"Diagram_InsertShape", (PyCFunction
) _wrap_Diagram_InsertShape
, METH_VARARGS
| METH_KEYWORDS
},
26655 { (char *)"Diagram_RecentreAll", (PyCFunction
) _wrap_Diagram_RecentreAll
, METH_VARARGS
| METH_KEYWORDS
},
26656 { (char *)"Diagram_Redraw", (PyCFunction
) _wrap_Diagram_Redraw
, METH_VARARGS
| METH_KEYWORDS
},
26657 { (char *)"Diagram_RemoveAllShapes", (PyCFunction
) _wrap_Diagram_RemoveAllShapes
, METH_VARARGS
| METH_KEYWORDS
},
26658 { (char *)"Diagram_RemoveShape", (PyCFunction
) _wrap_Diagram_RemoveShape
, METH_VARARGS
| METH_KEYWORDS
},
26659 { (char *)"Diagram_SetCanvas", (PyCFunction
) _wrap_Diagram_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
26660 { (char *)"Diagram_SetGridSpacing", (PyCFunction
) _wrap_Diagram_SetGridSpacing
, METH_VARARGS
| METH_KEYWORDS
},
26661 { (char *)"Diagram_SetMouseTolerance", (PyCFunction
) _wrap_Diagram_SetMouseTolerance
, METH_VARARGS
| METH_KEYWORDS
},
26662 { (char *)"Diagram_SetQuickEditMode", (PyCFunction
) _wrap_Diagram_SetQuickEditMode
, METH_VARARGS
| METH_KEYWORDS
},
26663 { (char *)"Diagram_SetSnapToGrid", (PyCFunction
) _wrap_Diagram_SetSnapToGrid
, METH_VARARGS
| METH_KEYWORDS
},
26664 { (char *)"Diagram_ShowAll", (PyCFunction
) _wrap_Diagram_ShowAll
, METH_VARARGS
| METH_KEYWORDS
},
26665 { (char *)"Diagram_Snap", (PyCFunction
) _wrap_Diagram_Snap
, METH_VARARGS
| METH_KEYWORDS
},
26666 { (char *)"Diagram_swigregister", Diagram_swigregister
, METH_VARARGS
},
26667 { (char *)"new_PyShapeCanvas", (PyCFunction
) _wrap_new_PyShapeCanvas
, METH_VARARGS
| METH_KEYWORDS
},
26668 { (char *)"PyShapeCanvas__setCallbackInfo", (PyCFunction
) _wrap_PyShapeCanvas__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26669 { (char *)"PyShapeCanvas_AddShape", (PyCFunction
) _wrap_PyShapeCanvas_AddShape
, METH_VARARGS
| METH_KEYWORDS
},
26670 { (char *)"PyShapeCanvas_FindShape", (PyCFunction
) _wrap_PyShapeCanvas_FindShape
, METH_VARARGS
| METH_KEYWORDS
},
26671 { (char *)"PyShapeCanvas_FindFirstSensitiveShape", (PyCFunction
) _wrap_PyShapeCanvas_FindFirstSensitiveShape
, METH_VARARGS
| METH_KEYWORDS
},
26672 { (char *)"PyShapeCanvas_GetDiagram", (PyCFunction
) _wrap_PyShapeCanvas_GetDiagram
, METH_VARARGS
| METH_KEYWORDS
},
26673 { (char *)"PyShapeCanvas_GetQuickEditMode", (PyCFunction
) _wrap_PyShapeCanvas_GetQuickEditMode
, METH_VARARGS
| METH_KEYWORDS
},
26674 { (char *)"PyShapeCanvas_InsertShape", (PyCFunction
) _wrap_PyShapeCanvas_InsertShape
, METH_VARARGS
| METH_KEYWORDS
},
26675 { (char *)"PyShapeCanvas_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyShapeCanvas_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26676 { (char *)"PyShapeCanvas_base_OnBeginDragRight", (PyCFunction
) _wrap_PyShapeCanvas_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26677 { (char *)"PyShapeCanvas_base_OnEndDragLeft", (PyCFunction
) _wrap_PyShapeCanvas_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26678 { (char *)"PyShapeCanvas_base_OnEndDragRight", (PyCFunction
) _wrap_PyShapeCanvas_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26679 { (char *)"PyShapeCanvas_base_OnDragLeft", (PyCFunction
) _wrap_PyShapeCanvas_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26680 { (char *)"PyShapeCanvas_base_OnDragRight", (PyCFunction
) _wrap_PyShapeCanvas_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26681 { (char *)"PyShapeCanvas_base_OnLeftClick", (PyCFunction
) _wrap_PyShapeCanvas_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
26682 { (char *)"PyShapeCanvas_base_OnRightClick", (PyCFunction
) _wrap_PyShapeCanvas_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
26683 { (char *)"PyShapeCanvas_Redraw", (PyCFunction
) _wrap_PyShapeCanvas_Redraw
, METH_VARARGS
| METH_KEYWORDS
},
26684 { (char *)"PyShapeCanvas_RemoveShape", (PyCFunction
) _wrap_PyShapeCanvas_RemoveShape
, METH_VARARGS
| METH_KEYWORDS
},
26685 { (char *)"PyShapeCanvas_SetDiagram", (PyCFunction
) _wrap_PyShapeCanvas_SetDiagram
, METH_VARARGS
| METH_KEYWORDS
},
26686 { (char *)"PyShapeCanvas_Snap", (PyCFunction
) _wrap_PyShapeCanvas_Snap
, METH_VARARGS
| METH_KEYWORDS
},
26687 { (char *)"PyShapeCanvas_swigregister", PyShapeCanvas_swigregister
, METH_VARARGS
},
26688 { (char *)"OGLInitialize", (PyCFunction
) _wrap_OGLInitialize
, METH_VARARGS
| METH_KEYWORDS
},
26689 { (char *)"OGLCleanUp", (PyCFunction
) _wrap_OGLCleanUp
, METH_VARARGS
| METH_KEYWORDS
},
26694 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
26696 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
26697 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
26699 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
26700 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26702 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
26703 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26705 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
26706 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26708 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
26709 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
26711 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
26712 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26714 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
26715 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
26717 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
26718 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26720 static void *_p_wxPyShapeCanvasTo_p_wxPanel(void *x
) {
26721 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
26723 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
26724 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26726 static void *_p_wxPyShapeCanvasTo_p_wxScrolledWindow(void *x
) {
26727 return (void *)((wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
26729 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
26730 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
26732 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
26733 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26735 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
26736 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
26738 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
26739 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
26741 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
26742 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26744 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
26745 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26747 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
26748 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
26750 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
26751 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
26753 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
26754 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26756 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
26757 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26759 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
26760 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
26762 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
26763 return (void *)((wxWindow
*) ((wxPanel
*) x
));
26765 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
26766 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
26768 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
26769 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
26771 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
26772 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26774 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
26775 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26777 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
26778 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26780 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
26781 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
26783 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
26784 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26786 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
26787 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
26789 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
26790 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
26792 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
26793 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
26795 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
26796 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
26798 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
26799 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
26801 static void *_p_wxControlTo_p_wxWindow(void *x
) {
26802 return (void *)((wxWindow
*) ((wxControl
*) x
));
26804 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
26805 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
26807 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
26808 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26810 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
26811 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26813 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
26814 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
26816 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
26817 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
26819 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
26820 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26822 static void *_p_wxPyShapeCanvasTo_p_wxWindow(void *x
) {
26823 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
26825 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
26826 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26828 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
26829 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26831 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
26832 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
26834 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
26835 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26837 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
26838 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
26840 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
26841 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26843 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
26844 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26846 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
26847 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26849 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
26850 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
26852 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
26853 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
26855 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
26856 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
26858 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
26859 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26861 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
26862 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
26864 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
26865 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
26867 static void *_p_wxPyControlPointTo_p_wxObject(void *x
) {
26868 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyControlPoint
*) x
));
26870 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
26871 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
26873 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
26874 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26876 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
26877 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
26879 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
26880 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
26882 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
26883 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
26885 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
26886 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
26888 static void *_p_wxOGLConstraintTo_p_wxObject(void *x
) {
26889 return (void *)((wxObject
*) ((wxOGLConstraint
*) x
));
26891 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
26892 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
26894 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
26895 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
26897 static void *_p_wxSizerTo_p_wxObject(void *x
) {
26898 return (void *)((wxObject
*) ((wxSizer
*) x
));
26900 static void *_p_wxPyDrawnShapeTo_p_wxObject(void *x
) {
26901 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyDrawnShape
*) x
));
26903 static void *_p_wxPyDivisionShapeTo_p_wxObject(void *x
) {
26904 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*)(wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
26906 static void *_p_wxPyPolygonShapeTo_p_wxObject(void *x
) {
26907 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*) ((wxPyPolygonShape
*) x
));
26909 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
26910 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
26912 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
26913 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26915 static void *_p_wxArrowHeadTo_p_wxObject(void *x
) {
26916 return (void *)((wxObject
*) ((wxArrowHead
*) x
));
26918 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
26919 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
26921 static void *_p_wxEventTo_p_wxObject(void *x
) {
26922 return (void *)((wxObject
*) ((wxEvent
*) x
));
26924 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
26925 return (void *)((wxObject
*) ((wxFontData
*) x
));
26927 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
26928 return (void *)((wxObject
*) ((wxPrintData
*) x
));
26930 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
26931 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
26933 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
26934 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
26936 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
26937 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
26939 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
26940 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
26942 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
26943 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
26945 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
26946 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
26948 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
26949 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
26951 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
26952 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
26954 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
26955 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
26957 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
26958 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
26960 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
26961 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
26963 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
26964 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
26966 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
26967 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26969 static void *_p_wxPyShapeCanvasTo_p_wxObject(void *x
) {
26970 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
26972 static void *_p_wxControlTo_p_wxObject(void *x
) {
26973 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
26975 static void *_p_wxPyEllipseShapeTo_p_wxObject(void *x
) {
26976 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*) ((wxPyEllipseShape
*) x
));
26978 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
26979 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
26981 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
26982 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26984 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
26985 return (void *)((wxObject
*) ((wxFSFile
*) x
));
26987 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
26988 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
26990 static void *_p_wxPyBitmapShapeTo_p_wxObject(void *x
) {
26991 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyBitmapShape
*) x
));
26993 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
26994 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
26996 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
26997 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26999 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
27000 return (void *)((wxObject
*) ((wxColourData
*) x
));
27002 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
27003 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
27005 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
27006 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
27008 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
27009 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
27011 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
27012 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
27014 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
27015 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
27017 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
27018 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
27020 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
27021 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
27023 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
27024 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
27026 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
27027 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
27029 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
27030 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
27032 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
27033 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
27035 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
27036 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
27038 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
27039 return (void *)((wxObject
*) ((wxPrinter
*) x
));
27041 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
27042 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
27044 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
27045 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
27047 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
27048 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
27050 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
27051 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
27053 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
27054 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
27056 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
27057 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
27059 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
27060 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
27062 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
27063 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
27065 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
27066 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
27068 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
27069 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
27071 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
27072 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
27074 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
27075 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
27077 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
27078 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
27080 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
27081 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
27083 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
27084 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
27086 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
27087 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
27089 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
27090 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
27092 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
27093 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
27095 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
27096 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
27098 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
27099 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
27101 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
27102 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
27104 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
27105 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
27107 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
27108 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
27110 static void *_p_wxPyShapeEvtHandlerTo_p_wxObject(void *x
) {
27111 return (void *)((wxObject
*) ((wxPyShapeEvtHandler
*) x
));
27113 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
27114 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
27116 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
27117 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
27119 static void *_p_wxPyTextShapeTo_p_wxObject(void *x
) {
27120 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyTextShape
*) x
));
27122 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
27123 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
27125 static void *_p_wxPyDividedShapeTo_p_wxObject(void *x
) {
27126 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyDividedShape
*) x
));
27128 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
27129 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
27131 static void *_p_wxImageTo_p_wxObject(void *x
) {
27132 return (void *)((wxObject
*) ((wxImage
*) x
));
27134 static void *_p_wxFrameTo_p_wxObject(void *x
) {
27135 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
27137 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
27138 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
27140 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
27141 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
27143 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
27144 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
27146 static void *_p_wxDiagramTo_p_wxObject(void *x
) {
27147 return (void *)((wxObject
*) ((wxDiagram
*) x
));
27149 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
27150 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
27152 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
27153 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
27155 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
27156 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
27158 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
27159 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
27161 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
27162 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
27164 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
27165 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
27167 static void *_p_wxWindowTo_p_wxObject(void *x
) {
27168 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
27170 static void *_p_wxMenuTo_p_wxObject(void *x
) {
27171 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
27173 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
27174 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
27176 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
27177 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
27179 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
27180 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
27182 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
27183 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
27185 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
27186 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
27188 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
27189 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
27191 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
27192 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
27194 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
27195 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
27197 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
27198 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
27200 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
27201 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
27203 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
27204 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
27206 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
27207 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
27209 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
27210 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
27212 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
27213 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
27215 static void *_p_wxPanelTo_p_wxObject(void *x
) {
27216 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
27218 static void *_p_wxDialogTo_p_wxObject(void *x
) {
27219 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
27221 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
27222 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
27224 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
27225 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
27227 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
27228 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
27230 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
27231 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
27233 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
27234 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
27236 static void *_p_wxPyShapeTo_p_wxObject(void *x
) {
27237 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*) ((wxPyShape
*) x
));
27239 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
27240 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
27242 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
27243 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
27245 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
27246 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
27248 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
27249 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
27251 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
27252 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
27254 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
27255 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
27257 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
27258 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
27260 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
27261 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
27263 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
27264 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
27266 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
27267 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
27269 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
27270 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
27272 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
27273 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
27275 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
27276 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
27278 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
27279 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
27281 static void *_p_wxPyRectangleShapeTo_p_wxObject(void *x
) {
27282 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*) ((wxPyRectangleShape
*) x
));
27284 static void *_p_wxPyCompositeShapeTo_p_wxObject(void *x
) {
27285 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyCompositeShape
*) x
));
27287 static void *_p_wxPyCircleShapeTo_p_wxObject(void *x
) {
27288 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyEllipseShape
*) ((wxPyCircleShape
*) x
));
27290 static void *_p_wxPyLineShapeTo_p_wxObject(void *x
) {
27291 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*) ((wxPyLineShape
*) x
));
27293 static void *_p_wxPseudoMetaFileTo_p_wxObject(void *x
) {
27294 return (void *)((wxObject
*) ((wxPseudoMetaFile
*) x
));
27296 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
27297 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
27299 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
27300 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
27302 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
27303 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
27305 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
27306 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
27308 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
27309 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
27311 static void *_p_wxShapeRegionTo_p_wxObject(void *x
) {
27312 return (void *)((wxObject
*) ((wxShapeRegion
*) x
));
27314 static void *_p_wxPyRectangleShapeTo_p_wxPyShapeEvtHandler(void *x
) {
27315 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*) ((wxPyRectangleShape
*) x
));
27317 static void *_p_wxPyBitmapShapeTo_p_wxPyShapeEvtHandler(void *x
) {
27318 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyBitmapShape
*) x
));
27320 static void *_p_wxPyCompositeShapeTo_p_wxPyShapeEvtHandler(void *x
) {
27321 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyCompositeShape
*) x
));
27323 static void *_p_wxPyCircleShapeTo_p_wxPyShapeEvtHandler(void *x
) {
27324 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyEllipseShape
*) ((wxPyCircleShape
*) x
));
27326 static void *_p_wxPyLineShapeTo_p_wxPyShapeEvtHandler(void *x
) {
27327 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*) ((wxPyLineShape
*) x
));
27329 static void *_p_wxPyTextShapeTo_p_wxPyShapeEvtHandler(void *x
) {
27330 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyTextShape
*) x
));
27332 static void *_p_wxPyControlPointTo_p_wxPyShapeEvtHandler(void *x
) {
27333 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyControlPoint
*) x
));
27335 static void *_p_wxPyDrawnShapeTo_p_wxPyShapeEvtHandler(void *x
) {
27336 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyDrawnShape
*) x
));
27338 static void *_p_wxPyDivisionShapeTo_p_wxPyShapeEvtHandler(void *x
) {
27339 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*)(wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
27341 static void *_p_wxPyPolygonShapeTo_p_wxPyShapeEvtHandler(void *x
) {
27342 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*) ((wxPyPolygonShape
*) x
));
27344 static void *_p_wxPyDividedShapeTo_p_wxPyShapeEvtHandler(void *x
) {
27345 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyDividedShape
*) x
));
27347 static void *_p_wxPyShapeTo_p_wxPyShapeEvtHandler(void *x
) {
27348 return (void *)((wxPyShapeEvtHandler
*) ((wxPyShape
*) x
));
27350 static void *_p_wxPyEllipseShapeTo_p_wxPyShapeEvtHandler(void *x
) {
27351 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*) ((wxPyEllipseShape
*) x
));
27353 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
27354 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
27356 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
27357 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
27359 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
27360 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
27362 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
27363 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
27365 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
27366 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
27368 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
27369 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
27371 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
27372 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
27374 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
27375 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
27377 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
27378 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
27380 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
27381 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
27383 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
27384 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
27386 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
27387 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
27389 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
27390 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
27392 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
27393 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
27395 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
27396 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
27398 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
27399 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
27401 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
27402 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
27404 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
27405 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
27407 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
27408 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
27410 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
27411 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
27413 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
27414 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
27416 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
27417 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
27419 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
27420 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
27422 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
27423 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
27425 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
27426 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
27428 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
27429 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
27431 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
27432 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
27434 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
27435 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
27437 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
27438 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
27440 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
27441 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
27443 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
27444 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
27446 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
27447 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
27449 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
27450 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
27452 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
27453 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
27455 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
27456 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
27458 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
27459 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
27461 static void *_p_wxPyShapeCanvasTo_p_wxEvtHandler(void *x
) {
27462 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
27464 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
27465 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
27467 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
27468 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
27470 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
27471 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
27473 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
27474 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
27476 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
27477 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
27479 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
27480 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
27482 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
27483 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
27485 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
27486 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
27488 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
27489 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
27491 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
27492 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
27494 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
27495 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
27497 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
27498 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
27500 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
27501 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
27503 static void *_p_wxPyCircleShapeTo_p_wxPyEllipseShape(void *x
) {
27504 return (void *)((wxPyEllipseShape
*) ((wxPyCircleShape
*) x
));
27506 static void *_p_wxPyRectangleShapeTo_p_wxPyShape(void *x
) {
27507 return (void *)((wxPyShape
*) ((wxPyRectangleShape
*) x
));
27509 static void *_p_wxPyBitmapShapeTo_p_wxPyShape(void *x
) {
27510 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyBitmapShape
*) x
));
27512 static void *_p_wxPyCompositeShapeTo_p_wxPyShape(void *x
) {
27513 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyCompositeShape
*) x
));
27515 static void *_p_wxPyCircleShapeTo_p_wxPyShape(void *x
) {
27516 return (void *)((wxPyShape
*) (wxPyEllipseShape
*) ((wxPyCircleShape
*) x
));
27518 static void *_p_wxPyLineShapeTo_p_wxPyShape(void *x
) {
27519 return (void *)((wxPyShape
*) ((wxPyLineShape
*) x
));
27521 static void *_p_wxPyTextShapeTo_p_wxPyShape(void *x
) {
27522 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyTextShape
*) x
));
27524 static void *_p_wxPyControlPointTo_p_wxPyShape(void *x
) {
27525 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyControlPoint
*) x
));
27527 static void *_p_wxPyDrawnShapeTo_p_wxPyShape(void *x
) {
27528 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyDrawnShape
*) x
));
27530 static void *_p_wxPyDivisionShapeTo_p_wxPyShape(void *x
) {
27531 return (void *)((wxPyShape
*) (wxPyRectangleShape
*)(wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
27533 static void *_p_wxPyPolygonShapeTo_p_wxPyShape(void *x
) {
27534 return (void *)((wxPyShape
*) ((wxPyPolygonShape
*) x
));
27536 static void *_p_wxPyDividedShapeTo_p_wxPyShape(void *x
) {
27537 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyDividedShape
*) x
));
27539 static void *_p_wxPyEllipseShapeTo_p_wxPyShape(void *x
) {
27540 return (void *)((wxPyShape
*) ((wxPyEllipseShape
*) x
));
27542 static void *_p_wxPyBitmapShapeTo_p_wxPyRectangleShape(void *x
) {
27543 return (void *)((wxPyRectangleShape
*) ((wxPyBitmapShape
*) x
));
27545 static void *_p_wxPyCompositeShapeTo_p_wxPyRectangleShape(void *x
) {
27546 return (void *)((wxPyRectangleShape
*) ((wxPyCompositeShape
*) x
));
27548 static void *_p_wxPyTextShapeTo_p_wxPyRectangleShape(void *x
) {
27549 return (void *)((wxPyRectangleShape
*) ((wxPyTextShape
*) x
));
27551 static void *_p_wxPyControlPointTo_p_wxPyRectangleShape(void *x
) {
27552 return (void *)((wxPyRectangleShape
*) ((wxPyControlPoint
*) x
));
27554 static void *_p_wxPyDrawnShapeTo_p_wxPyRectangleShape(void *x
) {
27555 return (void *)((wxPyRectangleShape
*) ((wxPyDrawnShape
*) x
));
27557 static void *_p_wxPyDivisionShapeTo_p_wxPyRectangleShape(void *x
) {
27558 return (void *)((wxPyRectangleShape
*) (wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
27560 static void *_p_wxPyDividedShapeTo_p_wxPyRectangleShape(void *x
) {
27561 return (void *)((wxPyRectangleShape
*) ((wxPyDividedShape
*) x
));
27563 static void *_p_wxPyDivisionShapeTo_p_wxPyCompositeShape(void *x
) {
27564 return (void *)((wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
27566 static swig_type_info _swigt__p_wxOGLConstraint
[] = {{"_p_wxOGLConstraint", 0, "wxOGLConstraint *", 0},{"_p_wxOGLConstraint"},{0}};
27567 static swig_type_info _swigt__p_wxBrush
[] = {{"_p_wxBrush", 0, "wxBrush *", 0},{"_p_wxBrush"},{0}};
27568 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
27569 static swig_type_info _swigt__p_wxShapeRegion
[] = {{"_p_wxShapeRegion", 0, "wxShapeRegion *", 0},{"_p_wxShapeRegion"},{0}};
27570 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
27571 static swig_type_info _swigt__p_wxRealPoint
[] = {{"_p_wxRealPoint", 0, "wxRealPoint *", 0},{"_p_wxRealPoint"},{0}};
27572 static swig_type_info _swigt__p_wxPyControlPoint
[] = {{"_p_wxPyControlPoint", 0, "wxPyControlPoint *", 0},{"_p_wxPyControlPoint"},{0}};
27573 static swig_type_info _swigt__p_wxArrowHead
[] = {{"_p_wxArrowHead", 0, "wxArrowHead *", 0},{"_p_wxArrowHead"},{0}};
27574 static swig_type_info _swigt__p_wxStringList
[] = {{"_p_wxStringList", 0, "wxStringList *", 0},{"_p_wxStringList"},{0}};
27575 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}};
27576 static swig_type_info _swigt__p_bool
[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
27577 static swig_type_info _swigt__p_wxList
[] = {{"_p_wxList", 0, "wxList *", 0},{"_p_wxList"},{0}};
27578 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
27579 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}};
27580 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}};
27581 static swig_type_info _swigt__p_double
[] = {{"_p_double", 0, "double *", 0},{"_p_double"},{0}};
27582 static swig_type_info _swigt__p_wxPyDivisionShape
[] = {{"_p_wxPyDivisionShape", 0, "wxPyDivisionShape *", 0},{"_p_wxPyDivisionShape"},{0}};
27583 static swig_type_info _swigt__p_wxPyDrawnShape
[] = {{"_p_wxPyDrawnShape", 0, "wxPyDrawnShape *", 0},{"_p_wxPyDrawnShape"},{0}};
27584 static swig_type_info _swigt__p_wxPyPolygonShape
[] = {{"_p_wxPyPolygonShape", 0, "wxPyPolygonShape *", 0},{"_p_wxPyPolygonShape"},{0}};
27585 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
27586 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_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}};
27587 static swig_type_info _swigt__p_wxPyBitmapShape
[] = {{"_p_wxPyBitmapShape", 0, "wxPyBitmapShape *", 0},{"_p_wxPyBitmapShape"},{0}};
27588 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
27589 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}};
27590 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}};
27591 static swig_type_info _swigt__p_wxPyEllipseShape
[] = {{"_p_wxPyEllipseShape", 0, "wxPyEllipseShape *", 0},{"_p_wxPyCircleShape", _p_wxPyCircleShapeTo_p_wxPyEllipseShape
},{"_p_wxPyEllipseShape"},{0}};
27592 static swig_type_info _swigt__p_wxPyShapeCanvas
[] = {{"_p_wxPyShapeCanvas", 0, "wxPyShapeCanvas *", 0},{"_p_wxPyShapeCanvas"},{0}};
27593 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
27594 static swig_type_info _swigt__p_wxDiagram
[] = {{"_p_wxDiagram", 0, "wxDiagram *", 0},{"_p_wxDiagram"},{0}};
27595 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}};
27596 static swig_type_info _swigt__p_wxClassInfo
[] = {{"_p_wxClassInfo", 0, "wxClassInfo *", 0},{"_p_wxClassInfo"},{0}};
27597 static swig_type_info _swigt__p_wxPyLineShape
[] = {{"_p_wxPyLineShape", 0, "wxPyLineShape *", 0},{"_p_wxPyLineShape"},{0}};
27598 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}};
27599 static swig_type_info _swigt__p_wxPyCompositeShape
[] = {{"_p_wxPyCompositeShape", 0, "wxPyCompositeShape *", 0},{"_p_wxPyCompositeShape"},{"_p_wxPyDivisionShape", _p_wxPyDivisionShapeTo_p_wxPyCompositeShape
},{0}};
27600 static swig_type_info _swigt__p_wxPyCircleShape
[] = {{"_p_wxPyCircleShape", 0, "wxPyCircleShape *", 0},{"_p_wxPyCircleShape"},{0}};
27601 static swig_type_info _swigt__p_wxPen
[] = {{"_p_wxPen", 0, "wxPen *", 0},{"_p_wxPen"},{0}};
27602 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
27603 static swig_type_info _swigt__p_wxPseudoMetaFile
[] = {{"_p_wxPseudoMetaFile", 0, "wxPseudoMetaFile *", 0},{"_p_wxPseudoMetaFile"},{0}};
27604 static swig_type_info _swigt__p_wxPyTextShape
[] = {{"_p_wxPyTextShape", 0, "wxPyTextShape *", 0},{"_p_wxPyTextShape"},{0}};
27605 static swig_type_info _swigt__p_wxPyDividedShape
[] = {{"_p_wxPyDividedShape", 0, "wxPyDividedShape *", 0},{"_p_wxPyDividedShape"},{0}};
27607 static swig_type_info
*swig_types_initial
[] = {
27608 _swigt__p_wxOGLConstraint
,
27610 _swigt__p_wxColour
,
27611 _swigt__p_wxShapeRegion
,
27613 _swigt__p_wxRealPoint
,
27614 _swigt__p_wxPyControlPoint
,
27615 _swigt__p_wxArrowHead
,
27616 _swigt__p_wxStringList
,
27621 _swigt__p_wxScrolledWindow
,
27622 _swigt__p_wxWindow
,
27624 _swigt__p_wxPyDivisionShape
,
27625 _swigt__p_wxPyDrawnShape
,
27626 _swigt__p_wxPyPolygonShape
,
27627 _swigt__p_wxBitmap
,
27628 _swigt__p_wxObject
,
27629 _swigt__p_wxPyBitmapShape
,
27630 _swigt__p_wxString
,
27631 _swigt__p_wxPyShapeEvtHandler
,
27632 _swigt__p_wxEvtHandler
,
27633 _swigt__p_wxPyEllipseShape
,
27634 _swigt__p_wxPyShapeCanvas
,
27636 _swigt__p_wxDiagram
,
27637 _swigt__p_wxPyShape
,
27638 _swigt__p_wxClassInfo
,
27639 _swigt__p_wxPyLineShape
,
27640 _swigt__p_wxPyRectangleShape
,
27641 _swigt__p_wxPyCompositeShape
,
27642 _swigt__p_wxPyCircleShape
,
27645 _swigt__p_wxPseudoMetaFile
,
27646 _swigt__p_wxPyTextShape
,
27647 _swigt__p_wxPyDividedShape
,
27652 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
27654 static swig_const_info swig_const_table
[] = {
27655 { SWIG_PY_INT
, (char *)"oglMETAFLAGS_OUTLINE", (long) oglMETAFLAGS_OUTLINE
, 0, 0, 0},
27656 { SWIG_PY_INT
, (char *)"oglMETAFLAGS_ATTACHMENTS", (long) oglMETAFLAGS_ATTACHMENTS
, 0, 0, 0},
27657 { SWIG_PY_INT
, (char *)"KEY_SHIFT", (long) KEY_SHIFT
, 0, 0, 0},
27658 { SWIG_PY_INT
, (char *)"KEY_CTRL", (long) KEY_CTRL
, 0, 0, 0},
27659 { SWIG_PY_INT
, (char *)"ARROW_NONE", (long) ARROW_NONE
, 0, 0, 0},
27660 { SWIG_PY_INT
, (char *)"ARROW_END", (long) ARROW_END
, 0, 0, 0},
27661 { SWIG_PY_INT
, (char *)"ARROW_BOTH", (long) ARROW_BOTH
, 0, 0, 0},
27662 { SWIG_PY_INT
, (char *)"ARROW_MIDDLE", (long) ARROW_MIDDLE
, 0, 0, 0},
27663 { SWIG_PY_INT
, (char *)"ARROW_START", (long) ARROW_START
, 0, 0, 0},
27664 { SWIG_PY_INT
, (char *)"ARROW_HOLLOW_CIRCLE", (long) ARROW_HOLLOW_CIRCLE
, 0, 0, 0},
27665 { SWIG_PY_INT
, (char *)"ARROW_FILLED_CIRCLE", (long) ARROW_FILLED_CIRCLE
, 0, 0, 0},
27666 { SWIG_PY_INT
, (char *)"ARROW_ARROW", (long) ARROW_ARROW
, 0, 0, 0},
27667 { SWIG_PY_INT
, (char *)"ARROW_SINGLE_OBLIQUE", (long) ARROW_SINGLE_OBLIQUE
, 0, 0, 0},
27668 { SWIG_PY_INT
, (char *)"ARROW_DOUBLE_OBLIQUE", (long) ARROW_DOUBLE_OBLIQUE
, 0, 0, 0},
27669 { SWIG_PY_INT
, (char *)"ARROW_METAFILE", (long) ARROW_METAFILE
, 0, 0, 0},
27670 { SWIG_PY_INT
, (char *)"ARROW_POSITION_END", (long) ARROW_POSITION_END
, 0, 0, 0},
27671 { SWIG_PY_INT
, (char *)"ARROW_POSITION_START", (long) ARROW_POSITION_START
, 0, 0, 0},
27672 { SWIG_PY_INT
, (char *)"CONTROL_POINT_VERTICAL", (long) CONTROL_POINT_VERTICAL
, 0, 0, 0},
27673 { SWIG_PY_INT
, (char *)"CONTROL_POINT_HORIZONTAL", (long) CONTROL_POINT_HORIZONTAL
, 0, 0, 0},
27674 { SWIG_PY_INT
, (char *)"CONTROL_POINT_DIAGONAL", (long) CONTROL_POINT_DIAGONAL
, 0, 0, 0},
27675 { SWIG_PY_INT
, (char *)"CONTROL_POINT_ENDPOINT_TO", (long) CONTROL_POINT_ENDPOINT_TO
, 0, 0, 0},
27676 { SWIG_PY_INT
, (char *)"CONTROL_POINT_ENDPOINT_FROM", (long) CONTROL_POINT_ENDPOINT_FROM
, 0, 0, 0},
27677 { SWIG_PY_INT
, (char *)"CONTROL_POINT_LINE", (long) CONTROL_POINT_LINE
, 0, 0, 0},
27678 { SWIG_PY_INT
, (char *)"FORMAT_NONE", (long) FORMAT_NONE
, 0, 0, 0},
27679 { SWIG_PY_INT
, (char *)"FORMAT_CENTRE_HORIZ", (long) FORMAT_CENTRE_HORIZ
, 0, 0, 0},
27680 { SWIG_PY_INT
, (char *)"FORMAT_CENTRE_VERT", (long) FORMAT_CENTRE_VERT
, 0, 0, 0},
27681 { SWIG_PY_INT
, (char *)"FORMAT_SIZE_TO_CONTENTS", (long) FORMAT_SIZE_TO_CONTENTS
, 0, 0, 0},
27682 { SWIG_PY_INT
, (char *)"LINE_ALIGNMENT_HORIZ", (long) LINE_ALIGNMENT_HORIZ
, 0, 0, 0},
27683 { SWIG_PY_INT
, (char *)"LINE_ALIGNMENT_VERT", (long) LINE_ALIGNMENT_VERT
, 0, 0, 0},
27684 { SWIG_PY_INT
, (char *)"LINE_ALIGNMENT_TO_NEXT_HANDLE", (long) LINE_ALIGNMENT_TO_NEXT_HANDLE
, 0, 0, 0},
27685 { SWIG_PY_INT
, (char *)"LINE_ALIGNMENT_NONE", (long) LINE_ALIGNMENT_NONE
, 0, 0, 0},
27686 { SWIG_PY_INT
, (char *)"SHADOW_NONE", (long) SHADOW_NONE
, 0, 0, 0},
27687 { SWIG_PY_INT
, (char *)"SHADOW_LEFT", (long) SHADOW_LEFT
, 0, 0, 0},
27688 { SWIG_PY_INT
, (char *)"SHADOW_RIGHT", (long) SHADOW_RIGHT
, 0, 0, 0},
27689 { SWIG_PY_INT
, (char *)"OP_CLICK_LEFT", (long) OP_CLICK_LEFT
, 0, 0, 0},
27690 { SWIG_PY_INT
, (char *)"OP_CLICK_RIGHT", (long) OP_CLICK_RIGHT
, 0, 0, 0},
27691 { SWIG_PY_INT
, (char *)"OP_DRAG_LEFT", (long) OP_DRAG_LEFT
, 0, 0, 0},
27692 { SWIG_PY_INT
, (char *)"OP_DRAG_RIGHT", (long) OP_DRAG_RIGHT
, 0, 0, 0},
27693 { SWIG_PY_INT
, (char *)"OP_ALL", (long) OP_ALL
, 0, 0, 0},
27694 { SWIG_PY_INT
, (char *)"ATTACHMENT_MODE_NONE", (long) ATTACHMENT_MODE_NONE
, 0, 0, 0},
27695 { SWIG_PY_INT
, (char *)"ATTACHMENT_MODE_EDGE", (long) ATTACHMENT_MODE_EDGE
, 0, 0, 0},
27696 { SWIG_PY_INT
, (char *)"ATTACHMENT_MODE_BRANCHING", (long) ATTACHMENT_MODE_BRANCHING
, 0, 0, 0},
27697 { SWIG_PY_INT
, (char *)"BRANCHING_ATTACHMENT_NORMAL", (long) BRANCHING_ATTACHMENT_NORMAL
, 0, 0, 0},
27698 { SWIG_PY_INT
, (char *)"BRANCHING_ATTACHMENT_BLOB", (long) BRANCHING_ATTACHMENT_BLOB
, 0, 0, 0},
27699 { SWIG_PY_INT
, (char *)"gyCONSTRAINT_CENTRED_VERTICALLY", (long) gyCONSTRAINT_CENTRED_VERTICALLY
, 0, 0, 0},
27700 { SWIG_PY_INT
, (char *)"gyCONSTRAINT_CENTRED_HORIZONTALLY", (long) gyCONSTRAINT_CENTRED_HORIZONTALLY
, 0, 0, 0},
27701 { SWIG_PY_INT
, (char *)"gyCONSTRAINT_CENTRED_BOTH", (long) gyCONSTRAINT_CENTRED_BOTH
, 0, 0, 0},
27702 { SWIG_PY_INT
, (char *)"gyCONSTRAINT_LEFT_OF", (long) gyCONSTRAINT_LEFT_OF
, 0, 0, 0},
27703 { SWIG_PY_INT
, (char *)"gyCONSTRAINT_RIGHT_OF", (long) gyCONSTRAINT_RIGHT_OF
, 0, 0, 0},
27704 { SWIG_PY_INT
, (char *)"gyCONSTRAINT_ABOVE", (long) gyCONSTRAINT_ABOVE
, 0, 0, 0},
27705 { SWIG_PY_INT
, (char *)"gyCONSTRAINT_BELOW", (long) gyCONSTRAINT_BELOW
, 0, 0, 0},
27706 { SWIG_PY_INT
, (char *)"gyCONSTRAINT_ALIGNED_TOP", (long) gyCONSTRAINT_ALIGNED_TOP
, 0, 0, 0},
27707 { SWIG_PY_INT
, (char *)"gyCONSTRAINT_ALIGNED_BOTTOM", (long) gyCONSTRAINT_ALIGNED_BOTTOM
, 0, 0, 0},
27708 { SWIG_PY_INT
, (char *)"gyCONSTRAINT_ALIGNED_LEFT", (long) gyCONSTRAINT_ALIGNED_LEFT
, 0, 0, 0},
27709 { SWIG_PY_INT
, (char *)"gyCONSTRAINT_ALIGNED_RIGHT", (long) gyCONSTRAINT_ALIGNED_RIGHT
, 0, 0, 0},
27710 { SWIG_PY_INT
, (char *)"gyCONSTRAINT_MIDALIGNED_TOP", (long) gyCONSTRAINT_MIDALIGNED_TOP
, 0, 0, 0},
27711 { SWIG_PY_INT
, (char *)"gyCONSTRAINT_MIDALIGNED_BOTTOM", (long) gyCONSTRAINT_MIDALIGNED_BOTTOM
, 0, 0, 0},
27712 { SWIG_PY_INT
, (char *)"gyCONSTRAINT_MIDALIGNED_LEFT", (long) gyCONSTRAINT_MIDALIGNED_LEFT
, 0, 0, 0},
27713 { SWIG_PY_INT
, (char *)"gyCONSTRAINT_MIDALIGNED_RIGHT", (long) gyCONSTRAINT_MIDALIGNED_RIGHT
, 0, 0, 0},
27714 { SWIG_PY_INT
, (char *)"DIVISION_SIDE_NONE", (long) DIVISION_SIDE_NONE
, 0, 0, 0},
27715 { SWIG_PY_INT
, (char *)"DIVISION_SIDE_LEFT", (long) DIVISION_SIDE_LEFT
, 0, 0, 0},
27716 { SWIG_PY_INT
, (char *)"DIVISION_SIDE_TOP", (long) DIVISION_SIDE_TOP
, 0, 0, 0},
27717 { SWIG_PY_INT
, (char *)"DIVISION_SIDE_RIGHT", (long) DIVISION_SIDE_RIGHT
, 0, 0, 0},
27718 { SWIG_PY_INT
, (char *)"DIVISION_SIDE_BOTTOM", (long) DIVISION_SIDE_BOTTOM
, 0, 0, 0},
27728 SWIGEXPORT(void) SWIG_init(void) {
27729 static PyObject
*SWIG_globals
= 0;
27730 static int typeinit
= 0;
27733 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
27734 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
27735 d
= PyModule_GetDict(m
);
27738 for (i
= 0; swig_types_initial
[i
]; i
++) {
27739 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
27743 SWIG_InstallConstants(d
,swig_const_table
);
27747 // initoglbasicc();
27748 // initoglshapesc();
27749 // initoglshapes2c();
27750 // initoglcanvasc();
27753 wxPyPtrTypeMap_Add("wxControlPoint", "wxPyControlPoint");
27754 wxPyPtrTypeMap_Add("wxShapeCanvas", "wxPyShapeCanvas");
27755 wxPyPtrTypeMap_Add("wxShapeEvtHandler", "wxPyShapeEvtHandler");
27756 wxPyPtrTypeMap_Add("wxShape", "wxPyShape");
27757 wxPyPtrTypeMap_Add("wxRectangleShape", "wxPyRectangleShape");
27758 wxPyPtrTypeMap_Add("wxDrawnShape", "wxPyDrawnShape");
27759 wxPyPtrTypeMap_Add("wxCompositeShape", "wxPyCompositeShape");
27760 wxPyPtrTypeMap_Add("wxDividedShape", "wxPyDividedShape");
27761 wxPyPtrTypeMap_Add("wxDivisionShape", "wxPyDivisionShape");
27762 wxPyPtrTypeMap_Add("wxEllipseShape", "wxPyEllipseShape");
27763 wxPyPtrTypeMap_Add("wxCircleShape", "wxPyCircleShape");
27764 wxPyPtrTypeMap_Add("wxLineShape", "wxPyLineShape");
27765 wxPyPtrTypeMap_Add("wxPolygonShape", "wxPyPolygonShape");
27766 wxPyPtrTypeMap_Add("wxTextShape", "wxPyTextShape");