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 *);
124 /***********************************************************************
125 * pyrun.swg for wxPython
127 * Include only the function prototypes and such from SWIG's pyrun.swg,
128 * but not the runtime functions themselves. This helps keep the
129 * wrapper files clean of unnecessary stuff that is in the libpy.c file
132 ************************************************************************/
141 #define SWIG_PY_INT 1
142 #define SWIG_PY_FLOAT 2
143 #define SWIG_PY_STRING 3
144 #define SWIG_PY_POINTER 4
145 #define SWIG_PY_BINARY 5
147 /* Flags for pointer conversion */
149 #define SWIG_POINTER_EXCEPTION 0x1
150 #define SWIG_POINTER_DISOWN 0x2
152 /* Exception handling in wrappers */
153 #define SWIG_fail goto fail
155 /* Constant information structure */
156 typedef struct swig_const_info
{
162 swig_type_info
**ptype
;
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_PackData(c, ptr, sz) \
183 SWIG_Python_PackData(c, ptr, sz)
184 #define SWIG_UnpackData(c, ptr, sz) \
185 SWIG_Python_UnpackData(c, ptr, sz)
186 #define SWIG_NewPackedObj(ptr, sz, type) \
187 SWIG_Python_NewPackedObj(ptr, sz, type)
188 #define SWIG_InstallConstants(d, constants) \
189 SWIG_Python_InstallConstants(d, constants)
192 SWIGEXPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
193 SWIGEXPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
194 SWIGEXPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
196 SWIGEXPORT(PyObject
*) SWIG_Python_newvarlink(void);
197 SWIGEXPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
198 SWIGEXPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
199 SWIGEXPORT(char *) SWIG_Python_PackData(char *c
, void *, int);
200 SWIGEXPORT(char *) SWIG_Python_UnpackData(char *c
, void *, int);
201 SWIGEXPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
202 SWIGEXPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
205 /* Contract support */
207 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
216 /* -------- TYPES TABLE (BEGIN) -------- */
218 #define SWIGTYPE_p_wxOGLConstraint swig_types[0]
219 #define SWIGTYPE_p_wxBrush swig_types[1]
220 #define SWIGTYPE_p_wxColour swig_types[2]
221 #define SWIGTYPE_p_wxShapeRegion swig_types[3]
222 #define SWIGTYPE_p_wxDC swig_types[4]
223 #define SWIGTYPE_p_wxRealPoint swig_types[5]
224 #define SWIGTYPE_p_wxPyControlPoint swig_types[6]
225 #define SWIGTYPE_p_wxArrowHead swig_types[7]
226 #define SWIGTYPE_p_wxStringList swig_types[8]
227 #define SWIGTYPE_p_wxPanel swig_types[9]
228 #define SWIGTYPE_p_bool swig_types[10]
229 #define SWIGTYPE_p_wxList swig_types[11]
230 #define SWIGTYPE_p_wxFont swig_types[12]
231 #define SWIGTYPE_p_wxScrolledWindow swig_types[13]
232 #define SWIGTYPE_p_wxWindow swig_types[14]
233 #define SWIGTYPE_p_double swig_types[15]
234 #define SWIGTYPE_p_wxPyDivisionShape swig_types[16]
235 #define SWIGTYPE_p_wxPyDrawnShape swig_types[17]
236 #define SWIGTYPE_p_wxPyPolygonShape swig_types[18]
237 #define SWIGTYPE_p_wxBitmap swig_types[19]
238 #define SWIGTYPE_p_wxObject swig_types[20]
239 #define SWIGTYPE_p_wxPyBitmapShape swig_types[21]
240 #define SWIGTYPE_p_wxString swig_types[22]
241 #define SWIGTYPE_p_wxPyShapeEvtHandler swig_types[23]
242 #define SWIGTYPE_p_wxEvtHandler swig_types[24]
243 #define SWIGTYPE_p_wxPyEllipseShape swig_types[25]
244 #define SWIGTYPE_p_wxPyShapeCanvas swig_types[26]
245 #define SWIGTYPE_p_wxPoint swig_types[27]
246 #define SWIGTYPE_p_wxDiagram swig_types[28]
247 #define SWIGTYPE_p_wxPyShape swig_types[29]
248 #define SWIGTYPE_p_wxClassInfo swig_types[30]
249 #define SWIGTYPE_p_wxPyLineShape swig_types[31]
250 #define SWIGTYPE_p_wxPyRectangleShape swig_types[32]
251 #define SWIGTYPE_p_wxPyCompositeShape swig_types[33]
252 #define SWIGTYPE_p_wxPyCircleShape swig_types[34]
253 #define SWIGTYPE_p_wxPen swig_types[35]
254 #define SWIGTYPE_p_int swig_types[36]
255 #define SWIGTYPE_p_wxPseudoMetaFile swig_types[37]
256 #define SWIGTYPE_p_wxPyTextShape swig_types[38]
257 #define SWIGTYPE_p_wxPyDividedShape swig_types[39]
258 static swig_type_info
*swig_types
[41];
260 /* -------- TYPES TABLE (END) -------- */
263 /*-----------------------------------------------
265 ------------------------------------------------*/
266 #define SWIG_init init_ogl
268 #define SWIG_name "_ogl"
270 #include "wx/wxPython/wxPython.h"
271 #include "wx/wxPython/pyclasses.h"
272 #include "oglhelpers.h"
275 static const wxString
wxPyEmptyString(wxT(""));
278 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
284 } else if (target
== Py_None
) {
288 if (!PyTuple_Check(target
)) {
290 target
= PyTuple_New(1);
291 PyTuple_SetItem(target
, 0, o2
);
294 PyTuple_SetItem(o3
, 0, o
);
297 target
= PySequence_Concat(o2
, o3
);
305 WXSHAPE_IMP_CALLBACKS(wxPyShapeEvtHandler
,wxShapeEvtHandler
);
307 void wxPyShapeEvtHandler__setOORInfo(wxPyShapeEvtHandler
*self
,PyObject
*_self
){
308 self
->SetClientObject(new wxPyOORClientData(_self
));
311 WXSHAPE_IMP_CALLBACKS(wxPyShape
, wxShape
);
313 PyObject
*wxPyShape_GetChildren(wxPyShape
*self
){
314 wxList
& list
= self
->GetChildren();
315 return wxPy_ConvertShapeList(&list
);
317 PyObject
*wxPyShape_GetLines(wxPyShape
*self
){
318 wxList
& list
= self
->GetLines();
319 return wxPy_ConvertShapeList(&list
);
321 PyObject
*wxPyShape_GetRegions(wxPyShape
*self
){
322 wxList
& list
= self
->GetRegions();
323 return wxPy_ConvertList(&list
);
325 void wxPyShape_ApplyAttachmentOrdering(wxPyShape
*self
,PyObject
*linesToSort
){
326 wxList
* list
= wxPy_wxListHelper(linesToSort
, wxT("wxPyLineShape"));
327 self
->ApplyAttachmentOrdering(*list
);
331 // Using this macro can sometimes provoke an Internal Compiler Error in MSVC
332 // 6, so instead I'l just expand it out by hand...
333 // WXSHAPE_IMP_CALLBACKS(wxPyRectangleShape, wxRectangleShape);
335 IMP_PYCALLBACK__ (wxPyRectangleShape
, wxRectangleShape
, OnDelete
);
336 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnDraw
);
337 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnDrawContents
);
338 IMP_PYCALLBACK__DCBOOL (wxPyRectangleShape
, wxRectangleShape
, OnDrawBranches
);
339 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnMoveLinks
);
340 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnErase
);
341 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnEraseContents
);
342 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnHighlight
);
343 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnLeftClick
);
344 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnLeftDoubleClick
);
345 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnRightClick
);
346 IMP_PYCALLBACK__2DBL (wxPyRectangleShape
, wxRectangleShape
, OnSize
);
347 IMP_PYCALLBACK_BOOL_DC4DBLBOOL (wxPyRectangleShape
, wxRectangleShape
, OnMovePre
);
348 IMP_PYCALLBACK__DC4DBLBOOL (wxPyRectangleShape
, wxRectangleShape
, OnMovePost
);
349 IMP_PYCALLBACK__BOOL2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnDragLeft
);
350 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnBeginDragLeft
);
351 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnEndDragLeft
);
352 IMP_PYCALLBACK__BOOL2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnDragRight
);
353 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnBeginDragRight
);
354 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnEndDragRight
);
355 IMP_PYCALLBACK__DC4DBL (wxPyRectangleShape
, wxRectangleShape
, OnDrawOutline
);
356 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnDrawControlPoints
);
357 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnEraseControlPoints
);
358 IMP_PYCALLBACK__DCBOOL (wxPyRectangleShape
, wxRectangleShape
, OnMoveLink
);
359 IMP_PYCALLBACK__WXCPBOOL2DBL2INT(wxPyRectangleShape
, wxRectangleShape
, OnSizingDragLeft
);
360 IMP_PYCALLBACK__WXCP2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnSizingBeginDragLeft
);
361 IMP_PYCALLBACK__WXCP2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnSizingEndDragLeft
);
362 IMP_PYCALLBACK__2DBL (wxPyRectangleShape
, wxRectangleShape
, OnBeginSize
);
363 IMP_PYCALLBACK__2DBL (wxPyRectangleShape
, wxRectangleShape
, OnEndSize
)
367 WXSHAPE_IMP_CALLBACKS(wxPyControlPoint
, wxControlPoint
);
370 WXSHAPE_IMP_CALLBACKS(wxPyBitmapShape
, wxBitmapShape
);
373 WXSHAPE_IMP_CALLBACKS(wxPyDrawnShape
, wxDrawnShape
);
375 wxOGLConstraint
*new_wxOGLConstraint(int type
,wxPyShape
*constraining
,PyObject
*constrained
){
376 wxList
* list
= wxPy_wxListHelper(constrained
, wxT("wxPyShape"));
377 wxOGLConstraint
* rv
= new wxOGLConstraint(type
, constraining
, *list
);
382 WXSHAPE_IMP_CALLBACKS(wxPyCompositeShape
, wxCompositeShape
);
384 wxOGLConstraint
*wxPyCompositeShape_AddConstrainedShapes(wxPyCompositeShape
*self
,int type
,wxPyShape
*constraining
,PyObject
*constrained
){
385 wxList
* list
= wxPy_wxListHelper(constrained
, wxT("wxPyShape"));
386 wxOGLConstraint
* rv
= self
->AddConstraint(type
, constraining
, *list
);
390 PyObject
*wxPyCompositeShape_GetConstraints(wxPyCompositeShape
*self
){
391 wxList
& list
= self
->GetConstraints();
392 return wxPy_ConvertList(&list
);
394 PyObject
*wxPyCompositeShape_GetDivisions(wxPyCompositeShape
*self
){
395 wxList
& list
= self
->GetDivisions();
396 return wxPy_ConvertShapeList(&list
);
399 WXSHAPE_IMP_CALLBACKS(wxPyDividedShape
, wxDividedShape
);
402 WXSHAPE_IMP_CALLBACKS(wxPyDivisionShape
, wxDivisionShape
);
405 WXSHAPE_IMP_CALLBACKS(wxPyEllipseShape
, wxEllipseShape
);
408 WXSHAPE_IMP_CALLBACKS(wxPyCircleShape
, wxCircleShape
);
411 WXSHAPE_IMP_CALLBACKS(wxPyLineShape
, wxLineShape
);
413 void wxPyLineShape_AddArrowOrdered(wxPyLineShape
*self
,wxArrowHead
*arrow
,PyObject
*referenceList
,int end
){
414 wxList
* list
= wxPy_wxListHelper(referenceList
, wxT("wxArrowHead"));
415 self
->AddArrowOrdered(arrow
, *list
, end
);
418 PyObject
*wxPyLineShape_GetLineControlPoints(wxPyLineShape
*self
){
419 wxList
* list
= self
->GetLineControlPoints();
420 return wxPy_ConvertShapeList(list
);
423 WXSHAPE_IMP_CALLBACKS(wxPyPolygonShape
, wxPolygonShape
);
425 PyObject
*wxPyPolygonShape_Create(wxPyPolygonShape
*self
,PyObject
*points
){
426 wxList
* list
= wxPy_wxRealPoint_ListHelper(points
);
434 PyObject
*wxPyPolygonShape_GetPoints(wxPyPolygonShape
*self
){
435 wxList
* list
= self
->GetPoints();
439 wxNode
* node
= list
->GetFirst();
441 wxPyBeginBlockThreads();
442 pyList
= PyList_New(0);
444 wxObj
= node
->GetData();
445 pyObj
= wxPyConstructObject(wxObj
, wxT("wxRealPoint"), 0);
446 PyList_Append(pyList
, pyObj
);
447 node
= node
->GetNext();
449 wxPyEndBlockThreads();
453 WXSHAPE_IMP_CALLBACKS(wxPyTextShape
, wxTextShape
);
456 // Put some wx default wxChar* values into wxStrings.
457 DECLARE_DEF_STRING(ShapeCanvasNameStr
);
459 PyObject
*wxDiagram_GetShapeList(wxDiagram
*self
){
460 wxList
* list
= self
->GetShapeList();
461 return wxPy_ConvertShapeList(list
);
464 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnBeginDragLeft
);
465 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnBeginDragRight
);
466 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnEndDragLeft
);
467 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnEndDragRight
);
468 IMP_PYCALLBACK__BOOL2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnDragLeft
);
469 IMP_PYCALLBACK__BOOL2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnDragRight
);
470 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnLeftClick
);
471 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnRightClick
);
474 //---------------------------------------------------------------------------
476 // Convert from a Python list to a list of className objects. This one will
477 // work for any class for the VERY generic cases, but beyond that the helper
478 // needs to know more about the type.
479 wxList
* wxPy_wxListHelper(PyObject
* pyList
, const wxChar
* className
) {
480 wxPyBeginBlockThreads();
481 if (!PyList_Check(pyList
)) {
482 PyErr_SetString(PyExc_TypeError
, "Expected a list object.");
483 wxPyEndBlockThreads();
486 int count
= PyList_Size(pyList
);
487 wxList
* list
= new wxList
;
489 PyErr_SetString(PyExc_MemoryError
, "Unable to allocate wxList object");
490 wxPyEndBlockThreads();
493 for (int x
=0; x
<count
; x
++) {
494 PyObject
* pyo
= PyList_GetItem(pyList
, x
);
495 wxObject
* wxo
= NULL
;
497 if ( !wxPyConvertSwigPtr(pyo
, (void **)&wxo
, className
) ) {
499 errmsg
.Printf(wxT("Type error, expected list of %s objects"), className
);
500 PyErr_SetString(PyExc_TypeError
, errmsg
.mb_str());
501 wxPyEndBlockThreads();
506 wxPyEndBlockThreads();
510 //---------------------------------------------------------------------------
512 wxList
* wxPy_wxRealPoint_ListHelper(PyObject
* pyList
) {
513 wxPyBeginBlockThreads();
514 if (!PyList_Check(pyList
)) {
515 PyErr_SetString(PyExc_TypeError
, "Expected a list object.");
516 wxPyEndBlockThreads();
519 int count
= PyList_Size(pyList
);
520 wxList
* list
= new wxList
;
522 PyErr_SetString(PyExc_MemoryError
, "Unable to allocate wxList object");
523 wxPyEndBlockThreads();
526 for (int x
=0; x
<count
; x
++) {
527 PyObject
* pyo
= PyList_GetItem(pyList
, x
);
529 if (PyTuple_Check(pyo
)) {
530 PyObject
* o1
= PyNumber_Float(PyTuple_GetItem(pyo
, 0));
531 PyObject
* o2
= PyNumber_Float(PyTuple_GetItem(pyo
, 1));
533 double val1
= (o1
? PyFloat_AsDouble(o1
) : 0.0);
534 double val2
= (o2
? PyFloat_AsDouble(o2
) : 0.0);
536 list
->Append((wxObject
*) new wxRealPoint(val1
, val2
));
539 wxRealPoint
* wxo
= NULL
;
540 if (wxPyConvertSwigPtr(pyo
, (void **)&wxo
, wxT("wxRealPoint"))) {
541 PyErr_SetString(PyExc_TypeError
, "Type error, expected list of wxRealPoint objects or 2-tuples");
542 wxPyEndBlockThreads();
545 list
->Append((wxObject
*) new wxRealPoint(*wxo
));
548 wxPyEndBlockThreads();
552 //---------------------------------------------------------------------------
554 PyObject
* wxPyMake_wxShapeEvtHandler(wxShapeEvtHandler
* source
) {
555 PyObject
* target
= NULL
;
557 if (source
&& wxIsKindOf(source
, wxShapeEvtHandler
)) {
558 // If it's derived from wxShapeEvtHandler then there may
559 // already be a pointer to a Python object that we can use
561 wxShapeEvtHandler
* seh
= (wxShapeEvtHandler
*)source
;
562 wxPyOORClientData
* data
= (wxPyOORClientData
*)seh
->GetClientObject();
564 target
= data
->m_obj
;
569 target
= wxPyMake_wxObject2(source
, FALSE
);
570 if (target
!= Py_None
)
571 ((wxShapeEvtHandler
*)source
)->SetClientObject(new wxPyOORClientData(target
));
576 //---------------------------------------------------------------------------
578 PyObject
* wxPy_ConvertShapeList(wxListBase
* listbase
) {
579 wxList
* list
= (wxList
*)listbase
;
583 wxNode
* node
= list
->GetFirst();
585 wxPyBeginBlockThreads();
586 pyList
= PyList_New(0);
588 wxObj
= node
->GetData();
589 pyObj
= wxPyMake_wxShapeEvtHandler((wxShapeEvtHandler
*)wxObj
);
590 PyList_Append(pyList
, pyObj
);
591 node
= node
->GetNext();
593 wxPyEndBlockThreads();
598 //---------------------------------------------------------------------------
600 IMPLEMENT_DYNAMIC_CLASS(wxPyShapeCanvas
, wxShapeCanvas
);
601 IMPLEMENT_DYNAMIC_CLASS(wxPyShapeEvtHandler
, wxShapeEvtHandler
);
602 IMPLEMENT_ABSTRACT_CLASS(wxPyShape
, wxShape
);
603 IMPLEMENT_DYNAMIC_CLASS(wxPyRectangleShape
, wxRectangleShape
);
604 IMPLEMENT_DYNAMIC_CLASS(wxPyControlPoint
, wxControlPoint
);
605 IMPLEMENT_DYNAMIC_CLASS(wxPyBitmapShape
, wxBitmapShape
);
606 IMPLEMENT_DYNAMIC_CLASS(wxPyDrawnShape
, wxDrawnShape
);
607 IMPLEMENT_DYNAMIC_CLASS(wxPyCompositeShape
, wxCompositeShape
);
608 IMPLEMENT_DYNAMIC_CLASS(wxPyDividedShape
, wxDividedShape
);
609 IMPLEMENT_DYNAMIC_CLASS(wxPyDivisionShape
, wxDivisionShape
);
610 IMPLEMENT_DYNAMIC_CLASS(wxPyEllipseShape
, wxEllipseShape
);
611 IMPLEMENT_DYNAMIC_CLASS(wxPyCircleShape
, wxCircleShape
);
612 IMPLEMENT_DYNAMIC_CLASS(wxPyLineShape
, wxLineShape
);
613 IMPLEMENT_DYNAMIC_CLASS(wxPyPolygonShape
, wxPolygonShape
);
614 IMPLEMENT_DYNAMIC_CLASS(wxPyTextShape
, wxTextShape
);
616 //---------------------------------------------------------------------------
618 // extern "C" SWIGEXPORT(void) initoglbasicc();
619 // extern "C" SWIGEXPORT(void) initoglshapesc();
620 // extern "C" SWIGEXPORT(void) initoglshapes2c();
621 // extern "C" SWIGEXPORT(void) initoglcanvasc();
626 static PyObject
*_wrap_new_ShapeRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
628 wxShapeRegion
*result
;
633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ShapeRegion",kwnames
)) goto fail
;
635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
636 result
= (wxShapeRegion
*)new wxShapeRegion();
638 wxPyEndAllowThreads(__tstate
);
639 if (PyErr_Occurred()) SWIG_fail
;
641 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxShapeRegion
, 1);
648 static PyObject
*_wrap_ShapeRegion_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
650 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
653 PyObject
* obj0
= 0 ;
654 PyObject
* obj1
= 0 ;
656 (char *) "self",(char *) "s", NULL
659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
662 arg2
= wxString_in_helper(obj1
);
663 if (arg2
== NULL
) SWIG_fail
;
667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
668 (arg1
)->SetText((wxString
const &)*arg2
);
670 wxPyEndAllowThreads(__tstate
);
671 if (PyErr_Occurred()) SWIG_fail
;
673 Py_INCREF(Py_None
); resultobj
= Py_None
;
688 static PyObject
*_wrap_ShapeRegion_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
690 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
691 wxFont
*arg2
= (wxFont
*) 0 ;
692 PyObject
* obj0
= 0 ;
693 PyObject
* obj1
= 0 ;
695 (char *) "self",(char *) "f", NULL
698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
703 if (obj1
== Py_None
) {
706 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxFont"))) {
707 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxFont.");
712 arg2
= wxTheFontList
->FindOrCreateFont(temp
->GetPointSize(),
716 temp
->GetUnderlined(),
718 temp
->GetEncoding());
723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
724 (arg1
)->SetFont(arg2
);
726 wxPyEndAllowThreads(__tstate
);
727 if (PyErr_Occurred()) SWIG_fail
;
729 Py_INCREF(Py_None
); resultobj
= Py_None
;
736 static PyObject
*_wrap_ShapeRegion_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
738 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
741 PyObject
* obj0
= 0 ;
743 (char *) "self",(char *) "w",(char *) "h", NULL
746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:ShapeRegion_SetMinSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
747 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
750 (arg1
)->SetMinSize(arg2
,arg3
);
752 wxPyEndAllowThreads(__tstate
);
753 if (PyErr_Occurred()) SWIG_fail
;
755 Py_INCREF(Py_None
); resultobj
= Py_None
;
762 static PyObject
*_wrap_ShapeRegion_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
764 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
767 PyObject
* obj0
= 0 ;
769 (char *) "self",(char *) "w",(char *) "h", NULL
772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:ShapeRegion_SetSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
773 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
776 (arg1
)->SetSize(arg2
,arg3
);
778 wxPyEndAllowThreads(__tstate
);
779 if (PyErr_Occurred()) SWIG_fail
;
781 Py_INCREF(Py_None
); resultobj
= Py_None
;
788 static PyObject
*_wrap_ShapeRegion_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
790 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
793 PyObject
* obj0
= 0 ;
795 (char *) "self",(char *) "x",(char *) "y", NULL
798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:ShapeRegion_SetPosition",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
799 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
802 (arg1
)->SetPosition(arg2
,arg3
);
804 wxPyEndAllowThreads(__tstate
);
805 if (PyErr_Occurred()) SWIG_fail
;
807 Py_INCREF(Py_None
); resultobj
= Py_None
;
814 static PyObject
*_wrap_ShapeRegion_SetProportions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
816 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
819 PyObject
* obj0
= 0 ;
821 (char *) "self",(char *) "x",(char *) "y", NULL
824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:ShapeRegion_SetProportions",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
825 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
828 (arg1
)->SetProportions(arg2
,arg3
);
830 wxPyEndAllowThreads(__tstate
);
831 if (PyErr_Occurred()) SWIG_fail
;
833 Py_INCREF(Py_None
); resultobj
= Py_None
;
840 static PyObject
*_wrap_ShapeRegion_SetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
842 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
844 PyObject
* obj0
= 0 ;
846 (char *) "self",(char *) "mode", NULL
849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ShapeRegion_SetFormatMode",kwnames
,&obj0
,&arg2
)) goto fail
;
850 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
853 (arg1
)->SetFormatMode(arg2
);
855 wxPyEndAllowThreads(__tstate
);
856 if (PyErr_Occurred()) SWIG_fail
;
858 Py_INCREF(Py_None
); resultobj
= Py_None
;
865 static PyObject
*_wrap_ShapeRegion_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
867 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
870 PyObject
* obj0
= 0 ;
871 PyObject
* obj1
= 0 ;
873 (char *) "self",(char *) "s", NULL
876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
879 arg2
= wxString_in_helper(obj1
);
880 if (arg2
== NULL
) SWIG_fail
;
884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
885 (arg1
)->SetName((wxString
const &)*arg2
);
887 wxPyEndAllowThreads(__tstate
);
888 if (PyErr_Occurred()) SWIG_fail
;
890 Py_INCREF(Py_None
); resultobj
= Py_None
;
905 static PyObject
*_wrap_ShapeRegion_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
907 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
910 PyObject
* obj0
= 0 ;
911 PyObject
* obj1
= 0 ;
913 (char *) "self",(char *) "col", NULL
916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
917 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
919 arg2
= wxString_in_helper(obj1
);
920 if (arg2
== NULL
) SWIG_fail
;
924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
925 (arg1
)->SetColour((wxString
const &)*arg2
);
927 wxPyEndAllowThreads(__tstate
);
928 if (PyErr_Occurred()) SWIG_fail
;
930 Py_INCREF(Py_None
); resultobj
= Py_None
;
945 static PyObject
*_wrap_ShapeRegion_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
947 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
949 PyObject
* obj0
= 0 ;
951 (char *) "self", NULL
954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetText",kwnames
,&obj0
)) goto fail
;
955 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
958 result
= (arg1
)->GetText();
960 wxPyEndAllowThreads(__tstate
);
961 if (PyErr_Occurred()) SWIG_fail
;
965 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
967 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
976 static PyObject
*_wrap_ShapeRegion_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
978 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
980 PyObject
* obj0
= 0 ;
982 (char *) "self", NULL
985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetFont",kwnames
,&obj0
)) goto fail
;
986 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
989 result
= (wxFont
*)(arg1
)->GetFont();
991 wxPyEndAllowThreads(__tstate
);
992 if (PyErr_Occurred()) SWIG_fail
;
994 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
1001 static PyObject
*_wrap_ShapeRegion_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1002 PyObject
*resultobj
;
1003 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1004 double *arg2
= (double *) 0 ;
1005 double *arg3
= (double *) 0 ;
1008 PyObject
* obj0
= 0 ;
1010 (char *) "self", NULL
1015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetMinSize",kwnames
,&obj0
)) goto fail
;
1016 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1019 (arg1
)->GetMinSize(arg2
,arg3
);
1021 wxPyEndAllowThreads(__tstate
);
1022 if (PyErr_Occurred()) SWIG_fail
;
1024 Py_INCREF(Py_None
); resultobj
= Py_None
;
1026 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
1027 resultobj
= t_output_helper(resultobj
,o
);
1030 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
1031 resultobj
= t_output_helper(resultobj
,o
);
1039 static PyObject
*_wrap_ShapeRegion_GetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1040 PyObject
*resultobj
;
1041 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1042 double *arg2
= (double *) 0 ;
1043 double *arg3
= (double *) 0 ;
1046 PyObject
* obj0
= 0 ;
1048 (char *) "self", NULL
1053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetProportion",kwnames
,&obj0
)) goto fail
;
1054 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1057 (arg1
)->GetProportion(arg2
,arg3
);
1059 wxPyEndAllowThreads(__tstate
);
1060 if (PyErr_Occurred()) SWIG_fail
;
1062 Py_INCREF(Py_None
); resultobj
= Py_None
;
1064 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
1065 resultobj
= t_output_helper(resultobj
,o
);
1068 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
1069 resultobj
= t_output_helper(resultobj
,o
);
1077 static PyObject
*_wrap_ShapeRegion_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1078 PyObject
*resultobj
;
1079 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1080 double *arg2
= (double *) 0 ;
1081 double *arg3
= (double *) 0 ;
1084 PyObject
* obj0
= 0 ;
1086 (char *) "self", NULL
1091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetSize",kwnames
,&obj0
)) goto fail
;
1092 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1095 (arg1
)->GetSize(arg2
,arg3
);
1097 wxPyEndAllowThreads(__tstate
);
1098 if (PyErr_Occurred()) SWIG_fail
;
1100 Py_INCREF(Py_None
); resultobj
= Py_None
;
1102 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
1103 resultobj
= t_output_helper(resultobj
,o
);
1106 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
1107 resultobj
= t_output_helper(resultobj
,o
);
1115 static PyObject
*_wrap_ShapeRegion_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1116 PyObject
*resultobj
;
1117 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1118 double *arg2
= (double *) 0 ;
1119 double *arg3
= (double *) 0 ;
1122 PyObject
* obj0
= 0 ;
1124 (char *) "self", NULL
1129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetPosition",kwnames
,&obj0
)) goto fail
;
1130 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1133 (arg1
)->GetPosition(arg2
,arg3
);
1135 wxPyEndAllowThreads(__tstate
);
1136 if (PyErr_Occurred()) SWIG_fail
;
1138 Py_INCREF(Py_None
); resultobj
= Py_None
;
1140 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
1141 resultobj
= t_output_helper(resultobj
,o
);
1144 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
1145 resultobj
= t_output_helper(resultobj
,o
);
1153 static PyObject
*_wrap_ShapeRegion_GetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1154 PyObject
*resultobj
;
1155 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1157 PyObject
* obj0
= 0 ;
1159 (char *) "self", NULL
1162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetFormatMode",kwnames
,&obj0
)) goto fail
;
1163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1166 result
= (int)(arg1
)->GetFormatMode();
1168 wxPyEndAllowThreads(__tstate
);
1169 if (PyErr_Occurred()) SWIG_fail
;
1171 resultobj
= PyInt_FromLong((long)result
);
1178 static PyObject
*_wrap_ShapeRegion_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1179 PyObject
*resultobj
;
1180 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1182 PyObject
* obj0
= 0 ;
1184 (char *) "self", NULL
1187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetName",kwnames
,&obj0
)) goto fail
;
1188 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1191 result
= (arg1
)->GetName();
1193 wxPyEndAllowThreads(__tstate
);
1194 if (PyErr_Occurred()) SWIG_fail
;
1198 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1200 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1209 static PyObject
*_wrap_ShapeRegion_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1210 PyObject
*resultobj
;
1211 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1213 PyObject
* obj0
= 0 ;
1215 (char *) "self", NULL
1218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetColour",kwnames
,&obj0
)) goto fail
;
1219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1222 result
= (arg1
)->GetColour();
1224 wxPyEndAllowThreads(__tstate
);
1225 if (PyErr_Occurred()) SWIG_fail
;
1229 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1231 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1240 static PyObject
*_wrap_ShapeRegion_GetActualColourObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1241 PyObject
*resultobj
;
1242 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1244 PyObject
* obj0
= 0 ;
1246 (char *) "self", NULL
1249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetActualColourObject",kwnames
,&obj0
)) goto fail
;
1250 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1253 result
= (wxColour
*)(arg1
)->GetActualColourObject();
1255 wxPyEndAllowThreads(__tstate
);
1256 if (PyErr_Occurred()) SWIG_fail
;
1258 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
1265 static PyObject
*_wrap_ShapeRegion_GetFormattedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1266 PyObject
*resultobj
;
1267 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1269 PyObject
* obj0
= 0 ;
1271 (char *) "self", NULL
1274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetFormattedText",kwnames
,&obj0
)) goto fail
;
1275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1279 wxList
&_result_ref
= (arg1
)->GetFormattedText();
1280 result
= (wxList
*) &_result_ref
;
1283 wxPyEndAllowThreads(__tstate
);
1284 if (PyErr_Occurred()) SWIG_fail
;
1286 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxList
, 0);
1293 static PyObject
*_wrap_ShapeRegion_GetPenColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1294 PyObject
*resultobj
;
1295 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1297 PyObject
* obj0
= 0 ;
1299 (char *) "self", NULL
1302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetPenColour",kwnames
,&obj0
)) goto fail
;
1303 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1306 result
= (arg1
)->GetPenColour();
1308 wxPyEndAllowThreads(__tstate
);
1309 if (PyErr_Occurred()) SWIG_fail
;
1313 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1315 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1324 static PyObject
*_wrap_ShapeRegion_GetPenStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1325 PyObject
*resultobj
;
1326 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1328 PyObject
* obj0
= 0 ;
1330 (char *) "self", NULL
1333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetPenStyle",kwnames
,&obj0
)) goto fail
;
1334 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1337 result
= (int)(arg1
)->GetPenStyle();
1339 wxPyEndAllowThreads(__tstate
);
1340 if (PyErr_Occurred()) SWIG_fail
;
1342 resultobj
= PyInt_FromLong((long)result
);
1349 static PyObject
*_wrap_ShapeRegion_SetPenStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1350 PyObject
*resultobj
;
1351 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1353 PyObject
* obj0
= 0 ;
1355 (char *) "self",(char *) "style", NULL
1358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ShapeRegion_SetPenStyle",kwnames
,&obj0
,&arg2
)) goto fail
;
1359 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1362 (arg1
)->SetPenStyle(arg2
);
1364 wxPyEndAllowThreads(__tstate
);
1365 if (PyErr_Occurred()) SWIG_fail
;
1367 Py_INCREF(Py_None
); resultobj
= Py_None
;
1374 static PyObject
*_wrap_ShapeRegion_SetPenColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1375 PyObject
*resultobj
;
1376 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1377 wxString
*arg2
= 0 ;
1378 bool temp2
= False
;
1379 PyObject
* obj0
= 0 ;
1380 PyObject
* obj1
= 0 ;
1382 (char *) "self",(char *) "col", NULL
1385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetPenColour",kwnames
,&obj0
,&obj1
)) goto fail
;
1386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1388 arg2
= wxString_in_helper(obj1
);
1389 if (arg2
== NULL
) SWIG_fail
;
1393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1394 (arg1
)->SetPenColour((wxString
const &)*arg2
);
1396 wxPyEndAllowThreads(__tstate
);
1397 if (PyErr_Occurred()) SWIG_fail
;
1399 Py_INCREF(Py_None
); resultobj
= Py_None
;
1414 static PyObject
*_wrap_ShapeRegion_GetActualPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1415 PyObject
*resultobj
;
1416 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1418 PyObject
* obj0
= 0 ;
1420 (char *) "self", NULL
1423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetActualPen",kwnames
,&obj0
)) goto fail
;
1424 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1427 result
= (wxPen
*)(arg1
)->GetActualPen();
1429 wxPyEndAllowThreads(__tstate
);
1430 if (PyErr_Occurred()) SWIG_fail
;
1432 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPen
, 0);
1439 static PyObject
*_wrap_ShapeRegion_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1440 PyObject
*resultobj
;
1441 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1443 PyObject
* obj0
= 0 ;
1445 (char *) "self", NULL
1448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetWidth",kwnames
,&obj0
)) goto fail
;
1449 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1452 result
= (double)(arg1
)->GetWidth();
1454 wxPyEndAllowThreads(__tstate
);
1455 if (PyErr_Occurred()) SWIG_fail
;
1457 resultobj
= PyFloat_FromDouble(result
);
1464 static PyObject
*_wrap_ShapeRegion_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1465 PyObject
*resultobj
;
1466 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1468 PyObject
* obj0
= 0 ;
1470 (char *) "self", NULL
1473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetHeight",kwnames
,&obj0
)) goto fail
;
1474 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1477 result
= (double)(arg1
)->GetHeight();
1479 wxPyEndAllowThreads(__tstate
);
1480 if (PyErr_Occurred()) SWIG_fail
;
1482 resultobj
= PyFloat_FromDouble(result
);
1489 static PyObject
*_wrap_ShapeRegion_ClearText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1490 PyObject
*resultobj
;
1491 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1492 PyObject
* obj0
= 0 ;
1494 (char *) "self", NULL
1497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_ClearText",kwnames
,&obj0
)) goto fail
;
1498 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1501 (arg1
)->ClearText();
1503 wxPyEndAllowThreads(__tstate
);
1504 if (PyErr_Occurred()) SWIG_fail
;
1506 Py_INCREF(Py_None
); resultobj
= Py_None
;
1513 static PyObject
* ShapeRegion_swigregister(PyObject
*self
, PyObject
*args
) {
1515 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1516 SWIG_TypeClientData(SWIGTYPE_p_wxShapeRegion
, obj
);
1518 return Py_BuildValue((char *)"");
1520 static PyObject
*_wrap_new_PyShapeEvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1521 PyObject
*resultobj
;
1522 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) NULL
;
1523 wxPyShape
*arg2
= (wxPyShape
*) NULL
;
1524 wxPyShapeEvtHandler
*result
;
1525 PyObject
* obj0
= 0 ;
1526 PyObject
* obj1
= 0 ;
1528 (char *) "prev",(char *) "shape", NULL
1531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyShapeEvtHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
1533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1536 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1540 result
= (wxPyShapeEvtHandler
*)new wxPyShapeEvtHandler(arg1
,arg2
);
1542 wxPyEndAllowThreads(__tstate
);
1543 if (PyErr_Occurred()) SWIG_fail
;
1546 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
1554 static PyObject
*_wrap_PyShapeEvtHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1555 PyObject
*resultobj
;
1556 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
1557 PyObject
*arg2
= (PyObject
*) 0 ;
1558 PyObject
*arg3
= (PyObject
*) 0 ;
1559 PyObject
* obj0
= 0 ;
1560 PyObject
* obj1
= 0 ;
1561 PyObject
* obj2
= 0 ;
1563 (char *) "self",(char *) "self",(char *) "_class", NULL
1566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeEvtHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1567 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1572 (arg1
)->_setCallbackInfo(arg2
,arg3
);
1574 wxPyEndAllowThreads(__tstate
);
1575 if (PyErr_Occurred()) SWIG_fail
;
1577 Py_INCREF(Py_None
); resultobj
= Py_None
;
1584 static PyObject
*_wrap_PyShapeEvtHandler__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1585 PyObject
*resultobj
;
1586 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
1587 PyObject
*arg2
= (PyObject
*) 0 ;
1588 PyObject
* obj0
= 0 ;
1589 PyObject
* obj1
= 0 ;
1591 (char *) "self",(char *) "_self", NULL
1594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
1595 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1599 wxPyShapeEvtHandler__setOORInfo(arg1
,arg2
);
1601 wxPyEndAllowThreads(__tstate
);
1602 if (PyErr_Occurred()) SWIG_fail
;
1604 Py_INCREF(Py_None
); resultobj
= Py_None
;
1611 static PyObject
*_wrap_PyShapeEvtHandler_SetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1612 PyObject
*resultobj
;
1613 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
1614 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
1615 PyObject
* obj0
= 0 ;
1616 PyObject
* obj1
= 0 ;
1618 (char *) "self",(char *) "sh", NULL
1621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
1622 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1623 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1626 (arg1
)->SetShape(arg2
);
1628 wxPyEndAllowThreads(__tstate
);
1629 if (PyErr_Occurred()) SWIG_fail
;
1631 Py_INCREF(Py_None
); resultobj
= Py_None
;
1638 static PyObject
*_wrap_PyShapeEvtHandler_GetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1639 PyObject
*resultobj
;
1640 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
1642 PyObject
* obj0
= 0 ;
1644 (char *) "self", NULL
1647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeEvtHandler_GetShape",kwnames
,&obj0
)) goto fail
;
1648 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1651 result
= (wxPyShape
*)(arg1
)->GetShape();
1653 wxPyEndAllowThreads(__tstate
);
1654 if (PyErr_Occurred()) SWIG_fail
;
1657 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
1665 static PyObject
*_wrap_PyShapeEvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1666 PyObject
*resultobj
;
1667 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
1668 wxPyShapeEvtHandler
*arg2
= (wxPyShapeEvtHandler
*) 0 ;
1669 PyObject
* obj0
= 0 ;
1670 PyObject
* obj1
= 0 ;
1672 (char *) "self",(char *) "handler", NULL
1675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
1676 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1677 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1680 (arg1
)->SetPreviousHandler(arg2
);
1682 wxPyEndAllowThreads(__tstate
);
1683 if (PyErr_Occurred()) SWIG_fail
;
1685 Py_INCREF(Py_None
); resultobj
= Py_None
;
1692 static PyObject
*_wrap_PyShapeEvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1693 PyObject
*resultobj
;
1694 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
1695 wxPyShapeEvtHandler
*result
;
1696 PyObject
* obj0
= 0 ;
1698 (char *) "self", NULL
1701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeEvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
1702 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1705 result
= (wxPyShapeEvtHandler
*)(arg1
)->GetPreviousHandler();
1707 wxPyEndAllowThreads(__tstate
);
1708 if (PyErr_Occurred()) SWIG_fail
;
1711 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
1719 static PyObject
*_wrap_PyShapeEvtHandler_CreateNewCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1720 PyObject
*resultobj
;
1721 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
1722 wxPyShapeEvtHandler
*result
;
1723 PyObject
* obj0
= 0 ;
1725 (char *) "self", NULL
1728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeEvtHandler_CreateNewCopy",kwnames
,&obj0
)) goto fail
;
1729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1732 result
= (wxPyShapeEvtHandler
*)(arg1
)->CreateNewCopy();
1734 wxPyEndAllowThreads(__tstate
);
1735 if (PyErr_Occurred()) SWIG_fail
;
1738 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
1746 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1747 PyObject
*resultobj
;
1748 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
1749 PyObject
* obj0
= 0 ;
1751 (char *) "self", NULL
1754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeEvtHandler_base_OnDelete",kwnames
,&obj0
)) goto fail
;
1755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1758 (arg1
)->base_OnDelete();
1760 wxPyEndAllowThreads(__tstate
);
1761 if (PyErr_Occurred()) SWIG_fail
;
1763 Py_INCREF(Py_None
); resultobj
= Py_None
;
1770 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1771 PyObject
*resultobj
;
1772 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
1774 PyObject
* obj0
= 0 ;
1775 PyObject
* obj1
= 0 ;
1777 (char *) "self",(char *) "dc", NULL
1780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
1781 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1782 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1784 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1788 (arg1
)->base_OnDraw(*arg2
);
1790 wxPyEndAllowThreads(__tstate
);
1791 if (PyErr_Occurred()) SWIG_fail
;
1793 Py_INCREF(Py_None
); resultobj
= Py_None
;
1800 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1801 PyObject
*resultobj
;
1802 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
1804 PyObject
* obj0
= 0 ;
1805 PyObject
* obj1
= 0 ;
1807 (char *) "self",(char *) "dc", NULL
1810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
1811 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1812 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1814 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1818 (arg1
)->base_OnDrawContents(*arg2
);
1820 wxPyEndAllowThreads(__tstate
);
1821 if (PyErr_Occurred()) SWIG_fail
;
1823 Py_INCREF(Py_None
); resultobj
= Py_None
;
1830 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1831 PyObject
*resultobj
;
1832 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
1834 bool arg3
= (bool) False
;
1835 PyObject
* obj0
= 0 ;
1836 PyObject
* obj1
= 0 ;
1837 PyObject
* obj2
= 0 ;
1839 (char *) "self",(char *) "dc",(char *) "erase", NULL
1842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShapeEvtHandler_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1844 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1846 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1849 arg3
= PyInt_AsLong(obj2
) ? true : false;
1850 if (PyErr_Occurred()) SWIG_fail
;
1853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1854 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
1856 wxPyEndAllowThreads(__tstate
);
1857 if (PyErr_Occurred()) SWIG_fail
;
1859 Py_INCREF(Py_None
); resultobj
= Py_None
;
1866 static PyObject
*_wrap_PyShapeEvtHandler_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1867 PyObject
*resultobj
;
1868 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
1870 PyObject
* obj0
= 0 ;
1871 PyObject
* obj1
= 0 ;
1873 (char *) "self",(char *) "dc", NULL
1876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
1877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1878 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1880 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1884 (arg1
)->base_OnMoveLinks(*arg2
);
1886 wxPyEndAllowThreads(__tstate
);
1887 if (PyErr_Occurred()) SWIG_fail
;
1889 Py_INCREF(Py_None
); resultobj
= Py_None
;
1896 static PyObject
*_wrap_PyShapeEvtHandler_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1897 PyObject
*resultobj
;
1898 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
1900 PyObject
* obj0
= 0 ;
1901 PyObject
* obj1
= 0 ;
1903 (char *) "self",(char *) "dc", NULL
1906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
1907 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1908 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1910 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1914 (arg1
)->base_OnErase(*arg2
);
1916 wxPyEndAllowThreads(__tstate
);
1917 if (PyErr_Occurred()) SWIG_fail
;
1919 Py_INCREF(Py_None
); resultobj
= Py_None
;
1926 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1927 PyObject
*resultobj
;
1928 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
1930 PyObject
* obj0
= 0 ;
1931 PyObject
* obj1
= 0 ;
1933 (char *) "self",(char *) "dc", NULL
1936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
1937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1938 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1940 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1944 (arg1
)->base_OnEraseContents(*arg2
);
1946 wxPyEndAllowThreads(__tstate
);
1947 if (PyErr_Occurred()) SWIG_fail
;
1949 Py_INCREF(Py_None
); resultobj
= Py_None
;
1956 static PyObject
*_wrap_PyShapeEvtHandler_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1957 PyObject
*resultobj
;
1958 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
1960 PyObject
* obj0
= 0 ;
1961 PyObject
* obj1
= 0 ;
1963 (char *) "self",(char *) "dc", NULL
1966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
1967 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1968 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1970 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1974 (arg1
)->base_OnHighlight(*arg2
);
1976 wxPyEndAllowThreads(__tstate
);
1977 if (PyErr_Occurred()) SWIG_fail
;
1979 Py_INCREF(Py_None
); resultobj
= Py_None
;
1986 static PyObject
*_wrap_PyShapeEvtHandler_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1987 PyObject
*resultobj
;
1988 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
1991 int arg4
= (int) 0 ;
1992 int arg5
= (int) 0 ;
1993 PyObject
* obj0
= 0 ;
1995 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
1998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyShapeEvtHandler_base_OnLeftClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
1999 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2002 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
2004 wxPyEndAllowThreads(__tstate
);
2005 if (PyErr_Occurred()) SWIG_fail
;
2007 Py_INCREF(Py_None
); resultobj
= Py_None
;
2014 static PyObject
*_wrap_PyShapeEvtHandler_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2015 PyObject
*resultobj
;
2016 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2019 int arg4
= (int) 0 ;
2020 int arg5
= (int) 0 ;
2021 PyObject
* obj0
= 0 ;
2023 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyShapeEvtHandler_base_OnLeftDoubleClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
2027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2030 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
2032 wxPyEndAllowThreads(__tstate
);
2033 if (PyErr_Occurred()) SWIG_fail
;
2035 Py_INCREF(Py_None
); resultobj
= Py_None
;
2042 static PyObject
*_wrap_PyShapeEvtHandler_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2043 PyObject
*resultobj
;
2044 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2047 int arg4
= (int) 0 ;
2048 int arg5
= (int) 0 ;
2049 PyObject
* obj0
= 0 ;
2051 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyShapeEvtHandler_base_OnRightClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
2055 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2058 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
2060 wxPyEndAllowThreads(__tstate
);
2061 if (PyErr_Occurred()) SWIG_fail
;
2063 Py_INCREF(Py_None
); resultobj
= Py_None
;
2070 static PyObject
*_wrap_PyShapeEvtHandler_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2071 PyObject
*resultobj
;
2072 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2075 PyObject
* obj0
= 0 ;
2077 (char *) "self",(char *) "x",(char *) "y", NULL
2080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyShapeEvtHandler_base_OnSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
2081 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2084 (arg1
)->base_OnSize(arg2
,arg3
);
2086 wxPyEndAllowThreads(__tstate
);
2087 if (PyErr_Occurred()) SWIG_fail
;
2089 Py_INCREF(Py_None
); resultobj
= Py_None
;
2096 static PyObject
*_wrap_PyShapeEvtHandler_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2097 PyObject
*resultobj
;
2098 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2104 bool arg7
= (bool) True
;
2106 PyObject
* obj0
= 0 ;
2107 PyObject
* obj1
= 0 ;
2108 PyObject
* obj6
= 0 ;
2110 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
2113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyShapeEvtHandler_base_OnMovePre",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
2114 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2115 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2117 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2120 arg7
= PyInt_AsLong(obj6
) ? true : false;
2121 if (PyErr_Occurred()) SWIG_fail
;
2124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2125 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
2127 wxPyEndAllowThreads(__tstate
);
2128 if (PyErr_Occurred()) SWIG_fail
;
2130 resultobj
= PyInt_FromLong((long)result
);
2137 static PyObject
*_wrap_PyShapeEvtHandler_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2138 PyObject
*resultobj
;
2139 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2145 bool arg7
= (bool) True
;
2146 PyObject
* obj0
= 0 ;
2147 PyObject
* obj1
= 0 ;
2148 PyObject
* obj6
= 0 ;
2150 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
2153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyShapeEvtHandler_base_OnMovePost",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
2154 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2155 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2157 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2160 arg7
= PyInt_AsLong(obj6
) ? true : false;
2161 if (PyErr_Occurred()) SWIG_fail
;
2164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2165 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
2167 wxPyEndAllowThreads(__tstate
);
2168 if (PyErr_Occurred()) SWIG_fail
;
2170 Py_INCREF(Py_None
); resultobj
= Py_None
;
2177 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2178 PyObject
*resultobj
;
2179 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2183 int arg5
= (int) 0 ;
2184 int arg6
= (int) 0 ;
2185 PyObject
* obj0
= 0 ;
2186 PyObject
* obj1
= 0 ;
2188 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyShapeEvtHandler_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
2192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2193 arg2
= PyInt_AsLong(obj1
) ? true : false;
2194 if (PyErr_Occurred()) SWIG_fail
;
2196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2197 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
2199 wxPyEndAllowThreads(__tstate
);
2200 if (PyErr_Occurred()) SWIG_fail
;
2202 Py_INCREF(Py_None
); resultobj
= Py_None
;
2209 static PyObject
*_wrap_PyShapeEvtHandler_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2210 PyObject
*resultobj
;
2211 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2214 int arg4
= (int) 0 ;
2215 int arg5
= (int) 0 ;
2216 PyObject
* obj0
= 0 ;
2218 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyShapeEvtHandler_base_OnBeginDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
2222 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2225 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
2227 wxPyEndAllowThreads(__tstate
);
2228 if (PyErr_Occurred()) SWIG_fail
;
2230 Py_INCREF(Py_None
); resultobj
= Py_None
;
2237 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2238 PyObject
*resultobj
;
2239 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2242 int arg4
= (int) 0 ;
2243 int arg5
= (int) 0 ;
2244 PyObject
* obj0
= 0 ;
2246 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyShapeEvtHandler_base_OnEndDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
2250 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2253 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
2255 wxPyEndAllowThreads(__tstate
);
2256 if (PyErr_Occurred()) SWIG_fail
;
2258 Py_INCREF(Py_None
); resultobj
= Py_None
;
2265 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2266 PyObject
*resultobj
;
2267 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2271 int arg5
= (int) 0 ;
2272 int arg6
= (int) 0 ;
2273 PyObject
* obj0
= 0 ;
2274 PyObject
* obj1
= 0 ;
2276 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyShapeEvtHandler_base_OnDragRight",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
2280 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2281 arg2
= PyInt_AsLong(obj1
) ? true : false;
2282 if (PyErr_Occurred()) SWIG_fail
;
2284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2285 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
2287 wxPyEndAllowThreads(__tstate
);
2288 if (PyErr_Occurred()) SWIG_fail
;
2290 Py_INCREF(Py_None
); resultobj
= Py_None
;
2297 static PyObject
*_wrap_PyShapeEvtHandler_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2298 PyObject
*resultobj
;
2299 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2302 int arg4
= (int) 0 ;
2303 int arg5
= (int) 0 ;
2304 PyObject
* obj0
= 0 ;
2306 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyShapeEvtHandler_base_OnBeginDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
2310 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2313 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
2315 wxPyEndAllowThreads(__tstate
);
2316 if (PyErr_Occurred()) SWIG_fail
;
2318 Py_INCREF(Py_None
); resultobj
= Py_None
;
2325 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2326 PyObject
*resultobj
;
2327 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2330 int arg4
= (int) 0 ;
2331 int arg5
= (int) 0 ;
2332 PyObject
* obj0
= 0 ;
2334 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyShapeEvtHandler_base_OnEndDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
2338 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2341 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
2343 wxPyEndAllowThreads(__tstate
);
2344 if (PyErr_Occurred()) SWIG_fail
;
2346 Py_INCREF(Py_None
); resultobj
= Py_None
;
2353 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2354 PyObject
*resultobj
;
2355 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2361 PyObject
* obj0
= 0 ;
2362 PyObject
* obj1
= 0 ;
2364 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
2367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd:PyShapeEvtHandler_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
2368 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2369 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2371 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2375 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
2377 wxPyEndAllowThreads(__tstate
);
2378 if (PyErr_Occurred()) SWIG_fail
;
2380 Py_INCREF(Py_None
); resultobj
= Py_None
;
2387 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2388 PyObject
*resultobj
;
2389 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2391 PyObject
* obj0
= 0 ;
2392 PyObject
* obj1
= 0 ;
2394 (char *) "self",(char *) "dc", NULL
2397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
2398 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2399 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2401 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2405 (arg1
)->base_OnDrawControlPoints(*arg2
);
2407 wxPyEndAllowThreads(__tstate
);
2408 if (PyErr_Occurred()) SWIG_fail
;
2410 Py_INCREF(Py_None
); resultobj
= Py_None
;
2417 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2418 PyObject
*resultobj
;
2419 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2421 PyObject
* obj0
= 0 ;
2422 PyObject
* obj1
= 0 ;
2424 (char *) "self",(char *) "dc", NULL
2427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
2428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2429 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2431 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2435 (arg1
)->base_OnEraseControlPoints(*arg2
);
2437 wxPyEndAllowThreads(__tstate
);
2438 if (PyErr_Occurred()) SWIG_fail
;
2440 Py_INCREF(Py_None
); resultobj
= Py_None
;
2447 static PyObject
*_wrap_PyShapeEvtHandler_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2448 PyObject
*resultobj
;
2449 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2451 bool arg3
= (bool) True
;
2452 PyObject
* obj0
= 0 ;
2453 PyObject
* obj1
= 0 ;
2454 PyObject
* obj2
= 0 ;
2456 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
2459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShapeEvtHandler_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2461 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2463 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2466 arg3
= PyInt_AsLong(obj2
) ? true : false;
2467 if (PyErr_Occurred()) SWIG_fail
;
2470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2471 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
2473 wxPyEndAllowThreads(__tstate
);
2474 if (PyErr_Occurred()) SWIG_fail
;
2476 Py_INCREF(Py_None
); resultobj
= Py_None
;
2483 static PyObject
*_wrap_PyShapeEvtHandler_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2484 PyObject
*resultobj
;
2485 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2486 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
2490 int arg6
= (int) 0 ;
2491 int arg7
= (int) 0 ;
2492 PyObject
* obj0
= 0 ;
2493 PyObject
* obj1
= 0 ;
2494 PyObject
* obj2
= 0 ;
2496 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd|ii:PyShapeEvtHandler_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
2500 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2501 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2502 arg3
= PyInt_AsLong(obj2
) ? true : false;
2503 if (PyErr_Occurred()) SWIG_fail
;
2505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2506 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
2508 wxPyEndAllowThreads(__tstate
);
2509 if (PyErr_Occurred()) SWIG_fail
;
2511 Py_INCREF(Py_None
); resultobj
= Py_None
;
2518 static PyObject
*_wrap_PyShapeEvtHandler_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2519 PyObject
*resultobj
;
2520 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2521 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
2524 int arg5
= (int) 0 ;
2525 int arg6
= (int) 0 ;
2526 PyObject
* obj0
= 0 ;
2527 PyObject
* obj1
= 0 ;
2529 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyShapeEvtHandler_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
2533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2534 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2537 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
2539 wxPyEndAllowThreads(__tstate
);
2540 if (PyErr_Occurred()) SWIG_fail
;
2542 Py_INCREF(Py_None
); resultobj
= Py_None
;
2549 static PyObject
*_wrap_PyShapeEvtHandler_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2550 PyObject
*resultobj
;
2551 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2552 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
2555 int arg5
= (int) 0 ;
2556 int arg6
= (int) 0 ;
2557 PyObject
* obj0
= 0 ;
2558 PyObject
* obj1
= 0 ;
2560 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyShapeEvtHandler_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
2564 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2565 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2568 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
2570 wxPyEndAllowThreads(__tstate
);
2571 if (PyErr_Occurred()) SWIG_fail
;
2573 Py_INCREF(Py_None
); resultobj
= Py_None
;
2580 static PyObject
*_wrap_PyShapeEvtHandler_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2581 PyObject
*resultobj
;
2582 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2585 PyObject
* obj0
= 0 ;
2587 (char *) "self",(char *) "w",(char *) "h", NULL
2590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyShapeEvtHandler_base_OnBeginSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
2591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2594 (arg1
)->base_OnBeginSize(arg2
,arg3
);
2596 wxPyEndAllowThreads(__tstate
);
2597 if (PyErr_Occurred()) SWIG_fail
;
2599 Py_INCREF(Py_None
); resultobj
= Py_None
;
2606 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2607 PyObject
*resultobj
;
2608 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2611 PyObject
* obj0
= 0 ;
2613 (char *) "self",(char *) "w",(char *) "h", NULL
2616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyShapeEvtHandler_base_OnEndSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
2617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2620 (arg1
)->base_OnEndSize(arg2
,arg3
);
2622 wxPyEndAllowThreads(__tstate
);
2623 if (PyErr_Occurred()) SWIG_fail
;
2625 Py_INCREF(Py_None
); resultobj
= Py_None
;
2632 static PyObject
* PyShapeEvtHandler_swigregister(PyObject
*self
, PyObject
*args
) {
2634 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2635 SWIG_TypeClientData(SWIGTYPE_p_wxPyShapeEvtHandler
, obj
);
2637 return Py_BuildValue((char *)"");
2639 static PyObject
*_wrap_new_PyShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2640 PyObject
*resultobj
;
2641 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) NULL
;
2643 PyObject
* obj0
= 0 ;
2645 (char *) "can", NULL
2648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyShape",kwnames
,&obj0
)) goto fail
;
2650 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2654 result
= (wxPyShape
*)new wxPyShape(arg1
);
2656 wxPyEndAllowThreads(__tstate
);
2657 if (PyErr_Occurred()) SWIG_fail
;
2660 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
2668 static PyObject
*_wrap_PyShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2669 PyObject
*resultobj
;
2670 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
2671 PyObject
*arg2
= (PyObject
*) 0 ;
2672 PyObject
*arg3
= (PyObject
*) 0 ;
2673 PyObject
* obj0
= 0 ;
2674 PyObject
* obj1
= 0 ;
2675 PyObject
* obj2
= 0 ;
2677 (char *) "self",(char *) "self",(char *) "_class", NULL
2680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2686 (arg1
)->_setCallbackInfo(arg2
,arg3
);
2688 wxPyEndAllowThreads(__tstate
);
2689 if (PyErr_Occurred()) SWIG_fail
;
2691 Py_INCREF(Py_None
); resultobj
= Py_None
;
2698 static PyObject
*_wrap_PyShape_GetBoundingBoxMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2699 PyObject
*resultobj
;
2700 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
2701 double *arg2
= (double *) 0 ;
2702 double *arg3
= (double *) 0 ;
2705 PyObject
* obj0
= 0 ;
2707 (char *) "self", NULL
2712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBoundingBoxMax",kwnames
,&obj0
)) goto fail
;
2713 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2716 (arg1
)->GetBoundingBoxMax(arg2
,arg3
);
2718 wxPyEndAllowThreads(__tstate
);
2719 if (PyErr_Occurred()) SWIG_fail
;
2721 Py_INCREF(Py_None
); resultobj
= Py_None
;
2723 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
2724 resultobj
= t_output_helper(resultobj
,o
);
2727 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
2728 resultobj
= t_output_helper(resultobj
,o
);
2736 static PyObject
*_wrap_PyShape_GetBoundingBoxMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2737 PyObject
*resultobj
;
2738 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
2739 double *arg2
= (double *) 0 ;
2740 double *arg3
= (double *) 0 ;
2743 PyObject
* obj0
= 0 ;
2745 (char *) "self", NULL
2750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBoundingBoxMin",kwnames
,&obj0
)) goto fail
;
2751 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2754 (arg1
)->GetBoundingBoxMin(arg2
,arg3
);
2756 wxPyEndAllowThreads(__tstate
);
2757 if (PyErr_Occurred()) SWIG_fail
;
2759 Py_INCREF(Py_None
); resultobj
= Py_None
;
2761 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
2762 resultobj
= t_output_helper(resultobj
,o
);
2765 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
2766 resultobj
= t_output_helper(resultobj
,o
);
2774 static PyObject
*_wrap_PyShape_GetPerimeterPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2775 PyObject
*resultobj
;
2776 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
2781 double *arg6
= (double *) 0 ;
2782 double *arg7
= (double *) 0 ;
2786 PyObject
* obj0
= 0 ;
2788 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
2793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odddd:PyShape_GetPerimeterPoint",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
2794 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2797 result
= (bool)(arg1
)->GetPerimeterPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
2799 wxPyEndAllowThreads(__tstate
);
2800 if (PyErr_Occurred()) SWIG_fail
;
2802 resultobj
= PyInt_FromLong((long)result
);
2804 PyObject
*o
= PyFloat_FromDouble((double) (*arg6
));
2805 resultobj
= t_output_helper(resultobj
,o
);
2808 PyObject
*o
= PyFloat_FromDouble((double) (*arg7
));
2809 resultobj
= t_output_helper(resultobj
,o
);
2817 static PyObject
*_wrap_PyShape_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2818 PyObject
*resultobj
;
2819 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
2820 wxPyShapeCanvas
*result
;
2821 PyObject
* obj0
= 0 ;
2823 (char *) "self", NULL
2826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetCanvas",kwnames
,&obj0
)) goto fail
;
2827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2830 result
= (wxPyShapeCanvas
*)(arg1
)->GetCanvas();
2832 wxPyEndAllowThreads(__tstate
);
2833 if (PyErr_Occurred()) SWIG_fail
;
2836 resultobj
= wxPyMake_wxObject(result
);
2844 static PyObject
*_wrap_PyShape_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2845 PyObject
*resultobj
;
2846 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
2847 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
2848 PyObject
* obj0
= 0 ;
2849 PyObject
* obj1
= 0 ;
2851 (char *) "self",(char *) "the_canvas", NULL
2854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
2855 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2856 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2859 (arg1
)->SetCanvas(arg2
);
2861 wxPyEndAllowThreads(__tstate
);
2862 if (PyErr_Occurred()) SWIG_fail
;
2864 Py_INCREF(Py_None
); resultobj
= Py_None
;
2871 static PyObject
*_wrap_PyShape_AddToCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2872 PyObject
*resultobj
;
2873 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
2874 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
2875 wxPyShape
*arg3
= (wxPyShape
*) NULL
;
2876 PyObject
* obj0
= 0 ;
2877 PyObject
* obj1
= 0 ;
2878 PyObject
* obj2
= 0 ;
2880 (char *) "self",(char *) "the_canvas",(char *) "addAfter", NULL
2883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_AddToCanvas",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2884 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2885 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2887 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2891 (arg1
)->AddToCanvas(arg2
,arg3
);
2893 wxPyEndAllowThreads(__tstate
);
2894 if (PyErr_Occurred()) SWIG_fail
;
2896 Py_INCREF(Py_None
); resultobj
= Py_None
;
2903 static PyObject
*_wrap_PyShape_InsertInCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2904 PyObject
*resultobj
;
2905 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
2906 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
2907 PyObject
* obj0
= 0 ;
2908 PyObject
* obj1
= 0 ;
2910 (char *) "self",(char *) "the_canvas", NULL
2913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_InsertInCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
2914 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2915 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2918 (arg1
)->InsertInCanvas(arg2
);
2920 wxPyEndAllowThreads(__tstate
);
2921 if (PyErr_Occurred()) SWIG_fail
;
2923 Py_INCREF(Py_None
); resultobj
= Py_None
;
2930 static PyObject
*_wrap_PyShape_RemoveFromCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2931 PyObject
*resultobj
;
2932 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
2933 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
2934 PyObject
* obj0
= 0 ;
2935 PyObject
* obj1
= 0 ;
2937 (char *) "self",(char *) "the_canvas", NULL
2940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_RemoveFromCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
2941 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2942 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2945 (arg1
)->RemoveFromCanvas(arg2
);
2947 wxPyEndAllowThreads(__tstate
);
2948 if (PyErr_Occurred()) SWIG_fail
;
2950 Py_INCREF(Py_None
); resultobj
= Py_None
;
2957 static PyObject
*_wrap_PyShape_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2958 PyObject
*resultobj
;
2959 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
2961 PyObject
* obj0
= 0 ;
2963 (char *) "self", NULL
2966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetX",kwnames
,&obj0
)) goto fail
;
2967 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2970 result
= (double)(arg1
)->GetX();
2972 wxPyEndAllowThreads(__tstate
);
2973 if (PyErr_Occurred()) SWIG_fail
;
2975 resultobj
= PyFloat_FromDouble(result
);
2982 static PyObject
*_wrap_PyShape_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2983 PyObject
*resultobj
;
2984 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
2986 PyObject
* obj0
= 0 ;
2988 (char *) "self", NULL
2991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetY",kwnames
,&obj0
)) goto fail
;
2992 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2995 result
= (double)(arg1
)->GetY();
2997 wxPyEndAllowThreads(__tstate
);
2998 if (PyErr_Occurred()) SWIG_fail
;
3000 resultobj
= PyFloat_FromDouble(result
);
3007 static PyObject
*_wrap_PyShape_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3008 PyObject
*resultobj
;
3009 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3011 PyObject
* obj0
= 0 ;
3013 (char *) "self",(char *) "x", NULL
3016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:PyShape_SetX",kwnames
,&obj0
,&arg2
)) goto fail
;
3017 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3022 wxPyEndAllowThreads(__tstate
);
3023 if (PyErr_Occurred()) SWIG_fail
;
3025 Py_INCREF(Py_None
); resultobj
= Py_None
;
3032 static PyObject
*_wrap_PyShape_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3033 PyObject
*resultobj
;
3034 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3036 PyObject
* obj0
= 0 ;
3038 (char *) "self",(char *) "y", NULL
3041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:PyShape_SetY",kwnames
,&obj0
,&arg2
)) goto fail
;
3042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3047 wxPyEndAllowThreads(__tstate
);
3048 if (PyErr_Occurred()) SWIG_fail
;
3050 Py_INCREF(Py_None
); resultobj
= Py_None
;
3057 static PyObject
*_wrap_PyShape_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3058 PyObject
*resultobj
;
3059 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3061 PyObject
* obj0
= 0 ;
3063 (char *) "self", NULL
3066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetParent",kwnames
,&obj0
)) goto fail
;
3067 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3070 result
= (wxPyShape
*)(arg1
)->GetParent();
3072 wxPyEndAllowThreads(__tstate
);
3073 if (PyErr_Occurred()) SWIG_fail
;
3076 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
3084 static PyObject
*_wrap_PyShape_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3085 PyObject
*resultobj
;
3086 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3087 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
3088 PyObject
* obj0
= 0 ;
3089 PyObject
* obj1
= 0 ;
3091 (char *) "self",(char *) "p", NULL
3094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
3095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3096 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3099 (arg1
)->SetParent(arg2
);
3101 wxPyEndAllowThreads(__tstate
);
3102 if (PyErr_Occurred()) SWIG_fail
;
3104 Py_INCREF(Py_None
); resultobj
= Py_None
;
3111 static PyObject
*_wrap_PyShape_GetTopAncestor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3112 PyObject
*resultobj
;
3113 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3115 PyObject
* obj0
= 0 ;
3117 (char *) "self", NULL
3120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetTopAncestor",kwnames
,&obj0
)) goto fail
;
3121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3124 result
= (wxPyShape
*)(arg1
)->GetTopAncestor();
3126 wxPyEndAllowThreads(__tstate
);
3127 if (PyErr_Occurred()) SWIG_fail
;
3130 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
3138 static PyObject
*_wrap_PyShape_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3139 PyObject
*resultobj
;
3140 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3142 PyObject
* obj0
= 0 ;
3144 (char *) "self", NULL
3147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetChildren",kwnames
,&obj0
)) goto fail
;
3148 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3151 result
= (PyObject
*)wxPyShape_GetChildren(arg1
);
3153 wxPyEndAllowThreads(__tstate
);
3154 if (PyErr_Occurred()) SWIG_fail
;
3163 static PyObject
*_wrap_PyShape_Unlink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3164 PyObject
*resultobj
;
3165 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3166 PyObject
* obj0
= 0 ;
3168 (char *) "self", NULL
3171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Unlink",kwnames
,&obj0
)) goto fail
;
3172 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3177 wxPyEndAllowThreads(__tstate
);
3178 if (PyErr_Occurred()) SWIG_fail
;
3180 Py_INCREF(Py_None
); resultobj
= Py_None
;
3187 static PyObject
*_wrap_PyShape_SetDrawHandles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3188 PyObject
*resultobj
;
3189 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3191 PyObject
* obj0
= 0 ;
3192 PyObject
* obj1
= 0 ;
3194 (char *) "self",(char *) "drawH", NULL
3197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetDrawHandles",kwnames
,&obj0
,&obj1
)) goto fail
;
3198 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3199 arg2
= PyInt_AsLong(obj1
) ? true : false;
3200 if (PyErr_Occurred()) SWIG_fail
;
3202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3203 (arg1
)->SetDrawHandles(arg2
);
3205 wxPyEndAllowThreads(__tstate
);
3206 if (PyErr_Occurred()) SWIG_fail
;
3208 Py_INCREF(Py_None
); resultobj
= Py_None
;
3215 static PyObject
*_wrap_PyShape_GetDrawHandles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3216 PyObject
*resultobj
;
3217 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3219 PyObject
* obj0
= 0 ;
3221 (char *) "self", NULL
3224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetDrawHandles",kwnames
,&obj0
)) goto fail
;
3225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3228 result
= (bool)(arg1
)->GetDrawHandles();
3230 wxPyEndAllowThreads(__tstate
);
3231 if (PyErr_Occurred()) SWIG_fail
;
3233 resultobj
= PyInt_FromLong((long)result
);
3240 static PyObject
*_wrap_PyShape_MakeControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3241 PyObject
*resultobj
;
3242 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3243 PyObject
* obj0
= 0 ;
3245 (char *) "self", NULL
3248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_MakeControlPoints",kwnames
,&obj0
)) goto fail
;
3249 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3252 (arg1
)->MakeControlPoints();
3254 wxPyEndAllowThreads(__tstate
);
3255 if (PyErr_Occurred()) SWIG_fail
;
3257 Py_INCREF(Py_None
); resultobj
= Py_None
;
3264 static PyObject
*_wrap_PyShape_DeleteControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3265 PyObject
*resultobj
;
3266 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3267 wxDC
*arg2
= (wxDC
*) NULL
;
3268 PyObject
* obj0
= 0 ;
3269 PyObject
* obj1
= 0 ;
3271 (char *) "self",(char *) "dc", NULL
3274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyShape_DeleteControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
3275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3277 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3281 (arg1
)->DeleteControlPoints(arg2
);
3283 wxPyEndAllowThreads(__tstate
);
3284 if (PyErr_Occurred()) SWIG_fail
;
3286 Py_INCREF(Py_None
); resultobj
= Py_None
;
3293 static PyObject
*_wrap_PyShape_ResetControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3294 PyObject
*resultobj
;
3295 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3296 PyObject
* obj0
= 0 ;
3298 (char *) "self", NULL
3301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_ResetControlPoints",kwnames
,&obj0
)) goto fail
;
3302 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3305 (arg1
)->ResetControlPoints();
3307 wxPyEndAllowThreads(__tstate
);
3308 if (PyErr_Occurred()) SWIG_fail
;
3310 Py_INCREF(Py_None
); resultobj
= Py_None
;
3317 static PyObject
*_wrap_PyShape_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3318 PyObject
*resultobj
;
3319 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3320 wxPyShapeEvtHandler
*result
;
3321 PyObject
* obj0
= 0 ;
3323 (char *) "self", NULL
3326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetEventHandler",kwnames
,&obj0
)) goto fail
;
3327 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3330 result
= (wxPyShapeEvtHandler
*)(arg1
)->GetEventHandler();
3332 wxPyEndAllowThreads(__tstate
);
3333 if (PyErr_Occurred()) SWIG_fail
;
3336 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
3344 static PyObject
*_wrap_PyShape_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3345 PyObject
*resultobj
;
3346 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3347 wxPyShapeEvtHandler
*arg2
= (wxPyShapeEvtHandler
*) 0 ;
3348 PyObject
* obj0
= 0 ;
3349 PyObject
* obj1
= 0 ;
3351 (char *) "self",(char *) "handler", NULL
3354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
3355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3356 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3359 (arg1
)->SetEventHandler(arg2
);
3361 wxPyEndAllowThreads(__tstate
);
3362 if (PyErr_Occurred()) SWIG_fail
;
3364 Py_INCREF(Py_None
); resultobj
= Py_None
;
3371 static PyObject
*_wrap_PyShape_MakeMandatoryControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3372 PyObject
*resultobj
;
3373 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3374 PyObject
* obj0
= 0 ;
3376 (char *) "self", NULL
3379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_MakeMandatoryControlPoints",kwnames
,&obj0
)) goto fail
;
3380 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3383 (arg1
)->MakeMandatoryControlPoints();
3385 wxPyEndAllowThreads(__tstate
);
3386 if (PyErr_Occurred()) SWIG_fail
;
3388 Py_INCREF(Py_None
); resultobj
= Py_None
;
3395 static PyObject
*_wrap_PyShape_ResetMandatoryControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3396 PyObject
*resultobj
;
3397 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3398 PyObject
* obj0
= 0 ;
3400 (char *) "self", NULL
3403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_ResetMandatoryControlPoints",kwnames
,&obj0
)) goto fail
;
3404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3407 (arg1
)->ResetMandatoryControlPoints();
3409 wxPyEndAllowThreads(__tstate
);
3410 if (PyErr_Occurred()) SWIG_fail
;
3412 Py_INCREF(Py_None
); resultobj
= Py_None
;
3419 static PyObject
*_wrap_PyShape_Recompute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3420 PyObject
*resultobj
;
3421 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3423 PyObject
* obj0
= 0 ;
3425 (char *) "self", NULL
3428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Recompute",kwnames
,&obj0
)) goto fail
;
3429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3432 result
= (bool)(arg1
)->Recompute();
3434 wxPyEndAllowThreads(__tstate
);
3435 if (PyErr_Occurred()) SWIG_fail
;
3437 resultobj
= PyInt_FromLong((long)result
);
3444 static PyObject
*_wrap_PyShape_CalculateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3445 PyObject
*resultobj
;
3446 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3447 PyObject
* obj0
= 0 ;
3449 (char *) "self", NULL
3452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_CalculateSize",kwnames
,&obj0
)) goto fail
;
3453 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3456 (arg1
)->CalculateSize();
3458 wxPyEndAllowThreads(__tstate
);
3459 if (PyErr_Occurred()) SWIG_fail
;
3461 Py_INCREF(Py_None
); resultobj
= Py_None
;
3468 static PyObject
*_wrap_PyShape_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3469 PyObject
*resultobj
;
3470 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3471 bool arg2
= (bool) True
;
3472 wxDC
*arg3
= (wxDC
*) NULL
;
3473 PyObject
* obj0
= 0 ;
3474 PyObject
* obj1
= 0 ;
3475 PyObject
* obj2
= 0 ;
3477 (char *) "self",(char *) "select",(char *) "dc", NULL
3480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyShape_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3481 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3483 arg2
= PyInt_AsLong(obj1
) ? true : false;
3484 if (PyErr_Occurred()) SWIG_fail
;
3487 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3491 (arg1
)->Select(arg2
,arg3
);
3493 wxPyEndAllowThreads(__tstate
);
3494 if (PyErr_Occurred()) SWIG_fail
;
3496 Py_INCREF(Py_None
); resultobj
= Py_None
;
3503 static PyObject
*_wrap_PyShape_SetHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3504 PyObject
*resultobj
;
3505 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3506 bool arg2
= (bool) True
;
3507 bool arg3
= (bool) False
;
3508 PyObject
* obj0
= 0 ;
3509 PyObject
* obj1
= 0 ;
3510 PyObject
* obj2
= 0 ;
3512 (char *) "self",(char *) "hi",(char *) "recurse", NULL
3515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyShape_SetHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3516 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3518 arg2
= PyInt_AsLong(obj1
) ? true : false;
3519 if (PyErr_Occurred()) SWIG_fail
;
3522 arg3
= PyInt_AsLong(obj2
) ? true : false;
3523 if (PyErr_Occurred()) SWIG_fail
;
3526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3527 (arg1
)->SetHighlight(arg2
,arg3
);
3529 wxPyEndAllowThreads(__tstate
);
3530 if (PyErr_Occurred()) SWIG_fail
;
3532 Py_INCREF(Py_None
); resultobj
= Py_None
;
3539 static PyObject
*_wrap_PyShape_IsHighlighted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3540 PyObject
*resultobj
;
3541 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3543 PyObject
* obj0
= 0 ;
3545 (char *) "self", NULL
3548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_IsHighlighted",kwnames
,&obj0
)) goto fail
;
3549 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3552 result
= (bool)(arg1
)->IsHighlighted();
3554 wxPyEndAllowThreads(__tstate
);
3555 if (PyErr_Occurred()) SWIG_fail
;
3557 resultobj
= PyInt_FromLong((long)result
);
3564 static PyObject
*_wrap_PyShape_Selected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3565 PyObject
*resultobj
;
3566 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3568 PyObject
* obj0
= 0 ;
3570 (char *) "self", NULL
3573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Selected",kwnames
,&obj0
)) goto fail
;
3574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3577 result
= (bool)(arg1
)->Selected();
3579 wxPyEndAllowThreads(__tstate
);
3580 if (PyErr_Occurred()) SWIG_fail
;
3582 resultobj
= PyInt_FromLong((long)result
);
3589 static PyObject
*_wrap_PyShape_AncestorSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3590 PyObject
*resultobj
;
3591 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3593 PyObject
* obj0
= 0 ;
3595 (char *) "self", NULL
3598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_AncestorSelected",kwnames
,&obj0
)) goto fail
;
3599 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3602 result
= (bool)(arg1
)->AncestorSelected();
3604 wxPyEndAllowThreads(__tstate
);
3605 if (PyErr_Occurred()) SWIG_fail
;
3607 resultobj
= PyInt_FromLong((long)result
);
3614 static PyObject
*_wrap_PyShape_SetSensitivityFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3615 PyObject
*resultobj
;
3616 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3617 int arg2
= (int) OP_ALL
;
3618 bool arg3
= (bool) False
;
3619 PyObject
* obj0
= 0 ;
3620 PyObject
* obj2
= 0 ;
3622 (char *) "self",(char *) "sens",(char *) "recursive", NULL
3625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iO:PyShape_SetSensitivityFilter",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
3626 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3628 arg3
= PyInt_AsLong(obj2
) ? true : false;
3629 if (PyErr_Occurred()) SWIG_fail
;
3632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3633 (arg1
)->SetSensitivityFilter(arg2
,arg3
);
3635 wxPyEndAllowThreads(__tstate
);
3636 if (PyErr_Occurred()) SWIG_fail
;
3638 Py_INCREF(Py_None
); resultobj
= Py_None
;
3645 static PyObject
*_wrap_PyShape_GetSensitivityFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3646 PyObject
*resultobj
;
3647 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3649 PyObject
* obj0
= 0 ;
3651 (char *) "self", NULL
3654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetSensitivityFilter",kwnames
,&obj0
)) goto fail
;
3655 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3658 result
= (int)(arg1
)->GetSensitivityFilter();
3660 wxPyEndAllowThreads(__tstate
);
3661 if (PyErr_Occurred()) SWIG_fail
;
3663 resultobj
= PyInt_FromLong((long)result
);
3670 static PyObject
*_wrap_PyShape_SetDraggable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3671 PyObject
*resultobj
;
3672 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3674 bool arg3
= (bool) False
;
3675 PyObject
* obj0
= 0 ;
3676 PyObject
* obj1
= 0 ;
3677 PyObject
* obj2
= 0 ;
3679 (char *) "self",(char *) "drag",(char *) "recursive", NULL
3682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_SetDraggable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3683 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3684 arg2
= PyInt_AsLong(obj1
) ? true : false;
3685 if (PyErr_Occurred()) SWIG_fail
;
3687 arg3
= PyInt_AsLong(obj2
) ? true : false;
3688 if (PyErr_Occurred()) SWIG_fail
;
3691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3692 (arg1
)->SetDraggable(arg2
,arg3
);
3694 wxPyEndAllowThreads(__tstate
);
3695 if (PyErr_Occurred()) SWIG_fail
;
3697 Py_INCREF(Py_None
); resultobj
= Py_None
;
3704 static PyObject
*_wrap_PyShape_SetFixedSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3705 PyObject
*resultobj
;
3706 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3709 PyObject
* obj0
= 0 ;
3710 PyObject
* obj1
= 0 ;
3711 PyObject
* obj2
= 0 ;
3713 (char *) "self",(char *) "x",(char *) "y", NULL
3716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape_SetFixedSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3717 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3718 arg2
= PyInt_AsLong(obj1
) ? true : false;
3719 if (PyErr_Occurred()) SWIG_fail
;
3720 arg3
= PyInt_AsLong(obj2
) ? true : false;
3721 if (PyErr_Occurred()) SWIG_fail
;
3723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3724 (arg1
)->SetFixedSize(arg2
,arg3
);
3726 wxPyEndAllowThreads(__tstate
);
3727 if (PyErr_Occurred()) SWIG_fail
;
3729 Py_INCREF(Py_None
); resultobj
= Py_None
;
3736 static PyObject
*_wrap_PyShape_GetFixedSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3737 PyObject
*resultobj
;
3738 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3739 bool *arg2
= (bool *) 0 ;
3740 bool *arg3
= (bool *) 0 ;
3743 PyObject
* obj0
= 0 ;
3745 (char *) "self", NULL
3750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetFixedSize",kwnames
,&obj0
)) goto fail
;
3751 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3754 (arg1
)->GetFixedSize(arg2
,arg3
);
3756 wxPyEndAllowThreads(__tstate
);
3757 if (PyErr_Occurred()) SWIG_fail
;
3759 Py_INCREF(Py_None
); resultobj
= Py_None
;
3761 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3762 resultobj
= t_output_helper(resultobj
,o
);
3765 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
3766 resultobj
= t_output_helper(resultobj
,o
);
3774 static PyObject
*_wrap_PyShape_GetFixedWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3775 PyObject
*resultobj
;
3776 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3778 PyObject
* obj0
= 0 ;
3780 (char *) "self", NULL
3783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetFixedWidth",kwnames
,&obj0
)) goto fail
;
3784 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3787 result
= (bool)(arg1
)->GetFixedWidth();
3789 wxPyEndAllowThreads(__tstate
);
3790 if (PyErr_Occurred()) SWIG_fail
;
3792 resultobj
= PyInt_FromLong((long)result
);
3799 static PyObject
*_wrap_PyShape_GetFixedHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3800 PyObject
*resultobj
;
3801 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3803 PyObject
* obj0
= 0 ;
3805 (char *) "self", NULL
3808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetFixedHeight",kwnames
,&obj0
)) goto fail
;
3809 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3812 result
= (bool)(arg1
)->GetFixedHeight();
3814 wxPyEndAllowThreads(__tstate
);
3815 if (PyErr_Occurred()) SWIG_fail
;
3817 resultobj
= PyInt_FromLong((long)result
);
3824 static PyObject
*_wrap_PyShape_SetSpaceAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3825 PyObject
*resultobj
;
3826 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3828 PyObject
* obj0
= 0 ;
3829 PyObject
* obj1
= 0 ;
3831 (char *) "self",(char *) "sp", NULL
3834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetSpaceAttachments",kwnames
,&obj0
,&obj1
)) goto fail
;
3835 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3836 arg2
= PyInt_AsLong(obj1
) ? true : false;
3837 if (PyErr_Occurred()) SWIG_fail
;
3839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3840 (arg1
)->SetSpaceAttachments(arg2
);
3842 wxPyEndAllowThreads(__tstate
);
3843 if (PyErr_Occurred()) SWIG_fail
;
3845 Py_INCREF(Py_None
); resultobj
= Py_None
;
3852 static PyObject
*_wrap_PyShape_GetSpaceAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3853 PyObject
*resultobj
;
3854 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3856 PyObject
* obj0
= 0 ;
3858 (char *) "self", NULL
3861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetSpaceAttachments",kwnames
,&obj0
)) goto fail
;
3862 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3865 result
= (bool)(arg1
)->GetSpaceAttachments();
3867 wxPyEndAllowThreads(__tstate
);
3868 if (PyErr_Occurred()) SWIG_fail
;
3870 resultobj
= PyInt_FromLong((long)result
);
3877 static PyObject
*_wrap_PyShape_SetShadowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3878 PyObject
*resultobj
;
3879 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3881 bool arg3
= (bool) False
;
3882 PyObject
* obj0
= 0 ;
3883 PyObject
* obj2
= 0 ;
3885 (char *) "self",(char *) "mode",(char *) "redraw", NULL
3888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:PyShape_SetShadowMode",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
3889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3891 arg3
= PyInt_AsLong(obj2
) ? true : false;
3892 if (PyErr_Occurred()) SWIG_fail
;
3895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3896 (arg1
)->SetShadowMode(arg2
,arg3
);
3898 wxPyEndAllowThreads(__tstate
);
3899 if (PyErr_Occurred()) SWIG_fail
;
3901 Py_INCREF(Py_None
); resultobj
= Py_None
;
3908 static PyObject
*_wrap_PyShape_GetShadowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3909 PyObject
*resultobj
;
3910 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3912 PyObject
* obj0
= 0 ;
3914 (char *) "self", NULL
3917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetShadowMode",kwnames
,&obj0
)) goto fail
;
3918 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3921 result
= (int)(arg1
)->GetShadowMode();
3923 wxPyEndAllowThreads(__tstate
);
3924 if (PyErr_Occurred()) SWIG_fail
;
3926 resultobj
= PyInt_FromLong((long)result
);
3933 static PyObject
*_wrap_PyShape_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3934 PyObject
*resultobj
;
3935 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3938 int *arg4
= (int *) 0 ;
3939 double *arg5
= (double *) 0 ;
3943 PyObject
* obj0
= 0 ;
3945 (char *) "self",(char *) "x",(char *) "y", NULL
3950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyShape_HitTest",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
3951 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3954 result
= (bool)(arg1
)->HitTest(arg2
,arg3
,arg4
,arg5
);
3956 wxPyEndAllowThreads(__tstate
);
3957 if (PyErr_Occurred()) SWIG_fail
;
3959 resultobj
= PyInt_FromLong((long)result
);
3961 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
3962 resultobj
= t_output_helper(resultobj
,o
);
3965 PyObject
*o
= PyFloat_FromDouble((double) (*arg5
));
3966 resultobj
= t_output_helper(resultobj
,o
);
3974 static PyObject
*_wrap_PyShape_SetCentreResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3975 PyObject
*resultobj
;
3976 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3978 PyObject
* obj0
= 0 ;
3979 PyObject
* obj1
= 0 ;
3981 (char *) "self",(char *) "cr", NULL
3984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetCentreResize",kwnames
,&obj0
,&obj1
)) goto fail
;
3985 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3986 arg2
= PyInt_AsLong(obj1
) ? true : false;
3987 if (PyErr_Occurred()) SWIG_fail
;
3989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3990 (arg1
)->SetCentreResize(arg2
);
3992 wxPyEndAllowThreads(__tstate
);
3993 if (PyErr_Occurred()) SWIG_fail
;
3995 Py_INCREF(Py_None
); resultobj
= Py_None
;
4002 static PyObject
*_wrap_PyShape_GetCentreResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4003 PyObject
*resultobj
;
4004 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4006 PyObject
* obj0
= 0 ;
4008 (char *) "self", NULL
4011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetCentreResize",kwnames
,&obj0
)) goto fail
;
4012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4015 result
= (bool)(arg1
)->GetCentreResize();
4017 wxPyEndAllowThreads(__tstate
);
4018 if (PyErr_Occurred()) SWIG_fail
;
4020 resultobj
= PyInt_FromLong((long)result
);
4027 static PyObject
*_wrap_PyShape_SetMaintainAspectRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4028 PyObject
*resultobj
;
4029 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4031 PyObject
* obj0
= 0 ;
4032 PyObject
* obj1
= 0 ;
4034 (char *) "self",(char *) "ar", NULL
4037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetMaintainAspectRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
4038 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4039 arg2
= PyInt_AsLong(obj1
) ? true : false;
4040 if (PyErr_Occurred()) SWIG_fail
;
4042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4043 (arg1
)->SetMaintainAspectRatio(arg2
);
4045 wxPyEndAllowThreads(__tstate
);
4046 if (PyErr_Occurred()) SWIG_fail
;
4048 Py_INCREF(Py_None
); resultobj
= Py_None
;
4055 static PyObject
*_wrap_PyShape_GetMaintainAspectRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4056 PyObject
*resultobj
;
4057 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4059 PyObject
* obj0
= 0 ;
4061 (char *) "self", NULL
4064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetMaintainAspectRatio",kwnames
,&obj0
)) goto fail
;
4065 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4068 result
= (bool)(arg1
)->GetMaintainAspectRatio();
4070 wxPyEndAllowThreads(__tstate
);
4071 if (PyErr_Occurred()) SWIG_fail
;
4073 resultobj
= PyInt_FromLong((long)result
);
4080 static PyObject
*_wrap_PyShape_GetLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4081 PyObject
*resultobj
;
4082 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4084 PyObject
* obj0
= 0 ;
4086 (char *) "self", NULL
4089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetLines",kwnames
,&obj0
)) goto fail
;
4090 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4093 result
= (PyObject
*)wxPyShape_GetLines(arg1
);
4095 wxPyEndAllowThreads(__tstate
);
4096 if (PyErr_Occurred()) SWIG_fail
;
4105 static PyObject
*_wrap_PyShape_SetDisableLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4106 PyObject
*resultobj
;
4107 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4109 PyObject
* obj0
= 0 ;
4110 PyObject
* obj1
= 0 ;
4112 (char *) "self",(char *) "flag", NULL
4115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetDisableLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
4116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4117 arg2
= PyInt_AsLong(obj1
) ? true : false;
4118 if (PyErr_Occurred()) SWIG_fail
;
4120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4121 (arg1
)->SetDisableLabel(arg2
);
4123 wxPyEndAllowThreads(__tstate
);
4124 if (PyErr_Occurred()) SWIG_fail
;
4126 Py_INCREF(Py_None
); resultobj
= Py_None
;
4133 static PyObject
*_wrap_PyShape_GetDisableLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4134 PyObject
*resultobj
;
4135 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4137 PyObject
* obj0
= 0 ;
4139 (char *) "self", NULL
4142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetDisableLabel",kwnames
,&obj0
)) goto fail
;
4143 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4146 result
= (bool)(arg1
)->GetDisableLabel();
4148 wxPyEndAllowThreads(__tstate
);
4149 if (PyErr_Occurred()) SWIG_fail
;
4151 resultobj
= PyInt_FromLong((long)result
);
4158 static PyObject
*_wrap_PyShape_SetAttachmentMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4159 PyObject
*resultobj
;
4160 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4162 PyObject
* obj0
= 0 ;
4164 (char *) "self",(char *) "mode", NULL
4167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyShape_SetAttachmentMode",kwnames
,&obj0
,&arg2
)) goto fail
;
4168 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4171 (arg1
)->SetAttachmentMode(arg2
);
4173 wxPyEndAllowThreads(__tstate
);
4174 if (PyErr_Occurred()) SWIG_fail
;
4176 Py_INCREF(Py_None
); resultobj
= Py_None
;
4183 static PyObject
*_wrap_PyShape_GetAttachmentMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4184 PyObject
*resultobj
;
4185 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4187 PyObject
* obj0
= 0 ;
4189 (char *) "self", NULL
4192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetAttachmentMode",kwnames
,&obj0
)) goto fail
;
4193 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4196 result
= (int)(arg1
)->GetAttachmentMode();
4198 wxPyEndAllowThreads(__tstate
);
4199 if (PyErr_Occurred()) SWIG_fail
;
4201 resultobj
= PyInt_FromLong((long)result
);
4208 static PyObject
*_wrap_PyShape_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4209 PyObject
*resultobj
;
4210 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4212 PyObject
* obj0
= 0 ;
4214 (char *) "self",(char *) "i", NULL
4217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:PyShape_SetId",kwnames
,&obj0
,&arg2
)) goto fail
;
4218 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4221 (arg1
)->SetId(arg2
);
4223 wxPyEndAllowThreads(__tstate
);
4224 if (PyErr_Occurred()) SWIG_fail
;
4226 Py_INCREF(Py_None
); resultobj
= Py_None
;
4233 static PyObject
*_wrap_PyShape_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4234 PyObject
*resultobj
;
4235 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4237 PyObject
* obj0
= 0 ;
4239 (char *) "self", NULL
4242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetId",kwnames
,&obj0
)) goto fail
;
4243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4246 result
= (long)(arg1
)->GetId();
4248 wxPyEndAllowThreads(__tstate
);
4249 if (PyErr_Occurred()) SWIG_fail
;
4251 resultobj
= PyInt_FromLong((long)result
);
4258 static PyObject
*_wrap_PyShape_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4259 PyObject
*resultobj
;
4260 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4261 wxPen
*arg2
= (wxPen
*) 0 ;
4262 PyObject
* obj0
= 0 ;
4263 PyObject
* obj1
= 0 ;
4265 (char *) "self",(char *) "pen", NULL
4268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
4269 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4273 if (obj1
== Py_None
) {
4276 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
4277 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
4282 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
4289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4290 (arg1
)->SetPen(arg2
);
4292 wxPyEndAllowThreads(__tstate
);
4293 if (PyErr_Occurred()) SWIG_fail
;
4295 Py_INCREF(Py_None
); resultobj
= Py_None
;
4302 static PyObject
*_wrap_PyShape_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4303 PyObject
*resultobj
;
4304 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4305 wxBrush
*arg2
= (wxBrush
*) 0 ;
4306 PyObject
* obj0
= 0 ;
4307 PyObject
* obj1
= 0 ;
4309 (char *) "self",(char *) "brush", NULL
4312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
4313 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4317 if (obj1
== Py_None
) {
4320 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxBrush"))) {
4321 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxBrush.");
4326 arg2
= wxTheBrushList
->FindOrCreateBrush(temp
->GetColour(), temp
->GetStyle());
4331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4332 (arg1
)->SetBrush(arg2
);
4334 wxPyEndAllowThreads(__tstate
);
4335 if (PyErr_Occurred()) SWIG_fail
;
4337 Py_INCREF(Py_None
); resultobj
= Py_None
;
4344 static PyObject
*_wrap_PyShape_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4345 PyObject
*resultobj
;
4346 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4348 PyObject
* obj0
= 0 ;
4349 PyObject
* obj1
= 0 ;
4351 (char *) "self",(char *) "show", NULL
4354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
4355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4356 arg2
= PyInt_AsLong(obj1
) ? true : false;
4357 if (PyErr_Occurred()) SWIG_fail
;
4359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4362 wxPyEndAllowThreads(__tstate
);
4363 if (PyErr_Occurred()) SWIG_fail
;
4365 Py_INCREF(Py_None
); resultobj
= Py_None
;
4372 static PyObject
*_wrap_PyShape_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4373 PyObject
*resultobj
;
4374 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4376 PyObject
* obj0
= 0 ;
4378 (char *) "self", NULL
4381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_IsShown",kwnames
,&obj0
)) goto fail
;
4382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4385 result
= (bool)(arg1
)->IsShown();
4387 wxPyEndAllowThreads(__tstate
);
4388 if (PyErr_Occurred()) SWIG_fail
;
4390 resultobj
= PyInt_FromLong((long)result
);
4397 static PyObject
*_wrap_PyShape_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4398 PyObject
*resultobj
;
4399 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4403 bool arg5
= (bool) True
;
4404 PyObject
* obj0
= 0 ;
4405 PyObject
* obj1
= 0 ;
4406 PyObject
* obj4
= 0 ;
4408 (char *) "self",(char *) "dc",(char *) "x1",(char *) "y1",(char *) "display", NULL
4411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|O:PyShape_Move",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&obj4
)) goto fail
;
4412 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4413 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4415 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4418 arg5
= PyInt_AsLong(obj4
) ? true : false;
4419 if (PyErr_Occurred()) SWIG_fail
;
4422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4423 (arg1
)->Move(*arg2
,arg3
,arg4
,arg5
);
4425 wxPyEndAllowThreads(__tstate
);
4426 if (PyErr_Occurred()) SWIG_fail
;
4428 Py_INCREF(Py_None
); resultobj
= Py_None
;
4435 static PyObject
*_wrap_PyShape_Erase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4436 PyObject
*resultobj
;
4437 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4439 PyObject
* obj0
= 0 ;
4440 PyObject
* obj1
= 0 ;
4442 (char *) "self",(char *) "dc", NULL
4445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Erase",kwnames
,&obj0
,&obj1
)) goto fail
;
4446 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4447 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4449 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4453 (arg1
)->Erase(*arg2
);
4455 wxPyEndAllowThreads(__tstate
);
4456 if (PyErr_Occurred()) SWIG_fail
;
4458 Py_INCREF(Py_None
); resultobj
= Py_None
;
4465 static PyObject
*_wrap_PyShape_EraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4466 PyObject
*resultobj
;
4467 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4469 PyObject
* obj0
= 0 ;
4470 PyObject
* obj1
= 0 ;
4472 (char *) "self",(char *) "dc", NULL
4475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_EraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
4476 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4477 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4479 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4483 (arg1
)->EraseContents(*arg2
);
4485 wxPyEndAllowThreads(__tstate
);
4486 if (PyErr_Occurred()) SWIG_fail
;
4488 Py_INCREF(Py_None
); resultobj
= Py_None
;
4495 static PyObject
*_wrap_PyShape_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4496 PyObject
*resultobj
;
4497 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4499 PyObject
* obj0
= 0 ;
4500 PyObject
* obj1
= 0 ;
4502 (char *) "self",(char *) "dc", NULL
4505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Draw",kwnames
,&obj0
,&obj1
)) goto fail
;
4506 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4507 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4509 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4513 (arg1
)->Draw(*arg2
);
4515 wxPyEndAllowThreads(__tstate
);
4516 if (PyErr_Occurred()) SWIG_fail
;
4518 Py_INCREF(Py_None
); resultobj
= Py_None
;
4525 static PyObject
*_wrap_PyShape_Flash(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4526 PyObject
*resultobj
;
4527 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4528 PyObject
* obj0
= 0 ;
4530 (char *) "self", NULL
4533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Flash",kwnames
,&obj0
)) goto fail
;
4534 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4539 wxPyEndAllowThreads(__tstate
);
4540 if (PyErr_Occurred()) SWIG_fail
;
4542 Py_INCREF(Py_None
); resultobj
= Py_None
;
4549 static PyObject
*_wrap_PyShape_MoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4550 PyObject
*resultobj
;
4551 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4553 PyObject
* obj0
= 0 ;
4554 PyObject
* obj1
= 0 ;
4556 (char *) "self",(char *) "dc", NULL
4559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_MoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
4560 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4561 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4563 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4567 (arg1
)->MoveLinks(*arg2
);
4569 wxPyEndAllowThreads(__tstate
);
4570 if (PyErr_Occurred()) SWIG_fail
;
4572 Py_INCREF(Py_None
); resultobj
= Py_None
;
4579 static PyObject
*_wrap_PyShape_DrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4580 PyObject
*resultobj
;
4581 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4583 PyObject
* obj0
= 0 ;
4584 PyObject
* obj1
= 0 ;
4586 (char *) "self",(char *) "dc", NULL
4589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_DrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
4590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4591 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4593 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4597 (arg1
)->DrawContents(*arg2
);
4599 wxPyEndAllowThreads(__tstate
);
4600 if (PyErr_Occurred()) SWIG_fail
;
4602 Py_INCREF(Py_None
); resultobj
= Py_None
;
4609 static PyObject
*_wrap_PyShape_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4610 PyObject
*resultobj
;
4611 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4614 bool arg4
= (bool) True
;
4615 PyObject
* obj0
= 0 ;
4616 PyObject
* obj3
= 0 ;
4618 (char *) "self",(char *) "x",(char *) "y",(char *) "recursive", NULL
4621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|O:PyShape_SetSize",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
4622 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4624 arg4
= PyInt_AsLong(obj3
) ? true : false;
4625 if (PyErr_Occurred()) SWIG_fail
;
4628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4629 (arg1
)->SetSize(arg2
,arg3
,arg4
);
4631 wxPyEndAllowThreads(__tstate
);
4632 if (PyErr_Occurred()) SWIG_fail
;
4634 Py_INCREF(Py_None
); resultobj
= Py_None
;
4641 static PyObject
*_wrap_PyShape_SetAttachmentSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4642 PyObject
*resultobj
;
4643 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4646 PyObject
* obj0
= 0 ;
4648 (char *) "self",(char *) "x",(char *) "y", NULL
4651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyShape_SetAttachmentSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
4652 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4655 (arg1
)->SetAttachmentSize(arg2
,arg3
);
4657 wxPyEndAllowThreads(__tstate
);
4658 if (PyErr_Occurred()) SWIG_fail
;
4660 Py_INCREF(Py_None
); resultobj
= Py_None
;
4667 static PyObject
*_wrap_PyShape_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4668 PyObject
*resultobj
;
4669 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4670 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
4671 PyObject
* obj0
= 0 ;
4672 PyObject
* obj1
= 0 ;
4674 (char *) "self",(char *) "can", NULL
4677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
4678 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4679 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4682 (arg1
)->Attach(arg2
);
4684 wxPyEndAllowThreads(__tstate
);
4685 if (PyErr_Occurred()) SWIG_fail
;
4687 Py_INCREF(Py_None
); resultobj
= Py_None
;
4694 static PyObject
*_wrap_PyShape_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4695 PyObject
*resultobj
;
4696 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4697 PyObject
* obj0
= 0 ;
4699 (char *) "self", NULL
4702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Detach",kwnames
,&obj0
)) goto fail
;
4703 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4708 wxPyEndAllowThreads(__tstate
);
4709 if (PyErr_Occurred()) SWIG_fail
;
4711 Py_INCREF(Py_None
); resultobj
= Py_None
;
4718 static PyObject
*_wrap_PyShape_Constrain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4719 PyObject
*resultobj
;
4720 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4722 PyObject
* obj0
= 0 ;
4724 (char *) "self", NULL
4727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Constrain",kwnames
,&obj0
)) goto fail
;
4728 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4731 result
= (bool)(arg1
)->Constrain();
4733 wxPyEndAllowThreads(__tstate
);
4734 if (PyErr_Occurred()) SWIG_fail
;
4736 resultobj
= PyInt_FromLong((long)result
);
4743 static PyObject
*_wrap_PyShape_AddLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4744 PyObject
*resultobj
;
4745 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4746 wxPyLineShape
*arg2
= (wxPyLineShape
*) 0 ;
4747 wxPyShape
*arg3
= (wxPyShape
*) 0 ;
4748 int arg4
= (int) 0 ;
4749 int arg5
= (int) 0 ;
4750 int arg6
= (int) -1 ;
4751 int arg7
= (int) -1 ;
4752 PyObject
* obj0
= 0 ;
4753 PyObject
* obj1
= 0 ;
4754 PyObject
* obj2
= 0 ;
4756 (char *) "self",(char *) "line",(char *) "other",(char *) "attachFrom",(char *) "attachTo",(char *) "positionFrom",(char *) "positionTo", NULL
4759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|iiii:PyShape_AddLine",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
4760 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4761 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4762 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4765 (arg1
)->AddLine(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
4767 wxPyEndAllowThreads(__tstate
);
4768 if (PyErr_Occurred()) SWIG_fail
;
4770 Py_INCREF(Py_None
); resultobj
= Py_None
;
4777 static PyObject
*_wrap_PyShape_GetLinePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4778 PyObject
*resultobj
;
4779 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4780 wxPyLineShape
*arg2
= (wxPyLineShape
*) 0 ;
4782 PyObject
* obj0
= 0 ;
4783 PyObject
* obj1
= 0 ;
4785 (char *) "self",(char *) "line", NULL
4788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_GetLinePosition",kwnames
,&obj0
,&obj1
)) goto fail
;
4789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4790 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4793 result
= (int)(arg1
)->GetLinePosition(arg2
);
4795 wxPyEndAllowThreads(__tstate
);
4796 if (PyErr_Occurred()) SWIG_fail
;
4798 resultobj
= PyInt_FromLong((long)result
);
4805 static PyObject
*_wrap_PyShape_AddText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4806 PyObject
*resultobj
;
4807 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4808 wxString
*arg2
= 0 ;
4809 bool temp2
= False
;
4810 PyObject
* obj0
= 0 ;
4811 PyObject
* obj1
= 0 ;
4813 (char *) "self",(char *) "string", NULL
4816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_AddText",kwnames
,&obj0
,&obj1
)) goto fail
;
4817 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4819 arg2
= wxString_in_helper(obj1
);
4820 if (arg2
== NULL
) SWIG_fail
;
4824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4825 (arg1
)->AddText((wxString
const &)*arg2
);
4827 wxPyEndAllowThreads(__tstate
);
4828 if (PyErr_Occurred()) SWIG_fail
;
4830 Py_INCREF(Py_None
); resultobj
= Py_None
;
4845 static PyObject
*_wrap_PyShape_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4846 PyObject
*resultobj
;
4847 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4849 PyObject
* obj0
= 0 ;
4851 (char *) "self", NULL
4854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetPen",kwnames
,&obj0
)) goto fail
;
4855 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4858 result
= (wxPen
*)(arg1
)->GetPen();
4860 wxPyEndAllowThreads(__tstate
);
4861 if (PyErr_Occurred()) SWIG_fail
;
4863 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPen
, 0);
4870 static PyObject
*_wrap_PyShape_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4871 PyObject
*resultobj
;
4872 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4874 PyObject
* obj0
= 0 ;
4876 (char *) "self", NULL
4879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBrush",kwnames
,&obj0
)) goto fail
;
4880 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4883 result
= (wxBrush
*)(arg1
)->GetBrush();
4885 wxPyEndAllowThreads(__tstate
);
4886 if (PyErr_Occurred()) SWIG_fail
;
4888 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBrush
, 0);
4895 static PyObject
*_wrap_PyShape_SetDefaultRegionSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4896 PyObject
*resultobj
;
4897 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4898 PyObject
* obj0
= 0 ;
4900 (char *) "self", NULL
4903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_SetDefaultRegionSize",kwnames
,&obj0
)) goto fail
;
4904 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4907 (arg1
)->SetDefaultRegionSize();
4909 wxPyEndAllowThreads(__tstate
);
4910 if (PyErr_Occurred()) SWIG_fail
;
4912 Py_INCREF(Py_None
); resultobj
= Py_None
;
4919 static PyObject
*_wrap_PyShape_FormatText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4920 PyObject
*resultobj
;
4921 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4923 wxString
*arg3
= 0 ;
4924 int arg4
= (int) 0 ;
4925 bool temp3
= False
;
4926 PyObject
* obj0
= 0 ;
4927 PyObject
* obj1
= 0 ;
4928 PyObject
* obj2
= 0 ;
4930 (char *) "self",(char *) "dc",(char *) "s",(char *) "regionId", NULL
4933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:PyShape_FormatText",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
4934 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4935 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4937 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4940 arg3
= wxString_in_helper(obj2
);
4941 if (arg3
== NULL
) SWIG_fail
;
4945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4946 (arg1
)->FormatText(*arg2
,(wxString
const &)*arg3
,arg4
);
4948 wxPyEndAllowThreads(__tstate
);
4949 if (PyErr_Occurred()) SWIG_fail
;
4951 Py_INCREF(Py_None
); resultobj
= Py_None
;
4966 static PyObject
*_wrap_PyShape_SetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4967 PyObject
*resultobj
;
4968 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4970 int arg3
= (int) 0 ;
4971 PyObject
* obj0
= 0 ;
4973 (char *) "self",(char *) "mode",(char *) "regionId", NULL
4976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|i:PyShape_SetFormatMode",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
4977 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4980 (arg1
)->SetFormatMode(arg2
,arg3
);
4982 wxPyEndAllowThreads(__tstate
);
4983 if (PyErr_Occurred()) SWIG_fail
;
4985 Py_INCREF(Py_None
); resultobj
= Py_None
;
4992 static PyObject
*_wrap_PyShape_GetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4993 PyObject
*resultobj
;
4994 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4995 int arg2
= (int) 0 ;
4997 PyObject
* obj0
= 0 ;
4999 (char *) "self",(char *) "regionId", NULL
5002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:PyShape_GetFormatMode",kwnames
,&obj0
,&arg2
)) goto fail
;
5003 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5006 result
= (int)(arg1
)->GetFormatMode(arg2
);
5008 wxPyEndAllowThreads(__tstate
);
5009 if (PyErr_Occurred()) SWIG_fail
;
5011 resultobj
= PyInt_FromLong((long)result
);
5018 static PyObject
*_wrap_PyShape_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5019 PyObject
*resultobj
;
5020 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5021 wxFont
*arg2
= (wxFont
*) 0 ;
5022 int arg3
= (int) 0 ;
5023 PyObject
* obj0
= 0 ;
5024 PyObject
* obj1
= 0 ;
5026 (char *) "self",(char *) "font",(char *) "regionId", NULL
5029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:PyShape_SetFont",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
5030 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5034 if (obj1
== Py_None
) {
5037 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxFont"))) {
5038 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxFont.");
5043 arg2
= wxTheFontList
->FindOrCreateFont(temp
->GetPointSize(),
5047 temp
->GetUnderlined(),
5048 temp
->GetFaceName(),
5049 temp
->GetEncoding());
5054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5055 (arg1
)->SetFont(arg2
,arg3
);
5057 wxPyEndAllowThreads(__tstate
);
5058 if (PyErr_Occurred()) SWIG_fail
;
5060 Py_INCREF(Py_None
); resultobj
= Py_None
;
5067 static PyObject
*_wrap_PyShape_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5068 PyObject
*resultobj
;
5069 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5070 int arg2
= (int) 0 ;
5072 PyObject
* obj0
= 0 ;
5074 (char *) "self",(char *) "regionId", NULL
5077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:PyShape_GetFont",kwnames
,&obj0
,&arg2
)) goto fail
;
5078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5081 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
5083 wxPyEndAllowThreads(__tstate
);
5084 if (PyErr_Occurred()) SWIG_fail
;
5086 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
5093 static PyObject
*_wrap_PyShape_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5094 PyObject
*resultobj
;
5095 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5096 wxString
*arg2
= 0 ;
5097 int arg3
= (int) 0 ;
5098 bool temp2
= False
;
5099 PyObject
* obj0
= 0 ;
5100 PyObject
* obj1
= 0 ;
5102 (char *) "self",(char *) "colour",(char *) "regionId", NULL
5105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:PyShape_SetTextColour",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
5106 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5108 arg2
= wxString_in_helper(obj1
);
5109 if (arg2
== NULL
) SWIG_fail
;
5113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5114 (arg1
)->SetTextColour((wxString
const &)*arg2
,arg3
);
5116 wxPyEndAllowThreads(__tstate
);
5117 if (PyErr_Occurred()) SWIG_fail
;
5119 Py_INCREF(Py_None
); resultobj
= Py_None
;
5134 static PyObject
*_wrap_PyShape_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5135 PyObject
*resultobj
;
5136 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5137 int arg2
= (int) 0 ;
5139 PyObject
* obj0
= 0 ;
5141 (char *) "self",(char *) "regionId", NULL
5144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:PyShape_GetTextColour",kwnames
,&obj0
,&arg2
)) goto fail
;
5145 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5148 result
= (arg1
)->GetTextColour(arg2
);
5150 wxPyEndAllowThreads(__tstate
);
5151 if (PyErr_Occurred()) SWIG_fail
;
5155 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5157 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5166 static PyObject
*_wrap_PyShape_GetNumberOfTextRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5167 PyObject
*resultobj
;
5168 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5170 PyObject
* obj0
= 0 ;
5172 (char *) "self", NULL
5175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetNumberOfTextRegions",kwnames
,&obj0
)) goto fail
;
5176 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5179 result
= (int)(arg1
)->GetNumberOfTextRegions();
5181 wxPyEndAllowThreads(__tstate
);
5182 if (PyErr_Occurred()) SWIG_fail
;
5184 resultobj
= PyInt_FromLong((long)result
);
5191 static PyObject
*_wrap_PyShape_SetRegionName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5192 PyObject
*resultobj
;
5193 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5194 wxString
*arg2
= 0 ;
5195 int arg3
= (int) 0 ;
5196 bool temp2
= False
;
5197 PyObject
* obj0
= 0 ;
5198 PyObject
* obj1
= 0 ;
5200 (char *) "self",(char *) "name",(char *) "regionId", NULL
5203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:PyShape_SetRegionName",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
5204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5206 arg2
= wxString_in_helper(obj1
);
5207 if (arg2
== NULL
) SWIG_fail
;
5211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5212 (arg1
)->SetRegionName((wxString
const &)*arg2
,arg3
);
5214 wxPyEndAllowThreads(__tstate
);
5215 if (PyErr_Occurred()) SWIG_fail
;
5217 Py_INCREF(Py_None
); resultobj
= Py_None
;
5232 static PyObject
*_wrap_PyShape_GetRegionName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5233 PyObject
*resultobj
;
5234 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5237 PyObject
* obj0
= 0 ;
5239 (char *) "self",(char *) "regionId", NULL
5242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyShape_GetRegionName",kwnames
,&obj0
,&arg2
)) goto fail
;
5243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5246 result
= (arg1
)->GetRegionName(arg2
);
5248 wxPyEndAllowThreads(__tstate
);
5249 if (PyErr_Occurred()) SWIG_fail
;
5253 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5255 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5264 static PyObject
*_wrap_PyShape_GetRegionId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5265 PyObject
*resultobj
;
5266 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5267 wxString
*arg2
= 0 ;
5269 bool temp2
= False
;
5270 PyObject
* obj0
= 0 ;
5271 PyObject
* obj1
= 0 ;
5273 (char *) "self",(char *) "name", NULL
5276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_GetRegionId",kwnames
,&obj0
,&obj1
)) goto fail
;
5277 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5279 arg2
= wxString_in_helper(obj1
);
5280 if (arg2
== NULL
) SWIG_fail
;
5284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5285 result
= (int)(arg1
)->GetRegionId((wxString
const &)*arg2
);
5287 wxPyEndAllowThreads(__tstate
);
5288 if (PyErr_Occurred()) SWIG_fail
;
5290 resultobj
= PyInt_FromLong((long)result
);
5305 static PyObject
*_wrap_PyShape_NameRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5306 PyObject
*resultobj
;
5307 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5308 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5309 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5310 bool temp2
= False
;
5311 PyObject
* obj0
= 0 ;
5312 PyObject
* obj1
= 0 ;
5314 (char *) "self",(char *) "parentName", NULL
5317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyShape_NameRegions",kwnames
,&obj0
,&obj1
)) goto fail
;
5318 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5321 arg2
= wxString_in_helper(obj1
);
5322 if (arg2
== NULL
) SWIG_fail
;
5327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5328 (arg1
)->NameRegions((wxString
const &)*arg2
);
5330 wxPyEndAllowThreads(__tstate
);
5331 if (PyErr_Occurred()) SWIG_fail
;
5333 Py_INCREF(Py_None
); resultobj
= Py_None
;
5348 static PyObject
*_wrap_PyShape_GetRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5349 PyObject
*resultobj
;
5350 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5352 PyObject
* obj0
= 0 ;
5354 (char *) "self", NULL
5357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetRegions",kwnames
,&obj0
)) goto fail
;
5358 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5361 result
= (PyObject
*)wxPyShape_GetRegions(arg1
);
5363 wxPyEndAllowThreads(__tstate
);
5364 if (PyErr_Occurred()) SWIG_fail
;
5373 static PyObject
*_wrap_PyShape_AddRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5374 PyObject
*resultobj
;
5375 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5376 wxShapeRegion
*arg2
= (wxShapeRegion
*) 0 ;
5377 PyObject
* obj0
= 0 ;
5378 PyObject
* obj1
= 0 ;
5380 (char *) "self",(char *) "region", NULL
5383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_AddRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5385 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5388 (arg1
)->AddRegion(arg2
);
5390 wxPyEndAllowThreads(__tstate
);
5391 if (PyErr_Occurred()) SWIG_fail
;
5393 Py_INCREF(Py_None
); resultobj
= Py_None
;
5400 static PyObject
*_wrap_PyShape_ClearRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5401 PyObject
*resultobj
;
5402 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5403 PyObject
* obj0
= 0 ;
5405 (char *) "self", NULL
5408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_ClearRegions",kwnames
,&obj0
)) goto fail
;
5409 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5412 (arg1
)->ClearRegions();
5414 wxPyEndAllowThreads(__tstate
);
5415 if (PyErr_Occurred()) SWIG_fail
;
5417 Py_INCREF(Py_None
); resultobj
= Py_None
;
5424 static PyObject
*_wrap_PyShape_AssignNewIds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5425 PyObject
*resultobj
;
5426 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5427 PyObject
* obj0
= 0 ;
5429 (char *) "self", NULL
5432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_AssignNewIds",kwnames
,&obj0
)) goto fail
;
5433 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5436 (arg1
)->AssignNewIds();
5438 wxPyEndAllowThreads(__tstate
);
5439 if (PyErr_Occurred()) SWIG_fail
;
5441 Py_INCREF(Py_None
); resultobj
= Py_None
;
5448 static PyObject
*_wrap_PyShape_FindRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5449 PyObject
*resultobj
;
5450 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5451 wxString
*arg2
= 0 ;
5452 int *arg3
= (int *) 0 ;
5454 bool temp2
= False
;
5456 PyObject
* obj0
= 0 ;
5457 PyObject
* obj1
= 0 ;
5459 (char *) "self",(char *) "regionName", NULL
5463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_FindRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5464 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5466 arg2
= wxString_in_helper(obj1
);
5467 if (arg2
== NULL
) SWIG_fail
;
5471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5472 result
= (wxPyShape
*)(arg1
)->FindRegion((wxString
const &)*arg2
,arg3
);
5474 wxPyEndAllowThreads(__tstate
);
5475 if (PyErr_Occurred()) SWIG_fail
;
5478 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
5481 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
5482 resultobj
= t_output_helper(resultobj
,o
);
5498 static PyObject
*_wrap_PyShape_FindRegionNames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5499 PyObject
*resultobj
;
5500 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5501 wxStringList
*arg2
= 0 ;
5502 PyObject
* obj0
= 0 ;
5503 PyObject
* obj1
= 0 ;
5505 (char *) "self",(char *) "list", NULL
5508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_FindRegionNames",kwnames
,&obj0
,&obj1
)) goto fail
;
5509 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5510 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxStringList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5512 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5516 (arg1
)->FindRegionNames(*arg2
);
5518 wxPyEndAllowThreads(__tstate
);
5519 if (PyErr_Occurred()) SWIG_fail
;
5521 Py_INCREF(Py_None
); resultobj
= Py_None
;
5528 static PyObject
*_wrap_PyShape_ClearText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5529 PyObject
*resultobj
;
5530 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5531 int arg2
= (int) 0 ;
5532 PyObject
* obj0
= 0 ;
5534 (char *) "self",(char *) "regionId", NULL
5537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:PyShape_ClearText",kwnames
,&obj0
,&arg2
)) goto fail
;
5538 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5541 (arg1
)->ClearText(arg2
);
5543 wxPyEndAllowThreads(__tstate
);
5544 if (PyErr_Occurred()) SWIG_fail
;
5546 Py_INCREF(Py_None
); resultobj
= Py_None
;
5553 static PyObject
*_wrap_PyShape_RemoveLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5554 PyObject
*resultobj
;
5555 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5556 wxPyLineShape
*arg2
= (wxPyLineShape
*) 0 ;
5557 PyObject
* obj0
= 0 ;
5558 PyObject
* obj1
= 0 ;
5560 (char *) "self",(char *) "line", NULL
5563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_RemoveLine",kwnames
,&obj0
,&obj1
)) goto fail
;
5564 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5565 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5568 (arg1
)->RemoveLine(arg2
);
5570 wxPyEndAllowThreads(__tstate
);
5571 if (PyErr_Occurred()) SWIG_fail
;
5573 Py_INCREF(Py_None
); resultobj
= Py_None
;
5580 static PyObject
*_wrap_PyShape_GetAttachmentPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5581 PyObject
*resultobj
;
5582 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5584 double *arg3
= (double *) 0 ;
5585 double *arg4
= (double *) 0 ;
5586 int arg5
= (int) 0 ;
5587 int arg6
= (int) 1 ;
5588 wxPyLineShape
*arg7
= (wxPyLineShape
*) NULL
;
5592 PyObject
* obj0
= 0 ;
5593 PyObject
* obj4
= 0 ;
5595 (char *) "self",(char *) "attachment",(char *) "nth",(char *) "no_arcs",(char *) "line", NULL
5600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|iiO:PyShape_GetAttachmentPosition",kwnames
,&obj0
,&arg2
,&arg5
,&arg6
,&obj4
)) goto fail
;
5601 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5603 if ((SWIG_ConvertPtr(obj4
,(void **) &arg7
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5607 result
= (bool)(arg1
)->GetAttachmentPosition(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
5609 wxPyEndAllowThreads(__tstate
);
5610 if (PyErr_Occurred()) SWIG_fail
;
5612 resultobj
= PyInt_FromLong((long)result
);
5614 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
5615 resultobj
= t_output_helper(resultobj
,o
);
5618 PyObject
*o
= PyFloat_FromDouble((double) (*arg4
));
5619 resultobj
= t_output_helper(resultobj
,o
);
5627 static PyObject
*_wrap_PyShape_GetNumberOfAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5628 PyObject
*resultobj
;
5629 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5631 PyObject
* obj0
= 0 ;
5633 (char *) "self", NULL
5636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetNumberOfAttachments",kwnames
,&obj0
)) goto fail
;
5637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5640 result
= (int)(arg1
)->GetNumberOfAttachments();
5642 wxPyEndAllowThreads(__tstate
);
5643 if (PyErr_Occurred()) SWIG_fail
;
5645 resultobj
= PyInt_FromLong((long)result
);
5652 static PyObject
*_wrap_PyShape_AttachmentIsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5653 PyObject
*resultobj
;
5654 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5657 PyObject
* obj0
= 0 ;
5659 (char *) "self",(char *) "attachment", NULL
5662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyShape_AttachmentIsValid",kwnames
,&obj0
,&arg2
)) goto fail
;
5663 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5666 result
= (bool)(arg1
)->AttachmentIsValid(arg2
);
5668 wxPyEndAllowThreads(__tstate
);
5669 if (PyErr_Occurred()) SWIG_fail
;
5671 resultobj
= PyInt_FromLong((long)result
);
5678 static PyObject
*_wrap_PyShape_GetAttachmentPositionEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5679 PyObject
*resultobj
;
5680 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5682 double *arg3
= (double *) 0 ;
5683 double *arg4
= (double *) 0 ;
5684 int arg5
= (int) 0 ;
5685 int arg6
= (int) 1 ;
5686 wxPyLineShape
*arg7
= (wxPyLineShape
*) NULL
;
5690 PyObject
* obj0
= 0 ;
5691 PyObject
* obj4
= 0 ;
5693 (char *) "self",(char *) "attachment",(char *) "nth",(char *) "no_arcs",(char *) "line", NULL
5698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|iiO:PyShape_GetAttachmentPositionEdge",kwnames
,&obj0
,&arg2
,&arg5
,&arg6
,&obj4
)) goto fail
;
5699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5701 if ((SWIG_ConvertPtr(obj4
,(void **) &arg7
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5705 result
= (bool)(arg1
)->GetAttachmentPositionEdge(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
5707 wxPyEndAllowThreads(__tstate
);
5708 if (PyErr_Occurred()) SWIG_fail
;
5710 resultobj
= PyInt_FromLong((long)result
);
5712 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
5713 resultobj
= t_output_helper(resultobj
,o
);
5716 PyObject
*o
= PyFloat_FromDouble((double) (*arg4
));
5717 resultobj
= t_output_helper(resultobj
,o
);
5725 static PyObject
*_wrap_PyShape_CalcSimpleAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5726 PyObject
*resultobj
;
5727 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5728 wxRealPoint
*arg2
= 0 ;
5729 wxRealPoint
*arg3
= 0 ;
5732 wxPyLineShape
*arg6
= (wxPyLineShape
*) 0 ;
5736 PyObject
* obj0
= 0 ;
5737 PyObject
* obj1
= 0 ;
5738 PyObject
* obj2
= 0 ;
5739 PyObject
* obj5
= 0 ;
5741 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "nth",(char *) "noArcs",(char *) "line", NULL
5744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOiiO:PyShape_CalcSimpleAttachment",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&obj5
)) goto fail
;
5745 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5748 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5752 if ( ! wxRealPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5754 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5757 result
= (arg1
)->CalcSimpleAttachment((wxRealPoint
const &)*arg2
,(wxRealPoint
const &)*arg3
,arg4
,arg5
,arg6
);
5759 wxPyEndAllowThreads(__tstate
);
5760 if (PyErr_Occurred()) SWIG_fail
;
5763 wxRealPoint
* resultptr
;
5764 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
5765 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRealPoint
, 1);
5773 static PyObject
*_wrap_PyShape_AttachmentSortTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5774 PyObject
*resultobj
;
5775 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5777 wxRealPoint
*arg3
= 0 ;
5778 wxRealPoint
*arg4
= 0 ;
5782 PyObject
* obj0
= 0 ;
5783 PyObject
* obj2
= 0 ;
5784 PyObject
* obj3
= 0 ;
5786 (char *) "self",(char *) "attachmentPoint",(char *) "pt1",(char *) "pt2", NULL
5789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOO:PyShape_AttachmentSortTest",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
5790 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5793 if ( ! wxRealPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5797 if ( ! wxRealPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5801 result
= (bool)(arg1
)->AttachmentSortTest(arg2
,(wxRealPoint
const &)*arg3
,(wxRealPoint
const &)*arg4
);
5803 wxPyEndAllowThreads(__tstate
);
5804 if (PyErr_Occurred()) SWIG_fail
;
5806 resultobj
= PyInt_FromLong((long)result
);
5813 static PyObject
*_wrap_PyShape_EraseLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5814 PyObject
*resultobj
;
5815 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5817 int arg3
= (int) -1 ;
5818 bool arg4
= (bool) False
;
5819 PyObject
* obj0
= 0 ;
5820 PyObject
* obj1
= 0 ;
5821 PyObject
* obj3
= 0 ;
5823 (char *) "self",(char *) "dc",(char *) "attachment",(char *) "recurse", NULL
5826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iO:PyShape_EraseLinks",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
)) goto fail
;
5827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5828 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5830 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5833 arg4
= PyInt_AsLong(obj3
) ? true : false;
5834 if (PyErr_Occurred()) SWIG_fail
;
5837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5838 (arg1
)->EraseLinks(*arg2
,arg3
,arg4
);
5840 wxPyEndAllowThreads(__tstate
);
5841 if (PyErr_Occurred()) SWIG_fail
;
5843 Py_INCREF(Py_None
); resultobj
= Py_None
;
5850 static PyObject
*_wrap_PyShape_DrawLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5851 PyObject
*resultobj
;
5852 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5854 int arg3
= (int) -1 ;
5855 bool arg4
= (bool) False
;
5856 PyObject
* obj0
= 0 ;
5857 PyObject
* obj1
= 0 ;
5858 PyObject
* obj3
= 0 ;
5860 (char *) "self",(char *) "dc",(char *) "attachment",(char *) "recurse", NULL
5863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iO:PyShape_DrawLinks",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
)) goto fail
;
5864 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5865 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5867 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5870 arg4
= PyInt_AsLong(obj3
) ? true : false;
5871 if (PyErr_Occurred()) SWIG_fail
;
5874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5875 (arg1
)->DrawLinks(*arg2
,arg3
,arg4
);
5877 wxPyEndAllowThreads(__tstate
);
5878 if (PyErr_Occurred()) SWIG_fail
;
5880 Py_INCREF(Py_None
); resultobj
= Py_None
;
5887 static PyObject
*_wrap_PyShape_MoveLineToNewAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5888 PyObject
*resultobj
;
5889 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5891 wxPyLineShape
*arg3
= (wxPyLineShape
*) 0 ;
5895 PyObject
* obj0
= 0 ;
5896 PyObject
* obj1
= 0 ;
5897 PyObject
* obj2
= 0 ;
5899 (char *) "self",(char *) "dc",(char *) "to_move",(char *) "x",(char *) "y", NULL
5902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd:PyShape_MoveLineToNewAttachment",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
)) goto fail
;
5903 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5904 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5906 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5908 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5911 result
= (bool)(arg1
)->MoveLineToNewAttachment(*arg2
,arg3
,arg4
,arg5
);
5913 wxPyEndAllowThreads(__tstate
);
5914 if (PyErr_Occurred()) SWIG_fail
;
5916 resultobj
= PyInt_FromLong((long)result
);
5923 static PyObject
*_wrap_PyShape_ApplyAttachmentOrdering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5924 PyObject
*resultobj
;
5925 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5926 PyObject
*arg2
= (PyObject
*) 0 ;
5927 PyObject
* obj0
= 0 ;
5928 PyObject
* obj1
= 0 ;
5930 (char *) "self",(char *) "linesToSort", NULL
5933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_ApplyAttachmentOrdering",kwnames
,&obj0
,&obj1
)) goto fail
;
5934 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5938 wxPyShape_ApplyAttachmentOrdering(arg1
,arg2
);
5940 wxPyEndAllowThreads(__tstate
);
5941 if (PyErr_Occurred()) SWIG_fail
;
5943 Py_INCREF(Py_None
); resultobj
= Py_None
;
5950 static PyObject
*_wrap_PyShape_GetBranchingAttachmentRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5951 PyObject
*resultobj
;
5952 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5955 PyObject
* obj0
= 0 ;
5957 (char *) "self",(char *) "attachment", NULL
5960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyShape_GetBranchingAttachmentRoot",kwnames
,&obj0
,&arg2
)) goto fail
;
5961 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5964 result
= (arg1
)->GetBranchingAttachmentRoot(arg2
);
5966 wxPyEndAllowThreads(__tstate
);
5967 if (PyErr_Occurred()) SWIG_fail
;
5970 wxRealPoint
* resultptr
;
5971 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
5972 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRealPoint
, 1);
5980 static PyObject
*_wrap_PyShape_GetBranchingAttachmentInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5981 PyObject
*resultobj
;
5982 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5984 wxRealPoint
*arg3
= 0 ;
5985 wxRealPoint
*arg4
= 0 ;
5986 wxRealPoint
*arg5
= 0 ;
5987 wxRealPoint
*arg6
= 0 ;
5993 PyObject
* obj0
= 0 ;
5994 PyObject
* obj2
= 0 ;
5995 PyObject
* obj3
= 0 ;
5996 PyObject
* obj4
= 0 ;
5997 PyObject
* obj5
= 0 ;
5999 (char *) "self",(char *) "attachment",(char *) "root",(char *) "neck",(char *) "shoulder1",(char *) "shoulder2", NULL
6002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOOOO:PyShape_GetBranchingAttachmentInfo",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6003 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6006 if ( ! wxRealPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6010 if ( ! wxRealPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6014 if ( ! wxRealPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6018 if ( ! wxRealPoint_helper(obj5
, &arg6
)) SWIG_fail
;
6021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6022 result
= (bool)(arg1
)->GetBranchingAttachmentInfo(arg2
,*arg3
,*arg4
,*arg5
,*arg6
);
6024 wxPyEndAllowThreads(__tstate
);
6025 if (PyErr_Occurred()) SWIG_fail
;
6027 resultobj
= PyInt_FromLong((long)result
);
6034 static PyObject
*_wrap_PyShape_GetBranchingAttachmentPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6035 PyObject
*resultobj
;
6036 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6039 wxRealPoint
*arg4
= 0 ;
6040 wxRealPoint
*arg5
= 0 ;
6044 PyObject
* obj0
= 0 ;
6045 PyObject
* obj3
= 0 ;
6046 PyObject
* obj4
= 0 ;
6048 (char *) "self",(char *) "attachment",(char *) "n",(char *) "attachmentPoint",(char *) "stemPoint", NULL
6051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiOO:PyShape_GetBranchingAttachmentPoint",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
,&obj4
)) goto fail
;
6052 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6055 if ( ! wxRealPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6059 if ( ! wxRealPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6063 result
= (bool)(arg1
)->GetBranchingAttachmentPoint(arg2
,arg3
,*arg4
,*arg5
);
6065 wxPyEndAllowThreads(__tstate
);
6066 if (PyErr_Occurred()) SWIG_fail
;
6068 resultobj
= PyInt_FromLong((long)result
);
6075 static PyObject
*_wrap_PyShape_GetAttachmentLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6076 PyObject
*resultobj
;
6077 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6080 PyObject
* obj0
= 0 ;
6082 (char *) "self",(char *) "attachment", NULL
6085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyShape_GetAttachmentLineCount",kwnames
,&obj0
,&arg2
)) goto fail
;
6086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6089 result
= (int)(arg1
)->GetAttachmentLineCount(arg2
);
6091 wxPyEndAllowThreads(__tstate
);
6092 if (PyErr_Occurred()) SWIG_fail
;
6094 resultobj
= PyInt_FromLong((long)result
);
6101 static PyObject
*_wrap_PyShape_SetBranchNeckLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6102 PyObject
*resultobj
;
6103 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6105 PyObject
* obj0
= 0 ;
6107 (char *) "self",(char *) "len", NULL
6110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyShape_SetBranchNeckLength",kwnames
,&obj0
,&arg2
)) goto fail
;
6111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6114 (arg1
)->SetBranchNeckLength(arg2
);
6116 wxPyEndAllowThreads(__tstate
);
6117 if (PyErr_Occurred()) SWIG_fail
;
6119 Py_INCREF(Py_None
); resultobj
= Py_None
;
6126 static PyObject
*_wrap_PyShape_GetBranchNeckLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6127 PyObject
*resultobj
;
6128 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6130 PyObject
* obj0
= 0 ;
6132 (char *) "self", NULL
6135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBranchNeckLength",kwnames
,&obj0
)) goto fail
;
6136 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6139 result
= (int)(arg1
)->GetBranchNeckLength();
6141 wxPyEndAllowThreads(__tstate
);
6142 if (PyErr_Occurred()) SWIG_fail
;
6144 resultobj
= PyInt_FromLong((long)result
);
6151 static PyObject
*_wrap_PyShape_SetBranchStemLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6152 PyObject
*resultobj
;
6153 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6155 PyObject
* obj0
= 0 ;
6157 (char *) "self",(char *) "len", NULL
6160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyShape_SetBranchStemLength",kwnames
,&obj0
,&arg2
)) goto fail
;
6161 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6164 (arg1
)->SetBranchStemLength(arg2
);
6166 wxPyEndAllowThreads(__tstate
);
6167 if (PyErr_Occurred()) SWIG_fail
;
6169 Py_INCREF(Py_None
); resultobj
= Py_None
;
6176 static PyObject
*_wrap_PyShape_GetBranchStemLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6177 PyObject
*resultobj
;
6178 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6180 PyObject
* obj0
= 0 ;
6182 (char *) "self", NULL
6185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBranchStemLength",kwnames
,&obj0
)) goto fail
;
6186 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6189 result
= (int)(arg1
)->GetBranchStemLength();
6191 wxPyEndAllowThreads(__tstate
);
6192 if (PyErr_Occurred()) SWIG_fail
;
6194 resultobj
= PyInt_FromLong((long)result
);
6201 static PyObject
*_wrap_PyShape_SetBranchSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6202 PyObject
*resultobj
;
6203 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6205 PyObject
* obj0
= 0 ;
6207 (char *) "self",(char *) "len", NULL
6210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyShape_SetBranchSpacing",kwnames
,&obj0
,&arg2
)) goto fail
;
6211 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6214 (arg1
)->SetBranchSpacing(arg2
);
6216 wxPyEndAllowThreads(__tstate
);
6217 if (PyErr_Occurred()) SWIG_fail
;
6219 Py_INCREF(Py_None
); resultobj
= Py_None
;
6226 static PyObject
*_wrap_PyShape_GetBranchSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6227 PyObject
*resultobj
;
6228 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6230 PyObject
* obj0
= 0 ;
6232 (char *) "self", NULL
6235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBranchSpacing",kwnames
,&obj0
)) goto fail
;
6236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6239 result
= (int)(arg1
)->GetBranchSpacing();
6241 wxPyEndAllowThreads(__tstate
);
6242 if (PyErr_Occurred()) SWIG_fail
;
6244 resultobj
= PyInt_FromLong((long)result
);
6251 static PyObject
*_wrap_PyShape_SetBranchStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6252 PyObject
*resultobj
;
6253 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6255 PyObject
* obj0
= 0 ;
6257 (char *) "self",(char *) "style", NULL
6260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:PyShape_SetBranchStyle",kwnames
,&obj0
,&arg2
)) goto fail
;
6261 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6264 (arg1
)->SetBranchStyle(arg2
);
6266 wxPyEndAllowThreads(__tstate
);
6267 if (PyErr_Occurred()) SWIG_fail
;
6269 Py_INCREF(Py_None
); resultobj
= Py_None
;
6276 static PyObject
*_wrap_PyShape_GetBranchStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6277 PyObject
*resultobj
;
6278 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6280 PyObject
* obj0
= 0 ;
6282 (char *) "self", NULL
6285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBranchStyle",kwnames
,&obj0
)) goto fail
;
6286 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6289 result
= (long)(arg1
)->GetBranchStyle();
6291 wxPyEndAllowThreads(__tstate
);
6292 if (PyErr_Occurred()) SWIG_fail
;
6294 resultobj
= PyInt_FromLong((long)result
);
6301 static PyObject
*_wrap_PyShape_PhysicalToLogicalAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6302 PyObject
*resultobj
;
6303 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6306 PyObject
* obj0
= 0 ;
6308 (char *) "self",(char *) "physicalAttachment", NULL
6311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyShape_PhysicalToLogicalAttachment",kwnames
,&obj0
,&arg2
)) goto fail
;
6312 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6315 result
= (int)(arg1
)->PhysicalToLogicalAttachment(arg2
);
6317 wxPyEndAllowThreads(__tstate
);
6318 if (PyErr_Occurred()) SWIG_fail
;
6320 resultobj
= PyInt_FromLong((long)result
);
6327 static PyObject
*_wrap_PyShape_LogicalToPhysicalAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6328 PyObject
*resultobj
;
6329 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6332 PyObject
* obj0
= 0 ;
6334 (char *) "self",(char *) "logicalAttachment", NULL
6337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyShape_LogicalToPhysicalAttachment",kwnames
,&obj0
,&arg2
)) goto fail
;
6338 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6341 result
= (int)(arg1
)->LogicalToPhysicalAttachment(arg2
);
6343 wxPyEndAllowThreads(__tstate
);
6344 if (PyErr_Occurred()) SWIG_fail
;
6346 resultobj
= PyInt_FromLong((long)result
);
6353 static PyObject
*_wrap_PyShape_Draggable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6354 PyObject
*resultobj
;
6355 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6357 PyObject
* obj0
= 0 ;
6359 (char *) "self", NULL
6362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Draggable",kwnames
,&obj0
)) goto fail
;
6363 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6366 result
= (bool)(arg1
)->Draggable();
6368 wxPyEndAllowThreads(__tstate
);
6369 if (PyErr_Occurred()) SWIG_fail
;
6371 resultobj
= PyInt_FromLong((long)result
);
6378 static PyObject
*_wrap_PyShape_HasDescendant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6379 PyObject
*resultobj
;
6380 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6381 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
6383 PyObject
* obj0
= 0 ;
6384 PyObject
* obj1
= 0 ;
6386 (char *) "self",(char *) "image", NULL
6389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_HasDescendant",kwnames
,&obj0
,&obj1
)) goto fail
;
6390 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6391 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6394 result
= (bool)(arg1
)->HasDescendant(arg2
);
6396 wxPyEndAllowThreads(__tstate
);
6397 if (PyErr_Occurred()) SWIG_fail
;
6399 resultobj
= PyInt_FromLong((long)result
);
6406 static PyObject
*_wrap_PyShape_CreateNewCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6407 PyObject
*resultobj
;
6408 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6409 bool arg2
= (bool) True
;
6410 bool arg3
= (bool) True
;
6412 PyObject
* obj0
= 0 ;
6413 PyObject
* obj1
= 0 ;
6414 PyObject
* obj2
= 0 ;
6416 (char *) "self",(char *) "resetMapping",(char *) "recompute", NULL
6419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyShape_CreateNewCopy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6420 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6422 arg2
= PyInt_AsLong(obj1
) ? true : false;
6423 if (PyErr_Occurred()) SWIG_fail
;
6426 arg3
= PyInt_AsLong(obj2
) ? true : false;
6427 if (PyErr_Occurred()) SWIG_fail
;
6430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6431 result
= (wxPyShape
*)(arg1
)->CreateNewCopy(arg2
,arg3
);
6433 wxPyEndAllowThreads(__tstate
);
6434 if (PyErr_Occurred()) SWIG_fail
;
6437 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
6445 static PyObject
*_wrap_PyShape_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6446 PyObject
*resultobj
;
6447 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6448 wxPyShape
*arg2
= 0 ;
6449 PyObject
* obj0
= 0 ;
6450 PyObject
* obj1
= 0 ;
6452 (char *) "self",(char *) "copy", NULL
6455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Copy",kwnames
,&obj0
,&obj1
)) goto fail
;
6456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6457 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6459 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6463 (arg1
)->Copy(*arg2
);
6465 wxPyEndAllowThreads(__tstate
);
6466 if (PyErr_Occurred()) SWIG_fail
;
6468 Py_INCREF(Py_None
); resultobj
= Py_None
;
6475 static PyObject
*_wrap_PyShape_CopyWithHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6476 PyObject
*resultobj
;
6477 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6478 wxPyShape
*arg2
= 0 ;
6479 PyObject
* obj0
= 0 ;
6480 PyObject
* obj1
= 0 ;
6482 (char *) "self",(char *) "copy", NULL
6485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_CopyWithHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
6486 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6487 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6489 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6493 (arg1
)->CopyWithHandler(*arg2
);
6495 wxPyEndAllowThreads(__tstate
);
6496 if (PyErr_Occurred()) SWIG_fail
;
6498 Py_INCREF(Py_None
); resultobj
= Py_None
;
6505 static PyObject
*_wrap_PyShape_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6506 PyObject
*resultobj
;
6507 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6511 PyObject
* obj0
= 0 ;
6513 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
6516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oddd:PyShape_Rotate",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
6517 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6520 (arg1
)->Rotate(arg2
,arg3
,arg4
);
6522 wxPyEndAllowThreads(__tstate
);
6523 if (PyErr_Occurred()) SWIG_fail
;
6525 Py_INCREF(Py_None
); resultobj
= Py_None
;
6532 static PyObject
*_wrap_PyShape_GetRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6533 PyObject
*resultobj
;
6534 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6536 PyObject
* obj0
= 0 ;
6538 (char *) "self", NULL
6541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetRotation",kwnames
,&obj0
)) goto fail
;
6542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6545 result
= (double)(arg1
)->GetRotation();
6547 wxPyEndAllowThreads(__tstate
);
6548 if (PyErr_Occurred()) SWIG_fail
;
6550 resultobj
= PyFloat_FromDouble(result
);
6557 static PyObject
*_wrap_PyShape_ClearAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6558 PyObject
*resultobj
;
6559 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6560 PyObject
* obj0
= 0 ;
6562 (char *) "self", NULL
6565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_ClearAttachments",kwnames
,&obj0
)) goto fail
;
6566 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6569 (arg1
)->ClearAttachments();
6571 wxPyEndAllowThreads(__tstate
);
6572 if (PyErr_Occurred()) SWIG_fail
;
6574 Py_INCREF(Py_None
); resultobj
= Py_None
;
6581 static PyObject
*_wrap_PyShape_Recentre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6582 PyObject
*resultobj
;
6583 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6585 PyObject
* obj0
= 0 ;
6586 PyObject
* obj1
= 0 ;
6588 (char *) "self",(char *) "dc", NULL
6591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Recentre",kwnames
,&obj0
,&obj1
)) goto fail
;
6592 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6593 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6595 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6599 (arg1
)->Recentre(*arg2
);
6601 wxPyEndAllowThreads(__tstate
);
6602 if (PyErr_Occurred()) SWIG_fail
;
6604 Py_INCREF(Py_None
); resultobj
= Py_None
;
6611 static PyObject
*_wrap_PyShape_ClearPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6612 PyObject
*resultobj
;
6613 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6615 PyObject
* obj0
= 0 ;
6616 PyObject
* obj1
= 0 ;
6618 (char *) "self",(char *) "list", NULL
6621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_ClearPointList",kwnames
,&obj0
,&obj1
)) goto fail
;
6622 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6623 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6625 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6629 (arg1
)->ClearPointList(*arg2
);
6631 wxPyEndAllowThreads(__tstate
);
6632 if (PyErr_Occurred()) SWIG_fail
;
6634 Py_INCREF(Py_None
); resultobj
= Py_None
;
6641 static PyObject
*_wrap_PyShape_GetBackgroundPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6642 PyObject
*resultobj
;
6643 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6645 PyObject
* obj0
= 0 ;
6647 (char *) "self", NULL
6650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBackgroundPen",kwnames
,&obj0
)) goto fail
;
6651 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6654 result
= (arg1
)->GetBackgroundPen();
6656 wxPyEndAllowThreads(__tstate
);
6657 if (PyErr_Occurred()) SWIG_fail
;
6661 resultptr
= new wxPen((wxPen
&) result
);
6662 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPen
, 1);
6670 static PyObject
*_wrap_PyShape_GetBackgroundBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6671 PyObject
*resultobj
;
6672 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6674 PyObject
* obj0
= 0 ;
6676 (char *) "self", NULL
6679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBackgroundBrush",kwnames
,&obj0
)) goto fail
;
6680 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6683 result
= (arg1
)->GetBackgroundBrush();
6685 wxPyEndAllowThreads(__tstate
);
6686 if (PyErr_Occurred()) SWIG_fail
;
6689 wxBrush
* resultptr
;
6690 resultptr
= new wxBrush((wxBrush
&) result
);
6691 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBrush
, 1);
6699 static PyObject
*_wrap_PyShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6700 PyObject
*resultobj
;
6701 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6702 PyObject
* obj0
= 0 ;
6704 (char *) "self", NULL
6707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
6708 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6711 (arg1
)->base_OnDelete();
6713 wxPyEndAllowThreads(__tstate
);
6714 if (PyErr_Occurred()) SWIG_fail
;
6716 Py_INCREF(Py_None
); resultobj
= Py_None
;
6723 static PyObject
*_wrap_PyShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6724 PyObject
*resultobj
;
6725 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6727 PyObject
* obj0
= 0 ;
6728 PyObject
* obj1
= 0 ;
6730 (char *) "self",(char *) "dc", NULL
6733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
6734 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6735 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6737 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6741 (arg1
)->base_OnDraw(*arg2
);
6743 wxPyEndAllowThreads(__tstate
);
6744 if (PyErr_Occurred()) SWIG_fail
;
6746 Py_INCREF(Py_None
); resultobj
= Py_None
;
6753 static PyObject
*_wrap_PyShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6754 PyObject
*resultobj
;
6755 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6757 PyObject
* obj0
= 0 ;
6758 PyObject
* obj1
= 0 ;
6760 (char *) "self",(char *) "dc", NULL
6763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
6764 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6765 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6767 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6771 (arg1
)->base_OnDrawContents(*arg2
);
6773 wxPyEndAllowThreads(__tstate
);
6774 if (PyErr_Occurred()) SWIG_fail
;
6776 Py_INCREF(Py_None
); resultobj
= Py_None
;
6783 static PyObject
*_wrap_PyShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6784 PyObject
*resultobj
;
6785 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6787 bool arg3
= (bool) False
;
6788 PyObject
* obj0
= 0 ;
6789 PyObject
* obj1
= 0 ;
6790 PyObject
* obj2
= 0 ;
6792 (char *) "self",(char *) "dc",(char *) "erase", NULL
6795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6796 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6797 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6799 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6802 arg3
= PyInt_AsLong(obj2
) ? true : false;
6803 if (PyErr_Occurred()) SWIG_fail
;
6806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6807 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
6809 wxPyEndAllowThreads(__tstate
);
6810 if (PyErr_Occurred()) SWIG_fail
;
6812 Py_INCREF(Py_None
); resultobj
= Py_None
;
6819 static PyObject
*_wrap_PyShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6820 PyObject
*resultobj
;
6821 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6823 PyObject
* obj0
= 0 ;
6824 PyObject
* obj1
= 0 ;
6826 (char *) "self",(char *) "dc", NULL
6829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
6830 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6831 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6833 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6837 (arg1
)->base_OnMoveLinks(*arg2
);
6839 wxPyEndAllowThreads(__tstate
);
6840 if (PyErr_Occurred()) SWIG_fail
;
6842 Py_INCREF(Py_None
); resultobj
= Py_None
;
6849 static PyObject
*_wrap_PyShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6850 PyObject
*resultobj
;
6851 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6853 PyObject
* obj0
= 0 ;
6854 PyObject
* obj1
= 0 ;
6856 (char *) "self",(char *) "dc", NULL
6859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
6860 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6861 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6863 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6867 (arg1
)->base_OnErase(*arg2
);
6869 wxPyEndAllowThreads(__tstate
);
6870 if (PyErr_Occurred()) SWIG_fail
;
6872 Py_INCREF(Py_None
); resultobj
= Py_None
;
6879 static PyObject
*_wrap_PyShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6880 PyObject
*resultobj
;
6881 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6883 PyObject
* obj0
= 0 ;
6884 PyObject
* obj1
= 0 ;
6886 (char *) "self",(char *) "dc", NULL
6889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
6890 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6891 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6893 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6897 (arg1
)->base_OnEraseContents(*arg2
);
6899 wxPyEndAllowThreads(__tstate
);
6900 if (PyErr_Occurred()) SWIG_fail
;
6902 Py_INCREF(Py_None
); resultobj
= Py_None
;
6909 static PyObject
*_wrap_PyShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6910 PyObject
*resultobj
;
6911 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6913 PyObject
* obj0
= 0 ;
6914 PyObject
* obj1
= 0 ;
6916 (char *) "self",(char *) "dc", NULL
6919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
6920 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6921 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6923 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6927 (arg1
)->base_OnHighlight(*arg2
);
6929 wxPyEndAllowThreads(__tstate
);
6930 if (PyErr_Occurred()) SWIG_fail
;
6932 Py_INCREF(Py_None
); resultobj
= Py_None
;
6939 static PyObject
*_wrap_PyShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6940 PyObject
*resultobj
;
6941 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6944 int arg4
= (int) 0 ;
6945 int arg5
= (int) 0 ;
6946 PyObject
* obj0
= 0 ;
6948 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
6951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyShape_base_OnLeftClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
6952 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6955 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
6957 wxPyEndAllowThreads(__tstate
);
6958 if (PyErr_Occurred()) SWIG_fail
;
6960 Py_INCREF(Py_None
); resultobj
= Py_None
;
6967 static PyObject
*_wrap_PyShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6968 PyObject
*resultobj
;
6969 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6972 int arg4
= (int) 0 ;
6973 int arg5
= (int) 0 ;
6974 PyObject
* obj0
= 0 ;
6976 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
6979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
6980 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6983 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
6985 wxPyEndAllowThreads(__tstate
);
6986 if (PyErr_Occurred()) SWIG_fail
;
6988 Py_INCREF(Py_None
); resultobj
= Py_None
;
6995 static PyObject
*_wrap_PyShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6996 PyObject
*resultobj
;
6997 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7000 int arg4
= (int) 0 ;
7001 int arg5
= (int) 0 ;
7002 PyObject
* obj0
= 0 ;
7004 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyShape_base_OnRightClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
7008 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7011 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
7013 wxPyEndAllowThreads(__tstate
);
7014 if (PyErr_Occurred()) SWIG_fail
;
7016 Py_INCREF(Py_None
); resultobj
= Py_None
;
7023 static PyObject
*_wrap_PyShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7024 PyObject
*resultobj
;
7025 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7028 PyObject
* obj0
= 0 ;
7030 (char *) "self",(char *) "x",(char *) "y", NULL
7033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyShape_base_OnSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7034 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7037 (arg1
)->base_OnSize(arg2
,arg3
);
7039 wxPyEndAllowThreads(__tstate
);
7040 if (PyErr_Occurred()) SWIG_fail
;
7042 Py_INCREF(Py_None
); resultobj
= Py_None
;
7049 static PyObject
*_wrap_PyShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7050 PyObject
*resultobj
;
7051 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7057 bool arg7
= (bool) True
;
7059 PyObject
* obj0
= 0 ;
7060 PyObject
* obj1
= 0 ;
7061 PyObject
* obj6
= 0 ;
7063 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
7066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
7067 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7068 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7070 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7073 arg7
= PyInt_AsLong(obj6
) ? true : false;
7074 if (PyErr_Occurred()) SWIG_fail
;
7077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7078 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
7080 wxPyEndAllowThreads(__tstate
);
7081 if (PyErr_Occurred()) SWIG_fail
;
7083 resultobj
= PyInt_FromLong((long)result
);
7090 static PyObject
*_wrap_PyShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7091 PyObject
*resultobj
;
7092 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7098 bool arg7
= (bool) True
;
7099 PyObject
* obj0
= 0 ;
7100 PyObject
* obj1
= 0 ;
7101 PyObject
* obj6
= 0 ;
7103 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
7106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
7107 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7108 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7110 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7113 arg7
= PyInt_AsLong(obj6
) ? true : false;
7114 if (PyErr_Occurred()) SWIG_fail
;
7117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7118 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
7120 wxPyEndAllowThreads(__tstate
);
7121 if (PyErr_Occurred()) SWIG_fail
;
7123 Py_INCREF(Py_None
); resultobj
= Py_None
;
7130 static PyObject
*_wrap_PyShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7131 PyObject
*resultobj
;
7132 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7136 int arg5
= (int) 0 ;
7137 int arg6
= (int) 0 ;
7138 PyObject
* obj0
= 0 ;
7139 PyObject
* obj1
= 0 ;
7141 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
7145 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7146 arg2
= PyInt_AsLong(obj1
) ? true : false;
7147 if (PyErr_Occurred()) SWIG_fail
;
7149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7150 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
7152 wxPyEndAllowThreads(__tstate
);
7153 if (PyErr_Occurred()) SWIG_fail
;
7155 Py_INCREF(Py_None
); resultobj
= Py_None
;
7162 static PyObject
*_wrap_PyShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7163 PyObject
*resultobj
;
7164 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7167 int arg4
= (int) 0 ;
7168 int arg5
= (int) 0 ;
7169 PyObject
* obj0
= 0 ;
7171 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyShape_base_OnBeginDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
7175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7178 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
7180 wxPyEndAllowThreads(__tstate
);
7181 if (PyErr_Occurred()) SWIG_fail
;
7183 Py_INCREF(Py_None
); resultobj
= Py_None
;
7190 static PyObject
*_wrap_PyShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7191 PyObject
*resultobj
;
7192 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7195 int arg4
= (int) 0 ;
7196 int arg5
= (int) 0 ;
7197 PyObject
* obj0
= 0 ;
7199 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyShape_base_OnEndDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
7203 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7206 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
7208 wxPyEndAllowThreads(__tstate
);
7209 if (PyErr_Occurred()) SWIG_fail
;
7211 Py_INCREF(Py_None
); resultobj
= Py_None
;
7218 static PyObject
*_wrap_PyShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7219 PyObject
*resultobj
;
7220 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7224 int arg5
= (int) 0 ;
7225 int arg6
= (int) 0 ;
7226 PyObject
* obj0
= 0 ;
7227 PyObject
* obj1
= 0 ;
7229 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
7233 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7234 arg2
= PyInt_AsLong(obj1
) ? true : false;
7235 if (PyErr_Occurred()) SWIG_fail
;
7237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7238 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
7240 wxPyEndAllowThreads(__tstate
);
7241 if (PyErr_Occurred()) SWIG_fail
;
7243 Py_INCREF(Py_None
); resultobj
= Py_None
;
7250 static PyObject
*_wrap_PyShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7251 PyObject
*resultobj
;
7252 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7255 int arg4
= (int) 0 ;
7256 int arg5
= (int) 0 ;
7257 PyObject
* obj0
= 0 ;
7259 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyShape_base_OnBeginDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
7263 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7266 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
7268 wxPyEndAllowThreads(__tstate
);
7269 if (PyErr_Occurred()) SWIG_fail
;
7271 Py_INCREF(Py_None
); resultobj
= Py_None
;
7278 static PyObject
*_wrap_PyShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7279 PyObject
*resultobj
;
7280 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7283 int arg4
= (int) 0 ;
7284 int arg5
= (int) 0 ;
7285 PyObject
* obj0
= 0 ;
7287 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyShape_base_OnEndDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
7291 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7294 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
7296 wxPyEndAllowThreads(__tstate
);
7297 if (PyErr_Occurred()) SWIG_fail
;
7299 Py_INCREF(Py_None
); resultobj
= Py_None
;
7306 static PyObject
*_wrap_PyShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7307 PyObject
*resultobj
;
7308 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7314 PyObject
* obj0
= 0 ;
7315 PyObject
* obj1
= 0 ;
7317 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
7320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd:PyShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
7321 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7322 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7324 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7328 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
7330 wxPyEndAllowThreads(__tstate
);
7331 if (PyErr_Occurred()) SWIG_fail
;
7333 Py_INCREF(Py_None
); resultobj
= Py_None
;
7340 static PyObject
*_wrap_PyShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7341 PyObject
*resultobj
;
7342 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7344 PyObject
* obj0
= 0 ;
7345 PyObject
* obj1
= 0 ;
7347 (char *) "self",(char *) "dc", NULL
7350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
7351 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7352 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7354 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7358 (arg1
)->base_OnDrawControlPoints(*arg2
);
7360 wxPyEndAllowThreads(__tstate
);
7361 if (PyErr_Occurred()) SWIG_fail
;
7363 Py_INCREF(Py_None
); resultobj
= Py_None
;
7370 static PyObject
*_wrap_PyShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7371 PyObject
*resultobj
;
7372 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7374 PyObject
* obj0
= 0 ;
7375 PyObject
* obj1
= 0 ;
7377 (char *) "self",(char *) "dc", NULL
7380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
7381 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7382 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7384 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7388 (arg1
)->base_OnEraseControlPoints(*arg2
);
7390 wxPyEndAllowThreads(__tstate
);
7391 if (PyErr_Occurred()) SWIG_fail
;
7393 Py_INCREF(Py_None
); resultobj
= Py_None
;
7400 static PyObject
*_wrap_PyShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7401 PyObject
*resultobj
;
7402 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7404 bool arg3
= (bool) True
;
7405 PyObject
* obj0
= 0 ;
7406 PyObject
* obj1
= 0 ;
7407 PyObject
* obj2
= 0 ;
7409 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
7412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7414 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7416 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7419 arg3
= PyInt_AsLong(obj2
) ? true : false;
7420 if (PyErr_Occurred()) SWIG_fail
;
7423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7424 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
7426 wxPyEndAllowThreads(__tstate
);
7427 if (PyErr_Occurred()) SWIG_fail
;
7429 Py_INCREF(Py_None
); resultobj
= Py_None
;
7436 static PyObject
*_wrap_PyShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7437 PyObject
*resultobj
;
7438 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7439 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
7443 int arg6
= (int) 0 ;
7444 int arg7
= (int) 0 ;
7445 PyObject
* obj0
= 0 ;
7446 PyObject
* obj1
= 0 ;
7447 PyObject
* obj2
= 0 ;
7449 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd|ii:PyShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
7453 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7454 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7455 arg3
= PyInt_AsLong(obj2
) ? true : false;
7456 if (PyErr_Occurred()) SWIG_fail
;
7458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7459 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
7461 wxPyEndAllowThreads(__tstate
);
7462 if (PyErr_Occurred()) SWIG_fail
;
7464 Py_INCREF(Py_None
); resultobj
= Py_None
;
7471 static PyObject
*_wrap_PyShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7472 PyObject
*resultobj
;
7473 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7474 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
7477 int arg5
= (int) 0 ;
7478 int arg6
= (int) 0 ;
7479 PyObject
* obj0
= 0 ;
7480 PyObject
* obj1
= 0 ;
7482 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
7486 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7487 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7490 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
7492 wxPyEndAllowThreads(__tstate
);
7493 if (PyErr_Occurred()) SWIG_fail
;
7495 Py_INCREF(Py_None
); resultobj
= Py_None
;
7502 static PyObject
*_wrap_PyShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7503 PyObject
*resultobj
;
7504 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7505 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
7508 int arg5
= (int) 0 ;
7509 int arg6
= (int) 0 ;
7510 PyObject
* obj0
= 0 ;
7511 PyObject
* obj1
= 0 ;
7513 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
7517 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7518 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7521 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
7523 wxPyEndAllowThreads(__tstate
);
7524 if (PyErr_Occurred()) SWIG_fail
;
7526 Py_INCREF(Py_None
); resultobj
= Py_None
;
7533 static PyObject
*_wrap_PyShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7534 PyObject
*resultobj
;
7535 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7538 PyObject
* obj0
= 0 ;
7540 (char *) "self",(char *) "w",(char *) "h", NULL
7543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyShape_base_OnBeginSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7544 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7547 (arg1
)->base_OnBeginSize(arg2
,arg3
);
7549 wxPyEndAllowThreads(__tstate
);
7550 if (PyErr_Occurred()) SWIG_fail
;
7552 Py_INCREF(Py_None
); resultobj
= Py_None
;
7559 static PyObject
*_wrap_PyShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7560 PyObject
*resultobj
;
7561 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7564 PyObject
* obj0
= 0 ;
7566 (char *) "self",(char *) "w",(char *) "h", NULL
7569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyShape_base_OnEndSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7570 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7573 (arg1
)->base_OnEndSize(arg2
,arg3
);
7575 wxPyEndAllowThreads(__tstate
);
7576 if (PyErr_Occurred()) SWIG_fail
;
7578 Py_INCREF(Py_None
); resultobj
= Py_None
;
7585 static PyObject
* PyShape_swigregister(PyObject
*self
, PyObject
*args
) {
7587 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7588 SWIG_TypeClientData(SWIGTYPE_p_wxPyShape
, obj
);
7590 return Py_BuildValue((char *)"");
7592 static PyObject
*_wrap_new_PseudoMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7593 PyObject
*resultobj
;
7594 wxPseudoMetaFile
*result
;
7599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PseudoMetaFile",kwnames
)) goto fail
;
7601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7602 result
= (wxPseudoMetaFile
*)new wxPseudoMetaFile();
7604 wxPyEndAllowThreads(__tstate
);
7605 if (PyErr_Occurred()) SWIG_fail
;
7608 resultobj
= wxPyMake_wxObject(result
);
7616 static PyObject
*_wrap_delete_PseudoMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7617 PyObject
*resultobj
;
7618 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
7619 PyObject
* obj0
= 0 ;
7621 (char *) "self", NULL
7624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PseudoMetaFile",kwnames
,&obj0
)) goto fail
;
7625 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7630 wxPyEndAllowThreads(__tstate
);
7631 if (PyErr_Occurred()) SWIG_fail
;
7633 Py_INCREF(Py_None
); resultobj
= Py_None
;
7640 static PyObject
*_wrap_PseudoMetaFile_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7641 PyObject
*resultobj
;
7642 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
7646 PyObject
* obj0
= 0 ;
7647 PyObject
* obj1
= 0 ;
7649 (char *) "self",(char *) "dc",(char *) "xoffset",(char *) "yoffset", NULL
7652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd:PseudoMetaFile_Draw",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
7653 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7654 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7656 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7660 (arg1
)->Draw(*arg2
,arg3
,arg4
);
7662 wxPyEndAllowThreads(__tstate
);
7663 if (PyErr_Occurred()) SWIG_fail
;
7665 Py_INCREF(Py_None
); resultobj
= Py_None
;
7672 static PyObject
*_wrap_PseudoMetaFile_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7673 PyObject
*resultobj
;
7674 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
7675 PyObject
* obj0
= 0 ;
7677 (char *) "self", NULL
7680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_Clear",kwnames
,&obj0
)) goto fail
;
7681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7686 wxPyEndAllowThreads(__tstate
);
7687 if (PyErr_Occurred()) SWIG_fail
;
7689 Py_INCREF(Py_None
); resultobj
= Py_None
;
7696 static PyObject
*_wrap_PseudoMetaFile_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7697 PyObject
*resultobj
;
7698 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
7699 wxPseudoMetaFile
*arg2
= 0 ;
7700 PyObject
* obj0
= 0 ;
7701 PyObject
* obj1
= 0 ;
7703 (char *) "self",(char *) "copy", NULL
7706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_Copy",kwnames
,&obj0
,&obj1
)) goto fail
;
7707 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7708 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7710 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7714 (arg1
)->Copy(*arg2
);
7716 wxPyEndAllowThreads(__tstate
);
7717 if (PyErr_Occurred()) SWIG_fail
;
7719 Py_INCREF(Py_None
); resultobj
= Py_None
;
7726 static PyObject
*_wrap_PseudoMetaFile_Scale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7727 PyObject
*resultobj
;
7728 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
7731 PyObject
* obj0
= 0 ;
7733 (char *) "self",(char *) "sx",(char *) "sy", NULL
7736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PseudoMetaFile_Scale",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7737 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7740 (arg1
)->Scale(arg2
,arg3
);
7742 wxPyEndAllowThreads(__tstate
);
7743 if (PyErr_Occurred()) SWIG_fail
;
7745 Py_INCREF(Py_None
); resultobj
= Py_None
;
7752 static PyObject
*_wrap_PseudoMetaFile_ScaleTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7753 PyObject
*resultobj
;
7754 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
7757 PyObject
* obj0
= 0 ;
7759 (char *) "self",(char *) "w",(char *) "h", NULL
7762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PseudoMetaFile_ScaleTo",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7766 (arg1
)->ScaleTo(arg2
,arg3
);
7768 wxPyEndAllowThreads(__tstate
);
7769 if (PyErr_Occurred()) SWIG_fail
;
7771 Py_INCREF(Py_None
); resultobj
= Py_None
;
7778 static PyObject
*_wrap_PseudoMetaFile_Translate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7779 PyObject
*resultobj
;
7780 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
7783 PyObject
* obj0
= 0 ;
7785 (char *) "self",(char *) "x",(char *) "y", NULL
7788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PseudoMetaFile_Translate",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7792 (arg1
)->Translate(arg2
,arg3
);
7794 wxPyEndAllowThreads(__tstate
);
7795 if (PyErr_Occurred()) SWIG_fail
;
7797 Py_INCREF(Py_None
); resultobj
= Py_None
;
7804 static PyObject
*_wrap_PseudoMetaFile_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7805 PyObject
*resultobj
;
7806 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
7810 PyObject
* obj0
= 0 ;
7812 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
7815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oddd:PseudoMetaFile_Rotate",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
7816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7819 (arg1
)->Rotate(arg2
,arg3
,arg4
);
7821 wxPyEndAllowThreads(__tstate
);
7822 if (PyErr_Occurred()) SWIG_fail
;
7824 Py_INCREF(Py_None
); resultobj
= Py_None
;
7831 static PyObject
*_wrap_PseudoMetaFile_LoadFromMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7832 PyObject
*resultobj
;
7833 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
7834 wxString
*arg2
= 0 ;
7835 double *arg3
= (double *) 0 ;
7836 double *arg4
= (double *) 0 ;
7838 bool temp2
= False
;
7839 PyObject
* obj0
= 0 ;
7840 PyObject
* obj1
= 0 ;
7841 PyObject
* obj2
= 0 ;
7842 PyObject
* obj3
= 0 ;
7844 (char *) "self",(char *) "filename",(char *) "width",(char *) "height", NULL
7847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoMetaFile_LoadFromMetaFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7848 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7850 arg2
= wxString_in_helper(obj1
);
7851 if (arg2
== NULL
) SWIG_fail
;
7854 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_double
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7855 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_double
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7858 result
= (bool)(arg1
)->LoadFromMetaFile((wxString
const &)*arg2
,arg3
,arg4
);
7860 wxPyEndAllowThreads(__tstate
);
7861 if (PyErr_Occurred()) SWIG_fail
;
7863 resultobj
= PyInt_FromLong((long)result
);
7878 static PyObject
*_wrap_PseudoMetaFile_GetBounds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7879 PyObject
*resultobj
;
7880 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
7881 double *arg2
= (double *) 0 ;
7882 double *arg3
= (double *) 0 ;
7883 double *arg4
= (double *) 0 ;
7884 double *arg5
= (double *) 0 ;
7885 PyObject
* obj0
= 0 ;
7886 PyObject
* obj1
= 0 ;
7887 PyObject
* obj2
= 0 ;
7888 PyObject
* obj3
= 0 ;
7889 PyObject
* obj4
= 0 ;
7891 (char *) "self",(char *) "minX",(char *) "minY",(char *) "maxX",(char *) "maxY", NULL
7894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoMetaFile_GetBounds",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7896 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_double
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7897 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_double
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7898 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_double
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7899 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_double
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7902 (arg1
)->GetBounds(arg2
,arg3
,arg4
,arg5
);
7904 wxPyEndAllowThreads(__tstate
);
7905 if (PyErr_Occurred()) SWIG_fail
;
7907 Py_INCREF(Py_None
); resultobj
= Py_None
;
7914 static PyObject
*_wrap_PseudoMetaFile_CalculateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7915 PyObject
*resultobj
;
7916 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
7917 wxPyDrawnShape
*arg2
= (wxPyDrawnShape
*) 0 ;
7918 PyObject
* obj0
= 0 ;
7919 PyObject
* obj1
= 0 ;
7921 (char *) "self",(char *) "shape", NULL
7924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_CalculateSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7926 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7929 (arg1
)->CalculateSize(arg2
);
7931 wxPyEndAllowThreads(__tstate
);
7932 if (PyErr_Occurred()) SWIG_fail
;
7934 Py_INCREF(Py_None
); resultobj
= Py_None
;
7941 static PyObject
*_wrap_PseudoMetaFile_SetRotateable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7942 PyObject
*resultobj
;
7943 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
7945 PyObject
* obj0
= 0 ;
7946 PyObject
* obj1
= 0 ;
7948 (char *) "self",(char *) "rot", NULL
7951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetRotateable",kwnames
,&obj0
,&obj1
)) goto fail
;
7952 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7953 arg2
= PyInt_AsLong(obj1
) ? true : false;
7954 if (PyErr_Occurred()) SWIG_fail
;
7956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7957 (arg1
)->SetRotateable(arg2
);
7959 wxPyEndAllowThreads(__tstate
);
7960 if (PyErr_Occurred()) SWIG_fail
;
7962 Py_INCREF(Py_None
); resultobj
= Py_None
;
7969 static PyObject
*_wrap_PseudoMetaFile_GetRotateable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7970 PyObject
*resultobj
;
7971 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
7973 PyObject
* obj0
= 0 ;
7975 (char *) "self", NULL
7978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_GetRotateable",kwnames
,&obj0
)) goto fail
;
7979 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7982 result
= (bool)(arg1
)->GetRotateable();
7984 wxPyEndAllowThreads(__tstate
);
7985 if (PyErr_Occurred()) SWIG_fail
;
7987 resultobj
= PyInt_FromLong((long)result
);
7994 static PyObject
*_wrap_PseudoMetaFile_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7995 PyObject
*resultobj
;
7996 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
7999 PyObject
* obj0
= 0 ;
8001 (char *) "self",(char *) "w",(char *) "h", NULL
8004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PseudoMetaFile_SetSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8005 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8008 (arg1
)->SetSize(arg2
,arg3
);
8010 wxPyEndAllowThreads(__tstate
);
8011 if (PyErr_Occurred()) SWIG_fail
;
8013 Py_INCREF(Py_None
); resultobj
= Py_None
;
8020 static PyObject
*_wrap_PseudoMetaFile_SetFillBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8021 PyObject
*resultobj
;
8022 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8023 wxBrush
*arg2
= (wxBrush
*) 0 ;
8024 PyObject
* obj0
= 0 ;
8025 PyObject
* obj1
= 0 ;
8027 (char *) "self",(char *) "brush", NULL
8030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetFillBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
8031 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8035 if (obj1
== Py_None
) {
8038 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxBrush"))) {
8039 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxBrush.");
8044 arg2
= wxTheBrushList
->FindOrCreateBrush(temp
->GetColour(), temp
->GetStyle());
8049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8050 (arg1
)->SetFillBrush(arg2
);
8052 wxPyEndAllowThreads(__tstate
);
8053 if (PyErr_Occurred()) SWIG_fail
;
8055 Py_INCREF(Py_None
); resultobj
= Py_None
;
8062 static PyObject
*_wrap_PseudoMetaFile_GetFillBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8063 PyObject
*resultobj
;
8064 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8066 PyObject
* obj0
= 0 ;
8068 (char *) "self", NULL
8071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_GetFillBrush",kwnames
,&obj0
)) goto fail
;
8072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8075 result
= (wxBrush
*)(arg1
)->GetFillBrush();
8077 wxPyEndAllowThreads(__tstate
);
8078 if (PyErr_Occurred()) SWIG_fail
;
8080 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBrush
, 0);
8087 static PyObject
*_wrap_PseudoMetaFile_SetOutlinePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8088 PyObject
*resultobj
;
8089 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8090 wxPen
*arg2
= (wxPen
*) 0 ;
8091 PyObject
* obj0
= 0 ;
8092 PyObject
* obj1
= 0 ;
8094 (char *) "self",(char *) "pen", NULL
8097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetOutlinePen",kwnames
,&obj0
,&obj1
)) goto fail
;
8098 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8102 if (obj1
== Py_None
) {
8105 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
8106 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
8111 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
8118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8119 (arg1
)->SetOutlinePen(arg2
);
8121 wxPyEndAllowThreads(__tstate
);
8122 if (PyErr_Occurred()) SWIG_fail
;
8124 Py_INCREF(Py_None
); resultobj
= Py_None
;
8131 static PyObject
*_wrap_PseudoMetaFile_GetOutlinePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8132 PyObject
*resultobj
;
8133 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8135 PyObject
* obj0
= 0 ;
8137 (char *) "self", NULL
8140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_GetOutlinePen",kwnames
,&obj0
)) goto fail
;
8141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8144 result
= (wxPen
*)(arg1
)->GetOutlinePen();
8146 wxPyEndAllowThreads(__tstate
);
8147 if (PyErr_Occurred()) SWIG_fail
;
8149 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPen
, 0);
8156 static PyObject
*_wrap_PseudoMetaFile_SetOutlineOp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8157 PyObject
*resultobj
;
8158 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8160 PyObject
* obj0
= 0 ;
8162 (char *) "self",(char *) "op", NULL
8165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PseudoMetaFile_SetOutlineOp",kwnames
,&obj0
,&arg2
)) goto fail
;
8166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8169 (arg1
)->SetOutlineOp(arg2
);
8171 wxPyEndAllowThreads(__tstate
);
8172 if (PyErr_Occurred()) SWIG_fail
;
8174 Py_INCREF(Py_None
); resultobj
= Py_None
;
8181 static PyObject
*_wrap_PseudoMetaFile_GetOutlineOp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8182 PyObject
*resultobj
;
8183 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8185 PyObject
* obj0
= 0 ;
8187 (char *) "self", NULL
8190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_GetOutlineOp",kwnames
,&obj0
)) goto fail
;
8191 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8194 result
= (int)(arg1
)->GetOutlineOp();
8196 wxPyEndAllowThreads(__tstate
);
8197 if (PyErr_Occurred()) SWIG_fail
;
8199 resultobj
= PyInt_FromLong((long)result
);
8206 static PyObject
*_wrap_PseudoMetaFile_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8207 PyObject
*resultobj
;
8208 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8210 PyObject
* obj0
= 0 ;
8212 (char *) "self", NULL
8215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_IsValid",kwnames
,&obj0
)) goto fail
;
8216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8219 result
= (bool)(arg1
)->IsValid();
8221 wxPyEndAllowThreads(__tstate
);
8222 if (PyErr_Occurred()) SWIG_fail
;
8224 resultobj
= PyInt_FromLong((long)result
);
8231 static PyObject
*_wrap_PseudoMetaFile_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8232 PyObject
*resultobj
;
8233 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8238 PyObject
* obj0
= 0 ;
8239 PyObject
* obj1
= 0 ;
8240 PyObject
* obj2
= 0 ;
8242 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
8245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8249 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8253 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8257 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
8259 wxPyEndAllowThreads(__tstate
);
8260 if (PyErr_Occurred()) SWIG_fail
;
8262 Py_INCREF(Py_None
); resultobj
= Py_None
;
8269 static PyObject
*_wrap_PseudoMetaFile_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8270 PyObject
*resultobj
;
8271 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8274 PyObject
* obj0
= 0 ;
8275 PyObject
* obj1
= 0 ;
8277 (char *) "self",(char *) "rect", NULL
8280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_DrawRectangle",kwnames
,&obj0
,&obj1
)) goto fail
;
8281 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8284 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8288 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
8290 wxPyEndAllowThreads(__tstate
);
8291 if (PyErr_Occurred()) SWIG_fail
;
8293 Py_INCREF(Py_None
); resultobj
= Py_None
;
8300 static PyObject
*_wrap_PseudoMetaFile_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8301 PyObject
*resultobj
;
8302 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8306 PyObject
* obj0
= 0 ;
8307 PyObject
* obj1
= 0 ;
8309 (char *) "self",(char *) "rect",(char *) "radius", NULL
8312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOd:PseudoMetaFile_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
8313 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8316 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8320 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
8322 wxPyEndAllowThreads(__tstate
);
8323 if (PyErr_Occurred()) SWIG_fail
;
8325 Py_INCREF(Py_None
); resultobj
= Py_None
;
8332 static PyObject
*_wrap_PseudoMetaFile_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8333 PyObject
*resultobj
;
8334 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8341 PyObject
* obj0
= 0 ;
8342 PyObject
* obj1
= 0 ;
8343 PyObject
* obj2
= 0 ;
8344 PyObject
* obj3
= 0 ;
8346 (char *) "self",(char *) "centrePt",(char *) "startPt",(char *) "endPt", NULL
8349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoMetaFile_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8350 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8353 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8357 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8361 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8365 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
8367 wxPyEndAllowThreads(__tstate
);
8368 if (PyErr_Occurred()) SWIG_fail
;
8370 Py_INCREF(Py_None
); resultobj
= Py_None
;
8377 static PyObject
*_wrap_PseudoMetaFile_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8378 PyObject
*resultobj
;
8379 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8384 PyObject
* obj0
= 0 ;
8385 PyObject
* obj1
= 0 ;
8387 (char *) "self",(char *) "rect",(char *) "startAngle",(char *) "endAngle", NULL
8390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd:PseudoMetaFile_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
8391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8394 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8398 (arg1
)->DrawEllipticArc((wxRect
const &)*arg2
,arg3
,arg4
);
8400 wxPyEndAllowThreads(__tstate
);
8401 if (PyErr_Occurred()) SWIG_fail
;
8403 Py_INCREF(Py_None
); resultobj
= Py_None
;
8410 static PyObject
*_wrap_PseudoMetaFile_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8411 PyObject
*resultobj
;
8412 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8415 PyObject
* obj0
= 0 ;
8416 PyObject
* obj1
= 0 ;
8418 (char *) "self",(char *) "rect", NULL
8421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_DrawEllipse",kwnames
,&obj0
,&obj1
)) goto fail
;
8422 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8425 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8429 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
8431 wxPyEndAllowThreads(__tstate
);
8432 if (PyErr_Occurred()) SWIG_fail
;
8434 Py_INCREF(Py_None
); resultobj
= Py_None
;
8441 static PyObject
*_wrap_PseudoMetaFile_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8442 PyObject
*resultobj
;
8443 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8446 PyObject
* obj0
= 0 ;
8447 PyObject
* obj1
= 0 ;
8449 (char *) "self",(char *) "pt", NULL
8452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_DrawPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
8453 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8456 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8460 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
8462 wxPyEndAllowThreads(__tstate
);
8463 if (PyErr_Occurred()) SWIG_fail
;
8465 Py_INCREF(Py_None
); resultobj
= Py_None
;
8472 static PyObject
*_wrap_PseudoMetaFile_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8473 PyObject
*resultobj
;
8474 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8475 wxString
*arg2
= 0 ;
8477 bool temp2
= False
;
8479 PyObject
* obj0
= 0 ;
8480 PyObject
* obj1
= 0 ;
8481 PyObject
* obj2
= 0 ;
8483 (char *) "self",(char *) "text",(char *) "pt", NULL
8486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_DrawText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8489 arg2
= wxString_in_helper(obj1
);
8490 if (arg2
== NULL
) SWIG_fail
;
8495 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8499 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
8501 wxPyEndAllowThreads(__tstate
);
8502 if (PyErr_Occurred()) SWIG_fail
;
8504 Py_INCREF(Py_None
); resultobj
= Py_None
;
8519 static PyObject
*_wrap_PseudoMetaFile_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8520 PyObject
*resultobj
;
8521 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8523 wxPoint
*arg3
= (wxPoint
*) 0 ;
8524 PyObject
* obj0
= 0 ;
8525 PyObject
* obj2
= 0 ;
8527 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
8530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:PseudoMetaFile_DrawLines",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
8531 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8532 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8535 (arg1
)->DrawLines(arg2
,arg3
);
8537 wxPyEndAllowThreads(__tstate
);
8538 if (PyErr_Occurred()) SWIG_fail
;
8540 Py_INCREF(Py_None
); resultobj
= Py_None
;
8547 static PyObject
*_wrap_PseudoMetaFile_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8548 PyObject
*resultobj
;
8549 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8551 wxPoint
*arg3
= (wxPoint
*) 0 ;
8552 int arg4
= (int) 0 ;
8553 PyObject
* obj0
= 0 ;
8554 PyObject
* obj2
= 0 ;
8556 (char *) "self",(char *) "PCOUNT",(char *) "points",(char *) "flags", NULL
8559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|i:PseudoMetaFile_DrawPolygon",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
)) goto fail
;
8560 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8561 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8564 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
);
8566 wxPyEndAllowThreads(__tstate
);
8567 if (PyErr_Occurred()) SWIG_fail
;
8569 Py_INCREF(Py_None
); resultobj
= Py_None
;
8576 static PyObject
*_wrap_PseudoMetaFile_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8577 PyObject
*resultobj
;
8578 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8580 wxPoint
*arg3
= (wxPoint
*) 0 ;
8581 PyObject
* obj0
= 0 ;
8582 PyObject
* obj2
= 0 ;
8584 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
8587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:PseudoMetaFile_DrawSpline",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
8588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8589 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8592 (arg1
)->DrawSpline(arg2
,arg3
);
8594 wxPyEndAllowThreads(__tstate
);
8595 if (PyErr_Occurred()) SWIG_fail
;
8597 Py_INCREF(Py_None
); resultobj
= Py_None
;
8604 static PyObject
*_wrap_PseudoMetaFile_SetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8605 PyObject
*resultobj
;
8606 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8609 PyObject
* obj0
= 0 ;
8610 PyObject
* obj1
= 0 ;
8612 (char *) "self",(char *) "rect", NULL
8615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
8616 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8619 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8623 (arg1
)->SetClippingRect((wxRect
const &)*arg2
);
8625 wxPyEndAllowThreads(__tstate
);
8626 if (PyErr_Occurred()) SWIG_fail
;
8628 Py_INCREF(Py_None
); resultobj
= Py_None
;
8635 static PyObject
*_wrap_PseudoMetaFile_DestroyClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8636 PyObject
*resultobj
;
8637 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8638 PyObject
* obj0
= 0 ;
8640 (char *) "self", NULL
8643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_DestroyClippingRect",kwnames
,&obj0
)) goto fail
;
8644 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8647 (arg1
)->DestroyClippingRect();
8649 wxPyEndAllowThreads(__tstate
);
8650 if (PyErr_Occurred()) SWIG_fail
;
8652 Py_INCREF(Py_None
); resultobj
= Py_None
;
8659 static PyObject
*_wrap_PseudoMetaFile_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8660 PyObject
*resultobj
;
8661 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8662 wxPen
*arg2
= (wxPen
*) 0 ;
8663 bool arg3
= (bool) FALSE
;
8664 PyObject
* obj0
= 0 ;
8665 PyObject
* obj1
= 0 ;
8666 PyObject
* obj2
= 0 ;
8668 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
8671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoMetaFile_SetPen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8672 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8676 if (obj1
== Py_None
) {
8679 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
8680 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
8685 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
8692 arg3
= PyInt_AsLong(obj2
) ? true : false;
8693 if (PyErr_Occurred()) SWIG_fail
;
8696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8697 (arg1
)->SetPen(arg2
,arg3
);
8699 wxPyEndAllowThreads(__tstate
);
8700 if (PyErr_Occurred()) SWIG_fail
;
8702 Py_INCREF(Py_None
); resultobj
= Py_None
;
8709 static PyObject
*_wrap_PseudoMetaFile_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8710 PyObject
*resultobj
;
8711 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8712 wxBrush
*arg2
= (wxBrush
*) 0 ;
8713 bool arg3
= (bool) FALSE
;
8714 PyObject
* obj0
= 0 ;
8715 PyObject
* obj1
= 0 ;
8716 PyObject
* obj2
= 0 ;
8718 (char *) "self",(char *) "brush",(char *) "isFill", NULL
8721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoMetaFile_SetBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8726 if (obj1
== Py_None
) {
8729 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxBrush"))) {
8730 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxBrush.");
8735 arg2
= wxTheBrushList
->FindOrCreateBrush(temp
->GetColour(), temp
->GetStyle());
8740 arg3
= PyInt_AsLong(obj2
) ? true : false;
8741 if (PyErr_Occurred()) SWIG_fail
;
8744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8745 (arg1
)->SetBrush(arg2
,arg3
);
8747 wxPyEndAllowThreads(__tstate
);
8748 if (PyErr_Occurred()) SWIG_fail
;
8750 Py_INCREF(Py_None
); resultobj
= Py_None
;
8757 static PyObject
*_wrap_PseudoMetaFile_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8758 PyObject
*resultobj
;
8759 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8760 wxFont
*arg2
= (wxFont
*) 0 ;
8761 PyObject
* obj0
= 0 ;
8762 PyObject
* obj1
= 0 ;
8764 (char *) "self",(char *) "font", NULL
8767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
8768 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8772 if (obj1
== Py_None
) {
8775 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxFont"))) {
8776 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxFont.");
8781 arg2
= wxTheFontList
->FindOrCreateFont(temp
->GetPointSize(),
8785 temp
->GetUnderlined(),
8786 temp
->GetFaceName(),
8787 temp
->GetEncoding());
8792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8793 (arg1
)->SetFont(arg2
);
8795 wxPyEndAllowThreads(__tstate
);
8796 if (PyErr_Occurred()) SWIG_fail
;
8798 Py_INCREF(Py_None
); resultobj
= Py_None
;
8805 static PyObject
*_wrap_PseudoMetaFile_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8806 PyObject
*resultobj
;
8807 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8808 wxColour
*arg2
= 0 ;
8810 PyObject
* obj0
= 0 ;
8811 PyObject
* obj1
= 0 ;
8813 (char *) "self",(char *) "colour", NULL
8816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
8817 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8820 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8824 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
8826 wxPyEndAllowThreads(__tstate
);
8827 if (PyErr_Occurred()) SWIG_fail
;
8829 Py_INCREF(Py_None
); resultobj
= Py_None
;
8836 static PyObject
*_wrap_PseudoMetaFile_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8837 PyObject
*resultobj
;
8838 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8839 wxColour
*arg2
= 0 ;
8841 PyObject
* obj0
= 0 ;
8842 PyObject
* obj1
= 0 ;
8844 (char *) "self",(char *) "colour", NULL
8847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
8848 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8851 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8855 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
8857 wxPyEndAllowThreads(__tstate
);
8858 if (PyErr_Occurred()) SWIG_fail
;
8860 Py_INCREF(Py_None
); resultobj
= Py_None
;
8867 static PyObject
*_wrap_PseudoMetaFile_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8868 PyObject
*resultobj
;
8869 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8871 PyObject
* obj0
= 0 ;
8873 (char *) "self",(char *) "mode", NULL
8876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PseudoMetaFile_SetBackgroundMode",kwnames
,&obj0
,&arg2
)) goto fail
;
8877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8880 (arg1
)->SetBackgroundMode(arg2
);
8882 wxPyEndAllowThreads(__tstate
);
8883 if (PyErr_Occurred()) SWIG_fail
;
8885 Py_INCREF(Py_None
); resultobj
= Py_None
;
8892 static PyObject
* PseudoMetaFile_swigregister(PyObject
*self
, PyObject
*args
) {
8894 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8895 SWIG_TypeClientData(SWIGTYPE_p_wxPseudoMetaFile
, obj
);
8897 return Py_BuildValue((char *)"");
8899 static PyObject
*_wrap_new_PyRectangleShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8900 PyObject
*resultobj
;
8901 double arg1
= (double) 0.0 ;
8902 double arg2
= (double) 0.0 ;
8903 wxPyRectangleShape
*result
;
8905 (char *) "width",(char *) "height", NULL
8908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|dd:new_PyRectangleShape",kwnames
,&arg1
,&arg2
)) goto fail
;
8910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8911 result
= (wxPyRectangleShape
*)new wxPyRectangleShape(arg1
,arg2
);
8913 wxPyEndAllowThreads(__tstate
);
8914 if (PyErr_Occurred()) SWIG_fail
;
8916 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyRectangleShape
, 1);
8923 static PyObject
*_wrap_PyRectangleShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8924 PyObject
*resultobj
;
8925 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
8926 PyObject
*arg2
= (PyObject
*) 0 ;
8927 PyObject
*arg3
= (PyObject
*) 0 ;
8928 PyObject
* obj0
= 0 ;
8929 PyObject
* obj1
= 0 ;
8930 PyObject
* obj2
= 0 ;
8932 (char *) "self",(char *) "self",(char *) "_class", NULL
8935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyRectangleShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8941 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8943 wxPyEndAllowThreads(__tstate
);
8944 if (PyErr_Occurred()) SWIG_fail
;
8946 Py_INCREF(Py_None
); resultobj
= Py_None
;
8953 static PyObject
*_wrap_PyRectangleShape_SetCornerRadius(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8954 PyObject
*resultobj
;
8955 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
8957 PyObject
* obj0
= 0 ;
8959 (char *) "self",(char *) "radius", NULL
8962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:PyRectangleShape_SetCornerRadius",kwnames
,&obj0
,&arg2
)) goto fail
;
8963 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8966 (arg1
)->SetCornerRadius(arg2
);
8968 wxPyEndAllowThreads(__tstate
);
8969 if (PyErr_Occurred()) SWIG_fail
;
8971 Py_INCREF(Py_None
); resultobj
= Py_None
;
8978 static PyObject
*_wrap_PyRectangleShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8979 PyObject
*resultobj
;
8980 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
8981 PyObject
* obj0
= 0 ;
8983 (char *) "self", NULL
8986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyRectangleShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
8987 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8990 (arg1
)->base_OnDelete();
8992 wxPyEndAllowThreads(__tstate
);
8993 if (PyErr_Occurred()) SWIG_fail
;
8995 Py_INCREF(Py_None
); resultobj
= Py_None
;
9002 static PyObject
*_wrap_PyRectangleShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9003 PyObject
*resultobj
;
9004 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9006 PyObject
* obj0
= 0 ;
9007 PyObject
* obj1
= 0 ;
9009 (char *) "self",(char *) "dc", NULL
9012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
9013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9014 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9016 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9020 (arg1
)->base_OnDraw(*arg2
);
9022 wxPyEndAllowThreads(__tstate
);
9023 if (PyErr_Occurred()) SWIG_fail
;
9025 Py_INCREF(Py_None
); resultobj
= Py_None
;
9032 static PyObject
*_wrap_PyRectangleShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9033 PyObject
*resultobj
;
9034 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9036 PyObject
* obj0
= 0 ;
9037 PyObject
* obj1
= 0 ;
9039 (char *) "self",(char *) "dc", NULL
9042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
9043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9044 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9046 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9050 (arg1
)->base_OnDrawContents(*arg2
);
9052 wxPyEndAllowThreads(__tstate
);
9053 if (PyErr_Occurred()) SWIG_fail
;
9055 Py_INCREF(Py_None
); resultobj
= Py_None
;
9062 static PyObject
*_wrap_PyRectangleShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9063 PyObject
*resultobj
;
9064 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9066 bool arg3
= (bool) FALSE
;
9067 PyObject
* obj0
= 0 ;
9068 PyObject
* obj1
= 0 ;
9069 PyObject
* obj2
= 0 ;
9071 (char *) "self",(char *) "dc",(char *) "erase", NULL
9074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyRectangleShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9075 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9076 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9078 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9081 arg3
= PyInt_AsLong(obj2
) ? true : false;
9082 if (PyErr_Occurred()) SWIG_fail
;
9085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9086 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
9088 wxPyEndAllowThreads(__tstate
);
9089 if (PyErr_Occurred()) SWIG_fail
;
9091 Py_INCREF(Py_None
); resultobj
= Py_None
;
9098 static PyObject
*_wrap_PyRectangleShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9099 PyObject
*resultobj
;
9100 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9102 PyObject
* obj0
= 0 ;
9103 PyObject
* obj1
= 0 ;
9105 (char *) "self",(char *) "dc", NULL
9108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
9109 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9110 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9112 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9116 (arg1
)->base_OnMoveLinks(*arg2
);
9118 wxPyEndAllowThreads(__tstate
);
9119 if (PyErr_Occurred()) SWIG_fail
;
9121 Py_INCREF(Py_None
); resultobj
= Py_None
;
9128 static PyObject
*_wrap_PyRectangleShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9129 PyObject
*resultobj
;
9130 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9132 PyObject
* obj0
= 0 ;
9133 PyObject
* obj1
= 0 ;
9135 (char *) "self",(char *) "dc", NULL
9138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
9139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9140 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9142 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9146 (arg1
)->base_OnErase(*arg2
);
9148 wxPyEndAllowThreads(__tstate
);
9149 if (PyErr_Occurred()) SWIG_fail
;
9151 Py_INCREF(Py_None
); resultobj
= Py_None
;
9158 static PyObject
*_wrap_PyRectangleShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9159 PyObject
*resultobj
;
9160 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9162 PyObject
* obj0
= 0 ;
9163 PyObject
* obj1
= 0 ;
9165 (char *) "self",(char *) "dc", NULL
9168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
9169 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9170 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9172 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9176 (arg1
)->base_OnEraseContents(*arg2
);
9178 wxPyEndAllowThreads(__tstate
);
9179 if (PyErr_Occurred()) SWIG_fail
;
9181 Py_INCREF(Py_None
); resultobj
= Py_None
;
9188 static PyObject
*_wrap_PyRectangleShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9189 PyObject
*resultobj
;
9190 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9192 PyObject
* obj0
= 0 ;
9193 PyObject
* obj1
= 0 ;
9195 (char *) "self",(char *) "dc", NULL
9198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
9199 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9200 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9202 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9206 (arg1
)->base_OnHighlight(*arg2
);
9208 wxPyEndAllowThreads(__tstate
);
9209 if (PyErr_Occurred()) SWIG_fail
;
9211 Py_INCREF(Py_None
); resultobj
= Py_None
;
9218 static PyObject
*_wrap_PyRectangleShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9219 PyObject
*resultobj
;
9220 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9223 int arg4
= (int) 0 ;
9224 int arg5
= (int) 0 ;
9225 PyObject
* obj0
= 0 ;
9227 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyRectangleShape_base_OnLeftClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
9231 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9234 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
9236 wxPyEndAllowThreads(__tstate
);
9237 if (PyErr_Occurred()) SWIG_fail
;
9239 Py_INCREF(Py_None
); resultobj
= Py_None
;
9246 static PyObject
*_wrap_PyRectangleShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9247 PyObject
*resultobj
;
9248 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9251 int arg4
= (int) 0 ;
9252 int arg5
= (int) 0 ;
9253 PyObject
* obj0
= 0 ;
9255 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyRectangleShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
9259 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9262 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
9264 wxPyEndAllowThreads(__tstate
);
9265 if (PyErr_Occurred()) SWIG_fail
;
9267 Py_INCREF(Py_None
); resultobj
= Py_None
;
9274 static PyObject
*_wrap_PyRectangleShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9275 PyObject
*resultobj
;
9276 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9279 int arg4
= (int) 0 ;
9280 int arg5
= (int) 0 ;
9281 PyObject
* obj0
= 0 ;
9283 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyRectangleShape_base_OnRightClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
9287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9290 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
9292 wxPyEndAllowThreads(__tstate
);
9293 if (PyErr_Occurred()) SWIG_fail
;
9295 Py_INCREF(Py_None
); resultobj
= Py_None
;
9302 static PyObject
*_wrap_PyRectangleShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9303 PyObject
*resultobj
;
9304 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9307 PyObject
* obj0
= 0 ;
9309 (char *) "self",(char *) "x",(char *) "y", NULL
9312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyRectangleShape_base_OnSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
9313 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9316 (arg1
)->base_OnSize(arg2
,arg3
);
9318 wxPyEndAllowThreads(__tstate
);
9319 if (PyErr_Occurred()) SWIG_fail
;
9321 Py_INCREF(Py_None
); resultobj
= Py_None
;
9328 static PyObject
*_wrap_PyRectangleShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9329 PyObject
*resultobj
;
9330 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9336 bool arg7
= (bool) True
;
9338 PyObject
* obj0
= 0 ;
9339 PyObject
* obj1
= 0 ;
9340 PyObject
* obj6
= 0 ;
9342 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
9345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyRectangleShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
9346 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9347 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9349 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9352 arg7
= PyInt_AsLong(obj6
) ? true : false;
9353 if (PyErr_Occurred()) SWIG_fail
;
9356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9357 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9359 wxPyEndAllowThreads(__tstate
);
9360 if (PyErr_Occurred()) SWIG_fail
;
9362 resultobj
= PyInt_FromLong((long)result
);
9369 static PyObject
*_wrap_PyRectangleShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9370 PyObject
*resultobj
;
9371 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9377 bool arg7
= (bool) True
;
9378 PyObject
* obj0
= 0 ;
9379 PyObject
* obj1
= 0 ;
9380 PyObject
* obj6
= 0 ;
9382 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
9385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyRectangleShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
9386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9387 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9389 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9392 arg7
= PyInt_AsLong(obj6
) ? true : false;
9393 if (PyErr_Occurred()) SWIG_fail
;
9396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9397 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9399 wxPyEndAllowThreads(__tstate
);
9400 if (PyErr_Occurred()) SWIG_fail
;
9402 Py_INCREF(Py_None
); resultobj
= Py_None
;
9409 static PyObject
*_wrap_PyRectangleShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9410 PyObject
*resultobj
;
9411 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9415 int arg5
= (int) 0 ;
9416 int arg6
= (int) 0 ;
9417 PyObject
* obj0
= 0 ;
9418 PyObject
* obj1
= 0 ;
9420 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyRectangleShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
9424 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9425 arg2
= PyInt_AsLong(obj1
) ? true : false;
9426 if (PyErr_Occurred()) SWIG_fail
;
9428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9429 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
9431 wxPyEndAllowThreads(__tstate
);
9432 if (PyErr_Occurred()) SWIG_fail
;
9434 Py_INCREF(Py_None
); resultobj
= Py_None
;
9441 static PyObject
*_wrap_PyRectangleShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9442 PyObject
*resultobj
;
9443 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9446 int arg4
= (int) 0 ;
9447 int arg5
= (int) 0 ;
9448 PyObject
* obj0
= 0 ;
9450 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyRectangleShape_base_OnBeginDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
9454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9457 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
9459 wxPyEndAllowThreads(__tstate
);
9460 if (PyErr_Occurred()) SWIG_fail
;
9462 Py_INCREF(Py_None
); resultobj
= Py_None
;
9469 static PyObject
*_wrap_PyRectangleShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9470 PyObject
*resultobj
;
9471 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9474 int arg4
= (int) 0 ;
9475 int arg5
= (int) 0 ;
9476 PyObject
* obj0
= 0 ;
9478 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyRectangleShape_base_OnEndDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
9482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9485 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
9487 wxPyEndAllowThreads(__tstate
);
9488 if (PyErr_Occurred()) SWIG_fail
;
9490 Py_INCREF(Py_None
); resultobj
= Py_None
;
9497 static PyObject
*_wrap_PyRectangleShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9498 PyObject
*resultobj
;
9499 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9503 int arg5
= (int) 0 ;
9504 int arg6
= (int) 0 ;
9505 PyObject
* obj0
= 0 ;
9506 PyObject
* obj1
= 0 ;
9508 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyRectangleShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
9512 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9513 arg2
= PyInt_AsLong(obj1
) ? true : false;
9514 if (PyErr_Occurred()) SWIG_fail
;
9516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9517 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
9519 wxPyEndAllowThreads(__tstate
);
9520 if (PyErr_Occurred()) SWIG_fail
;
9522 Py_INCREF(Py_None
); resultobj
= Py_None
;
9529 static PyObject
*_wrap_PyRectangleShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9530 PyObject
*resultobj
;
9531 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9534 int arg4
= (int) 0 ;
9535 int arg5
= (int) 0 ;
9536 PyObject
* obj0
= 0 ;
9538 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyRectangleShape_base_OnBeginDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
9542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9545 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
9547 wxPyEndAllowThreads(__tstate
);
9548 if (PyErr_Occurred()) SWIG_fail
;
9550 Py_INCREF(Py_None
); resultobj
= Py_None
;
9557 static PyObject
*_wrap_PyRectangleShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9558 PyObject
*resultobj
;
9559 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9562 int arg4
= (int) 0 ;
9563 int arg5
= (int) 0 ;
9564 PyObject
* obj0
= 0 ;
9566 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyRectangleShape_base_OnEndDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
9570 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9573 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
9575 wxPyEndAllowThreads(__tstate
);
9576 if (PyErr_Occurred()) SWIG_fail
;
9578 Py_INCREF(Py_None
); resultobj
= Py_None
;
9585 static PyObject
*_wrap_PyRectangleShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9586 PyObject
*resultobj
;
9587 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9593 PyObject
* obj0
= 0 ;
9594 PyObject
* obj1
= 0 ;
9596 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
9599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd:PyRectangleShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
9600 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9601 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9603 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9607 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
9609 wxPyEndAllowThreads(__tstate
);
9610 if (PyErr_Occurred()) SWIG_fail
;
9612 Py_INCREF(Py_None
); resultobj
= Py_None
;
9619 static PyObject
*_wrap_PyRectangleShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9620 PyObject
*resultobj
;
9621 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9623 PyObject
* obj0
= 0 ;
9624 PyObject
* obj1
= 0 ;
9626 (char *) "self",(char *) "dc", NULL
9629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
9630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9631 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9633 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9637 (arg1
)->base_OnDrawControlPoints(*arg2
);
9639 wxPyEndAllowThreads(__tstate
);
9640 if (PyErr_Occurred()) SWIG_fail
;
9642 Py_INCREF(Py_None
); resultobj
= Py_None
;
9649 static PyObject
*_wrap_PyRectangleShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9650 PyObject
*resultobj
;
9651 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9653 PyObject
* obj0
= 0 ;
9654 PyObject
* obj1
= 0 ;
9656 (char *) "self",(char *) "dc", NULL
9659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
9660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9661 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9663 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9667 (arg1
)->base_OnEraseControlPoints(*arg2
);
9669 wxPyEndAllowThreads(__tstate
);
9670 if (PyErr_Occurred()) SWIG_fail
;
9672 Py_INCREF(Py_None
); resultobj
= Py_None
;
9679 static PyObject
*_wrap_PyRectangleShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9680 PyObject
*resultobj
;
9681 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9683 bool arg3
= (bool) True
;
9684 PyObject
* obj0
= 0 ;
9685 PyObject
* obj1
= 0 ;
9686 PyObject
* obj2
= 0 ;
9688 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
9691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyRectangleShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9693 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9695 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9698 arg3
= PyInt_AsLong(obj2
) ? true : false;
9699 if (PyErr_Occurred()) SWIG_fail
;
9702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9703 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
9705 wxPyEndAllowThreads(__tstate
);
9706 if (PyErr_Occurred()) SWIG_fail
;
9708 Py_INCREF(Py_None
); resultobj
= Py_None
;
9715 static PyObject
*_wrap_PyRectangleShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9716 PyObject
*resultobj
;
9717 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9718 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
9722 int arg6
= (int) 0 ;
9723 int arg7
= (int) 0 ;
9724 PyObject
* obj0
= 0 ;
9725 PyObject
* obj1
= 0 ;
9726 PyObject
* obj2
= 0 ;
9728 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd|ii:PyRectangleShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
9732 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9733 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9734 arg3
= PyInt_AsLong(obj2
) ? true : false;
9735 if (PyErr_Occurred()) SWIG_fail
;
9737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9738 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9740 wxPyEndAllowThreads(__tstate
);
9741 if (PyErr_Occurred()) SWIG_fail
;
9743 Py_INCREF(Py_None
); resultobj
= Py_None
;
9750 static PyObject
*_wrap_PyRectangleShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9751 PyObject
*resultobj
;
9752 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9753 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
9756 int arg5
= (int) 0 ;
9757 int arg6
= (int) 0 ;
9758 PyObject
* obj0
= 0 ;
9759 PyObject
* obj1
= 0 ;
9761 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyRectangleShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
9765 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9766 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9769 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
9771 wxPyEndAllowThreads(__tstate
);
9772 if (PyErr_Occurred()) SWIG_fail
;
9774 Py_INCREF(Py_None
); resultobj
= Py_None
;
9781 static PyObject
*_wrap_PyRectangleShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9782 PyObject
*resultobj
;
9783 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9784 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
9787 int arg5
= (int) 0 ;
9788 int arg6
= (int) 0 ;
9789 PyObject
* obj0
= 0 ;
9790 PyObject
* obj1
= 0 ;
9792 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyRectangleShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
9796 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9797 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9800 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
9802 wxPyEndAllowThreads(__tstate
);
9803 if (PyErr_Occurred()) SWIG_fail
;
9805 Py_INCREF(Py_None
); resultobj
= Py_None
;
9812 static PyObject
*_wrap_PyRectangleShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9813 PyObject
*resultobj
;
9814 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9817 PyObject
* obj0
= 0 ;
9819 (char *) "self",(char *) "w",(char *) "h", NULL
9822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyRectangleShape_base_OnBeginSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
9823 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9826 (arg1
)->base_OnBeginSize(arg2
,arg3
);
9828 wxPyEndAllowThreads(__tstate
);
9829 if (PyErr_Occurred()) SWIG_fail
;
9831 Py_INCREF(Py_None
); resultobj
= Py_None
;
9838 static PyObject
*_wrap_PyRectangleShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9839 PyObject
*resultobj
;
9840 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9843 PyObject
* obj0
= 0 ;
9845 (char *) "self",(char *) "w",(char *) "h", NULL
9848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyRectangleShape_base_OnEndSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
9849 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9852 (arg1
)->base_OnEndSize(arg2
,arg3
);
9854 wxPyEndAllowThreads(__tstate
);
9855 if (PyErr_Occurred()) SWIG_fail
;
9857 Py_INCREF(Py_None
); resultobj
= Py_None
;
9864 static PyObject
* PyRectangleShape_swigregister(PyObject
*self
, PyObject
*args
) {
9866 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9867 SWIG_TypeClientData(SWIGTYPE_p_wxPyRectangleShape
, obj
);
9869 return Py_BuildValue((char *)"");
9871 static PyObject
*_wrap_new_PyControlPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9872 PyObject
*resultobj
;
9873 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) NULL
;
9874 wxPyShape
*arg2
= (wxPyShape
*) NULL
;
9875 double arg3
= (double) 0.0 ;
9876 double arg4
= (double) 0.0 ;
9877 double arg5
= (double) 0.0 ;
9878 int arg6
= (int) 0 ;
9879 wxPyControlPoint
*result
;
9880 PyObject
* obj0
= 0 ;
9881 PyObject
* obj1
= 0 ;
9883 (char *) "the_canvas",(char *) "object",(char *) "size",(char *) "the_xoffset",(char *) "the_yoffset",(char *) "the_type", NULL
9886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOdddi:new_PyControlPoint",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
9888 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9891 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9895 result
= (wxPyControlPoint
*)new wxPyControlPoint(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
9897 wxPyEndAllowThreads(__tstate
);
9898 if (PyErr_Occurred()) SWIG_fail
;
9900 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyControlPoint
, 1);
9907 static PyObject
*_wrap_PyControlPoint__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9908 PyObject
*resultobj
;
9909 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
9910 PyObject
*arg2
= (PyObject
*) 0 ;
9911 PyObject
*arg3
= (PyObject
*) 0 ;
9912 PyObject
* obj0
= 0 ;
9913 PyObject
* obj1
= 0 ;
9914 PyObject
* obj2
= 0 ;
9916 (char *) "self",(char *) "self",(char *) "_class", NULL
9919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControlPoint__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9920 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9925 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9927 wxPyEndAllowThreads(__tstate
);
9928 if (PyErr_Occurred()) SWIG_fail
;
9930 Py_INCREF(Py_None
); resultobj
= Py_None
;
9937 static PyObject
*_wrap_PyControlPoint_SetCornerRadius(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9938 PyObject
*resultobj
;
9939 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
9941 PyObject
* obj0
= 0 ;
9943 (char *) "self",(char *) "radius", NULL
9946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:PyControlPoint_SetCornerRadius",kwnames
,&obj0
,&arg2
)) goto fail
;
9947 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9950 (arg1
)->SetCornerRadius(arg2
);
9952 wxPyEndAllowThreads(__tstate
);
9953 if (PyErr_Occurred()) SWIG_fail
;
9955 Py_INCREF(Py_None
); resultobj
= Py_None
;
9962 static PyObject
*_wrap_PyControlPoint_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9963 PyObject
*resultobj
;
9964 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
9965 PyObject
* obj0
= 0 ;
9967 (char *) "self", NULL
9970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControlPoint_base_OnDelete",kwnames
,&obj0
)) goto fail
;
9971 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9974 (arg1
)->base_OnDelete();
9976 wxPyEndAllowThreads(__tstate
);
9977 if (PyErr_Occurred()) SWIG_fail
;
9979 Py_INCREF(Py_None
); resultobj
= Py_None
;
9986 static PyObject
*_wrap_PyControlPoint_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9987 PyObject
*resultobj
;
9988 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
9990 PyObject
* obj0
= 0 ;
9991 PyObject
* obj1
= 0 ;
9993 (char *) "self",(char *) "dc", NULL
9996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
9997 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9998 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10000 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10004 (arg1
)->base_OnDraw(*arg2
);
10006 wxPyEndAllowThreads(__tstate
);
10007 if (PyErr_Occurred()) SWIG_fail
;
10009 Py_INCREF(Py_None
); resultobj
= Py_None
;
10016 static PyObject
*_wrap_PyControlPoint_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10017 PyObject
*resultobj
;
10018 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10020 PyObject
* obj0
= 0 ;
10021 PyObject
* obj1
= 0 ;
10022 char *kwnames
[] = {
10023 (char *) "self",(char *) "dc", NULL
10026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
10027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10028 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10029 if (arg2
== NULL
) {
10030 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10034 (arg1
)->base_OnDrawContents(*arg2
);
10036 wxPyEndAllowThreads(__tstate
);
10037 if (PyErr_Occurred()) SWIG_fail
;
10039 Py_INCREF(Py_None
); resultobj
= Py_None
;
10046 static PyObject
*_wrap_PyControlPoint_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10047 PyObject
*resultobj
;
10048 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10050 bool arg3
= (bool) FALSE
;
10051 PyObject
* obj0
= 0 ;
10052 PyObject
* obj1
= 0 ;
10053 PyObject
* obj2
= 0 ;
10054 char *kwnames
[] = {
10055 (char *) "self",(char *) "dc",(char *) "erase", NULL
10058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyControlPoint_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10059 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10060 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10061 if (arg2
== NULL
) {
10062 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10065 arg3
= PyInt_AsLong(obj2
) ? true : false;
10066 if (PyErr_Occurred()) SWIG_fail
;
10069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10070 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
10072 wxPyEndAllowThreads(__tstate
);
10073 if (PyErr_Occurred()) SWIG_fail
;
10075 Py_INCREF(Py_None
); resultobj
= Py_None
;
10082 static PyObject
*_wrap_PyControlPoint_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10083 PyObject
*resultobj
;
10084 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10086 PyObject
* obj0
= 0 ;
10087 PyObject
* obj1
= 0 ;
10088 char *kwnames
[] = {
10089 (char *) "self",(char *) "dc", NULL
10092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
10093 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10094 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10095 if (arg2
== NULL
) {
10096 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10100 (arg1
)->base_OnMoveLinks(*arg2
);
10102 wxPyEndAllowThreads(__tstate
);
10103 if (PyErr_Occurred()) SWIG_fail
;
10105 Py_INCREF(Py_None
); resultobj
= Py_None
;
10112 static PyObject
*_wrap_PyControlPoint_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10113 PyObject
*resultobj
;
10114 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10116 PyObject
* obj0
= 0 ;
10117 PyObject
* obj1
= 0 ;
10118 char *kwnames
[] = {
10119 (char *) "self",(char *) "dc", NULL
10122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
10123 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10124 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10125 if (arg2
== NULL
) {
10126 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10130 (arg1
)->base_OnErase(*arg2
);
10132 wxPyEndAllowThreads(__tstate
);
10133 if (PyErr_Occurred()) SWIG_fail
;
10135 Py_INCREF(Py_None
); resultobj
= Py_None
;
10142 static PyObject
*_wrap_PyControlPoint_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10143 PyObject
*resultobj
;
10144 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10146 PyObject
* obj0
= 0 ;
10147 PyObject
* obj1
= 0 ;
10148 char *kwnames
[] = {
10149 (char *) "self",(char *) "dc", NULL
10152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
10153 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10154 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10155 if (arg2
== NULL
) {
10156 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10160 (arg1
)->base_OnEraseContents(*arg2
);
10162 wxPyEndAllowThreads(__tstate
);
10163 if (PyErr_Occurred()) SWIG_fail
;
10165 Py_INCREF(Py_None
); resultobj
= Py_None
;
10172 static PyObject
*_wrap_PyControlPoint_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10173 PyObject
*resultobj
;
10174 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10176 PyObject
* obj0
= 0 ;
10177 PyObject
* obj1
= 0 ;
10178 char *kwnames
[] = {
10179 (char *) "self",(char *) "dc", NULL
10182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
10183 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10184 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10185 if (arg2
== NULL
) {
10186 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10190 (arg1
)->base_OnHighlight(*arg2
);
10192 wxPyEndAllowThreads(__tstate
);
10193 if (PyErr_Occurred()) SWIG_fail
;
10195 Py_INCREF(Py_None
); resultobj
= Py_None
;
10202 static PyObject
*_wrap_PyControlPoint_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10203 PyObject
*resultobj
;
10204 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10207 int arg4
= (int) 0 ;
10208 int arg5
= (int) 0 ;
10209 PyObject
* obj0
= 0 ;
10210 char *kwnames
[] = {
10211 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyControlPoint_base_OnLeftClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
10215 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10218 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
10220 wxPyEndAllowThreads(__tstate
);
10221 if (PyErr_Occurred()) SWIG_fail
;
10223 Py_INCREF(Py_None
); resultobj
= Py_None
;
10230 static PyObject
*_wrap_PyControlPoint_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10231 PyObject
*resultobj
;
10232 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10235 int arg4
= (int) 0 ;
10236 int arg5
= (int) 0 ;
10237 PyObject
* obj0
= 0 ;
10238 char *kwnames
[] = {
10239 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyControlPoint_base_OnLeftDoubleClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
10243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10246 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
10248 wxPyEndAllowThreads(__tstate
);
10249 if (PyErr_Occurred()) SWIG_fail
;
10251 Py_INCREF(Py_None
); resultobj
= Py_None
;
10258 static PyObject
*_wrap_PyControlPoint_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10259 PyObject
*resultobj
;
10260 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10263 int arg4
= (int) 0 ;
10264 int arg5
= (int) 0 ;
10265 PyObject
* obj0
= 0 ;
10266 char *kwnames
[] = {
10267 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyControlPoint_base_OnRightClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
10271 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10274 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
10276 wxPyEndAllowThreads(__tstate
);
10277 if (PyErr_Occurred()) SWIG_fail
;
10279 Py_INCREF(Py_None
); resultobj
= Py_None
;
10286 static PyObject
*_wrap_PyControlPoint_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10287 PyObject
*resultobj
;
10288 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10291 PyObject
* obj0
= 0 ;
10292 char *kwnames
[] = {
10293 (char *) "self",(char *) "x",(char *) "y", NULL
10296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyControlPoint_base_OnSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10297 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10300 (arg1
)->base_OnSize(arg2
,arg3
);
10302 wxPyEndAllowThreads(__tstate
);
10303 if (PyErr_Occurred()) SWIG_fail
;
10305 Py_INCREF(Py_None
); resultobj
= Py_None
;
10312 static PyObject
*_wrap_PyControlPoint_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10313 PyObject
*resultobj
;
10314 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10320 bool arg7
= (bool) True
;
10322 PyObject
* obj0
= 0 ;
10323 PyObject
* obj1
= 0 ;
10324 PyObject
* obj6
= 0 ;
10325 char *kwnames
[] = {
10326 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
10329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyControlPoint_base_OnMovePre",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
10330 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10331 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10332 if (arg2
== NULL
) {
10333 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10336 arg7
= PyInt_AsLong(obj6
) ? true : false;
10337 if (PyErr_Occurred()) SWIG_fail
;
10340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10341 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10343 wxPyEndAllowThreads(__tstate
);
10344 if (PyErr_Occurred()) SWIG_fail
;
10346 resultobj
= PyInt_FromLong((long)result
);
10353 static PyObject
*_wrap_PyControlPoint_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10354 PyObject
*resultobj
;
10355 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10361 bool arg7
= (bool) True
;
10362 PyObject
* obj0
= 0 ;
10363 PyObject
* obj1
= 0 ;
10364 PyObject
* obj6
= 0 ;
10365 char *kwnames
[] = {
10366 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
10369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyControlPoint_base_OnMovePost",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
10370 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10371 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10372 if (arg2
== NULL
) {
10373 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10376 arg7
= PyInt_AsLong(obj6
) ? true : false;
10377 if (PyErr_Occurred()) SWIG_fail
;
10380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10381 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10383 wxPyEndAllowThreads(__tstate
);
10384 if (PyErr_Occurred()) SWIG_fail
;
10386 Py_INCREF(Py_None
); resultobj
= Py_None
;
10393 static PyObject
*_wrap_PyControlPoint_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10394 PyObject
*resultobj
;
10395 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10399 int arg5
= (int) 0 ;
10400 int arg6
= (int) 0 ;
10401 PyObject
* obj0
= 0 ;
10402 PyObject
* obj1
= 0 ;
10403 char *kwnames
[] = {
10404 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyControlPoint_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
10408 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10409 arg2
= PyInt_AsLong(obj1
) ? true : false;
10410 if (PyErr_Occurred()) SWIG_fail
;
10412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10413 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
10415 wxPyEndAllowThreads(__tstate
);
10416 if (PyErr_Occurred()) SWIG_fail
;
10418 Py_INCREF(Py_None
); resultobj
= Py_None
;
10425 static PyObject
*_wrap_PyControlPoint_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10426 PyObject
*resultobj
;
10427 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10430 int arg4
= (int) 0 ;
10431 int arg5
= (int) 0 ;
10432 PyObject
* obj0
= 0 ;
10433 char *kwnames
[] = {
10434 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyControlPoint_base_OnBeginDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
10438 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10441 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
10443 wxPyEndAllowThreads(__tstate
);
10444 if (PyErr_Occurred()) SWIG_fail
;
10446 Py_INCREF(Py_None
); resultobj
= Py_None
;
10453 static PyObject
*_wrap_PyControlPoint_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10454 PyObject
*resultobj
;
10455 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10458 int arg4
= (int) 0 ;
10459 int arg5
= (int) 0 ;
10460 PyObject
* obj0
= 0 ;
10461 char *kwnames
[] = {
10462 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyControlPoint_base_OnEndDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
10466 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10469 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
10471 wxPyEndAllowThreads(__tstate
);
10472 if (PyErr_Occurred()) SWIG_fail
;
10474 Py_INCREF(Py_None
); resultobj
= Py_None
;
10481 static PyObject
*_wrap_PyControlPoint_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10482 PyObject
*resultobj
;
10483 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10487 int arg5
= (int) 0 ;
10488 int arg6
= (int) 0 ;
10489 PyObject
* obj0
= 0 ;
10490 PyObject
* obj1
= 0 ;
10491 char *kwnames
[] = {
10492 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyControlPoint_base_OnDragRight",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
10496 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10497 arg2
= PyInt_AsLong(obj1
) ? true : false;
10498 if (PyErr_Occurred()) SWIG_fail
;
10500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10501 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
10503 wxPyEndAllowThreads(__tstate
);
10504 if (PyErr_Occurred()) SWIG_fail
;
10506 Py_INCREF(Py_None
); resultobj
= Py_None
;
10513 static PyObject
*_wrap_PyControlPoint_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10514 PyObject
*resultobj
;
10515 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10518 int arg4
= (int) 0 ;
10519 int arg5
= (int) 0 ;
10520 PyObject
* obj0
= 0 ;
10521 char *kwnames
[] = {
10522 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyControlPoint_base_OnBeginDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
10526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10529 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
10531 wxPyEndAllowThreads(__tstate
);
10532 if (PyErr_Occurred()) SWIG_fail
;
10534 Py_INCREF(Py_None
); resultobj
= Py_None
;
10541 static PyObject
*_wrap_PyControlPoint_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10542 PyObject
*resultobj
;
10543 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10546 int arg4
= (int) 0 ;
10547 int arg5
= (int) 0 ;
10548 PyObject
* obj0
= 0 ;
10549 char *kwnames
[] = {
10550 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyControlPoint_base_OnEndDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
10554 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10557 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
10559 wxPyEndAllowThreads(__tstate
);
10560 if (PyErr_Occurred()) SWIG_fail
;
10562 Py_INCREF(Py_None
); resultobj
= Py_None
;
10569 static PyObject
*_wrap_PyControlPoint_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10570 PyObject
*resultobj
;
10571 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10577 PyObject
* obj0
= 0 ;
10578 PyObject
* obj1
= 0 ;
10579 char *kwnames
[] = {
10580 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
10583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd:PyControlPoint_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
10584 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10585 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10586 if (arg2
== NULL
) {
10587 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10591 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
10593 wxPyEndAllowThreads(__tstate
);
10594 if (PyErr_Occurred()) SWIG_fail
;
10596 Py_INCREF(Py_None
); resultobj
= Py_None
;
10603 static PyObject
*_wrap_PyControlPoint_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10604 PyObject
*resultobj
;
10605 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10607 PyObject
* obj0
= 0 ;
10608 PyObject
* obj1
= 0 ;
10609 char *kwnames
[] = {
10610 (char *) "self",(char *) "dc", NULL
10613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
10614 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10615 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10616 if (arg2
== NULL
) {
10617 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10621 (arg1
)->base_OnDrawControlPoints(*arg2
);
10623 wxPyEndAllowThreads(__tstate
);
10624 if (PyErr_Occurred()) SWIG_fail
;
10626 Py_INCREF(Py_None
); resultobj
= Py_None
;
10633 static PyObject
*_wrap_PyControlPoint_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10634 PyObject
*resultobj
;
10635 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10637 PyObject
* obj0
= 0 ;
10638 PyObject
* obj1
= 0 ;
10639 char *kwnames
[] = {
10640 (char *) "self",(char *) "dc", NULL
10643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
10644 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10645 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10646 if (arg2
== NULL
) {
10647 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10651 (arg1
)->base_OnEraseControlPoints(*arg2
);
10653 wxPyEndAllowThreads(__tstate
);
10654 if (PyErr_Occurred()) SWIG_fail
;
10656 Py_INCREF(Py_None
); resultobj
= Py_None
;
10663 static PyObject
*_wrap_PyControlPoint_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10664 PyObject
*resultobj
;
10665 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10667 bool arg3
= (bool) True
;
10668 PyObject
* obj0
= 0 ;
10669 PyObject
* obj1
= 0 ;
10670 PyObject
* obj2
= 0 ;
10671 char *kwnames
[] = {
10672 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
10675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyControlPoint_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10676 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10677 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10678 if (arg2
== NULL
) {
10679 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10682 arg3
= PyInt_AsLong(obj2
) ? true : false;
10683 if (PyErr_Occurred()) SWIG_fail
;
10686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10687 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
10689 wxPyEndAllowThreads(__tstate
);
10690 if (PyErr_Occurred()) SWIG_fail
;
10692 Py_INCREF(Py_None
); resultobj
= Py_None
;
10699 static PyObject
*_wrap_PyControlPoint_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10700 PyObject
*resultobj
;
10701 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10702 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
10706 int arg6
= (int) 0 ;
10707 int arg7
= (int) 0 ;
10708 PyObject
* obj0
= 0 ;
10709 PyObject
* obj1
= 0 ;
10710 PyObject
* obj2
= 0 ;
10711 char *kwnames
[] = {
10712 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd|ii:PyControlPoint_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
10716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10717 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10718 arg3
= PyInt_AsLong(obj2
) ? true : false;
10719 if (PyErr_Occurred()) SWIG_fail
;
10721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10722 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10724 wxPyEndAllowThreads(__tstate
);
10725 if (PyErr_Occurred()) SWIG_fail
;
10727 Py_INCREF(Py_None
); resultobj
= Py_None
;
10734 static PyObject
*_wrap_PyControlPoint_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10735 PyObject
*resultobj
;
10736 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10737 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
10740 int arg5
= (int) 0 ;
10741 int arg6
= (int) 0 ;
10742 PyObject
* obj0
= 0 ;
10743 PyObject
* obj1
= 0 ;
10744 char *kwnames
[] = {
10745 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyControlPoint_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
10749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10750 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10753 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
10755 wxPyEndAllowThreads(__tstate
);
10756 if (PyErr_Occurred()) SWIG_fail
;
10758 Py_INCREF(Py_None
); resultobj
= Py_None
;
10765 static PyObject
*_wrap_PyControlPoint_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10766 PyObject
*resultobj
;
10767 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10768 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
10771 int arg5
= (int) 0 ;
10772 int arg6
= (int) 0 ;
10773 PyObject
* obj0
= 0 ;
10774 PyObject
* obj1
= 0 ;
10775 char *kwnames
[] = {
10776 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyControlPoint_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
10780 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10781 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10784 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
10786 wxPyEndAllowThreads(__tstate
);
10787 if (PyErr_Occurred()) SWIG_fail
;
10789 Py_INCREF(Py_None
); resultobj
= Py_None
;
10796 static PyObject
*_wrap_PyControlPoint_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10797 PyObject
*resultobj
;
10798 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10801 PyObject
* obj0
= 0 ;
10802 char *kwnames
[] = {
10803 (char *) "self",(char *) "w",(char *) "h", NULL
10806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyControlPoint_base_OnBeginSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10807 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10810 (arg1
)->base_OnBeginSize(arg2
,arg3
);
10812 wxPyEndAllowThreads(__tstate
);
10813 if (PyErr_Occurred()) SWIG_fail
;
10815 Py_INCREF(Py_None
); resultobj
= Py_None
;
10822 static PyObject
*_wrap_PyControlPoint_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10823 PyObject
*resultobj
;
10824 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10827 PyObject
* obj0
= 0 ;
10828 char *kwnames
[] = {
10829 (char *) "self",(char *) "w",(char *) "h", NULL
10832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyControlPoint_base_OnEndSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10833 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10836 (arg1
)->base_OnEndSize(arg2
,arg3
);
10838 wxPyEndAllowThreads(__tstate
);
10839 if (PyErr_Occurred()) SWIG_fail
;
10841 Py_INCREF(Py_None
); resultobj
= Py_None
;
10848 static PyObject
* PyControlPoint_swigregister(PyObject
*self
, PyObject
*args
) {
10850 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10851 SWIG_TypeClientData(SWIGTYPE_p_wxPyControlPoint
, obj
);
10853 return Py_BuildValue((char *)"");
10855 static PyObject
*_wrap_new_PyBitmapShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10856 PyObject
*resultobj
;
10857 wxPyBitmapShape
*result
;
10858 char *kwnames
[] = {
10862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyBitmapShape",kwnames
)) goto fail
;
10864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10865 result
= (wxPyBitmapShape
*)new wxPyBitmapShape();
10867 wxPyEndAllowThreads(__tstate
);
10868 if (PyErr_Occurred()) SWIG_fail
;
10870 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyBitmapShape
, 1);
10877 static PyObject
*_wrap_PyBitmapShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10878 PyObject
*resultobj
;
10879 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
10880 PyObject
*arg2
= (PyObject
*) 0 ;
10881 PyObject
*arg3
= (PyObject
*) 0 ;
10882 PyObject
* obj0
= 0 ;
10883 PyObject
* obj1
= 0 ;
10884 PyObject
* obj2
= 0 ;
10885 char *kwnames
[] = {
10886 (char *) "self",(char *) "self",(char *) "_class", NULL
10889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10890 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10895 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10897 wxPyEndAllowThreads(__tstate
);
10898 if (PyErr_Occurred()) SWIG_fail
;
10900 Py_INCREF(Py_None
); resultobj
= Py_None
;
10907 static PyObject
*_wrap_PyBitmapShape_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10908 PyObject
*resultobj
;
10909 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
10911 PyObject
* obj0
= 0 ;
10912 char *kwnames
[] = {
10913 (char *) "self", NULL
10916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyBitmapShape_GetBitmap",kwnames
,&obj0
)) goto fail
;
10917 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10921 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
10922 result
= (wxBitmap
*) &_result_ref
;
10925 wxPyEndAllowThreads(__tstate
);
10926 if (PyErr_Occurred()) SWIG_fail
;
10928 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
10935 static PyObject
*_wrap_PyBitmapShape_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10936 PyObject
*resultobj
;
10937 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
10939 PyObject
* obj0
= 0 ;
10940 char *kwnames
[] = {
10941 (char *) "self", NULL
10944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyBitmapShape_GetFilename",kwnames
,&obj0
)) goto fail
;
10945 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10948 result
= (arg1
)->GetFilename();
10950 wxPyEndAllowThreads(__tstate
);
10951 if (PyErr_Occurred()) SWIG_fail
;
10955 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10957 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10966 static PyObject
*_wrap_PyBitmapShape_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10967 PyObject
*resultobj
;
10968 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
10969 wxBitmap
*arg2
= 0 ;
10970 PyObject
* obj0
= 0 ;
10971 PyObject
* obj1
= 0 ;
10972 char *kwnames
[] = {
10973 (char *) "self",(char *) "bitmap", NULL
10976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
10977 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10978 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10979 if (arg2
== NULL
) {
10980 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10984 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
10986 wxPyEndAllowThreads(__tstate
);
10987 if (PyErr_Occurred()) SWIG_fail
;
10989 Py_INCREF(Py_None
); resultobj
= Py_None
;
10996 static PyObject
*_wrap_PyBitmapShape_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10997 PyObject
*resultobj
;
10998 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
10999 wxString
*arg2
= 0 ;
11000 bool temp2
= False
;
11001 PyObject
* obj0
= 0 ;
11002 PyObject
* obj1
= 0 ;
11003 char *kwnames
[] = {
11004 (char *) "self",(char *) "filename", NULL
11007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
11008 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11010 arg2
= wxString_in_helper(obj1
);
11011 if (arg2
== NULL
) SWIG_fail
;
11015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11016 (arg1
)->SetFilename((wxString
const &)*arg2
);
11018 wxPyEndAllowThreads(__tstate
);
11019 if (PyErr_Occurred()) SWIG_fail
;
11021 Py_INCREF(Py_None
); resultobj
= Py_None
;
11036 static PyObject
*_wrap_PyBitmapShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11037 PyObject
*resultobj
;
11038 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11039 PyObject
* obj0
= 0 ;
11040 char *kwnames
[] = {
11041 (char *) "self", NULL
11044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyBitmapShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
11045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11048 (arg1
)->base_OnDelete();
11050 wxPyEndAllowThreads(__tstate
);
11051 if (PyErr_Occurred()) SWIG_fail
;
11053 Py_INCREF(Py_None
); resultobj
= Py_None
;
11060 static PyObject
*_wrap_PyBitmapShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11061 PyObject
*resultobj
;
11062 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11064 PyObject
* obj0
= 0 ;
11065 PyObject
* obj1
= 0 ;
11066 char *kwnames
[] = {
11067 (char *) "self",(char *) "dc", NULL
11070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
11071 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11072 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11073 if (arg2
== NULL
) {
11074 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11078 (arg1
)->base_OnDraw(*arg2
);
11080 wxPyEndAllowThreads(__tstate
);
11081 if (PyErr_Occurred()) SWIG_fail
;
11083 Py_INCREF(Py_None
); resultobj
= Py_None
;
11090 static PyObject
*_wrap_PyBitmapShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11091 PyObject
*resultobj
;
11092 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11094 PyObject
* obj0
= 0 ;
11095 PyObject
* obj1
= 0 ;
11096 char *kwnames
[] = {
11097 (char *) "self",(char *) "dc", NULL
11100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
11101 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11102 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11103 if (arg2
== NULL
) {
11104 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11108 (arg1
)->base_OnDrawContents(*arg2
);
11110 wxPyEndAllowThreads(__tstate
);
11111 if (PyErr_Occurred()) SWIG_fail
;
11113 Py_INCREF(Py_None
); resultobj
= Py_None
;
11120 static PyObject
*_wrap_PyBitmapShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11121 PyObject
*resultobj
;
11122 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11124 bool arg3
= (bool) FALSE
;
11125 PyObject
* obj0
= 0 ;
11126 PyObject
* obj1
= 0 ;
11127 PyObject
* obj2
= 0 ;
11128 char *kwnames
[] = {
11129 (char *) "self",(char *) "dc",(char *) "erase", NULL
11132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyBitmapShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11133 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11134 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11135 if (arg2
== NULL
) {
11136 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11139 arg3
= PyInt_AsLong(obj2
) ? true : false;
11140 if (PyErr_Occurred()) SWIG_fail
;
11143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11144 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
11146 wxPyEndAllowThreads(__tstate
);
11147 if (PyErr_Occurred()) SWIG_fail
;
11149 Py_INCREF(Py_None
); resultobj
= Py_None
;
11156 static PyObject
*_wrap_PyBitmapShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11157 PyObject
*resultobj
;
11158 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11160 PyObject
* obj0
= 0 ;
11161 PyObject
* obj1
= 0 ;
11162 char *kwnames
[] = {
11163 (char *) "self",(char *) "dc", NULL
11166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
11167 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11168 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11169 if (arg2
== NULL
) {
11170 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11174 (arg1
)->base_OnMoveLinks(*arg2
);
11176 wxPyEndAllowThreads(__tstate
);
11177 if (PyErr_Occurred()) SWIG_fail
;
11179 Py_INCREF(Py_None
); resultobj
= Py_None
;
11186 static PyObject
*_wrap_PyBitmapShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11187 PyObject
*resultobj
;
11188 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11190 PyObject
* obj0
= 0 ;
11191 PyObject
* obj1
= 0 ;
11192 char *kwnames
[] = {
11193 (char *) "self",(char *) "dc", NULL
11196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
11197 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11198 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11199 if (arg2
== NULL
) {
11200 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11204 (arg1
)->base_OnErase(*arg2
);
11206 wxPyEndAllowThreads(__tstate
);
11207 if (PyErr_Occurred()) SWIG_fail
;
11209 Py_INCREF(Py_None
); resultobj
= Py_None
;
11216 static PyObject
*_wrap_PyBitmapShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11217 PyObject
*resultobj
;
11218 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11220 PyObject
* obj0
= 0 ;
11221 PyObject
* obj1
= 0 ;
11222 char *kwnames
[] = {
11223 (char *) "self",(char *) "dc", NULL
11226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
11227 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11228 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11229 if (arg2
== NULL
) {
11230 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11234 (arg1
)->base_OnEraseContents(*arg2
);
11236 wxPyEndAllowThreads(__tstate
);
11237 if (PyErr_Occurred()) SWIG_fail
;
11239 Py_INCREF(Py_None
); resultobj
= Py_None
;
11246 static PyObject
*_wrap_PyBitmapShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11247 PyObject
*resultobj
;
11248 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11250 PyObject
* obj0
= 0 ;
11251 PyObject
* obj1
= 0 ;
11252 char *kwnames
[] = {
11253 (char *) "self",(char *) "dc", NULL
11256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
11257 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11258 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11259 if (arg2
== NULL
) {
11260 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11264 (arg1
)->base_OnHighlight(*arg2
);
11266 wxPyEndAllowThreads(__tstate
);
11267 if (PyErr_Occurred()) SWIG_fail
;
11269 Py_INCREF(Py_None
); resultobj
= Py_None
;
11276 static PyObject
*_wrap_PyBitmapShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11277 PyObject
*resultobj
;
11278 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11281 int arg4
= (int) 0 ;
11282 int arg5
= (int) 0 ;
11283 PyObject
* obj0
= 0 ;
11284 char *kwnames
[] = {
11285 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyBitmapShape_base_OnLeftClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
11289 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11292 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
11294 wxPyEndAllowThreads(__tstate
);
11295 if (PyErr_Occurred()) SWIG_fail
;
11297 Py_INCREF(Py_None
); resultobj
= Py_None
;
11304 static PyObject
*_wrap_PyBitmapShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11305 PyObject
*resultobj
;
11306 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11309 int arg4
= (int) 0 ;
11310 int arg5
= (int) 0 ;
11311 PyObject
* obj0
= 0 ;
11312 char *kwnames
[] = {
11313 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyBitmapShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
11317 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11320 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
11322 wxPyEndAllowThreads(__tstate
);
11323 if (PyErr_Occurred()) SWIG_fail
;
11325 Py_INCREF(Py_None
); resultobj
= Py_None
;
11332 static PyObject
*_wrap_PyBitmapShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11333 PyObject
*resultobj
;
11334 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11337 int arg4
= (int) 0 ;
11338 int arg5
= (int) 0 ;
11339 PyObject
* obj0
= 0 ;
11340 char *kwnames
[] = {
11341 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyBitmapShape_base_OnRightClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
11345 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11348 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
11350 wxPyEndAllowThreads(__tstate
);
11351 if (PyErr_Occurred()) SWIG_fail
;
11353 Py_INCREF(Py_None
); resultobj
= Py_None
;
11360 static PyObject
*_wrap_PyBitmapShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11361 PyObject
*resultobj
;
11362 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11365 PyObject
* obj0
= 0 ;
11366 char *kwnames
[] = {
11367 (char *) "self",(char *) "x",(char *) "y", NULL
11370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyBitmapShape_base_OnSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
11371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11374 (arg1
)->base_OnSize(arg2
,arg3
);
11376 wxPyEndAllowThreads(__tstate
);
11377 if (PyErr_Occurred()) SWIG_fail
;
11379 Py_INCREF(Py_None
); resultobj
= Py_None
;
11386 static PyObject
*_wrap_PyBitmapShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11387 PyObject
*resultobj
;
11388 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11394 bool arg7
= (bool) True
;
11396 PyObject
* obj0
= 0 ;
11397 PyObject
* obj1
= 0 ;
11398 PyObject
* obj6
= 0 ;
11399 char *kwnames
[] = {
11400 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
11403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyBitmapShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
11404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11405 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11406 if (arg2
== NULL
) {
11407 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11410 arg7
= PyInt_AsLong(obj6
) ? true : false;
11411 if (PyErr_Occurred()) SWIG_fail
;
11414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11415 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11417 wxPyEndAllowThreads(__tstate
);
11418 if (PyErr_Occurred()) SWIG_fail
;
11420 resultobj
= PyInt_FromLong((long)result
);
11427 static PyObject
*_wrap_PyBitmapShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11428 PyObject
*resultobj
;
11429 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11435 bool arg7
= (bool) True
;
11436 PyObject
* obj0
= 0 ;
11437 PyObject
* obj1
= 0 ;
11438 PyObject
* obj6
= 0 ;
11439 char *kwnames
[] = {
11440 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
11443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyBitmapShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
11444 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11445 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11446 if (arg2
== NULL
) {
11447 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11450 arg7
= PyInt_AsLong(obj6
) ? true : false;
11451 if (PyErr_Occurred()) SWIG_fail
;
11454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11455 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11457 wxPyEndAllowThreads(__tstate
);
11458 if (PyErr_Occurred()) SWIG_fail
;
11460 Py_INCREF(Py_None
); resultobj
= Py_None
;
11467 static PyObject
*_wrap_PyBitmapShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11468 PyObject
*resultobj
;
11469 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11473 int arg5
= (int) 0 ;
11474 int arg6
= (int) 0 ;
11475 PyObject
* obj0
= 0 ;
11476 PyObject
* obj1
= 0 ;
11477 char *kwnames
[] = {
11478 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyBitmapShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
11482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11483 arg2
= PyInt_AsLong(obj1
) ? true : false;
11484 if (PyErr_Occurred()) SWIG_fail
;
11486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11487 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
11489 wxPyEndAllowThreads(__tstate
);
11490 if (PyErr_Occurred()) SWIG_fail
;
11492 Py_INCREF(Py_None
); resultobj
= Py_None
;
11499 static PyObject
*_wrap_PyBitmapShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11500 PyObject
*resultobj
;
11501 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11504 int arg4
= (int) 0 ;
11505 int arg5
= (int) 0 ;
11506 PyObject
* obj0
= 0 ;
11507 char *kwnames
[] = {
11508 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyBitmapShape_base_OnBeginDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
11512 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11515 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
11517 wxPyEndAllowThreads(__tstate
);
11518 if (PyErr_Occurred()) SWIG_fail
;
11520 Py_INCREF(Py_None
); resultobj
= Py_None
;
11527 static PyObject
*_wrap_PyBitmapShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11528 PyObject
*resultobj
;
11529 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11532 int arg4
= (int) 0 ;
11533 int arg5
= (int) 0 ;
11534 PyObject
* obj0
= 0 ;
11535 char *kwnames
[] = {
11536 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyBitmapShape_base_OnEndDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
11540 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11543 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
11545 wxPyEndAllowThreads(__tstate
);
11546 if (PyErr_Occurred()) SWIG_fail
;
11548 Py_INCREF(Py_None
); resultobj
= Py_None
;
11555 static PyObject
*_wrap_PyBitmapShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11556 PyObject
*resultobj
;
11557 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11561 int arg5
= (int) 0 ;
11562 int arg6
= (int) 0 ;
11563 PyObject
* obj0
= 0 ;
11564 PyObject
* obj1
= 0 ;
11565 char *kwnames
[] = {
11566 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyBitmapShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
11570 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11571 arg2
= PyInt_AsLong(obj1
) ? true : false;
11572 if (PyErr_Occurred()) SWIG_fail
;
11574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11575 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
11577 wxPyEndAllowThreads(__tstate
);
11578 if (PyErr_Occurred()) SWIG_fail
;
11580 Py_INCREF(Py_None
); resultobj
= Py_None
;
11587 static PyObject
*_wrap_PyBitmapShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11588 PyObject
*resultobj
;
11589 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11592 int arg4
= (int) 0 ;
11593 int arg5
= (int) 0 ;
11594 PyObject
* obj0
= 0 ;
11595 char *kwnames
[] = {
11596 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyBitmapShape_base_OnBeginDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
11600 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11603 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
11605 wxPyEndAllowThreads(__tstate
);
11606 if (PyErr_Occurred()) SWIG_fail
;
11608 Py_INCREF(Py_None
); resultobj
= Py_None
;
11615 static PyObject
*_wrap_PyBitmapShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11616 PyObject
*resultobj
;
11617 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11620 int arg4
= (int) 0 ;
11621 int arg5
= (int) 0 ;
11622 PyObject
* obj0
= 0 ;
11623 char *kwnames
[] = {
11624 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyBitmapShape_base_OnEndDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
11628 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11631 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
11633 wxPyEndAllowThreads(__tstate
);
11634 if (PyErr_Occurred()) SWIG_fail
;
11636 Py_INCREF(Py_None
); resultobj
= Py_None
;
11643 static PyObject
*_wrap_PyBitmapShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11644 PyObject
*resultobj
;
11645 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11651 PyObject
* obj0
= 0 ;
11652 PyObject
* obj1
= 0 ;
11653 char *kwnames
[] = {
11654 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
11657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd:PyBitmapShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
11658 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11659 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11660 if (arg2
== NULL
) {
11661 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11665 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
11667 wxPyEndAllowThreads(__tstate
);
11668 if (PyErr_Occurred()) SWIG_fail
;
11670 Py_INCREF(Py_None
); resultobj
= Py_None
;
11677 static PyObject
*_wrap_PyBitmapShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11678 PyObject
*resultobj
;
11679 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11681 PyObject
* obj0
= 0 ;
11682 PyObject
* obj1
= 0 ;
11683 char *kwnames
[] = {
11684 (char *) "self",(char *) "dc", NULL
11687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
11688 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11689 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11690 if (arg2
== NULL
) {
11691 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11695 (arg1
)->base_OnDrawControlPoints(*arg2
);
11697 wxPyEndAllowThreads(__tstate
);
11698 if (PyErr_Occurred()) SWIG_fail
;
11700 Py_INCREF(Py_None
); resultobj
= Py_None
;
11707 static PyObject
*_wrap_PyBitmapShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11708 PyObject
*resultobj
;
11709 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11711 PyObject
* obj0
= 0 ;
11712 PyObject
* obj1
= 0 ;
11713 char *kwnames
[] = {
11714 (char *) "self",(char *) "dc", NULL
11717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
11718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11719 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11720 if (arg2
== NULL
) {
11721 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11725 (arg1
)->base_OnEraseControlPoints(*arg2
);
11727 wxPyEndAllowThreads(__tstate
);
11728 if (PyErr_Occurred()) SWIG_fail
;
11730 Py_INCREF(Py_None
); resultobj
= Py_None
;
11737 static PyObject
*_wrap_PyBitmapShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11738 PyObject
*resultobj
;
11739 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11741 bool arg3
= (bool) True
;
11742 PyObject
* obj0
= 0 ;
11743 PyObject
* obj1
= 0 ;
11744 PyObject
* obj2
= 0 ;
11745 char *kwnames
[] = {
11746 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
11749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyBitmapShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11750 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11751 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11752 if (arg2
== NULL
) {
11753 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11756 arg3
= PyInt_AsLong(obj2
) ? true : false;
11757 if (PyErr_Occurred()) SWIG_fail
;
11760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11761 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
11763 wxPyEndAllowThreads(__tstate
);
11764 if (PyErr_Occurred()) SWIG_fail
;
11766 Py_INCREF(Py_None
); resultobj
= Py_None
;
11773 static PyObject
*_wrap_PyBitmapShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11774 PyObject
*resultobj
;
11775 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11776 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
11780 int arg6
= (int) 0 ;
11781 int arg7
= (int) 0 ;
11782 PyObject
* obj0
= 0 ;
11783 PyObject
* obj1
= 0 ;
11784 PyObject
* obj2
= 0 ;
11785 char *kwnames
[] = {
11786 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd|ii:PyBitmapShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
11790 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11791 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11792 arg3
= PyInt_AsLong(obj2
) ? true : false;
11793 if (PyErr_Occurred()) SWIG_fail
;
11795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11796 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11798 wxPyEndAllowThreads(__tstate
);
11799 if (PyErr_Occurred()) SWIG_fail
;
11801 Py_INCREF(Py_None
); resultobj
= Py_None
;
11808 static PyObject
*_wrap_PyBitmapShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11809 PyObject
*resultobj
;
11810 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11811 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
11814 int arg5
= (int) 0 ;
11815 int arg6
= (int) 0 ;
11816 PyObject
* obj0
= 0 ;
11817 PyObject
* obj1
= 0 ;
11818 char *kwnames
[] = {
11819 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyBitmapShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
11823 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11824 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11827 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
11829 wxPyEndAllowThreads(__tstate
);
11830 if (PyErr_Occurred()) SWIG_fail
;
11832 Py_INCREF(Py_None
); resultobj
= Py_None
;
11839 static PyObject
*_wrap_PyBitmapShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11840 PyObject
*resultobj
;
11841 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11842 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
11845 int arg5
= (int) 0 ;
11846 int arg6
= (int) 0 ;
11847 PyObject
* obj0
= 0 ;
11848 PyObject
* obj1
= 0 ;
11849 char *kwnames
[] = {
11850 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyBitmapShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
11854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11855 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11858 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
11860 wxPyEndAllowThreads(__tstate
);
11861 if (PyErr_Occurred()) SWIG_fail
;
11863 Py_INCREF(Py_None
); resultobj
= Py_None
;
11870 static PyObject
*_wrap_PyBitmapShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11871 PyObject
*resultobj
;
11872 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11875 PyObject
* obj0
= 0 ;
11876 char *kwnames
[] = {
11877 (char *) "self",(char *) "w",(char *) "h", NULL
11880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyBitmapShape_base_OnBeginSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
11881 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11884 (arg1
)->base_OnBeginSize(arg2
,arg3
);
11886 wxPyEndAllowThreads(__tstate
);
11887 if (PyErr_Occurred()) SWIG_fail
;
11889 Py_INCREF(Py_None
); resultobj
= Py_None
;
11896 static PyObject
*_wrap_PyBitmapShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11897 PyObject
*resultobj
;
11898 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11901 PyObject
* obj0
= 0 ;
11902 char *kwnames
[] = {
11903 (char *) "self",(char *) "w",(char *) "h", NULL
11906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyBitmapShape_base_OnEndSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
11907 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11910 (arg1
)->base_OnEndSize(arg2
,arg3
);
11912 wxPyEndAllowThreads(__tstate
);
11913 if (PyErr_Occurred()) SWIG_fail
;
11915 Py_INCREF(Py_None
); resultobj
= Py_None
;
11922 static PyObject
* PyBitmapShape_swigregister(PyObject
*self
, PyObject
*args
) {
11924 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11925 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapShape
, obj
);
11927 return Py_BuildValue((char *)"");
11929 static PyObject
*_wrap_new_PyDrawnShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11930 PyObject
*resultobj
;
11931 wxPyDrawnShape
*result
;
11932 char *kwnames
[] = {
11936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyDrawnShape",kwnames
)) goto fail
;
11938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11939 result
= (wxPyDrawnShape
*)new wxPyDrawnShape();
11941 wxPyEndAllowThreads(__tstate
);
11942 if (PyErr_Occurred()) SWIG_fail
;
11944 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyDrawnShape
, 1);
11951 static PyObject
*_wrap_PyDrawnShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11952 PyObject
*resultobj
;
11953 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
11954 PyObject
*arg2
= (PyObject
*) 0 ;
11955 PyObject
*arg3
= (PyObject
*) 0 ;
11956 PyObject
* obj0
= 0 ;
11957 PyObject
* obj1
= 0 ;
11958 PyObject
* obj2
= 0 ;
11959 char *kwnames
[] = {
11960 (char *) "self",(char *) "self",(char *) "_class", NULL
11963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11964 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11969 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11971 wxPyEndAllowThreads(__tstate
);
11972 if (PyErr_Occurred()) SWIG_fail
;
11974 Py_INCREF(Py_None
); resultobj
= Py_None
;
11981 static PyObject
*_wrap_PyDrawnShape_CalculateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11982 PyObject
*resultobj
;
11983 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
11984 PyObject
* obj0
= 0 ;
11985 char *kwnames
[] = {
11986 (char *) "self", NULL
11989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_CalculateSize",kwnames
,&obj0
)) goto fail
;
11990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11993 (arg1
)->CalculateSize();
11995 wxPyEndAllowThreads(__tstate
);
11996 if (PyErr_Occurred()) SWIG_fail
;
11998 Py_INCREF(Py_None
); resultobj
= Py_None
;
12005 static PyObject
*_wrap_PyDrawnShape_DestroyClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12006 PyObject
*resultobj
;
12007 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12008 PyObject
* obj0
= 0 ;
12009 char *kwnames
[] = {
12010 (char *) "self", NULL
12013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_DestroyClippingRect",kwnames
,&obj0
)) goto fail
;
12014 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12017 (arg1
)->DestroyClippingRect();
12019 wxPyEndAllowThreads(__tstate
);
12020 if (PyErr_Occurred()) SWIG_fail
;
12022 Py_INCREF(Py_None
); resultobj
= Py_None
;
12029 static PyObject
*_wrap_PyDrawnShape_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12030 PyObject
*resultobj
;
12031 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12032 wxPoint
*arg2
= 0 ;
12033 wxPoint
*arg3
= 0 ;
12034 wxPoint
*arg4
= 0 ;
12038 PyObject
* obj0
= 0 ;
12039 PyObject
* obj1
= 0 ;
12040 PyObject
* obj2
= 0 ;
12041 PyObject
* obj3
= 0 ;
12042 char *kwnames
[] = {
12043 (char *) "self",(char *) "centrePoint",(char *) "startPoint",(char *) "endPoint", NULL
12046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyDrawnShape_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12050 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12054 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12058 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12062 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
12064 wxPyEndAllowThreads(__tstate
);
12065 if (PyErr_Occurred()) SWIG_fail
;
12067 Py_INCREF(Py_None
); resultobj
= Py_None
;
12074 static PyObject
*_wrap_PyDrawnShape_DrawAtAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12075 PyObject
*resultobj
;
12076 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12078 PyObject
* obj0
= 0 ;
12079 char *kwnames
[] = {
12080 (char *) "self",(char *) "angle", NULL
12083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyDrawnShape_DrawAtAngle",kwnames
,&obj0
,&arg2
)) goto fail
;
12084 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12087 (arg1
)->DrawAtAngle(arg2
);
12089 wxPyEndAllowThreads(__tstate
);
12090 if (PyErr_Occurred()) SWIG_fail
;
12092 Py_INCREF(Py_None
); resultobj
= Py_None
;
12099 static PyObject
*_wrap_PyDrawnShape_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12100 PyObject
*resultobj
;
12101 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12106 PyObject
* obj0
= 0 ;
12107 PyObject
* obj1
= 0 ;
12108 char *kwnames
[] = {
12109 (char *) "self",(char *) "rect",(char *) "startAngle",(char *) "endAngle", NULL
12112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd:PyDrawnShape_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
12113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12116 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12120 (arg1
)->DrawEllipticArc((wxRect
const &)*arg2
,arg3
,arg4
);
12122 wxPyEndAllowThreads(__tstate
);
12123 if (PyErr_Occurred()) SWIG_fail
;
12125 Py_INCREF(Py_None
); resultobj
= Py_None
;
12132 static PyObject
*_wrap_PyDrawnShape_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12133 PyObject
*resultobj
;
12134 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12135 wxPoint
*arg2
= 0 ;
12136 wxPoint
*arg3
= 0 ;
12139 PyObject
* obj0
= 0 ;
12140 PyObject
* obj1
= 0 ;
12141 PyObject
* obj2
= 0 ;
12142 char *kwnames
[] = {
12143 (char *) "self",(char *) "point1",(char *) "point2", NULL
12146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12147 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12150 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12154 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12158 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
12160 wxPyEndAllowThreads(__tstate
);
12161 if (PyErr_Occurred()) SWIG_fail
;
12163 Py_INCREF(Py_None
); resultobj
= Py_None
;
12170 static PyObject
*_wrap_PyDrawnShape_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12171 PyObject
*resultobj
;
12172 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12174 wxPoint
*arg3
= (wxPoint
*) 0 ;
12175 PyObject
* obj0
= 0 ;
12176 PyObject
* obj2
= 0 ;
12177 char *kwnames
[] = {
12178 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
12181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:PyDrawnShape_DrawLines",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
12182 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12183 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12186 (arg1
)->DrawLines(arg2
,arg3
);
12188 wxPyEndAllowThreads(__tstate
);
12189 if (PyErr_Occurred()) SWIG_fail
;
12191 Py_INCREF(Py_None
); resultobj
= Py_None
;
12198 static PyObject
*_wrap_PyDrawnShape_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12199 PyObject
*resultobj
;
12200 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12201 wxPoint
*arg2
= 0 ;
12203 PyObject
* obj0
= 0 ;
12204 PyObject
* obj1
= 0 ;
12205 char *kwnames
[] = {
12206 (char *) "self",(char *) "point", NULL
12209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_DrawPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
12210 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12213 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12217 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
12219 wxPyEndAllowThreads(__tstate
);
12220 if (PyErr_Occurred()) SWIG_fail
;
12222 Py_INCREF(Py_None
); resultobj
= Py_None
;
12229 static PyObject
*_wrap_PyDrawnShape_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12230 PyObject
*resultobj
;
12231 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12233 wxPoint
*arg3
= (wxPoint
*) 0 ;
12234 int arg4
= (int) 0 ;
12235 PyObject
* obj0
= 0 ;
12236 PyObject
* obj2
= 0 ;
12237 char *kwnames
[] = {
12238 (char *) "self",(char *) "PCOUNT",(char *) "points",(char *) "flags", NULL
12241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|i:PyDrawnShape_DrawPolygon",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
)) goto fail
;
12242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12243 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12246 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
);
12248 wxPyEndAllowThreads(__tstate
);
12249 if (PyErr_Occurred()) SWIG_fail
;
12251 Py_INCREF(Py_None
); resultobj
= Py_None
;
12258 static PyObject
*_wrap_PyDrawnShape_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12259 PyObject
*resultobj
;
12260 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12263 PyObject
* obj0
= 0 ;
12264 PyObject
* obj1
= 0 ;
12265 char *kwnames
[] = {
12266 (char *) "self",(char *) "rect", NULL
12269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_DrawRectangle",kwnames
,&obj0
,&obj1
)) goto fail
;
12270 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12273 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12277 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
12279 wxPyEndAllowThreads(__tstate
);
12280 if (PyErr_Occurred()) SWIG_fail
;
12282 Py_INCREF(Py_None
); resultobj
= Py_None
;
12289 static PyObject
*_wrap_PyDrawnShape_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12290 PyObject
*resultobj
;
12291 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12295 PyObject
* obj0
= 0 ;
12296 PyObject
* obj1
= 0 ;
12297 char *kwnames
[] = {
12298 (char *) "self",(char *) "rect",(char *) "radius", NULL
12301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOd:PyDrawnShape_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
12302 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12305 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12309 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
12311 wxPyEndAllowThreads(__tstate
);
12312 if (PyErr_Occurred()) SWIG_fail
;
12314 Py_INCREF(Py_None
); resultobj
= Py_None
;
12321 static PyObject
*_wrap_PyDrawnShape_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12322 PyObject
*resultobj
;
12323 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12325 wxPoint
*arg3
= (wxPoint
*) 0 ;
12326 PyObject
* obj0
= 0 ;
12327 PyObject
* obj2
= 0 ;
12328 char *kwnames
[] = {
12329 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
12332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:PyDrawnShape_DrawSpline",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
12333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12334 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12337 (arg1
)->DrawSpline(arg2
,arg3
);
12339 wxPyEndAllowThreads(__tstate
);
12340 if (PyErr_Occurred()) SWIG_fail
;
12342 Py_INCREF(Py_None
); resultobj
= Py_None
;
12349 static PyObject
*_wrap_PyDrawnShape_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12350 PyObject
*resultobj
;
12351 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12352 wxString
*arg2
= 0 ;
12353 wxPoint
*arg3
= 0 ;
12354 bool temp2
= False
;
12356 PyObject
* obj0
= 0 ;
12357 PyObject
* obj1
= 0 ;
12358 PyObject
* obj2
= 0 ;
12359 char *kwnames
[] = {
12360 (char *) "self",(char *) "text",(char *) "point", NULL
12363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_DrawText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12364 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12366 arg2
= wxString_in_helper(obj1
);
12367 if (arg2
== NULL
) SWIG_fail
;
12372 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12376 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
12378 wxPyEndAllowThreads(__tstate
);
12379 if (PyErr_Occurred()) SWIG_fail
;
12381 Py_INCREF(Py_None
); resultobj
= Py_None
;
12396 static PyObject
*_wrap_PyDrawnShape_GetAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12397 PyObject
*resultobj
;
12398 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12400 PyObject
* obj0
= 0 ;
12401 char *kwnames
[] = {
12402 (char *) "self", NULL
12405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_GetAngle",kwnames
,&obj0
)) goto fail
;
12406 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12409 result
= (int)(arg1
)->GetAngle();
12411 wxPyEndAllowThreads(__tstate
);
12412 if (PyErr_Occurred()) SWIG_fail
;
12414 resultobj
= PyInt_FromLong((long)result
);
12421 static PyObject
*_wrap_PyDrawnShape_GetMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12422 PyObject
*resultobj
;
12423 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12424 wxPseudoMetaFile
*result
;
12425 PyObject
* obj0
= 0 ;
12426 char *kwnames
[] = {
12427 (char *) "self", NULL
12430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_GetMetaFile",kwnames
,&obj0
)) goto fail
;
12431 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12435 wxPseudoMetaFile
&_result_ref
= (arg1
)->GetMetaFile();
12436 result
= (wxPseudoMetaFile
*) &_result_ref
;
12439 wxPyEndAllowThreads(__tstate
);
12440 if (PyErr_Occurred()) SWIG_fail
;
12442 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPseudoMetaFile
, 0);
12449 static PyObject
*_wrap_PyDrawnShape_GetRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12450 PyObject
*resultobj
;
12451 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12453 PyObject
* obj0
= 0 ;
12454 char *kwnames
[] = {
12455 (char *) "self", NULL
12458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_GetRotation",kwnames
,&obj0
)) goto fail
;
12459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12462 result
= (double)(arg1
)->GetRotation();
12464 wxPyEndAllowThreads(__tstate
);
12465 if (PyErr_Occurred()) SWIG_fail
;
12467 resultobj
= PyFloat_FromDouble(result
);
12474 static PyObject
*_wrap_PyDrawnShape_LoadFromMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12475 PyObject
*resultobj
;
12476 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12477 wxString
*arg2
= 0 ;
12479 bool temp2
= False
;
12480 PyObject
* obj0
= 0 ;
12481 PyObject
* obj1
= 0 ;
12482 char *kwnames
[] = {
12483 (char *) "self",(char *) "filename", NULL
12486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_LoadFromMetaFile",kwnames
,&obj0
,&obj1
)) goto fail
;
12487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12489 arg2
= wxString_in_helper(obj1
);
12490 if (arg2
== NULL
) SWIG_fail
;
12494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12495 result
= (bool)(arg1
)->LoadFromMetaFile((wxString
const &)*arg2
);
12497 wxPyEndAllowThreads(__tstate
);
12498 if (PyErr_Occurred()) SWIG_fail
;
12500 resultobj
= PyInt_FromLong((long)result
);
12515 static PyObject
*_wrap_PyDrawnShape_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12516 PyObject
*resultobj
;
12517 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12521 PyObject
* obj0
= 0 ;
12522 char *kwnames
[] = {
12523 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
12526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oddd:PyDrawnShape_Rotate",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
12527 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12530 (arg1
)->Rotate(arg2
,arg3
,arg4
);
12532 wxPyEndAllowThreads(__tstate
);
12533 if (PyErr_Occurred()) SWIG_fail
;
12535 Py_INCREF(Py_None
); resultobj
= Py_None
;
12542 static PyObject
*_wrap_PyDrawnShape_SetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12543 PyObject
*resultobj
;
12544 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12547 PyObject
* obj0
= 0 ;
12548 PyObject
* obj1
= 0 ;
12549 char *kwnames
[] = {
12550 (char *) "self",(char *) "rect", NULL
12553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
12554 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12557 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12561 (arg1
)->SetClippingRect((wxRect
const &)*arg2
);
12563 wxPyEndAllowThreads(__tstate
);
12564 if (PyErr_Occurred()) SWIG_fail
;
12566 Py_INCREF(Py_None
); resultobj
= Py_None
;
12573 static PyObject
*_wrap_PyDrawnShape_SetDrawnBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12574 PyObject
*resultobj
;
12575 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12576 wxColour
*arg2
= 0 ;
12578 PyObject
* obj0
= 0 ;
12579 PyObject
* obj1
= 0 ;
12580 char *kwnames
[] = {
12581 (char *) "self",(char *) "colour", NULL
12584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetDrawnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
12585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12588 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12592 (arg1
)->SetDrawnBackgroundColour((wxColour
const &)*arg2
);
12594 wxPyEndAllowThreads(__tstate
);
12595 if (PyErr_Occurred()) SWIG_fail
;
12597 Py_INCREF(Py_None
); resultobj
= Py_None
;
12604 static PyObject
*_wrap_PyDrawnShape_SetDrawnBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12605 PyObject
*resultobj
;
12606 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12608 PyObject
* obj0
= 0 ;
12609 char *kwnames
[] = {
12610 (char *) "self",(char *) "mode", NULL
12613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyDrawnShape_SetDrawnBackgroundMode",kwnames
,&obj0
,&arg2
)) goto fail
;
12614 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12617 (arg1
)->SetDrawnBackgroundMode(arg2
);
12619 wxPyEndAllowThreads(__tstate
);
12620 if (PyErr_Occurred()) SWIG_fail
;
12622 Py_INCREF(Py_None
); resultobj
= Py_None
;
12629 static PyObject
*_wrap_PyDrawnShape_SetDrawnBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12630 PyObject
*resultobj
;
12631 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12632 wxBrush
*arg2
= (wxBrush
*) 0 ;
12633 bool arg3
= (bool) FALSE
;
12634 PyObject
* obj0
= 0 ;
12635 PyObject
* obj1
= 0 ;
12636 PyObject
* obj2
= 0 ;
12637 char *kwnames
[] = {
12638 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
12641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDrawnShape_SetDrawnBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12642 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12646 if (obj1
== Py_None
) {
12649 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxBrush"))) {
12650 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxBrush.");
12655 arg2
= wxTheBrushList
->FindOrCreateBrush(temp
->GetColour(), temp
->GetStyle());
12660 arg3
= PyInt_AsLong(obj2
) ? true : false;
12661 if (PyErr_Occurred()) SWIG_fail
;
12664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12665 (arg1
)->SetDrawnBrush(arg2
,arg3
);
12667 wxPyEndAllowThreads(__tstate
);
12668 if (PyErr_Occurred()) SWIG_fail
;
12670 Py_INCREF(Py_None
); resultobj
= Py_None
;
12677 static PyObject
*_wrap_PyDrawnShape_SetDrawnFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12678 PyObject
*resultobj
;
12679 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12680 wxFont
*arg2
= (wxFont
*) 0 ;
12681 PyObject
* obj0
= 0 ;
12682 PyObject
* obj1
= 0 ;
12683 char *kwnames
[] = {
12684 (char *) "self",(char *) "font", NULL
12687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetDrawnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12688 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12692 if (obj1
== Py_None
) {
12695 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxFont"))) {
12696 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxFont.");
12701 arg2
= wxTheFontList
->FindOrCreateFont(temp
->GetPointSize(),
12705 temp
->GetUnderlined(),
12706 temp
->GetFaceName(),
12707 temp
->GetEncoding());
12712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12713 (arg1
)->SetDrawnFont(arg2
);
12715 wxPyEndAllowThreads(__tstate
);
12716 if (PyErr_Occurred()) SWIG_fail
;
12718 Py_INCREF(Py_None
); resultobj
= Py_None
;
12725 static PyObject
*_wrap_PyDrawnShape_SetDrawnPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12726 PyObject
*resultobj
;
12727 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12728 wxPen
*arg2
= (wxPen
*) 0 ;
12729 bool arg3
= (bool) FALSE
;
12730 PyObject
* obj0
= 0 ;
12731 PyObject
* obj1
= 0 ;
12732 PyObject
* obj2
= 0 ;
12733 char *kwnames
[] = {
12734 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
12737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDrawnShape_SetDrawnPen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12738 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12742 if (obj1
== Py_None
) {
12745 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
12746 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
12751 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
12758 arg3
= PyInt_AsLong(obj2
) ? true : false;
12759 if (PyErr_Occurred()) SWIG_fail
;
12762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12763 (arg1
)->SetDrawnPen(arg2
,arg3
);
12765 wxPyEndAllowThreads(__tstate
);
12766 if (PyErr_Occurred()) SWIG_fail
;
12768 Py_INCREF(Py_None
); resultobj
= Py_None
;
12775 static PyObject
*_wrap_PyDrawnShape_SetDrawnTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12776 PyObject
*resultobj
;
12777 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12778 wxColour
*arg2
= 0 ;
12780 PyObject
* obj0
= 0 ;
12781 PyObject
* obj1
= 0 ;
12782 char *kwnames
[] = {
12783 (char *) "self",(char *) "colour", NULL
12786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetDrawnTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
12787 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12790 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12794 (arg1
)->SetDrawnTextColour((wxColour
const &)*arg2
);
12796 wxPyEndAllowThreads(__tstate
);
12797 if (PyErr_Occurred()) SWIG_fail
;
12799 Py_INCREF(Py_None
); resultobj
= Py_None
;
12806 static PyObject
*_wrap_PyDrawnShape_Scale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12807 PyObject
*resultobj
;
12808 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12811 PyObject
* obj0
= 0 ;
12812 char *kwnames
[] = {
12813 (char *) "self",(char *) "sx",(char *) "sy", NULL
12816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyDrawnShape_Scale",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
12817 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12820 (arg1
)->Scale(arg2
,arg3
);
12822 wxPyEndAllowThreads(__tstate
);
12823 if (PyErr_Occurred()) SWIG_fail
;
12825 Py_INCREF(Py_None
); resultobj
= Py_None
;
12832 static PyObject
*_wrap_PyDrawnShape_SetSaveToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12833 PyObject
*resultobj
;
12834 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12836 PyObject
* obj0
= 0 ;
12837 PyObject
* obj1
= 0 ;
12838 char *kwnames
[] = {
12839 (char *) "self",(char *) "save", NULL
12842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetSaveToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
12843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12844 arg2
= PyInt_AsLong(obj1
) ? true : false;
12845 if (PyErr_Occurred()) SWIG_fail
;
12847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12848 (arg1
)->SetSaveToFile(arg2
);
12850 wxPyEndAllowThreads(__tstate
);
12851 if (PyErr_Occurred()) SWIG_fail
;
12853 Py_INCREF(Py_None
); resultobj
= Py_None
;
12860 static PyObject
*_wrap_PyDrawnShape_Translate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12861 PyObject
*resultobj
;
12862 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12865 PyObject
* obj0
= 0 ;
12866 char *kwnames
[] = {
12867 (char *) "self",(char *) "x",(char *) "y", NULL
12870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyDrawnShape_Translate",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
12871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12874 (arg1
)->Translate(arg2
,arg3
);
12876 wxPyEndAllowThreads(__tstate
);
12877 if (PyErr_Occurred()) SWIG_fail
;
12879 Py_INCREF(Py_None
); resultobj
= Py_None
;
12886 static PyObject
*_wrap_PyDrawnShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12887 PyObject
*resultobj
;
12888 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12889 PyObject
* obj0
= 0 ;
12890 char *kwnames
[] = {
12891 (char *) "self", NULL
12894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
12895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12898 (arg1
)->base_OnDelete();
12900 wxPyEndAllowThreads(__tstate
);
12901 if (PyErr_Occurred()) SWIG_fail
;
12903 Py_INCREF(Py_None
); resultobj
= Py_None
;
12910 static PyObject
*_wrap_PyDrawnShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12911 PyObject
*resultobj
;
12912 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12914 PyObject
* obj0
= 0 ;
12915 PyObject
* obj1
= 0 ;
12916 char *kwnames
[] = {
12917 (char *) "self",(char *) "dc", NULL
12920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
12921 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12922 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12923 if (arg2
== NULL
) {
12924 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12928 (arg1
)->base_OnDraw(*arg2
);
12930 wxPyEndAllowThreads(__tstate
);
12931 if (PyErr_Occurred()) SWIG_fail
;
12933 Py_INCREF(Py_None
); resultobj
= Py_None
;
12940 static PyObject
*_wrap_PyDrawnShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12941 PyObject
*resultobj
;
12942 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12944 PyObject
* obj0
= 0 ;
12945 PyObject
* obj1
= 0 ;
12946 char *kwnames
[] = {
12947 (char *) "self",(char *) "dc", NULL
12950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
12951 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12952 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12953 if (arg2
== NULL
) {
12954 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12958 (arg1
)->base_OnDrawContents(*arg2
);
12960 wxPyEndAllowThreads(__tstate
);
12961 if (PyErr_Occurred()) SWIG_fail
;
12963 Py_INCREF(Py_None
); resultobj
= Py_None
;
12970 static PyObject
*_wrap_PyDrawnShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12971 PyObject
*resultobj
;
12972 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12974 bool arg3
= (bool) FALSE
;
12975 PyObject
* obj0
= 0 ;
12976 PyObject
* obj1
= 0 ;
12977 PyObject
* obj2
= 0 ;
12978 char *kwnames
[] = {
12979 (char *) "self",(char *) "dc",(char *) "erase", NULL
12982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDrawnShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12984 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12985 if (arg2
== NULL
) {
12986 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12989 arg3
= PyInt_AsLong(obj2
) ? true : false;
12990 if (PyErr_Occurred()) SWIG_fail
;
12993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12994 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
12996 wxPyEndAllowThreads(__tstate
);
12997 if (PyErr_Occurred()) SWIG_fail
;
12999 Py_INCREF(Py_None
); resultobj
= Py_None
;
13006 static PyObject
*_wrap_PyDrawnShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13007 PyObject
*resultobj
;
13008 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13010 PyObject
* obj0
= 0 ;
13011 PyObject
* obj1
= 0 ;
13012 char *kwnames
[] = {
13013 (char *) "self",(char *) "dc", NULL
13016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
13017 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13018 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13019 if (arg2
== NULL
) {
13020 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13024 (arg1
)->base_OnMoveLinks(*arg2
);
13026 wxPyEndAllowThreads(__tstate
);
13027 if (PyErr_Occurred()) SWIG_fail
;
13029 Py_INCREF(Py_None
); resultobj
= Py_None
;
13036 static PyObject
*_wrap_PyDrawnShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13037 PyObject
*resultobj
;
13038 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13040 PyObject
* obj0
= 0 ;
13041 PyObject
* obj1
= 0 ;
13042 char *kwnames
[] = {
13043 (char *) "self",(char *) "dc", NULL
13046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
13047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13048 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13049 if (arg2
== NULL
) {
13050 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13054 (arg1
)->base_OnErase(*arg2
);
13056 wxPyEndAllowThreads(__tstate
);
13057 if (PyErr_Occurred()) SWIG_fail
;
13059 Py_INCREF(Py_None
); resultobj
= Py_None
;
13066 static PyObject
*_wrap_PyDrawnShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13067 PyObject
*resultobj
;
13068 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13070 PyObject
* obj0
= 0 ;
13071 PyObject
* obj1
= 0 ;
13072 char *kwnames
[] = {
13073 (char *) "self",(char *) "dc", NULL
13076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
13077 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13078 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13079 if (arg2
== NULL
) {
13080 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13084 (arg1
)->base_OnEraseContents(*arg2
);
13086 wxPyEndAllowThreads(__tstate
);
13087 if (PyErr_Occurred()) SWIG_fail
;
13089 Py_INCREF(Py_None
); resultobj
= Py_None
;
13096 static PyObject
*_wrap_PyDrawnShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13097 PyObject
*resultobj
;
13098 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13100 PyObject
* obj0
= 0 ;
13101 PyObject
* obj1
= 0 ;
13102 char *kwnames
[] = {
13103 (char *) "self",(char *) "dc", NULL
13106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
13107 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13108 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13109 if (arg2
== NULL
) {
13110 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13114 (arg1
)->base_OnHighlight(*arg2
);
13116 wxPyEndAllowThreads(__tstate
);
13117 if (PyErr_Occurred()) SWIG_fail
;
13119 Py_INCREF(Py_None
); resultobj
= Py_None
;
13126 static PyObject
*_wrap_PyDrawnShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13127 PyObject
*resultobj
;
13128 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13131 int arg4
= (int) 0 ;
13132 int arg5
= (int) 0 ;
13133 PyObject
* obj0
= 0 ;
13134 char *kwnames
[] = {
13135 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDrawnShape_base_OnLeftClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
13139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13142 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
13144 wxPyEndAllowThreads(__tstate
);
13145 if (PyErr_Occurred()) SWIG_fail
;
13147 Py_INCREF(Py_None
); resultobj
= Py_None
;
13154 static PyObject
*_wrap_PyDrawnShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13155 PyObject
*resultobj
;
13156 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13159 int arg4
= (int) 0 ;
13160 int arg5
= (int) 0 ;
13161 PyObject
* obj0
= 0 ;
13162 char *kwnames
[] = {
13163 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDrawnShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
13167 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13170 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
13172 wxPyEndAllowThreads(__tstate
);
13173 if (PyErr_Occurred()) SWIG_fail
;
13175 Py_INCREF(Py_None
); resultobj
= Py_None
;
13182 static PyObject
*_wrap_PyDrawnShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13183 PyObject
*resultobj
;
13184 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13187 int arg4
= (int) 0 ;
13188 int arg5
= (int) 0 ;
13189 PyObject
* obj0
= 0 ;
13190 char *kwnames
[] = {
13191 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDrawnShape_base_OnRightClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
13195 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13198 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
13200 wxPyEndAllowThreads(__tstate
);
13201 if (PyErr_Occurred()) SWIG_fail
;
13203 Py_INCREF(Py_None
); resultobj
= Py_None
;
13210 static PyObject
*_wrap_PyDrawnShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13211 PyObject
*resultobj
;
13212 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13215 PyObject
* obj0
= 0 ;
13216 char *kwnames
[] = {
13217 (char *) "self",(char *) "x",(char *) "y", NULL
13220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyDrawnShape_base_OnSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
13221 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13224 (arg1
)->base_OnSize(arg2
,arg3
);
13226 wxPyEndAllowThreads(__tstate
);
13227 if (PyErr_Occurred()) SWIG_fail
;
13229 Py_INCREF(Py_None
); resultobj
= Py_None
;
13236 static PyObject
*_wrap_PyDrawnShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13237 PyObject
*resultobj
;
13238 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13244 bool arg7
= (bool) True
;
13246 PyObject
* obj0
= 0 ;
13247 PyObject
* obj1
= 0 ;
13248 PyObject
* obj6
= 0 ;
13249 char *kwnames
[] = {
13250 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
13253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyDrawnShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
13254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13255 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13256 if (arg2
== NULL
) {
13257 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13260 arg7
= PyInt_AsLong(obj6
) ? true : false;
13261 if (PyErr_Occurred()) SWIG_fail
;
13264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13265 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13267 wxPyEndAllowThreads(__tstate
);
13268 if (PyErr_Occurred()) SWIG_fail
;
13270 resultobj
= PyInt_FromLong((long)result
);
13277 static PyObject
*_wrap_PyDrawnShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13278 PyObject
*resultobj
;
13279 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13285 bool arg7
= (bool) True
;
13286 PyObject
* obj0
= 0 ;
13287 PyObject
* obj1
= 0 ;
13288 PyObject
* obj6
= 0 ;
13289 char *kwnames
[] = {
13290 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
13293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyDrawnShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
13294 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13295 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13296 if (arg2
== NULL
) {
13297 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13300 arg7
= PyInt_AsLong(obj6
) ? true : false;
13301 if (PyErr_Occurred()) SWIG_fail
;
13304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13305 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13307 wxPyEndAllowThreads(__tstate
);
13308 if (PyErr_Occurred()) SWIG_fail
;
13310 Py_INCREF(Py_None
); resultobj
= Py_None
;
13317 static PyObject
*_wrap_PyDrawnShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13318 PyObject
*resultobj
;
13319 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13323 int arg5
= (int) 0 ;
13324 int arg6
= (int) 0 ;
13325 PyObject
* obj0
= 0 ;
13326 PyObject
* obj1
= 0 ;
13327 char *kwnames
[] = {
13328 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyDrawnShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
13332 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13333 arg2
= PyInt_AsLong(obj1
) ? true : false;
13334 if (PyErr_Occurred()) SWIG_fail
;
13336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13337 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
13339 wxPyEndAllowThreads(__tstate
);
13340 if (PyErr_Occurred()) SWIG_fail
;
13342 Py_INCREF(Py_None
); resultobj
= Py_None
;
13349 static PyObject
*_wrap_PyDrawnShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13350 PyObject
*resultobj
;
13351 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13354 int arg4
= (int) 0 ;
13355 int arg5
= (int) 0 ;
13356 PyObject
* obj0
= 0 ;
13357 char *kwnames
[] = {
13358 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDrawnShape_base_OnBeginDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
13362 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13365 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
13367 wxPyEndAllowThreads(__tstate
);
13368 if (PyErr_Occurred()) SWIG_fail
;
13370 Py_INCREF(Py_None
); resultobj
= Py_None
;
13377 static PyObject
*_wrap_PyDrawnShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13378 PyObject
*resultobj
;
13379 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13382 int arg4
= (int) 0 ;
13383 int arg5
= (int) 0 ;
13384 PyObject
* obj0
= 0 ;
13385 char *kwnames
[] = {
13386 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDrawnShape_base_OnEndDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
13390 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13393 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
13395 wxPyEndAllowThreads(__tstate
);
13396 if (PyErr_Occurred()) SWIG_fail
;
13398 Py_INCREF(Py_None
); resultobj
= Py_None
;
13405 static PyObject
*_wrap_PyDrawnShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13406 PyObject
*resultobj
;
13407 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13411 int arg5
= (int) 0 ;
13412 int arg6
= (int) 0 ;
13413 PyObject
* obj0
= 0 ;
13414 PyObject
* obj1
= 0 ;
13415 char *kwnames
[] = {
13416 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyDrawnShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
13420 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13421 arg2
= PyInt_AsLong(obj1
) ? true : false;
13422 if (PyErr_Occurred()) SWIG_fail
;
13424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13425 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
13427 wxPyEndAllowThreads(__tstate
);
13428 if (PyErr_Occurred()) SWIG_fail
;
13430 Py_INCREF(Py_None
); resultobj
= Py_None
;
13437 static PyObject
*_wrap_PyDrawnShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13438 PyObject
*resultobj
;
13439 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13442 int arg4
= (int) 0 ;
13443 int arg5
= (int) 0 ;
13444 PyObject
* obj0
= 0 ;
13445 char *kwnames
[] = {
13446 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDrawnShape_base_OnBeginDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
13450 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13453 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
13455 wxPyEndAllowThreads(__tstate
);
13456 if (PyErr_Occurred()) SWIG_fail
;
13458 Py_INCREF(Py_None
); resultobj
= Py_None
;
13465 static PyObject
*_wrap_PyDrawnShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13466 PyObject
*resultobj
;
13467 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13470 int arg4
= (int) 0 ;
13471 int arg5
= (int) 0 ;
13472 PyObject
* obj0
= 0 ;
13473 char *kwnames
[] = {
13474 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDrawnShape_base_OnEndDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
13478 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13481 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
13483 wxPyEndAllowThreads(__tstate
);
13484 if (PyErr_Occurred()) SWIG_fail
;
13486 Py_INCREF(Py_None
); resultobj
= Py_None
;
13493 static PyObject
*_wrap_PyDrawnShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13494 PyObject
*resultobj
;
13495 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13501 PyObject
* obj0
= 0 ;
13502 PyObject
* obj1
= 0 ;
13503 char *kwnames
[] = {
13504 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
13507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd:PyDrawnShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
13508 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13509 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13510 if (arg2
== NULL
) {
13511 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13515 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
13517 wxPyEndAllowThreads(__tstate
);
13518 if (PyErr_Occurred()) SWIG_fail
;
13520 Py_INCREF(Py_None
); resultobj
= Py_None
;
13527 static PyObject
*_wrap_PyDrawnShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13528 PyObject
*resultobj
;
13529 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13531 PyObject
* obj0
= 0 ;
13532 PyObject
* obj1
= 0 ;
13533 char *kwnames
[] = {
13534 (char *) "self",(char *) "dc", NULL
13537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
13538 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13539 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13540 if (arg2
== NULL
) {
13541 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13545 (arg1
)->base_OnDrawControlPoints(*arg2
);
13547 wxPyEndAllowThreads(__tstate
);
13548 if (PyErr_Occurred()) SWIG_fail
;
13550 Py_INCREF(Py_None
); resultobj
= Py_None
;
13557 static PyObject
*_wrap_PyDrawnShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13558 PyObject
*resultobj
;
13559 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13561 PyObject
* obj0
= 0 ;
13562 PyObject
* obj1
= 0 ;
13563 char *kwnames
[] = {
13564 (char *) "self",(char *) "dc", NULL
13567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
13568 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13569 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13570 if (arg2
== NULL
) {
13571 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13575 (arg1
)->base_OnEraseControlPoints(*arg2
);
13577 wxPyEndAllowThreads(__tstate
);
13578 if (PyErr_Occurred()) SWIG_fail
;
13580 Py_INCREF(Py_None
); resultobj
= Py_None
;
13587 static PyObject
*_wrap_PyDrawnShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13588 PyObject
*resultobj
;
13589 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13591 bool arg3
= (bool) True
;
13592 PyObject
* obj0
= 0 ;
13593 PyObject
* obj1
= 0 ;
13594 PyObject
* obj2
= 0 ;
13595 char *kwnames
[] = {
13596 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
13599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDrawnShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13600 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13601 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13602 if (arg2
== NULL
) {
13603 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13606 arg3
= PyInt_AsLong(obj2
) ? true : false;
13607 if (PyErr_Occurred()) SWIG_fail
;
13610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13611 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
13613 wxPyEndAllowThreads(__tstate
);
13614 if (PyErr_Occurred()) SWIG_fail
;
13616 Py_INCREF(Py_None
); resultobj
= Py_None
;
13623 static PyObject
*_wrap_PyDrawnShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13624 PyObject
*resultobj
;
13625 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13626 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
13630 int arg6
= (int) 0 ;
13631 int arg7
= (int) 0 ;
13632 PyObject
* obj0
= 0 ;
13633 PyObject
* obj1
= 0 ;
13634 PyObject
* obj2
= 0 ;
13635 char *kwnames
[] = {
13636 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd|ii:PyDrawnShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
13640 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13641 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13642 arg3
= PyInt_AsLong(obj2
) ? true : false;
13643 if (PyErr_Occurred()) SWIG_fail
;
13645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13646 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13648 wxPyEndAllowThreads(__tstate
);
13649 if (PyErr_Occurred()) SWIG_fail
;
13651 Py_INCREF(Py_None
); resultobj
= Py_None
;
13658 static PyObject
*_wrap_PyDrawnShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13659 PyObject
*resultobj
;
13660 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13661 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
13664 int arg5
= (int) 0 ;
13665 int arg6
= (int) 0 ;
13666 PyObject
* obj0
= 0 ;
13667 PyObject
* obj1
= 0 ;
13668 char *kwnames
[] = {
13669 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyDrawnShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
13673 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13674 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13677 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
13679 wxPyEndAllowThreads(__tstate
);
13680 if (PyErr_Occurred()) SWIG_fail
;
13682 Py_INCREF(Py_None
); resultobj
= Py_None
;
13689 static PyObject
*_wrap_PyDrawnShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13690 PyObject
*resultobj
;
13691 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13692 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
13695 int arg5
= (int) 0 ;
13696 int arg6
= (int) 0 ;
13697 PyObject
* obj0
= 0 ;
13698 PyObject
* obj1
= 0 ;
13699 char *kwnames
[] = {
13700 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyDrawnShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
13704 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13705 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13708 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
13710 wxPyEndAllowThreads(__tstate
);
13711 if (PyErr_Occurred()) SWIG_fail
;
13713 Py_INCREF(Py_None
); resultobj
= Py_None
;
13720 static PyObject
*_wrap_PyDrawnShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13721 PyObject
*resultobj
;
13722 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13725 PyObject
* obj0
= 0 ;
13726 char *kwnames
[] = {
13727 (char *) "self",(char *) "w",(char *) "h", NULL
13730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyDrawnShape_base_OnBeginSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
13731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13734 (arg1
)->base_OnBeginSize(arg2
,arg3
);
13736 wxPyEndAllowThreads(__tstate
);
13737 if (PyErr_Occurred()) SWIG_fail
;
13739 Py_INCREF(Py_None
); resultobj
= Py_None
;
13746 static PyObject
*_wrap_PyDrawnShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13747 PyObject
*resultobj
;
13748 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13751 PyObject
* obj0
= 0 ;
13752 char *kwnames
[] = {
13753 (char *) "self",(char *) "w",(char *) "h", NULL
13756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyDrawnShape_base_OnEndSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
13757 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13760 (arg1
)->base_OnEndSize(arg2
,arg3
);
13762 wxPyEndAllowThreads(__tstate
);
13763 if (PyErr_Occurred()) SWIG_fail
;
13765 Py_INCREF(Py_None
); resultobj
= Py_None
;
13772 static PyObject
* PyDrawnShape_swigregister(PyObject
*self
, PyObject
*args
) {
13774 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13775 SWIG_TypeClientData(SWIGTYPE_p_wxPyDrawnShape
, obj
);
13777 return Py_BuildValue((char *)"");
13779 static PyObject
*_wrap_new_OGLConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13780 PyObject
*resultobj
;
13782 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
13783 PyObject
*arg3
= (PyObject
*) 0 ;
13784 wxOGLConstraint
*result
;
13785 PyObject
* obj1
= 0 ;
13786 PyObject
* obj2
= 0 ;
13787 char *kwnames
[] = {
13788 (char *) "type",(char *) "constraining",(char *) "constrained", NULL
13791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iOO:new_OGLConstraint",kwnames
,&arg1
,&obj1
,&obj2
)) goto fail
;
13792 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13796 result
= (wxOGLConstraint
*)new_wxOGLConstraint(arg1
,arg2
,arg3
);
13798 wxPyEndAllowThreads(__tstate
);
13799 if (PyErr_Occurred()) SWIG_fail
;
13802 resultobj
= wxPyMake_wxObject(result
);
13810 static PyObject
*_wrap_OGLConstraint_Evaluate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13811 PyObject
*resultobj
;
13812 wxOGLConstraint
*arg1
= (wxOGLConstraint
*) 0 ;
13814 PyObject
* obj0
= 0 ;
13815 char *kwnames
[] = {
13816 (char *) "self", NULL
13819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:OGLConstraint_Evaluate",kwnames
,&obj0
)) goto fail
;
13820 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxOGLConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13823 result
= (bool)(arg1
)->Evaluate();
13825 wxPyEndAllowThreads(__tstate
);
13826 if (PyErr_Occurred()) SWIG_fail
;
13828 resultobj
= PyInt_FromLong((long)result
);
13835 static PyObject
*_wrap_OGLConstraint_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13836 PyObject
*resultobj
;
13837 wxOGLConstraint
*arg1
= (wxOGLConstraint
*) 0 ;
13840 PyObject
* obj0
= 0 ;
13841 char *kwnames
[] = {
13842 (char *) "self",(char *) "x",(char *) "y", NULL
13845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:OGLConstraint_SetSpacing",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
13846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxOGLConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13849 (arg1
)->SetSpacing(arg2
,arg3
);
13851 wxPyEndAllowThreads(__tstate
);
13852 if (PyErr_Occurred()) SWIG_fail
;
13854 Py_INCREF(Py_None
); resultobj
= Py_None
;
13861 static PyObject
*_wrap_OGLConstraint_Equals(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13862 PyObject
*resultobj
;
13863 wxOGLConstraint
*arg1
= (wxOGLConstraint
*) 0 ;
13867 PyObject
* obj0
= 0 ;
13868 char *kwnames
[] = {
13869 (char *) "self",(char *) "a",(char *) "b", NULL
13872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:OGLConstraint_Equals",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
13873 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxOGLConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13876 result
= (bool)(arg1
)->Equals(arg2
,arg3
);
13878 wxPyEndAllowThreads(__tstate
);
13879 if (PyErr_Occurred()) SWIG_fail
;
13881 resultobj
= PyInt_FromLong((long)result
);
13888 static PyObject
* OGLConstraint_swigregister(PyObject
*self
, PyObject
*args
) {
13890 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13891 SWIG_TypeClientData(SWIGTYPE_p_wxOGLConstraint
, obj
);
13893 return Py_BuildValue((char *)"");
13895 static PyObject
*_wrap_new_PyCompositeShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13896 PyObject
*resultobj
;
13897 wxPyCompositeShape
*result
;
13898 char *kwnames
[] = {
13902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyCompositeShape",kwnames
)) goto fail
;
13904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13905 result
= (wxPyCompositeShape
*)new wxPyCompositeShape();
13907 wxPyEndAllowThreads(__tstate
);
13908 if (PyErr_Occurred()) SWIG_fail
;
13910 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyCompositeShape
, 1);
13917 static PyObject
*_wrap_PyCompositeShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13918 PyObject
*resultobj
;
13919 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
13920 PyObject
*arg2
= (PyObject
*) 0 ;
13921 PyObject
*arg3
= (PyObject
*) 0 ;
13922 PyObject
* obj0
= 0 ;
13923 PyObject
* obj1
= 0 ;
13924 PyObject
* obj2
= 0 ;
13925 char *kwnames
[] = {
13926 (char *) "self",(char *) "self",(char *) "_class", NULL
13929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCompositeShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13930 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13935 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13937 wxPyEndAllowThreads(__tstate
);
13938 if (PyErr_Occurred()) SWIG_fail
;
13940 Py_INCREF(Py_None
); resultobj
= Py_None
;
13947 static PyObject
*_wrap_PyCompositeShape_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13948 PyObject
*resultobj
;
13949 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
13950 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
13951 wxPyShape
*arg3
= (wxPyShape
*) NULL
;
13952 PyObject
* obj0
= 0 ;
13953 PyObject
* obj1
= 0 ;
13954 PyObject
* obj2
= 0 ;
13955 char *kwnames
[] = {
13956 (char *) "self",(char *) "child",(char *) "addAfter", NULL
13959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCompositeShape_AddChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13960 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13961 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13963 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13967 (arg1
)->AddChild(arg2
,arg3
);
13969 wxPyEndAllowThreads(__tstate
);
13970 if (PyErr_Occurred()) SWIG_fail
;
13972 Py_INCREF(Py_None
); resultobj
= Py_None
;
13979 static PyObject
*_wrap_PyCompositeShape_AddConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13980 PyObject
*resultobj
;
13981 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
13982 wxOGLConstraint
*arg2
= (wxOGLConstraint
*) 0 ;
13983 wxOGLConstraint
*result
;
13984 PyObject
* obj0
= 0 ;
13985 PyObject
* obj1
= 0 ;
13986 char *kwnames
[] = {
13987 (char *) "self",(char *) "constraint", NULL
13990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_AddConstraint",kwnames
,&obj0
,&obj1
)) goto fail
;
13991 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13992 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxOGLConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13995 result
= (wxOGLConstraint
*)(arg1
)->AddConstraint(arg2
);
13997 wxPyEndAllowThreads(__tstate
);
13998 if (PyErr_Occurred()) SWIG_fail
;
14001 resultobj
= wxPyMake_wxObject(result
);
14009 static PyObject
*_wrap_PyCompositeShape_AddConstrainedShapes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14010 PyObject
*resultobj
;
14011 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14013 wxPyShape
*arg3
= (wxPyShape
*) 0 ;
14014 PyObject
*arg4
= (PyObject
*) 0 ;
14015 wxOGLConstraint
*result
;
14016 PyObject
* obj0
= 0 ;
14017 PyObject
* obj2
= 0 ;
14018 PyObject
* obj3
= 0 ;
14019 char *kwnames
[] = {
14020 (char *) "self",(char *) "type",(char *) "constraining",(char *) "constrained", NULL
14023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOO:PyCompositeShape_AddConstrainedShapes",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
14024 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14025 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14029 result
= (wxOGLConstraint
*)wxPyCompositeShape_AddConstrainedShapes(arg1
,arg2
,arg3
,arg4
);
14031 wxPyEndAllowThreads(__tstate
);
14032 if (PyErr_Occurred()) SWIG_fail
;
14035 resultobj
= wxPyMake_wxObject(result
);
14043 static PyObject
*_wrap_PyCompositeShape_AddSimpleConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14044 PyObject
*resultobj
;
14045 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14047 wxPyShape
*arg3
= (wxPyShape
*) 0 ;
14048 wxPyShape
*arg4
= (wxPyShape
*) 0 ;
14049 wxOGLConstraint
*result
;
14050 PyObject
* obj0
= 0 ;
14051 PyObject
* obj2
= 0 ;
14052 PyObject
* obj3
= 0 ;
14053 char *kwnames
[] = {
14054 (char *) "self",(char *) "type",(char *) "constraining",(char *) "constrained", NULL
14057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOO:PyCompositeShape_AddSimpleConstraint",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
14058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14059 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14060 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14063 result
= (wxOGLConstraint
*)(arg1
)->AddConstraint(arg2
,arg3
,arg4
);
14065 wxPyEndAllowThreads(__tstate
);
14066 if (PyErr_Occurred()) SWIG_fail
;
14069 resultobj
= wxPyMake_wxObject(result
);
14077 static PyObject
*_wrap_PyCompositeShape_CalculateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14078 PyObject
*resultobj
;
14079 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14080 PyObject
* obj0
= 0 ;
14081 char *kwnames
[] = {
14082 (char *) "self", NULL
14085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_CalculateSize",kwnames
,&obj0
)) goto fail
;
14086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14089 (arg1
)->CalculateSize();
14091 wxPyEndAllowThreads(__tstate
);
14092 if (PyErr_Occurred()) SWIG_fail
;
14094 Py_INCREF(Py_None
); resultobj
= Py_None
;
14101 static PyObject
*_wrap_PyCompositeShape_ContainsDivision(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14102 PyObject
*resultobj
;
14103 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14104 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
14106 PyObject
* obj0
= 0 ;
14107 PyObject
* obj1
= 0 ;
14108 char *kwnames
[] = {
14109 (char *) "self",(char *) "division", NULL
14112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_ContainsDivision",kwnames
,&obj0
,&obj1
)) goto fail
;
14113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14114 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14117 result
= (bool)(arg1
)->ContainsDivision(arg2
);
14119 wxPyEndAllowThreads(__tstate
);
14120 if (PyErr_Occurred()) SWIG_fail
;
14122 resultobj
= PyInt_FromLong((long)result
);
14129 static PyObject
*_wrap_PyCompositeShape_DeleteConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14130 PyObject
*resultobj
;
14131 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14132 wxOGLConstraint
*arg2
= (wxOGLConstraint
*) 0 ;
14133 PyObject
* obj0
= 0 ;
14134 PyObject
* obj1
= 0 ;
14135 char *kwnames
[] = {
14136 (char *) "self",(char *) "constraint", NULL
14139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_DeleteConstraint",kwnames
,&obj0
,&obj1
)) goto fail
;
14140 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14141 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxOGLConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14144 (arg1
)->DeleteConstraint(arg2
);
14146 wxPyEndAllowThreads(__tstate
);
14147 if (PyErr_Occurred()) SWIG_fail
;
14149 Py_INCREF(Py_None
); resultobj
= Py_None
;
14156 static PyObject
*_wrap_PyCompositeShape_DeleteConstraintsInvolvingChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14157 PyObject
*resultobj
;
14158 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14159 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
14160 PyObject
* obj0
= 0 ;
14161 PyObject
* obj1
= 0 ;
14162 char *kwnames
[] = {
14163 (char *) "self",(char *) "child", NULL
14166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_DeleteConstraintsInvolvingChild",kwnames
,&obj0
,&obj1
)) goto fail
;
14167 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14168 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14171 (arg1
)->DeleteConstraintsInvolvingChild(arg2
);
14173 wxPyEndAllowThreads(__tstate
);
14174 if (PyErr_Occurred()) SWIG_fail
;
14176 Py_INCREF(Py_None
); resultobj
= Py_None
;
14183 static PyObject
*_wrap_PyCompositeShape_FindContainerImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14184 PyObject
*resultobj
;
14185 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14187 PyObject
* obj0
= 0 ;
14188 char *kwnames
[] = {
14189 (char *) "self", NULL
14192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_FindContainerImage",kwnames
,&obj0
)) goto fail
;
14193 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14196 result
= (wxPyShape
*)(arg1
)->FindContainerImage();
14198 wxPyEndAllowThreads(__tstate
);
14199 if (PyErr_Occurred()) SWIG_fail
;
14202 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
14210 static PyObject
*_wrap_PyCompositeShape_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14211 PyObject
*resultobj
;
14212 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14214 PyObject
* obj0
= 0 ;
14215 char *kwnames
[] = {
14216 (char *) "self", NULL
14219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_GetConstraints",kwnames
,&obj0
)) goto fail
;
14220 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14223 result
= (PyObject
*)wxPyCompositeShape_GetConstraints(arg1
);
14225 wxPyEndAllowThreads(__tstate
);
14226 if (PyErr_Occurred()) SWIG_fail
;
14228 resultobj
= result
;
14235 static PyObject
*_wrap_PyCompositeShape_GetDivisions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14236 PyObject
*resultobj
;
14237 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14239 PyObject
* obj0
= 0 ;
14240 char *kwnames
[] = {
14241 (char *) "self", NULL
14244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_GetDivisions",kwnames
,&obj0
)) goto fail
;
14245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14248 result
= (PyObject
*)wxPyCompositeShape_GetDivisions(arg1
);
14250 wxPyEndAllowThreads(__tstate
);
14251 if (PyErr_Occurred()) SWIG_fail
;
14253 resultobj
= result
;
14260 static PyObject
*_wrap_PyCompositeShape_MakeContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14261 PyObject
*resultobj
;
14262 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14263 PyObject
* obj0
= 0 ;
14264 char *kwnames
[] = {
14265 (char *) "self", NULL
14268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_MakeContainer",kwnames
,&obj0
)) goto fail
;
14269 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14272 (arg1
)->MakeContainer();
14274 wxPyEndAllowThreads(__tstate
);
14275 if (PyErr_Occurred()) SWIG_fail
;
14277 Py_INCREF(Py_None
); resultobj
= Py_None
;
14284 static PyObject
*_wrap_PyCompositeShape_Recompute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14285 PyObject
*resultobj
;
14286 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14288 PyObject
* obj0
= 0 ;
14289 char *kwnames
[] = {
14290 (char *) "self", NULL
14293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_Recompute",kwnames
,&obj0
)) goto fail
;
14294 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14297 result
= (bool)(arg1
)->Recompute();
14299 wxPyEndAllowThreads(__tstate
);
14300 if (PyErr_Occurred()) SWIG_fail
;
14302 resultobj
= PyInt_FromLong((long)result
);
14309 static PyObject
*_wrap_PyCompositeShape_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14310 PyObject
*resultobj
;
14311 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14312 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
14313 PyObject
* obj0
= 0 ;
14314 PyObject
* obj1
= 0 ;
14315 char *kwnames
[] = {
14316 (char *) "self",(char *) "child", NULL
14319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
14320 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14321 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14324 (arg1
)->RemoveChild(arg2
);
14326 wxPyEndAllowThreads(__tstate
);
14327 if (PyErr_Occurred()) SWIG_fail
;
14329 Py_INCREF(Py_None
); resultobj
= Py_None
;
14336 static PyObject
*_wrap_PyCompositeShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14337 PyObject
*resultobj
;
14338 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14339 PyObject
* obj0
= 0 ;
14340 char *kwnames
[] = {
14341 (char *) "self", NULL
14344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
14345 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14348 (arg1
)->base_OnDelete();
14350 wxPyEndAllowThreads(__tstate
);
14351 if (PyErr_Occurred()) SWIG_fail
;
14353 Py_INCREF(Py_None
); resultobj
= Py_None
;
14360 static PyObject
*_wrap_PyCompositeShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14361 PyObject
*resultobj
;
14362 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14364 PyObject
* obj0
= 0 ;
14365 PyObject
* obj1
= 0 ;
14366 char *kwnames
[] = {
14367 (char *) "self",(char *) "dc", NULL
14370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
14371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14372 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14373 if (arg2
== NULL
) {
14374 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14378 (arg1
)->base_OnDraw(*arg2
);
14380 wxPyEndAllowThreads(__tstate
);
14381 if (PyErr_Occurred()) SWIG_fail
;
14383 Py_INCREF(Py_None
); resultobj
= Py_None
;
14390 static PyObject
*_wrap_PyCompositeShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14391 PyObject
*resultobj
;
14392 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14394 PyObject
* obj0
= 0 ;
14395 PyObject
* obj1
= 0 ;
14396 char *kwnames
[] = {
14397 (char *) "self",(char *) "dc", NULL
14400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
14401 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14402 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14403 if (arg2
== NULL
) {
14404 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14408 (arg1
)->base_OnDrawContents(*arg2
);
14410 wxPyEndAllowThreads(__tstate
);
14411 if (PyErr_Occurred()) SWIG_fail
;
14413 Py_INCREF(Py_None
); resultobj
= Py_None
;
14420 static PyObject
*_wrap_PyCompositeShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14421 PyObject
*resultobj
;
14422 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14424 bool arg3
= (bool) FALSE
;
14425 PyObject
* obj0
= 0 ;
14426 PyObject
* obj1
= 0 ;
14427 PyObject
* obj2
= 0 ;
14428 char *kwnames
[] = {
14429 (char *) "self",(char *) "dc",(char *) "erase", NULL
14432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCompositeShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14433 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14434 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14435 if (arg2
== NULL
) {
14436 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14439 arg3
= PyInt_AsLong(obj2
) ? true : false;
14440 if (PyErr_Occurred()) SWIG_fail
;
14443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14444 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
14446 wxPyEndAllowThreads(__tstate
);
14447 if (PyErr_Occurred()) SWIG_fail
;
14449 Py_INCREF(Py_None
); resultobj
= Py_None
;
14456 static PyObject
*_wrap_PyCompositeShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14457 PyObject
*resultobj
;
14458 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14460 PyObject
* obj0
= 0 ;
14461 PyObject
* obj1
= 0 ;
14462 char *kwnames
[] = {
14463 (char *) "self",(char *) "dc", NULL
14466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
14467 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14468 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14469 if (arg2
== NULL
) {
14470 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14474 (arg1
)->base_OnMoveLinks(*arg2
);
14476 wxPyEndAllowThreads(__tstate
);
14477 if (PyErr_Occurred()) SWIG_fail
;
14479 Py_INCREF(Py_None
); resultobj
= Py_None
;
14486 static PyObject
*_wrap_PyCompositeShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14487 PyObject
*resultobj
;
14488 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14490 PyObject
* obj0
= 0 ;
14491 PyObject
* obj1
= 0 ;
14492 char *kwnames
[] = {
14493 (char *) "self",(char *) "dc", NULL
14496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
14497 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14498 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14499 if (arg2
== NULL
) {
14500 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14504 (arg1
)->base_OnErase(*arg2
);
14506 wxPyEndAllowThreads(__tstate
);
14507 if (PyErr_Occurred()) SWIG_fail
;
14509 Py_INCREF(Py_None
); resultobj
= Py_None
;
14516 static PyObject
*_wrap_PyCompositeShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14517 PyObject
*resultobj
;
14518 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14520 PyObject
* obj0
= 0 ;
14521 PyObject
* obj1
= 0 ;
14522 char *kwnames
[] = {
14523 (char *) "self",(char *) "dc", NULL
14526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
14527 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14528 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14529 if (arg2
== NULL
) {
14530 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14534 (arg1
)->base_OnEraseContents(*arg2
);
14536 wxPyEndAllowThreads(__tstate
);
14537 if (PyErr_Occurred()) SWIG_fail
;
14539 Py_INCREF(Py_None
); resultobj
= Py_None
;
14546 static PyObject
*_wrap_PyCompositeShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14547 PyObject
*resultobj
;
14548 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14550 PyObject
* obj0
= 0 ;
14551 PyObject
* obj1
= 0 ;
14552 char *kwnames
[] = {
14553 (char *) "self",(char *) "dc", NULL
14556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
14557 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14558 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14559 if (arg2
== NULL
) {
14560 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14564 (arg1
)->base_OnHighlight(*arg2
);
14566 wxPyEndAllowThreads(__tstate
);
14567 if (PyErr_Occurred()) SWIG_fail
;
14569 Py_INCREF(Py_None
); resultobj
= Py_None
;
14576 static PyObject
*_wrap_PyCompositeShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14577 PyObject
*resultobj
;
14578 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14581 int arg4
= (int) 0 ;
14582 int arg5
= (int) 0 ;
14583 PyObject
* obj0
= 0 ;
14584 char *kwnames
[] = {
14585 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyCompositeShape_base_OnLeftClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
14589 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14592 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
14594 wxPyEndAllowThreads(__tstate
);
14595 if (PyErr_Occurred()) SWIG_fail
;
14597 Py_INCREF(Py_None
); resultobj
= Py_None
;
14604 static PyObject
*_wrap_PyCompositeShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14605 PyObject
*resultobj
;
14606 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14609 int arg4
= (int) 0 ;
14610 int arg5
= (int) 0 ;
14611 PyObject
* obj0
= 0 ;
14612 char *kwnames
[] = {
14613 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyCompositeShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
14617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14620 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
14622 wxPyEndAllowThreads(__tstate
);
14623 if (PyErr_Occurred()) SWIG_fail
;
14625 Py_INCREF(Py_None
); resultobj
= Py_None
;
14632 static PyObject
*_wrap_PyCompositeShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14633 PyObject
*resultobj
;
14634 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14637 int arg4
= (int) 0 ;
14638 int arg5
= (int) 0 ;
14639 PyObject
* obj0
= 0 ;
14640 char *kwnames
[] = {
14641 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyCompositeShape_base_OnRightClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
14645 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14648 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
14650 wxPyEndAllowThreads(__tstate
);
14651 if (PyErr_Occurred()) SWIG_fail
;
14653 Py_INCREF(Py_None
); resultobj
= Py_None
;
14660 static PyObject
*_wrap_PyCompositeShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14661 PyObject
*resultobj
;
14662 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14665 PyObject
* obj0
= 0 ;
14666 char *kwnames
[] = {
14667 (char *) "self",(char *) "x",(char *) "y", NULL
14670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyCompositeShape_base_OnSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
14671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14674 (arg1
)->base_OnSize(arg2
,arg3
);
14676 wxPyEndAllowThreads(__tstate
);
14677 if (PyErr_Occurred()) SWIG_fail
;
14679 Py_INCREF(Py_None
); resultobj
= Py_None
;
14686 static PyObject
*_wrap_PyCompositeShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14687 PyObject
*resultobj
;
14688 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14694 bool arg7
= (bool) True
;
14696 PyObject
* obj0
= 0 ;
14697 PyObject
* obj1
= 0 ;
14698 PyObject
* obj6
= 0 ;
14699 char *kwnames
[] = {
14700 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
14703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyCompositeShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
14704 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14705 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14706 if (arg2
== NULL
) {
14707 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14710 arg7
= PyInt_AsLong(obj6
) ? true : false;
14711 if (PyErr_Occurred()) SWIG_fail
;
14714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14715 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
14717 wxPyEndAllowThreads(__tstate
);
14718 if (PyErr_Occurred()) SWIG_fail
;
14720 resultobj
= PyInt_FromLong((long)result
);
14727 static PyObject
*_wrap_PyCompositeShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14728 PyObject
*resultobj
;
14729 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14735 bool arg7
= (bool) True
;
14736 PyObject
* obj0
= 0 ;
14737 PyObject
* obj1
= 0 ;
14738 PyObject
* obj6
= 0 ;
14739 char *kwnames
[] = {
14740 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
14743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyCompositeShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
14744 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14745 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14746 if (arg2
== NULL
) {
14747 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14750 arg7
= PyInt_AsLong(obj6
) ? true : false;
14751 if (PyErr_Occurred()) SWIG_fail
;
14754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14755 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
14757 wxPyEndAllowThreads(__tstate
);
14758 if (PyErr_Occurred()) SWIG_fail
;
14760 Py_INCREF(Py_None
); resultobj
= Py_None
;
14767 static PyObject
*_wrap_PyCompositeShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14768 PyObject
*resultobj
;
14769 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14773 int arg5
= (int) 0 ;
14774 int arg6
= (int) 0 ;
14775 PyObject
* obj0
= 0 ;
14776 PyObject
* obj1
= 0 ;
14777 char *kwnames
[] = {
14778 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyCompositeShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
14782 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14783 arg2
= PyInt_AsLong(obj1
) ? true : false;
14784 if (PyErr_Occurred()) SWIG_fail
;
14786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14787 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
14789 wxPyEndAllowThreads(__tstate
);
14790 if (PyErr_Occurred()) SWIG_fail
;
14792 Py_INCREF(Py_None
); resultobj
= Py_None
;
14799 static PyObject
*_wrap_PyCompositeShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14800 PyObject
*resultobj
;
14801 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14804 int arg4
= (int) 0 ;
14805 int arg5
= (int) 0 ;
14806 PyObject
* obj0
= 0 ;
14807 char *kwnames
[] = {
14808 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyCompositeShape_base_OnBeginDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
14812 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14815 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
14817 wxPyEndAllowThreads(__tstate
);
14818 if (PyErr_Occurred()) SWIG_fail
;
14820 Py_INCREF(Py_None
); resultobj
= Py_None
;
14827 static PyObject
*_wrap_PyCompositeShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14828 PyObject
*resultobj
;
14829 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14832 int arg4
= (int) 0 ;
14833 int arg5
= (int) 0 ;
14834 PyObject
* obj0
= 0 ;
14835 char *kwnames
[] = {
14836 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyCompositeShape_base_OnEndDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
14840 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14843 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
14845 wxPyEndAllowThreads(__tstate
);
14846 if (PyErr_Occurred()) SWIG_fail
;
14848 Py_INCREF(Py_None
); resultobj
= Py_None
;
14855 static PyObject
*_wrap_PyCompositeShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14856 PyObject
*resultobj
;
14857 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14861 int arg5
= (int) 0 ;
14862 int arg6
= (int) 0 ;
14863 PyObject
* obj0
= 0 ;
14864 PyObject
* obj1
= 0 ;
14865 char *kwnames
[] = {
14866 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyCompositeShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
14870 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14871 arg2
= PyInt_AsLong(obj1
) ? true : false;
14872 if (PyErr_Occurred()) SWIG_fail
;
14874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14875 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
14877 wxPyEndAllowThreads(__tstate
);
14878 if (PyErr_Occurred()) SWIG_fail
;
14880 Py_INCREF(Py_None
); resultobj
= Py_None
;
14887 static PyObject
*_wrap_PyCompositeShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14888 PyObject
*resultobj
;
14889 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14892 int arg4
= (int) 0 ;
14893 int arg5
= (int) 0 ;
14894 PyObject
* obj0
= 0 ;
14895 char *kwnames
[] = {
14896 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyCompositeShape_base_OnBeginDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
14900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14903 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
14905 wxPyEndAllowThreads(__tstate
);
14906 if (PyErr_Occurred()) SWIG_fail
;
14908 Py_INCREF(Py_None
); resultobj
= Py_None
;
14915 static PyObject
*_wrap_PyCompositeShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14916 PyObject
*resultobj
;
14917 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14920 int arg4
= (int) 0 ;
14921 int arg5
= (int) 0 ;
14922 PyObject
* obj0
= 0 ;
14923 char *kwnames
[] = {
14924 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyCompositeShape_base_OnEndDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
14928 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14931 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
14933 wxPyEndAllowThreads(__tstate
);
14934 if (PyErr_Occurred()) SWIG_fail
;
14936 Py_INCREF(Py_None
); resultobj
= Py_None
;
14943 static PyObject
*_wrap_PyCompositeShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14944 PyObject
*resultobj
;
14945 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14951 PyObject
* obj0
= 0 ;
14952 PyObject
* obj1
= 0 ;
14953 char *kwnames
[] = {
14954 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
14957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd:PyCompositeShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
14958 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14959 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14960 if (arg2
== NULL
) {
14961 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14965 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
14967 wxPyEndAllowThreads(__tstate
);
14968 if (PyErr_Occurred()) SWIG_fail
;
14970 Py_INCREF(Py_None
); resultobj
= Py_None
;
14977 static PyObject
*_wrap_PyCompositeShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14978 PyObject
*resultobj
;
14979 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14981 PyObject
* obj0
= 0 ;
14982 PyObject
* obj1
= 0 ;
14983 char *kwnames
[] = {
14984 (char *) "self",(char *) "dc", NULL
14987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
14988 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14989 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14990 if (arg2
== NULL
) {
14991 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14995 (arg1
)->base_OnDrawControlPoints(*arg2
);
14997 wxPyEndAllowThreads(__tstate
);
14998 if (PyErr_Occurred()) SWIG_fail
;
15000 Py_INCREF(Py_None
); resultobj
= Py_None
;
15007 static PyObject
*_wrap_PyCompositeShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15008 PyObject
*resultobj
;
15009 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
15011 PyObject
* obj0
= 0 ;
15012 PyObject
* obj1
= 0 ;
15013 char *kwnames
[] = {
15014 (char *) "self",(char *) "dc", NULL
15017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
15018 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15019 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15020 if (arg2
== NULL
) {
15021 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15025 (arg1
)->base_OnEraseControlPoints(*arg2
);
15027 wxPyEndAllowThreads(__tstate
);
15028 if (PyErr_Occurred()) SWIG_fail
;
15030 Py_INCREF(Py_None
); resultobj
= Py_None
;
15037 static PyObject
*_wrap_PyCompositeShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15038 PyObject
*resultobj
;
15039 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
15041 bool arg3
= (bool) True
;
15042 PyObject
* obj0
= 0 ;
15043 PyObject
* obj1
= 0 ;
15044 PyObject
* obj2
= 0 ;
15045 char *kwnames
[] = {
15046 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
15049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCompositeShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15050 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15051 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15052 if (arg2
== NULL
) {
15053 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15056 arg3
= PyInt_AsLong(obj2
) ? true : false;
15057 if (PyErr_Occurred()) SWIG_fail
;
15060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15061 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
15063 wxPyEndAllowThreads(__tstate
);
15064 if (PyErr_Occurred()) SWIG_fail
;
15066 Py_INCREF(Py_None
); resultobj
= Py_None
;
15073 static PyObject
*_wrap_PyCompositeShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15074 PyObject
*resultobj
;
15075 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
15076 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
15080 int arg6
= (int) 0 ;
15081 int arg7
= (int) 0 ;
15082 PyObject
* obj0
= 0 ;
15083 PyObject
* obj1
= 0 ;
15084 PyObject
* obj2
= 0 ;
15085 char *kwnames
[] = {
15086 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd|ii:PyCompositeShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
15090 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15091 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15092 arg3
= PyInt_AsLong(obj2
) ? true : false;
15093 if (PyErr_Occurred()) SWIG_fail
;
15095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15096 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
15098 wxPyEndAllowThreads(__tstate
);
15099 if (PyErr_Occurred()) SWIG_fail
;
15101 Py_INCREF(Py_None
); resultobj
= Py_None
;
15108 static PyObject
*_wrap_PyCompositeShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15109 PyObject
*resultobj
;
15110 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
15111 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
15114 int arg5
= (int) 0 ;
15115 int arg6
= (int) 0 ;
15116 PyObject
* obj0
= 0 ;
15117 PyObject
* obj1
= 0 ;
15118 char *kwnames
[] = {
15119 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyCompositeShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
15123 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15124 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15127 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
15129 wxPyEndAllowThreads(__tstate
);
15130 if (PyErr_Occurred()) SWIG_fail
;
15132 Py_INCREF(Py_None
); resultobj
= Py_None
;
15139 static PyObject
*_wrap_PyCompositeShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15140 PyObject
*resultobj
;
15141 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
15142 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
15145 int arg5
= (int) 0 ;
15146 int arg6
= (int) 0 ;
15147 PyObject
* obj0
= 0 ;
15148 PyObject
* obj1
= 0 ;
15149 char *kwnames
[] = {
15150 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyCompositeShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
15154 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15155 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15158 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
15160 wxPyEndAllowThreads(__tstate
);
15161 if (PyErr_Occurred()) SWIG_fail
;
15163 Py_INCREF(Py_None
); resultobj
= Py_None
;
15170 static PyObject
*_wrap_PyCompositeShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15171 PyObject
*resultobj
;
15172 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
15175 PyObject
* obj0
= 0 ;
15176 char *kwnames
[] = {
15177 (char *) "self",(char *) "w",(char *) "h", NULL
15180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyCompositeShape_base_OnBeginSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
15181 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15184 (arg1
)->base_OnBeginSize(arg2
,arg3
);
15186 wxPyEndAllowThreads(__tstate
);
15187 if (PyErr_Occurred()) SWIG_fail
;
15189 Py_INCREF(Py_None
); resultobj
= Py_None
;
15196 static PyObject
*_wrap_PyCompositeShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15197 PyObject
*resultobj
;
15198 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
15201 PyObject
* obj0
= 0 ;
15202 char *kwnames
[] = {
15203 (char *) "self",(char *) "w",(char *) "h", NULL
15206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyCompositeShape_base_OnEndSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
15207 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15210 (arg1
)->base_OnEndSize(arg2
,arg3
);
15212 wxPyEndAllowThreads(__tstate
);
15213 if (PyErr_Occurred()) SWIG_fail
;
15215 Py_INCREF(Py_None
); resultobj
= Py_None
;
15222 static PyObject
* PyCompositeShape_swigregister(PyObject
*self
, PyObject
*args
) {
15224 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15225 SWIG_TypeClientData(SWIGTYPE_p_wxPyCompositeShape
, obj
);
15227 return Py_BuildValue((char *)"");
15229 static PyObject
*_wrap_new_PyDividedShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15230 PyObject
*resultobj
;
15231 double arg1
= (double) 0.0 ;
15232 double arg2
= (double) 0.0 ;
15233 wxPyDividedShape
*result
;
15234 char *kwnames
[] = {
15235 (char *) "width",(char *) "height", NULL
15238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|dd:new_PyDividedShape",kwnames
,&arg1
,&arg2
)) goto fail
;
15240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15241 result
= (wxPyDividedShape
*)new wxPyDividedShape(arg1
,arg2
);
15243 wxPyEndAllowThreads(__tstate
);
15244 if (PyErr_Occurred()) SWIG_fail
;
15246 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyDividedShape
, 1);
15253 static PyObject
*_wrap_PyDividedShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15254 PyObject
*resultobj
;
15255 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15256 PyObject
*arg2
= (PyObject
*) 0 ;
15257 PyObject
*arg3
= (PyObject
*) 0 ;
15258 PyObject
* obj0
= 0 ;
15259 PyObject
* obj1
= 0 ;
15260 PyObject
* obj2
= 0 ;
15261 char *kwnames
[] = {
15262 (char *) "self",(char *) "self",(char *) "_class", NULL
15265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDividedShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15266 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15271 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15273 wxPyEndAllowThreads(__tstate
);
15274 if (PyErr_Occurred()) SWIG_fail
;
15276 Py_INCREF(Py_None
); resultobj
= Py_None
;
15283 static PyObject
*_wrap_PyDividedShape_EditRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15284 PyObject
*resultobj
;
15285 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15286 PyObject
* obj0
= 0 ;
15287 char *kwnames
[] = {
15288 (char *) "self", NULL
15291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDividedShape_EditRegions",kwnames
,&obj0
)) goto fail
;
15292 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15295 (arg1
)->EditRegions();
15297 wxPyEndAllowThreads(__tstate
);
15298 if (PyErr_Occurred()) SWIG_fail
;
15300 Py_INCREF(Py_None
); resultobj
= Py_None
;
15307 static PyObject
*_wrap_PyDividedShape_SetRegionSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15308 PyObject
*resultobj
;
15309 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15310 PyObject
* obj0
= 0 ;
15311 char *kwnames
[] = {
15312 (char *) "self", NULL
15315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDividedShape_SetRegionSizes",kwnames
,&obj0
)) goto fail
;
15316 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15319 (arg1
)->SetRegionSizes();
15321 wxPyEndAllowThreads(__tstate
);
15322 if (PyErr_Occurred()) SWIG_fail
;
15324 Py_INCREF(Py_None
); resultobj
= Py_None
;
15331 static PyObject
*_wrap_PyDividedShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15332 PyObject
*resultobj
;
15333 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15334 PyObject
* obj0
= 0 ;
15335 char *kwnames
[] = {
15336 (char *) "self", NULL
15339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDividedShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
15340 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15343 (arg1
)->base_OnDelete();
15345 wxPyEndAllowThreads(__tstate
);
15346 if (PyErr_Occurred()) SWIG_fail
;
15348 Py_INCREF(Py_None
); resultobj
= Py_None
;
15355 static PyObject
*_wrap_PyDividedShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15356 PyObject
*resultobj
;
15357 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15359 PyObject
* obj0
= 0 ;
15360 PyObject
* obj1
= 0 ;
15361 char *kwnames
[] = {
15362 (char *) "self",(char *) "dc", NULL
15365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
15366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15367 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15368 if (arg2
== NULL
) {
15369 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15373 (arg1
)->base_OnDraw(*arg2
);
15375 wxPyEndAllowThreads(__tstate
);
15376 if (PyErr_Occurred()) SWIG_fail
;
15378 Py_INCREF(Py_None
); resultobj
= Py_None
;
15385 static PyObject
*_wrap_PyDividedShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15386 PyObject
*resultobj
;
15387 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15389 PyObject
* obj0
= 0 ;
15390 PyObject
* obj1
= 0 ;
15391 char *kwnames
[] = {
15392 (char *) "self",(char *) "dc", NULL
15395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
15396 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15397 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15398 if (arg2
== NULL
) {
15399 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15403 (arg1
)->base_OnDrawContents(*arg2
);
15405 wxPyEndAllowThreads(__tstate
);
15406 if (PyErr_Occurred()) SWIG_fail
;
15408 Py_INCREF(Py_None
); resultobj
= Py_None
;
15415 static PyObject
*_wrap_PyDividedShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15416 PyObject
*resultobj
;
15417 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15419 bool arg3
= (bool) FALSE
;
15420 PyObject
* obj0
= 0 ;
15421 PyObject
* obj1
= 0 ;
15422 PyObject
* obj2
= 0 ;
15423 char *kwnames
[] = {
15424 (char *) "self",(char *) "dc",(char *) "erase", NULL
15427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDividedShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15429 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15430 if (arg2
== NULL
) {
15431 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15434 arg3
= PyInt_AsLong(obj2
) ? true : false;
15435 if (PyErr_Occurred()) SWIG_fail
;
15438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15439 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
15441 wxPyEndAllowThreads(__tstate
);
15442 if (PyErr_Occurred()) SWIG_fail
;
15444 Py_INCREF(Py_None
); resultobj
= Py_None
;
15451 static PyObject
*_wrap_PyDividedShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15452 PyObject
*resultobj
;
15453 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15455 PyObject
* obj0
= 0 ;
15456 PyObject
* obj1
= 0 ;
15457 char *kwnames
[] = {
15458 (char *) "self",(char *) "dc", NULL
15461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
15462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15463 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15464 if (arg2
== NULL
) {
15465 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15469 (arg1
)->base_OnMoveLinks(*arg2
);
15471 wxPyEndAllowThreads(__tstate
);
15472 if (PyErr_Occurred()) SWIG_fail
;
15474 Py_INCREF(Py_None
); resultobj
= Py_None
;
15481 static PyObject
*_wrap_PyDividedShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15482 PyObject
*resultobj
;
15483 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15485 PyObject
* obj0
= 0 ;
15486 PyObject
* obj1
= 0 ;
15487 char *kwnames
[] = {
15488 (char *) "self",(char *) "dc", NULL
15491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
15492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15493 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15494 if (arg2
== NULL
) {
15495 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15499 (arg1
)->base_OnErase(*arg2
);
15501 wxPyEndAllowThreads(__tstate
);
15502 if (PyErr_Occurred()) SWIG_fail
;
15504 Py_INCREF(Py_None
); resultobj
= Py_None
;
15511 static PyObject
*_wrap_PyDividedShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15512 PyObject
*resultobj
;
15513 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15515 PyObject
* obj0
= 0 ;
15516 PyObject
* obj1
= 0 ;
15517 char *kwnames
[] = {
15518 (char *) "self",(char *) "dc", NULL
15521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
15522 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15523 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15524 if (arg2
== NULL
) {
15525 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15529 (arg1
)->base_OnEraseContents(*arg2
);
15531 wxPyEndAllowThreads(__tstate
);
15532 if (PyErr_Occurred()) SWIG_fail
;
15534 Py_INCREF(Py_None
); resultobj
= Py_None
;
15541 static PyObject
*_wrap_PyDividedShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15542 PyObject
*resultobj
;
15543 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15545 PyObject
* obj0
= 0 ;
15546 PyObject
* obj1
= 0 ;
15547 char *kwnames
[] = {
15548 (char *) "self",(char *) "dc", NULL
15551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
15552 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15553 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15554 if (arg2
== NULL
) {
15555 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15559 (arg1
)->base_OnHighlight(*arg2
);
15561 wxPyEndAllowThreads(__tstate
);
15562 if (PyErr_Occurred()) SWIG_fail
;
15564 Py_INCREF(Py_None
); resultobj
= Py_None
;
15571 static PyObject
*_wrap_PyDividedShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15572 PyObject
*resultobj
;
15573 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15576 int arg4
= (int) 0 ;
15577 int arg5
= (int) 0 ;
15578 PyObject
* obj0
= 0 ;
15579 char *kwnames
[] = {
15580 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDividedShape_base_OnLeftClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
15584 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15587 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
15589 wxPyEndAllowThreads(__tstate
);
15590 if (PyErr_Occurred()) SWIG_fail
;
15592 Py_INCREF(Py_None
); resultobj
= Py_None
;
15599 static PyObject
*_wrap_PyDividedShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15600 PyObject
*resultobj
;
15601 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15604 int arg4
= (int) 0 ;
15605 int arg5
= (int) 0 ;
15606 PyObject
* obj0
= 0 ;
15607 char *kwnames
[] = {
15608 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDividedShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
15612 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15615 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
15617 wxPyEndAllowThreads(__tstate
);
15618 if (PyErr_Occurred()) SWIG_fail
;
15620 Py_INCREF(Py_None
); resultobj
= Py_None
;
15627 static PyObject
*_wrap_PyDividedShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15628 PyObject
*resultobj
;
15629 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15632 int arg4
= (int) 0 ;
15633 int arg5
= (int) 0 ;
15634 PyObject
* obj0
= 0 ;
15635 char *kwnames
[] = {
15636 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDividedShape_base_OnRightClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
15640 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15643 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
15645 wxPyEndAllowThreads(__tstate
);
15646 if (PyErr_Occurred()) SWIG_fail
;
15648 Py_INCREF(Py_None
); resultobj
= Py_None
;
15655 static PyObject
*_wrap_PyDividedShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15656 PyObject
*resultobj
;
15657 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15660 PyObject
* obj0
= 0 ;
15661 char *kwnames
[] = {
15662 (char *) "self",(char *) "x",(char *) "y", NULL
15665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyDividedShape_base_OnSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
15666 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15669 (arg1
)->base_OnSize(arg2
,arg3
);
15671 wxPyEndAllowThreads(__tstate
);
15672 if (PyErr_Occurred()) SWIG_fail
;
15674 Py_INCREF(Py_None
); resultobj
= Py_None
;
15681 static PyObject
*_wrap_PyDividedShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15682 PyObject
*resultobj
;
15683 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15689 bool arg7
= (bool) True
;
15691 PyObject
* obj0
= 0 ;
15692 PyObject
* obj1
= 0 ;
15693 PyObject
* obj6
= 0 ;
15694 char *kwnames
[] = {
15695 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
15698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyDividedShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
15699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15700 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15701 if (arg2
== NULL
) {
15702 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15705 arg7
= PyInt_AsLong(obj6
) ? true : false;
15706 if (PyErr_Occurred()) SWIG_fail
;
15709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15710 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
15712 wxPyEndAllowThreads(__tstate
);
15713 if (PyErr_Occurred()) SWIG_fail
;
15715 resultobj
= PyInt_FromLong((long)result
);
15722 static PyObject
*_wrap_PyDividedShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15723 PyObject
*resultobj
;
15724 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15730 bool arg7
= (bool) True
;
15731 PyObject
* obj0
= 0 ;
15732 PyObject
* obj1
= 0 ;
15733 PyObject
* obj6
= 0 ;
15734 char *kwnames
[] = {
15735 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
15738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyDividedShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
15739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15740 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15741 if (arg2
== NULL
) {
15742 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15745 arg7
= PyInt_AsLong(obj6
) ? true : false;
15746 if (PyErr_Occurred()) SWIG_fail
;
15749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15750 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
15752 wxPyEndAllowThreads(__tstate
);
15753 if (PyErr_Occurred()) SWIG_fail
;
15755 Py_INCREF(Py_None
); resultobj
= Py_None
;
15762 static PyObject
*_wrap_PyDividedShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15763 PyObject
*resultobj
;
15764 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15768 int arg5
= (int) 0 ;
15769 int arg6
= (int) 0 ;
15770 PyObject
* obj0
= 0 ;
15771 PyObject
* obj1
= 0 ;
15772 char *kwnames
[] = {
15773 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyDividedShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
15777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15778 arg2
= PyInt_AsLong(obj1
) ? true : false;
15779 if (PyErr_Occurred()) SWIG_fail
;
15781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15782 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
15784 wxPyEndAllowThreads(__tstate
);
15785 if (PyErr_Occurred()) SWIG_fail
;
15787 Py_INCREF(Py_None
); resultobj
= Py_None
;
15794 static PyObject
*_wrap_PyDividedShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15795 PyObject
*resultobj
;
15796 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15799 int arg4
= (int) 0 ;
15800 int arg5
= (int) 0 ;
15801 PyObject
* obj0
= 0 ;
15802 char *kwnames
[] = {
15803 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDividedShape_base_OnBeginDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
15807 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15810 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
15812 wxPyEndAllowThreads(__tstate
);
15813 if (PyErr_Occurred()) SWIG_fail
;
15815 Py_INCREF(Py_None
); resultobj
= Py_None
;
15822 static PyObject
*_wrap_PyDividedShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15823 PyObject
*resultobj
;
15824 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15827 int arg4
= (int) 0 ;
15828 int arg5
= (int) 0 ;
15829 PyObject
* obj0
= 0 ;
15830 char *kwnames
[] = {
15831 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDividedShape_base_OnEndDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
15835 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15838 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
15840 wxPyEndAllowThreads(__tstate
);
15841 if (PyErr_Occurred()) SWIG_fail
;
15843 Py_INCREF(Py_None
); resultobj
= Py_None
;
15850 static PyObject
*_wrap_PyDividedShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15851 PyObject
*resultobj
;
15852 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15856 int arg5
= (int) 0 ;
15857 int arg6
= (int) 0 ;
15858 PyObject
* obj0
= 0 ;
15859 PyObject
* obj1
= 0 ;
15860 char *kwnames
[] = {
15861 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyDividedShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
15865 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15866 arg2
= PyInt_AsLong(obj1
) ? true : false;
15867 if (PyErr_Occurred()) SWIG_fail
;
15869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15870 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
15872 wxPyEndAllowThreads(__tstate
);
15873 if (PyErr_Occurred()) SWIG_fail
;
15875 Py_INCREF(Py_None
); resultobj
= Py_None
;
15882 static PyObject
*_wrap_PyDividedShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15883 PyObject
*resultobj
;
15884 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15887 int arg4
= (int) 0 ;
15888 int arg5
= (int) 0 ;
15889 PyObject
* obj0
= 0 ;
15890 char *kwnames
[] = {
15891 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDividedShape_base_OnBeginDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
15895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15898 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
15900 wxPyEndAllowThreads(__tstate
);
15901 if (PyErr_Occurred()) SWIG_fail
;
15903 Py_INCREF(Py_None
); resultobj
= Py_None
;
15910 static PyObject
*_wrap_PyDividedShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15911 PyObject
*resultobj
;
15912 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15915 int arg4
= (int) 0 ;
15916 int arg5
= (int) 0 ;
15917 PyObject
* obj0
= 0 ;
15918 char *kwnames
[] = {
15919 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDividedShape_base_OnEndDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
15923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15926 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
15928 wxPyEndAllowThreads(__tstate
);
15929 if (PyErr_Occurred()) SWIG_fail
;
15931 Py_INCREF(Py_None
); resultobj
= Py_None
;
15938 static PyObject
*_wrap_PyDividedShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15939 PyObject
*resultobj
;
15940 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15946 PyObject
* obj0
= 0 ;
15947 PyObject
* obj1
= 0 ;
15948 char *kwnames
[] = {
15949 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
15952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd:PyDividedShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
15953 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15954 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15955 if (arg2
== NULL
) {
15956 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15960 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
15962 wxPyEndAllowThreads(__tstate
);
15963 if (PyErr_Occurred()) SWIG_fail
;
15965 Py_INCREF(Py_None
); resultobj
= Py_None
;
15972 static PyObject
*_wrap_PyDividedShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15973 PyObject
*resultobj
;
15974 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15976 PyObject
* obj0
= 0 ;
15977 PyObject
* obj1
= 0 ;
15978 char *kwnames
[] = {
15979 (char *) "self",(char *) "dc", NULL
15982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
15983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15984 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15985 if (arg2
== NULL
) {
15986 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15990 (arg1
)->base_OnDrawControlPoints(*arg2
);
15992 wxPyEndAllowThreads(__tstate
);
15993 if (PyErr_Occurred()) SWIG_fail
;
15995 Py_INCREF(Py_None
); resultobj
= Py_None
;
16002 static PyObject
*_wrap_PyDividedShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16003 PyObject
*resultobj
;
16004 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
16006 PyObject
* obj0
= 0 ;
16007 PyObject
* obj1
= 0 ;
16008 char *kwnames
[] = {
16009 (char *) "self",(char *) "dc", NULL
16012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
16013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16014 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16015 if (arg2
== NULL
) {
16016 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16020 (arg1
)->base_OnEraseControlPoints(*arg2
);
16022 wxPyEndAllowThreads(__tstate
);
16023 if (PyErr_Occurred()) SWIG_fail
;
16025 Py_INCREF(Py_None
); resultobj
= Py_None
;
16032 static PyObject
*_wrap_PyDividedShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16033 PyObject
*resultobj
;
16034 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
16036 bool arg3
= (bool) True
;
16037 PyObject
* obj0
= 0 ;
16038 PyObject
* obj1
= 0 ;
16039 PyObject
* obj2
= 0 ;
16040 char *kwnames
[] = {
16041 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
16044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDividedShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16046 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16047 if (arg2
== NULL
) {
16048 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16051 arg3
= PyInt_AsLong(obj2
) ? true : false;
16052 if (PyErr_Occurred()) SWIG_fail
;
16055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16056 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
16058 wxPyEndAllowThreads(__tstate
);
16059 if (PyErr_Occurred()) SWIG_fail
;
16061 Py_INCREF(Py_None
); resultobj
= Py_None
;
16068 static PyObject
*_wrap_PyDividedShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16069 PyObject
*resultobj
;
16070 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
16071 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
16075 int arg6
= (int) 0 ;
16076 int arg7
= (int) 0 ;
16077 PyObject
* obj0
= 0 ;
16078 PyObject
* obj1
= 0 ;
16079 PyObject
* obj2
= 0 ;
16080 char *kwnames
[] = {
16081 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd|ii:PyDividedShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
16085 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16086 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16087 arg3
= PyInt_AsLong(obj2
) ? true : false;
16088 if (PyErr_Occurred()) SWIG_fail
;
16090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16091 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
16093 wxPyEndAllowThreads(__tstate
);
16094 if (PyErr_Occurred()) SWIG_fail
;
16096 Py_INCREF(Py_None
); resultobj
= Py_None
;
16103 static PyObject
*_wrap_PyDividedShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16104 PyObject
*resultobj
;
16105 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
16106 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
16109 int arg5
= (int) 0 ;
16110 int arg6
= (int) 0 ;
16111 PyObject
* obj0
= 0 ;
16112 PyObject
* obj1
= 0 ;
16113 char *kwnames
[] = {
16114 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyDividedShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
16118 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16119 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16122 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
16124 wxPyEndAllowThreads(__tstate
);
16125 if (PyErr_Occurred()) SWIG_fail
;
16127 Py_INCREF(Py_None
); resultobj
= Py_None
;
16134 static PyObject
*_wrap_PyDividedShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16135 PyObject
*resultobj
;
16136 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
16137 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
16140 int arg5
= (int) 0 ;
16141 int arg6
= (int) 0 ;
16142 PyObject
* obj0
= 0 ;
16143 PyObject
* obj1
= 0 ;
16144 char *kwnames
[] = {
16145 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyDividedShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
16149 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16150 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16153 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
16155 wxPyEndAllowThreads(__tstate
);
16156 if (PyErr_Occurred()) SWIG_fail
;
16158 Py_INCREF(Py_None
); resultobj
= Py_None
;
16165 static PyObject
*_wrap_PyDividedShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16166 PyObject
*resultobj
;
16167 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
16170 PyObject
* obj0
= 0 ;
16171 char *kwnames
[] = {
16172 (char *) "self",(char *) "w",(char *) "h", NULL
16175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyDividedShape_base_OnBeginSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
16176 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16179 (arg1
)->base_OnBeginSize(arg2
,arg3
);
16181 wxPyEndAllowThreads(__tstate
);
16182 if (PyErr_Occurred()) SWIG_fail
;
16184 Py_INCREF(Py_None
); resultobj
= Py_None
;
16191 static PyObject
*_wrap_PyDividedShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16192 PyObject
*resultobj
;
16193 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
16196 PyObject
* obj0
= 0 ;
16197 char *kwnames
[] = {
16198 (char *) "self",(char *) "w",(char *) "h", NULL
16201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyDividedShape_base_OnEndSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
16202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16205 (arg1
)->base_OnEndSize(arg2
,arg3
);
16207 wxPyEndAllowThreads(__tstate
);
16208 if (PyErr_Occurred()) SWIG_fail
;
16210 Py_INCREF(Py_None
); resultobj
= Py_None
;
16217 static PyObject
* PyDividedShape_swigregister(PyObject
*self
, PyObject
*args
) {
16219 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16220 SWIG_TypeClientData(SWIGTYPE_p_wxPyDividedShape
, obj
);
16222 return Py_BuildValue((char *)"");
16224 static PyObject
*_wrap_new_PyDivisionShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16225 PyObject
*resultobj
;
16226 wxPyDivisionShape
*result
;
16227 char *kwnames
[] = {
16231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyDivisionShape",kwnames
)) goto fail
;
16233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16234 result
= (wxPyDivisionShape
*)new wxPyDivisionShape();
16236 wxPyEndAllowThreads(__tstate
);
16237 if (PyErr_Occurred()) SWIG_fail
;
16240 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
16248 static PyObject
*_wrap_PyDivisionShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16249 PyObject
*resultobj
;
16250 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16251 PyObject
*arg2
= (PyObject
*) 0 ;
16252 PyObject
*arg3
= (PyObject
*) 0 ;
16253 PyObject
* obj0
= 0 ;
16254 PyObject
* obj1
= 0 ;
16255 PyObject
* obj2
= 0 ;
16256 char *kwnames
[] = {
16257 (char *) "self",(char *) "self",(char *) "_class", NULL
16260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16261 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16266 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16268 wxPyEndAllowThreads(__tstate
);
16269 if (PyErr_Occurred()) SWIG_fail
;
16271 Py_INCREF(Py_None
); resultobj
= Py_None
;
16278 static PyObject
*_wrap_PyDivisionShape_AdjustBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16279 PyObject
*resultobj
;
16280 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16283 PyObject
* obj0
= 0 ;
16284 PyObject
* obj2
= 0 ;
16285 char *kwnames
[] = {
16286 (char *) "self",(char *) "bottom",(char *) "test", NULL
16289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OdO:PyDivisionShape_AdjustBottom",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
16290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16291 arg3
= PyInt_AsLong(obj2
) ? true : false;
16292 if (PyErr_Occurred()) SWIG_fail
;
16294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16295 (arg1
)->AdjustBottom(arg2
,arg3
);
16297 wxPyEndAllowThreads(__tstate
);
16298 if (PyErr_Occurred()) SWIG_fail
;
16300 Py_INCREF(Py_None
); resultobj
= Py_None
;
16307 static PyObject
*_wrap_PyDivisionShape_AdjustLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16308 PyObject
*resultobj
;
16309 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16312 PyObject
* obj0
= 0 ;
16313 PyObject
* obj2
= 0 ;
16314 char *kwnames
[] = {
16315 (char *) "self",(char *) "left",(char *) "test", NULL
16318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OdO:PyDivisionShape_AdjustLeft",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
16319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16320 arg3
= PyInt_AsLong(obj2
) ? true : false;
16321 if (PyErr_Occurred()) SWIG_fail
;
16323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16324 (arg1
)->AdjustLeft(arg2
,arg3
);
16326 wxPyEndAllowThreads(__tstate
);
16327 if (PyErr_Occurred()) SWIG_fail
;
16329 Py_INCREF(Py_None
); resultobj
= Py_None
;
16336 static PyObject
*_wrap_PyDivisionShape_AdjustRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16337 PyObject
*resultobj
;
16338 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16341 PyObject
* obj0
= 0 ;
16342 PyObject
* obj2
= 0 ;
16343 char *kwnames
[] = {
16344 (char *) "self",(char *) "right",(char *) "test", NULL
16347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OdO:PyDivisionShape_AdjustRight",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
16348 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16349 arg3
= PyInt_AsLong(obj2
) ? true : false;
16350 if (PyErr_Occurred()) SWIG_fail
;
16352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16353 (arg1
)->AdjustRight(arg2
,arg3
);
16355 wxPyEndAllowThreads(__tstate
);
16356 if (PyErr_Occurred()) SWIG_fail
;
16358 Py_INCREF(Py_None
); resultobj
= Py_None
;
16365 static PyObject
*_wrap_PyDivisionShape_AdjustTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16366 PyObject
*resultobj
;
16367 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16370 PyObject
* obj0
= 0 ;
16371 PyObject
* obj2
= 0 ;
16372 char *kwnames
[] = {
16373 (char *) "self",(char *) "top",(char *) "test", NULL
16376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OdO:PyDivisionShape_AdjustTop",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
16377 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16378 arg3
= PyInt_AsLong(obj2
) ? true : false;
16379 if (PyErr_Occurred()) SWIG_fail
;
16381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16382 (arg1
)->AdjustTop(arg2
,arg3
);
16384 wxPyEndAllowThreads(__tstate
);
16385 if (PyErr_Occurred()) SWIG_fail
;
16387 Py_INCREF(Py_None
); resultobj
= Py_None
;
16394 static PyObject
*_wrap_PyDivisionShape_Divide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16395 PyObject
*resultobj
;
16396 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16398 PyObject
* obj0
= 0 ;
16399 char *kwnames
[] = {
16400 (char *) "self",(char *) "direction", NULL
16403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyDivisionShape_Divide",kwnames
,&obj0
,&arg2
)) goto fail
;
16404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16407 (arg1
)->Divide(arg2
);
16409 wxPyEndAllowThreads(__tstate
);
16410 if (PyErr_Occurred()) SWIG_fail
;
16412 Py_INCREF(Py_None
); resultobj
= Py_None
;
16419 static PyObject
*_wrap_PyDivisionShape_EditEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16420 PyObject
*resultobj
;
16421 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16423 PyObject
* obj0
= 0 ;
16424 char *kwnames
[] = {
16425 (char *) "self",(char *) "side", NULL
16428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyDivisionShape_EditEdge",kwnames
,&obj0
,&arg2
)) goto fail
;
16429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16432 (arg1
)->EditEdge(arg2
);
16434 wxPyEndAllowThreads(__tstate
);
16435 if (PyErr_Occurred()) SWIG_fail
;
16437 Py_INCREF(Py_None
); resultobj
= Py_None
;
16444 static PyObject
*_wrap_PyDivisionShape_GetBottomSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16445 PyObject
*resultobj
;
16446 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16447 wxPyDivisionShape
*result
;
16448 PyObject
* obj0
= 0 ;
16449 char *kwnames
[] = {
16450 (char *) "self", NULL
16453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetBottomSide",kwnames
,&obj0
)) goto fail
;
16454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16457 result
= (wxPyDivisionShape
*)(arg1
)->GetBottomSide();
16459 wxPyEndAllowThreads(__tstate
);
16460 if (PyErr_Occurred()) SWIG_fail
;
16463 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
16471 static PyObject
*_wrap_PyDivisionShape_GetHandleSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16472 PyObject
*resultobj
;
16473 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16475 PyObject
* obj0
= 0 ;
16476 char *kwnames
[] = {
16477 (char *) "self", NULL
16480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetHandleSide",kwnames
,&obj0
)) goto fail
;
16481 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16484 result
= (int)(arg1
)->GetHandleSide();
16486 wxPyEndAllowThreads(__tstate
);
16487 if (PyErr_Occurred()) SWIG_fail
;
16489 resultobj
= PyInt_FromLong((long)result
);
16496 static PyObject
*_wrap_PyDivisionShape_GetLeftSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16497 PyObject
*resultobj
;
16498 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16499 wxPyDivisionShape
*result
;
16500 PyObject
* obj0
= 0 ;
16501 char *kwnames
[] = {
16502 (char *) "self", NULL
16505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetLeftSide",kwnames
,&obj0
)) goto fail
;
16506 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16509 result
= (wxPyDivisionShape
*)(arg1
)->GetLeftSide();
16511 wxPyEndAllowThreads(__tstate
);
16512 if (PyErr_Occurred()) SWIG_fail
;
16515 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
16523 static PyObject
*_wrap_PyDivisionShape_GetLeftSideColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16524 PyObject
*resultobj
;
16525 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16527 PyObject
* obj0
= 0 ;
16528 char *kwnames
[] = {
16529 (char *) "self", NULL
16532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetLeftSideColour",kwnames
,&obj0
)) goto fail
;
16533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16536 result
= (arg1
)->GetLeftSideColour();
16538 wxPyEndAllowThreads(__tstate
);
16539 if (PyErr_Occurred()) SWIG_fail
;
16543 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16545 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16554 static PyObject
*_wrap_PyDivisionShape_GetLeftSidePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16555 PyObject
*resultobj
;
16556 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16558 PyObject
* obj0
= 0 ;
16559 char *kwnames
[] = {
16560 (char *) "self", NULL
16563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetLeftSidePen",kwnames
,&obj0
)) goto fail
;
16564 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16567 result
= (wxPen
*)(arg1
)->GetLeftSidePen();
16569 wxPyEndAllowThreads(__tstate
);
16570 if (PyErr_Occurred()) SWIG_fail
;
16572 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPen
, 0);
16579 static PyObject
*_wrap_PyDivisionShape_GetRightSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16580 PyObject
*resultobj
;
16581 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16582 wxPyDivisionShape
*result
;
16583 PyObject
* obj0
= 0 ;
16584 char *kwnames
[] = {
16585 (char *) "self", NULL
16588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetRightSide",kwnames
,&obj0
)) goto fail
;
16589 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16592 result
= (wxPyDivisionShape
*)(arg1
)->GetRightSide();
16594 wxPyEndAllowThreads(__tstate
);
16595 if (PyErr_Occurred()) SWIG_fail
;
16598 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
16606 static PyObject
*_wrap_PyDivisionShape_GetTopSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16607 PyObject
*resultobj
;
16608 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16609 wxPyDivisionShape
*result
;
16610 PyObject
* obj0
= 0 ;
16611 char *kwnames
[] = {
16612 (char *) "self", NULL
16615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetTopSide",kwnames
,&obj0
)) goto fail
;
16616 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16619 result
= (wxPyDivisionShape
*)(arg1
)->GetTopSide();
16621 wxPyEndAllowThreads(__tstate
);
16622 if (PyErr_Occurred()) SWIG_fail
;
16625 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
16633 static PyObject
*_wrap_PyDivisionShape_GetTopSidePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16634 PyObject
*resultobj
;
16635 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16637 PyObject
* obj0
= 0 ;
16638 char *kwnames
[] = {
16639 (char *) "self", NULL
16642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetTopSidePen",kwnames
,&obj0
)) goto fail
;
16643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16646 result
= (wxPen
*)(arg1
)->GetTopSidePen();
16648 wxPyEndAllowThreads(__tstate
);
16649 if (PyErr_Occurred()) SWIG_fail
;
16651 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPen
, 0);
16658 static PyObject
*_wrap_PyDivisionShape_ResizeAdjoining(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16659 PyObject
*resultobj
;
16660 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16664 PyObject
* obj0
= 0 ;
16665 PyObject
* obj3
= 0 ;
16666 char *kwnames
[] = {
16667 (char *) "self",(char *) "side",(char *) "newPos",(char *) "test", NULL
16670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OidO:PyDivisionShape_ResizeAdjoining",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
16671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16672 arg4
= PyInt_AsLong(obj3
) ? true : false;
16673 if (PyErr_Occurred()) SWIG_fail
;
16675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16676 (arg1
)->ResizeAdjoining(arg2
,arg3
,arg4
);
16678 wxPyEndAllowThreads(__tstate
);
16679 if (PyErr_Occurred()) SWIG_fail
;
16681 Py_INCREF(Py_None
); resultobj
= Py_None
;
16688 static PyObject
*_wrap_PyDivisionShape_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16689 PyObject
*resultobj
;
16690 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16693 PyObject
* obj0
= 0 ;
16694 char *kwnames
[] = {
16695 (char *) "self",(char *) "x",(char *) "y", NULL
16698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyDivisionShape_PopupMenu",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
16699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16702 (arg1
)->PopupMenu(arg2
,arg3
);
16704 wxPyEndAllowThreads(__tstate
);
16705 if (PyErr_Occurred()) SWIG_fail
;
16707 Py_INCREF(Py_None
); resultobj
= Py_None
;
16714 static PyObject
*_wrap_PyDivisionShape_SetBottomSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16715 PyObject
*resultobj
;
16716 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16717 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
16718 PyObject
* obj0
= 0 ;
16719 PyObject
* obj1
= 0 ;
16720 char *kwnames
[] = {
16721 (char *) "self",(char *) "shape", NULL
16724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetBottomSide",kwnames
,&obj0
,&obj1
)) goto fail
;
16725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16726 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16729 (arg1
)->SetBottomSide(arg2
);
16731 wxPyEndAllowThreads(__tstate
);
16732 if (PyErr_Occurred()) SWIG_fail
;
16734 Py_INCREF(Py_None
); resultobj
= Py_None
;
16741 static PyObject
*_wrap_PyDivisionShape_SetHandleSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16742 PyObject
*resultobj
;
16743 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16745 PyObject
* obj0
= 0 ;
16746 char *kwnames
[] = {
16747 (char *) "self",(char *) "side", NULL
16750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyDivisionShape_SetHandleSide",kwnames
,&obj0
,&arg2
)) goto fail
;
16751 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16754 (arg1
)->SetHandleSide(arg2
);
16756 wxPyEndAllowThreads(__tstate
);
16757 if (PyErr_Occurred()) SWIG_fail
;
16759 Py_INCREF(Py_None
); resultobj
= Py_None
;
16766 static PyObject
*_wrap_PyDivisionShape_SetLeftSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16767 PyObject
*resultobj
;
16768 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16769 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
16770 PyObject
* obj0
= 0 ;
16771 PyObject
* obj1
= 0 ;
16772 char *kwnames
[] = {
16773 (char *) "self",(char *) "shape", NULL
16776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetLeftSide",kwnames
,&obj0
,&obj1
)) goto fail
;
16777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16778 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16781 (arg1
)->SetLeftSide(arg2
);
16783 wxPyEndAllowThreads(__tstate
);
16784 if (PyErr_Occurred()) SWIG_fail
;
16786 Py_INCREF(Py_None
); resultobj
= Py_None
;
16793 static PyObject
*_wrap_PyDivisionShape_SetLeftSideColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16794 PyObject
*resultobj
;
16795 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16796 wxString
*arg2
= 0 ;
16797 bool temp2
= False
;
16798 PyObject
* obj0
= 0 ;
16799 PyObject
* obj1
= 0 ;
16800 char *kwnames
[] = {
16801 (char *) "self",(char *) "colour", NULL
16804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetLeftSideColour",kwnames
,&obj0
,&obj1
)) goto fail
;
16805 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16807 arg2
= wxString_in_helper(obj1
);
16808 if (arg2
== NULL
) SWIG_fail
;
16812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16813 (arg1
)->SetLeftSideColour((wxString
const &)*arg2
);
16815 wxPyEndAllowThreads(__tstate
);
16816 if (PyErr_Occurred()) SWIG_fail
;
16818 Py_INCREF(Py_None
); resultobj
= Py_None
;
16833 static PyObject
*_wrap_PyDivisionShape_SetLeftSidePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16834 PyObject
*resultobj
;
16835 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16836 wxPen
*arg2
= (wxPen
*) 0 ;
16837 PyObject
* obj0
= 0 ;
16838 PyObject
* obj1
= 0 ;
16839 char *kwnames
[] = {
16840 (char *) "self",(char *) "pen", NULL
16843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetLeftSidePen",kwnames
,&obj0
,&obj1
)) goto fail
;
16844 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16848 if (obj1
== Py_None
) {
16851 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
16852 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
16857 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
16864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16865 (arg1
)->SetLeftSidePen(arg2
);
16867 wxPyEndAllowThreads(__tstate
);
16868 if (PyErr_Occurred()) SWIG_fail
;
16870 Py_INCREF(Py_None
); resultobj
= Py_None
;
16877 static PyObject
*_wrap_PyDivisionShape_SetRightSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16878 PyObject
*resultobj
;
16879 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16880 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
16881 PyObject
* obj0
= 0 ;
16882 PyObject
* obj1
= 0 ;
16883 char *kwnames
[] = {
16884 (char *) "self",(char *) "shape", NULL
16887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetRightSide",kwnames
,&obj0
,&obj1
)) goto fail
;
16888 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16889 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16892 (arg1
)->SetRightSide(arg2
);
16894 wxPyEndAllowThreads(__tstate
);
16895 if (PyErr_Occurred()) SWIG_fail
;
16897 Py_INCREF(Py_None
); resultobj
= Py_None
;
16904 static PyObject
*_wrap_PyDivisionShape_SetTopSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16905 PyObject
*resultobj
;
16906 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16907 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
16908 PyObject
* obj0
= 0 ;
16909 PyObject
* obj1
= 0 ;
16910 char *kwnames
[] = {
16911 (char *) "self",(char *) "shape", NULL
16914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetTopSide",kwnames
,&obj0
,&obj1
)) goto fail
;
16915 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16916 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16919 (arg1
)->SetTopSide(arg2
);
16921 wxPyEndAllowThreads(__tstate
);
16922 if (PyErr_Occurred()) SWIG_fail
;
16924 Py_INCREF(Py_None
); resultobj
= Py_None
;
16931 static PyObject
*_wrap_PyDivisionShape_SetTopSideColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16932 PyObject
*resultobj
;
16933 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16934 wxString
*arg2
= 0 ;
16935 bool temp2
= False
;
16936 PyObject
* obj0
= 0 ;
16937 PyObject
* obj1
= 0 ;
16938 char *kwnames
[] = {
16939 (char *) "self",(char *) "colour", NULL
16942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetTopSideColour",kwnames
,&obj0
,&obj1
)) goto fail
;
16943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16945 arg2
= wxString_in_helper(obj1
);
16946 if (arg2
== NULL
) SWIG_fail
;
16950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16951 (arg1
)->SetTopSideColour((wxString
const &)*arg2
);
16953 wxPyEndAllowThreads(__tstate
);
16954 if (PyErr_Occurred()) SWIG_fail
;
16956 Py_INCREF(Py_None
); resultobj
= Py_None
;
16971 static PyObject
*_wrap_PyDivisionShape_SetTopSidePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16972 PyObject
*resultobj
;
16973 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16974 wxPen
*arg2
= (wxPen
*) 0 ;
16975 PyObject
* obj0
= 0 ;
16976 PyObject
* obj1
= 0 ;
16977 char *kwnames
[] = {
16978 (char *) "self",(char *) "pen", NULL
16981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetTopSidePen",kwnames
,&obj0
,&obj1
)) goto fail
;
16982 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16986 if (obj1
== Py_None
) {
16989 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
16990 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
16995 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
17002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17003 (arg1
)->SetTopSidePen(arg2
);
17005 wxPyEndAllowThreads(__tstate
);
17006 if (PyErr_Occurred()) SWIG_fail
;
17008 Py_INCREF(Py_None
); resultobj
= Py_None
;
17015 static PyObject
*_wrap_PyDivisionShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17016 PyObject
*resultobj
;
17017 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17018 PyObject
* obj0
= 0 ;
17019 char *kwnames
[] = {
17020 (char *) "self", NULL
17023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
17024 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17027 (arg1
)->base_OnDelete();
17029 wxPyEndAllowThreads(__tstate
);
17030 if (PyErr_Occurred()) SWIG_fail
;
17032 Py_INCREF(Py_None
); resultobj
= Py_None
;
17039 static PyObject
*_wrap_PyDivisionShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17040 PyObject
*resultobj
;
17041 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17043 PyObject
* obj0
= 0 ;
17044 PyObject
* obj1
= 0 ;
17045 char *kwnames
[] = {
17046 (char *) "self",(char *) "dc", NULL
17049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
17050 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17051 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17052 if (arg2
== NULL
) {
17053 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17057 (arg1
)->base_OnDraw(*arg2
);
17059 wxPyEndAllowThreads(__tstate
);
17060 if (PyErr_Occurred()) SWIG_fail
;
17062 Py_INCREF(Py_None
); resultobj
= Py_None
;
17069 static PyObject
*_wrap_PyDivisionShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17070 PyObject
*resultobj
;
17071 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17073 PyObject
* obj0
= 0 ;
17074 PyObject
* obj1
= 0 ;
17075 char *kwnames
[] = {
17076 (char *) "self",(char *) "dc", NULL
17079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
17080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17081 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17082 if (arg2
== NULL
) {
17083 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17087 (arg1
)->base_OnDrawContents(*arg2
);
17089 wxPyEndAllowThreads(__tstate
);
17090 if (PyErr_Occurred()) SWIG_fail
;
17092 Py_INCREF(Py_None
); resultobj
= Py_None
;
17099 static PyObject
*_wrap_PyDivisionShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17100 PyObject
*resultobj
;
17101 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17103 bool arg3
= (bool) FALSE
;
17104 PyObject
* obj0
= 0 ;
17105 PyObject
* obj1
= 0 ;
17106 PyObject
* obj2
= 0 ;
17107 char *kwnames
[] = {
17108 (char *) "self",(char *) "dc",(char *) "erase", NULL
17111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDivisionShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17112 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17113 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17114 if (arg2
== NULL
) {
17115 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17118 arg3
= PyInt_AsLong(obj2
) ? true : false;
17119 if (PyErr_Occurred()) SWIG_fail
;
17122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17123 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
17125 wxPyEndAllowThreads(__tstate
);
17126 if (PyErr_Occurred()) SWIG_fail
;
17128 Py_INCREF(Py_None
); resultobj
= Py_None
;
17135 static PyObject
*_wrap_PyDivisionShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17136 PyObject
*resultobj
;
17137 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17139 PyObject
* obj0
= 0 ;
17140 PyObject
* obj1
= 0 ;
17141 char *kwnames
[] = {
17142 (char *) "self",(char *) "dc", NULL
17145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
17146 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17147 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17148 if (arg2
== NULL
) {
17149 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17153 (arg1
)->base_OnMoveLinks(*arg2
);
17155 wxPyEndAllowThreads(__tstate
);
17156 if (PyErr_Occurred()) SWIG_fail
;
17158 Py_INCREF(Py_None
); resultobj
= Py_None
;
17165 static PyObject
*_wrap_PyDivisionShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17166 PyObject
*resultobj
;
17167 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17169 PyObject
* obj0
= 0 ;
17170 PyObject
* obj1
= 0 ;
17171 char *kwnames
[] = {
17172 (char *) "self",(char *) "dc", NULL
17175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
17176 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17177 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17178 if (arg2
== NULL
) {
17179 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17183 (arg1
)->base_OnErase(*arg2
);
17185 wxPyEndAllowThreads(__tstate
);
17186 if (PyErr_Occurred()) SWIG_fail
;
17188 Py_INCREF(Py_None
); resultobj
= Py_None
;
17195 static PyObject
*_wrap_PyDivisionShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17196 PyObject
*resultobj
;
17197 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17199 PyObject
* obj0
= 0 ;
17200 PyObject
* obj1
= 0 ;
17201 char *kwnames
[] = {
17202 (char *) "self",(char *) "dc", NULL
17205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
17206 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17207 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17208 if (arg2
== NULL
) {
17209 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17213 (arg1
)->base_OnEraseContents(*arg2
);
17215 wxPyEndAllowThreads(__tstate
);
17216 if (PyErr_Occurred()) SWIG_fail
;
17218 Py_INCREF(Py_None
); resultobj
= Py_None
;
17225 static PyObject
*_wrap_PyDivisionShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17226 PyObject
*resultobj
;
17227 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17229 PyObject
* obj0
= 0 ;
17230 PyObject
* obj1
= 0 ;
17231 char *kwnames
[] = {
17232 (char *) "self",(char *) "dc", NULL
17235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
17236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17237 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17238 if (arg2
== NULL
) {
17239 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17243 (arg1
)->base_OnHighlight(*arg2
);
17245 wxPyEndAllowThreads(__tstate
);
17246 if (PyErr_Occurred()) SWIG_fail
;
17248 Py_INCREF(Py_None
); resultobj
= Py_None
;
17255 static PyObject
*_wrap_PyDivisionShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17256 PyObject
*resultobj
;
17257 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17260 int arg4
= (int) 0 ;
17261 int arg5
= (int) 0 ;
17262 PyObject
* obj0
= 0 ;
17263 char *kwnames
[] = {
17264 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDivisionShape_base_OnLeftClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
17268 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17271 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
17273 wxPyEndAllowThreads(__tstate
);
17274 if (PyErr_Occurred()) SWIG_fail
;
17276 Py_INCREF(Py_None
); resultobj
= Py_None
;
17283 static PyObject
*_wrap_PyDivisionShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17284 PyObject
*resultobj
;
17285 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17288 int arg4
= (int) 0 ;
17289 int arg5
= (int) 0 ;
17290 PyObject
* obj0
= 0 ;
17291 char *kwnames
[] = {
17292 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDivisionShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
17296 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17299 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
17301 wxPyEndAllowThreads(__tstate
);
17302 if (PyErr_Occurred()) SWIG_fail
;
17304 Py_INCREF(Py_None
); resultobj
= Py_None
;
17311 static PyObject
*_wrap_PyDivisionShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17312 PyObject
*resultobj
;
17313 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17316 int arg4
= (int) 0 ;
17317 int arg5
= (int) 0 ;
17318 PyObject
* obj0
= 0 ;
17319 char *kwnames
[] = {
17320 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDivisionShape_base_OnRightClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
17324 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17327 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
17329 wxPyEndAllowThreads(__tstate
);
17330 if (PyErr_Occurred()) SWIG_fail
;
17332 Py_INCREF(Py_None
); resultobj
= Py_None
;
17339 static PyObject
*_wrap_PyDivisionShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17340 PyObject
*resultobj
;
17341 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17344 PyObject
* obj0
= 0 ;
17345 char *kwnames
[] = {
17346 (char *) "self",(char *) "x",(char *) "y", NULL
17349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyDivisionShape_base_OnSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
17350 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17353 (arg1
)->base_OnSize(arg2
,arg3
);
17355 wxPyEndAllowThreads(__tstate
);
17356 if (PyErr_Occurred()) SWIG_fail
;
17358 Py_INCREF(Py_None
); resultobj
= Py_None
;
17365 static PyObject
*_wrap_PyDivisionShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17366 PyObject
*resultobj
;
17367 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17373 bool arg7
= (bool) True
;
17375 PyObject
* obj0
= 0 ;
17376 PyObject
* obj1
= 0 ;
17377 PyObject
* obj6
= 0 ;
17378 char *kwnames
[] = {
17379 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
17382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyDivisionShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
17383 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17384 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17385 if (arg2
== NULL
) {
17386 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17389 arg7
= PyInt_AsLong(obj6
) ? true : false;
17390 if (PyErr_Occurred()) SWIG_fail
;
17393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17394 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17396 wxPyEndAllowThreads(__tstate
);
17397 if (PyErr_Occurred()) SWIG_fail
;
17399 resultobj
= PyInt_FromLong((long)result
);
17406 static PyObject
*_wrap_PyDivisionShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17407 PyObject
*resultobj
;
17408 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17414 bool arg7
= (bool) True
;
17415 PyObject
* obj0
= 0 ;
17416 PyObject
* obj1
= 0 ;
17417 PyObject
* obj6
= 0 ;
17418 char *kwnames
[] = {
17419 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
17422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyDivisionShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
17423 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17424 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17425 if (arg2
== NULL
) {
17426 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17429 arg7
= PyInt_AsLong(obj6
) ? true : false;
17430 if (PyErr_Occurred()) SWIG_fail
;
17433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17434 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17436 wxPyEndAllowThreads(__tstate
);
17437 if (PyErr_Occurred()) SWIG_fail
;
17439 Py_INCREF(Py_None
); resultobj
= Py_None
;
17446 static PyObject
*_wrap_PyDivisionShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17447 PyObject
*resultobj
;
17448 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17452 int arg5
= (int) 0 ;
17453 int arg6
= (int) 0 ;
17454 PyObject
* obj0
= 0 ;
17455 PyObject
* obj1
= 0 ;
17456 char *kwnames
[] = {
17457 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyDivisionShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
17461 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17462 arg2
= PyInt_AsLong(obj1
) ? true : false;
17463 if (PyErr_Occurred()) SWIG_fail
;
17465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17466 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
17468 wxPyEndAllowThreads(__tstate
);
17469 if (PyErr_Occurred()) SWIG_fail
;
17471 Py_INCREF(Py_None
); resultobj
= Py_None
;
17478 static PyObject
*_wrap_PyDivisionShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17479 PyObject
*resultobj
;
17480 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17483 int arg4
= (int) 0 ;
17484 int arg5
= (int) 0 ;
17485 PyObject
* obj0
= 0 ;
17486 char *kwnames
[] = {
17487 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDivisionShape_base_OnBeginDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
17491 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17494 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
17496 wxPyEndAllowThreads(__tstate
);
17497 if (PyErr_Occurred()) SWIG_fail
;
17499 Py_INCREF(Py_None
); resultobj
= Py_None
;
17506 static PyObject
*_wrap_PyDivisionShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17507 PyObject
*resultobj
;
17508 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17511 int arg4
= (int) 0 ;
17512 int arg5
= (int) 0 ;
17513 PyObject
* obj0
= 0 ;
17514 char *kwnames
[] = {
17515 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDivisionShape_base_OnEndDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
17519 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17522 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
17524 wxPyEndAllowThreads(__tstate
);
17525 if (PyErr_Occurred()) SWIG_fail
;
17527 Py_INCREF(Py_None
); resultobj
= Py_None
;
17534 static PyObject
*_wrap_PyDivisionShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17535 PyObject
*resultobj
;
17536 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17540 int arg5
= (int) 0 ;
17541 int arg6
= (int) 0 ;
17542 PyObject
* obj0
= 0 ;
17543 PyObject
* obj1
= 0 ;
17544 char *kwnames
[] = {
17545 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyDivisionShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
17549 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17550 arg2
= PyInt_AsLong(obj1
) ? true : false;
17551 if (PyErr_Occurred()) SWIG_fail
;
17553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17554 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
17556 wxPyEndAllowThreads(__tstate
);
17557 if (PyErr_Occurred()) SWIG_fail
;
17559 Py_INCREF(Py_None
); resultobj
= Py_None
;
17566 static PyObject
*_wrap_PyDivisionShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17567 PyObject
*resultobj
;
17568 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17571 int arg4
= (int) 0 ;
17572 int arg5
= (int) 0 ;
17573 PyObject
* obj0
= 0 ;
17574 char *kwnames
[] = {
17575 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDivisionShape_base_OnBeginDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
17579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17582 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
17584 wxPyEndAllowThreads(__tstate
);
17585 if (PyErr_Occurred()) SWIG_fail
;
17587 Py_INCREF(Py_None
); resultobj
= Py_None
;
17594 static PyObject
*_wrap_PyDivisionShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17595 PyObject
*resultobj
;
17596 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17599 int arg4
= (int) 0 ;
17600 int arg5
= (int) 0 ;
17601 PyObject
* obj0
= 0 ;
17602 char *kwnames
[] = {
17603 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDivisionShape_base_OnEndDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
17607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17610 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
17612 wxPyEndAllowThreads(__tstate
);
17613 if (PyErr_Occurred()) SWIG_fail
;
17615 Py_INCREF(Py_None
); resultobj
= Py_None
;
17622 static PyObject
*_wrap_PyDivisionShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17623 PyObject
*resultobj
;
17624 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17630 PyObject
* obj0
= 0 ;
17631 PyObject
* obj1
= 0 ;
17632 char *kwnames
[] = {
17633 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
17636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd:PyDivisionShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
17637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17638 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17639 if (arg2
== NULL
) {
17640 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17644 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
17646 wxPyEndAllowThreads(__tstate
);
17647 if (PyErr_Occurred()) SWIG_fail
;
17649 Py_INCREF(Py_None
); resultobj
= Py_None
;
17656 static PyObject
*_wrap_PyDivisionShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17657 PyObject
*resultobj
;
17658 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17660 PyObject
* obj0
= 0 ;
17661 PyObject
* obj1
= 0 ;
17662 char *kwnames
[] = {
17663 (char *) "self",(char *) "dc", NULL
17666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
17667 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17668 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17669 if (arg2
== NULL
) {
17670 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17674 (arg1
)->base_OnDrawControlPoints(*arg2
);
17676 wxPyEndAllowThreads(__tstate
);
17677 if (PyErr_Occurred()) SWIG_fail
;
17679 Py_INCREF(Py_None
); resultobj
= Py_None
;
17686 static PyObject
*_wrap_PyDivisionShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17687 PyObject
*resultobj
;
17688 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17690 PyObject
* obj0
= 0 ;
17691 PyObject
* obj1
= 0 ;
17692 char *kwnames
[] = {
17693 (char *) "self",(char *) "dc", NULL
17696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
17697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17698 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17699 if (arg2
== NULL
) {
17700 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17704 (arg1
)->base_OnEraseControlPoints(*arg2
);
17706 wxPyEndAllowThreads(__tstate
);
17707 if (PyErr_Occurred()) SWIG_fail
;
17709 Py_INCREF(Py_None
); resultobj
= Py_None
;
17716 static PyObject
*_wrap_PyDivisionShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17717 PyObject
*resultobj
;
17718 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17720 bool arg3
= (bool) True
;
17721 PyObject
* obj0
= 0 ;
17722 PyObject
* obj1
= 0 ;
17723 PyObject
* obj2
= 0 ;
17724 char *kwnames
[] = {
17725 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
17728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDivisionShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17730 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17731 if (arg2
== NULL
) {
17732 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17735 arg3
= PyInt_AsLong(obj2
) ? true : false;
17736 if (PyErr_Occurred()) SWIG_fail
;
17739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17740 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
17742 wxPyEndAllowThreads(__tstate
);
17743 if (PyErr_Occurred()) SWIG_fail
;
17745 Py_INCREF(Py_None
); resultobj
= Py_None
;
17752 static PyObject
*_wrap_PyDivisionShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17753 PyObject
*resultobj
;
17754 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17755 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
17759 int arg6
= (int) 0 ;
17760 int arg7
= (int) 0 ;
17761 PyObject
* obj0
= 0 ;
17762 PyObject
* obj1
= 0 ;
17763 PyObject
* obj2
= 0 ;
17764 char *kwnames
[] = {
17765 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd|ii:PyDivisionShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
17769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17770 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17771 arg3
= PyInt_AsLong(obj2
) ? true : false;
17772 if (PyErr_Occurred()) SWIG_fail
;
17774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17775 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17777 wxPyEndAllowThreads(__tstate
);
17778 if (PyErr_Occurred()) SWIG_fail
;
17780 Py_INCREF(Py_None
); resultobj
= Py_None
;
17787 static PyObject
*_wrap_PyDivisionShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17788 PyObject
*resultobj
;
17789 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17790 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
17793 int arg5
= (int) 0 ;
17794 int arg6
= (int) 0 ;
17795 PyObject
* obj0
= 0 ;
17796 PyObject
* obj1
= 0 ;
17797 char *kwnames
[] = {
17798 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyDivisionShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
17802 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17803 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17806 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
17808 wxPyEndAllowThreads(__tstate
);
17809 if (PyErr_Occurred()) SWIG_fail
;
17811 Py_INCREF(Py_None
); resultobj
= Py_None
;
17818 static PyObject
*_wrap_PyDivisionShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17819 PyObject
*resultobj
;
17820 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17821 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
17824 int arg5
= (int) 0 ;
17825 int arg6
= (int) 0 ;
17826 PyObject
* obj0
= 0 ;
17827 PyObject
* obj1
= 0 ;
17828 char *kwnames
[] = {
17829 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyDivisionShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
17833 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17834 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17837 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
17839 wxPyEndAllowThreads(__tstate
);
17840 if (PyErr_Occurred()) SWIG_fail
;
17842 Py_INCREF(Py_None
); resultobj
= Py_None
;
17849 static PyObject
*_wrap_PyDivisionShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17850 PyObject
*resultobj
;
17851 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17854 PyObject
* obj0
= 0 ;
17855 char *kwnames
[] = {
17856 (char *) "self",(char *) "w",(char *) "h", NULL
17859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyDivisionShape_base_OnBeginSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
17860 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17863 (arg1
)->base_OnBeginSize(arg2
,arg3
);
17865 wxPyEndAllowThreads(__tstate
);
17866 if (PyErr_Occurred()) SWIG_fail
;
17868 Py_INCREF(Py_None
); resultobj
= Py_None
;
17875 static PyObject
*_wrap_PyDivisionShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17876 PyObject
*resultobj
;
17877 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17880 PyObject
* obj0
= 0 ;
17881 char *kwnames
[] = {
17882 (char *) "self",(char *) "w",(char *) "h", NULL
17885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyDivisionShape_base_OnEndSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
17886 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17889 (arg1
)->base_OnEndSize(arg2
,arg3
);
17891 wxPyEndAllowThreads(__tstate
);
17892 if (PyErr_Occurred()) SWIG_fail
;
17894 Py_INCREF(Py_None
); resultobj
= Py_None
;
17901 static PyObject
* PyDivisionShape_swigregister(PyObject
*self
, PyObject
*args
) {
17903 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17904 SWIG_TypeClientData(SWIGTYPE_p_wxPyDivisionShape
, obj
);
17906 return Py_BuildValue((char *)"");
17908 static PyObject
*_wrap_new_PyEllipseShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17909 PyObject
*resultobj
;
17910 double arg1
= (double) 0.0 ;
17911 double arg2
= (double) 0.0 ;
17912 wxPyEllipseShape
*result
;
17913 char *kwnames
[] = {
17914 (char *) "width",(char *) "height", NULL
17917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|dd:new_PyEllipseShape",kwnames
,&arg1
,&arg2
)) goto fail
;
17919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17920 result
= (wxPyEllipseShape
*)new wxPyEllipseShape(arg1
,arg2
);
17922 wxPyEndAllowThreads(__tstate
);
17923 if (PyErr_Occurred()) SWIG_fail
;
17925 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyEllipseShape
, 1);
17932 static PyObject
*_wrap_PyEllipseShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17933 PyObject
*resultobj
;
17934 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
17935 PyObject
*arg2
= (PyObject
*) 0 ;
17936 PyObject
*arg3
= (PyObject
*) 0 ;
17937 PyObject
* obj0
= 0 ;
17938 PyObject
* obj1
= 0 ;
17939 PyObject
* obj2
= 0 ;
17940 char *kwnames
[] = {
17941 (char *) "self",(char *) "self",(char *) "_class", NULL
17944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyEllipseShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17945 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17950 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17952 wxPyEndAllowThreads(__tstate
);
17953 if (PyErr_Occurred()) SWIG_fail
;
17955 Py_INCREF(Py_None
); resultobj
= Py_None
;
17962 static PyObject
*_wrap_PyEllipseShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17963 PyObject
*resultobj
;
17964 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
17966 PyObject
* obj0
= 0 ;
17967 PyObject
* obj1
= 0 ;
17968 char *kwnames
[] = {
17969 (char *) "self",(char *) "dc", NULL
17972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
17973 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17974 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17975 if (arg2
== NULL
) {
17976 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17980 (arg1
)->base_OnDraw(*arg2
);
17982 wxPyEndAllowThreads(__tstate
);
17983 if (PyErr_Occurred()) SWIG_fail
;
17985 Py_INCREF(Py_None
); resultobj
= Py_None
;
17992 static PyObject
*_wrap_PyEllipseShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17993 PyObject
*resultobj
;
17994 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
17996 PyObject
* obj0
= 0 ;
17997 PyObject
* obj1
= 0 ;
17998 char *kwnames
[] = {
17999 (char *) "self",(char *) "dc", NULL
18002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
18003 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18004 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18005 if (arg2
== NULL
) {
18006 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18010 (arg1
)->base_OnDrawContents(*arg2
);
18012 wxPyEndAllowThreads(__tstate
);
18013 if (PyErr_Occurred()) SWIG_fail
;
18015 Py_INCREF(Py_None
); resultobj
= Py_None
;
18022 static PyObject
*_wrap_PyEllipseShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18023 PyObject
*resultobj
;
18024 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18026 bool arg3
= (bool) FALSE
;
18027 PyObject
* obj0
= 0 ;
18028 PyObject
* obj1
= 0 ;
18029 PyObject
* obj2
= 0 ;
18030 char *kwnames
[] = {
18031 (char *) "self",(char *) "dc",(char *) "erase", NULL
18034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyEllipseShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18035 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18036 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18037 if (arg2
== NULL
) {
18038 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18041 arg3
= PyInt_AsLong(obj2
) ? true : false;
18042 if (PyErr_Occurred()) SWIG_fail
;
18045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18046 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
18048 wxPyEndAllowThreads(__tstate
);
18049 if (PyErr_Occurred()) SWIG_fail
;
18051 Py_INCREF(Py_None
); resultobj
= Py_None
;
18058 static PyObject
*_wrap_PyEllipseShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18059 PyObject
*resultobj
;
18060 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18062 PyObject
* obj0
= 0 ;
18063 PyObject
* obj1
= 0 ;
18064 char *kwnames
[] = {
18065 (char *) "self",(char *) "dc", NULL
18068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
18069 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18070 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18071 if (arg2
== NULL
) {
18072 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18076 (arg1
)->base_OnMoveLinks(*arg2
);
18078 wxPyEndAllowThreads(__tstate
);
18079 if (PyErr_Occurred()) SWIG_fail
;
18081 Py_INCREF(Py_None
); resultobj
= Py_None
;
18088 static PyObject
*_wrap_PyEllipseShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18089 PyObject
*resultobj
;
18090 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18092 PyObject
* obj0
= 0 ;
18093 PyObject
* obj1
= 0 ;
18094 char *kwnames
[] = {
18095 (char *) "self",(char *) "dc", NULL
18098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
18099 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18100 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18101 if (arg2
== NULL
) {
18102 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18106 (arg1
)->base_OnErase(*arg2
);
18108 wxPyEndAllowThreads(__tstate
);
18109 if (PyErr_Occurred()) SWIG_fail
;
18111 Py_INCREF(Py_None
); resultobj
= Py_None
;
18118 static PyObject
*_wrap_PyEllipseShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18119 PyObject
*resultobj
;
18120 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18122 PyObject
* obj0
= 0 ;
18123 PyObject
* obj1
= 0 ;
18124 char *kwnames
[] = {
18125 (char *) "self",(char *) "dc", NULL
18128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
18129 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18130 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18131 if (arg2
== NULL
) {
18132 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18136 (arg1
)->base_OnEraseContents(*arg2
);
18138 wxPyEndAllowThreads(__tstate
);
18139 if (PyErr_Occurred()) SWIG_fail
;
18141 Py_INCREF(Py_None
); resultobj
= Py_None
;
18148 static PyObject
*_wrap_PyEllipseShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18149 PyObject
*resultobj
;
18150 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18152 PyObject
* obj0
= 0 ;
18153 PyObject
* obj1
= 0 ;
18154 char *kwnames
[] = {
18155 (char *) "self",(char *) "dc", NULL
18158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
18159 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18160 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18161 if (arg2
== NULL
) {
18162 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18166 (arg1
)->base_OnHighlight(*arg2
);
18168 wxPyEndAllowThreads(__tstate
);
18169 if (PyErr_Occurred()) SWIG_fail
;
18171 Py_INCREF(Py_None
); resultobj
= Py_None
;
18178 static PyObject
*_wrap_PyEllipseShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18179 PyObject
*resultobj
;
18180 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18183 int arg4
= (int) 0 ;
18184 int arg5
= (int) 0 ;
18185 PyObject
* obj0
= 0 ;
18186 char *kwnames
[] = {
18187 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyEllipseShape_base_OnLeftClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
18191 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18194 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
18196 wxPyEndAllowThreads(__tstate
);
18197 if (PyErr_Occurred()) SWIG_fail
;
18199 Py_INCREF(Py_None
); resultobj
= Py_None
;
18206 static PyObject
*_wrap_PyEllipseShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18207 PyObject
*resultobj
;
18208 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18211 int arg4
= (int) 0 ;
18212 int arg5
= (int) 0 ;
18213 PyObject
* obj0
= 0 ;
18214 char *kwnames
[] = {
18215 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyEllipseShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
18219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18222 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
18224 wxPyEndAllowThreads(__tstate
);
18225 if (PyErr_Occurred()) SWIG_fail
;
18227 Py_INCREF(Py_None
); resultobj
= Py_None
;
18234 static PyObject
*_wrap_PyEllipseShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18235 PyObject
*resultobj
;
18236 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18239 int arg4
= (int) 0 ;
18240 int arg5
= (int) 0 ;
18241 PyObject
* obj0
= 0 ;
18242 char *kwnames
[] = {
18243 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyEllipseShape_base_OnRightClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
18247 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18250 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
18252 wxPyEndAllowThreads(__tstate
);
18253 if (PyErr_Occurred()) SWIG_fail
;
18255 Py_INCREF(Py_None
); resultobj
= Py_None
;
18262 static PyObject
*_wrap_PyEllipseShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18263 PyObject
*resultobj
;
18264 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18267 PyObject
* obj0
= 0 ;
18268 char *kwnames
[] = {
18269 (char *) "self",(char *) "x",(char *) "y", NULL
18272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyEllipseShape_base_OnSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18276 (arg1
)->base_OnSize(arg2
,arg3
);
18278 wxPyEndAllowThreads(__tstate
);
18279 if (PyErr_Occurred()) SWIG_fail
;
18281 Py_INCREF(Py_None
); resultobj
= Py_None
;
18288 static PyObject
*_wrap_PyEllipseShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18289 PyObject
*resultobj
;
18290 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18296 bool arg7
= (bool) True
;
18298 PyObject
* obj0
= 0 ;
18299 PyObject
* obj1
= 0 ;
18300 PyObject
* obj6
= 0 ;
18301 char *kwnames
[] = {
18302 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
18305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyEllipseShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
18306 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18307 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18308 if (arg2
== NULL
) {
18309 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18312 arg7
= PyInt_AsLong(obj6
) ? true : false;
18313 if (PyErr_Occurred()) SWIG_fail
;
18316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18317 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18319 wxPyEndAllowThreads(__tstate
);
18320 if (PyErr_Occurred()) SWIG_fail
;
18322 resultobj
= PyInt_FromLong((long)result
);
18329 static PyObject
*_wrap_PyEllipseShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18330 PyObject
*resultobj
;
18331 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18337 bool arg7
= (bool) True
;
18338 PyObject
* obj0
= 0 ;
18339 PyObject
* obj1
= 0 ;
18340 PyObject
* obj6
= 0 ;
18341 char *kwnames
[] = {
18342 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
18345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyEllipseShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
18346 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18347 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18348 if (arg2
== NULL
) {
18349 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18352 arg7
= PyInt_AsLong(obj6
) ? true : false;
18353 if (PyErr_Occurred()) SWIG_fail
;
18356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18357 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18359 wxPyEndAllowThreads(__tstate
);
18360 if (PyErr_Occurred()) SWIG_fail
;
18362 Py_INCREF(Py_None
); resultobj
= Py_None
;
18369 static PyObject
*_wrap_PyEllipseShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18370 PyObject
*resultobj
;
18371 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18375 int arg5
= (int) 0 ;
18376 int arg6
= (int) 0 ;
18377 PyObject
* obj0
= 0 ;
18378 PyObject
* obj1
= 0 ;
18379 char *kwnames
[] = {
18380 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyEllipseShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
18384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18385 arg2
= PyInt_AsLong(obj1
) ? true : false;
18386 if (PyErr_Occurred()) SWIG_fail
;
18388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18389 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
18391 wxPyEndAllowThreads(__tstate
);
18392 if (PyErr_Occurred()) SWIG_fail
;
18394 Py_INCREF(Py_None
); resultobj
= Py_None
;
18401 static PyObject
*_wrap_PyEllipseShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18402 PyObject
*resultobj
;
18403 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18406 int arg4
= (int) 0 ;
18407 int arg5
= (int) 0 ;
18408 PyObject
* obj0
= 0 ;
18409 char *kwnames
[] = {
18410 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyEllipseShape_base_OnBeginDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
18414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18417 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
18419 wxPyEndAllowThreads(__tstate
);
18420 if (PyErr_Occurred()) SWIG_fail
;
18422 Py_INCREF(Py_None
); resultobj
= Py_None
;
18429 static PyObject
*_wrap_PyEllipseShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18430 PyObject
*resultobj
;
18431 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18434 int arg4
= (int) 0 ;
18435 int arg5
= (int) 0 ;
18436 PyObject
* obj0
= 0 ;
18437 char *kwnames
[] = {
18438 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyEllipseShape_base_OnEndDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
18442 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18445 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
18447 wxPyEndAllowThreads(__tstate
);
18448 if (PyErr_Occurred()) SWIG_fail
;
18450 Py_INCREF(Py_None
); resultobj
= Py_None
;
18457 static PyObject
*_wrap_PyEllipseShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18458 PyObject
*resultobj
;
18459 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18463 int arg5
= (int) 0 ;
18464 int arg6
= (int) 0 ;
18465 PyObject
* obj0
= 0 ;
18466 PyObject
* obj1
= 0 ;
18467 char *kwnames
[] = {
18468 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyEllipseShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
18472 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18473 arg2
= PyInt_AsLong(obj1
) ? true : false;
18474 if (PyErr_Occurred()) SWIG_fail
;
18476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18477 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
18479 wxPyEndAllowThreads(__tstate
);
18480 if (PyErr_Occurred()) SWIG_fail
;
18482 Py_INCREF(Py_None
); resultobj
= Py_None
;
18489 static PyObject
*_wrap_PyEllipseShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18490 PyObject
*resultobj
;
18491 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18494 int arg4
= (int) 0 ;
18495 int arg5
= (int) 0 ;
18496 PyObject
* obj0
= 0 ;
18497 char *kwnames
[] = {
18498 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyEllipseShape_base_OnBeginDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
18502 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18505 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
18507 wxPyEndAllowThreads(__tstate
);
18508 if (PyErr_Occurred()) SWIG_fail
;
18510 Py_INCREF(Py_None
); resultobj
= Py_None
;
18517 static PyObject
*_wrap_PyEllipseShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18518 PyObject
*resultobj
;
18519 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18522 int arg4
= (int) 0 ;
18523 int arg5
= (int) 0 ;
18524 PyObject
* obj0
= 0 ;
18525 char *kwnames
[] = {
18526 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyEllipseShape_base_OnEndDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
18530 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18533 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
18535 wxPyEndAllowThreads(__tstate
);
18536 if (PyErr_Occurred()) SWIG_fail
;
18538 Py_INCREF(Py_None
); resultobj
= Py_None
;
18545 static PyObject
*_wrap_PyEllipseShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18546 PyObject
*resultobj
;
18547 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18553 PyObject
* obj0
= 0 ;
18554 PyObject
* obj1
= 0 ;
18555 char *kwnames
[] = {
18556 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
18559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd:PyEllipseShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
18560 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18561 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18562 if (arg2
== NULL
) {
18563 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18567 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
18569 wxPyEndAllowThreads(__tstate
);
18570 if (PyErr_Occurred()) SWIG_fail
;
18572 Py_INCREF(Py_None
); resultobj
= Py_None
;
18579 static PyObject
*_wrap_PyEllipseShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18580 PyObject
*resultobj
;
18581 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18583 PyObject
* obj0
= 0 ;
18584 PyObject
* obj1
= 0 ;
18585 char *kwnames
[] = {
18586 (char *) "self",(char *) "dc", NULL
18589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
18590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18591 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18592 if (arg2
== NULL
) {
18593 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18597 (arg1
)->base_OnDrawControlPoints(*arg2
);
18599 wxPyEndAllowThreads(__tstate
);
18600 if (PyErr_Occurred()) SWIG_fail
;
18602 Py_INCREF(Py_None
); resultobj
= Py_None
;
18609 static PyObject
*_wrap_PyEllipseShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18610 PyObject
*resultobj
;
18611 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18613 PyObject
* obj0
= 0 ;
18614 PyObject
* obj1
= 0 ;
18615 char *kwnames
[] = {
18616 (char *) "self",(char *) "dc", NULL
18619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
18620 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18621 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18622 if (arg2
== NULL
) {
18623 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18627 (arg1
)->base_OnEraseControlPoints(*arg2
);
18629 wxPyEndAllowThreads(__tstate
);
18630 if (PyErr_Occurred()) SWIG_fail
;
18632 Py_INCREF(Py_None
); resultobj
= Py_None
;
18639 static PyObject
*_wrap_PyEllipseShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18640 PyObject
*resultobj
;
18641 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18643 bool arg3
= (bool) True
;
18644 PyObject
* obj0
= 0 ;
18645 PyObject
* obj1
= 0 ;
18646 PyObject
* obj2
= 0 ;
18647 char *kwnames
[] = {
18648 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
18651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyEllipseShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18652 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18653 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18654 if (arg2
== NULL
) {
18655 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18658 arg3
= PyInt_AsLong(obj2
) ? true : false;
18659 if (PyErr_Occurred()) SWIG_fail
;
18662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18663 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
18665 wxPyEndAllowThreads(__tstate
);
18666 if (PyErr_Occurred()) SWIG_fail
;
18668 Py_INCREF(Py_None
); resultobj
= Py_None
;
18675 static PyObject
*_wrap_PyEllipseShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18676 PyObject
*resultobj
;
18677 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18678 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
18682 int arg6
= (int) 0 ;
18683 int arg7
= (int) 0 ;
18684 PyObject
* obj0
= 0 ;
18685 PyObject
* obj1
= 0 ;
18686 PyObject
* obj2
= 0 ;
18687 char *kwnames
[] = {
18688 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd|ii:PyEllipseShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
18692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18693 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18694 arg3
= PyInt_AsLong(obj2
) ? true : false;
18695 if (PyErr_Occurred()) SWIG_fail
;
18697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18698 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18700 wxPyEndAllowThreads(__tstate
);
18701 if (PyErr_Occurred()) SWIG_fail
;
18703 Py_INCREF(Py_None
); resultobj
= Py_None
;
18710 static PyObject
*_wrap_PyEllipseShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18711 PyObject
*resultobj
;
18712 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18713 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
18716 int arg5
= (int) 0 ;
18717 int arg6
= (int) 0 ;
18718 PyObject
* obj0
= 0 ;
18719 PyObject
* obj1
= 0 ;
18720 char *kwnames
[] = {
18721 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyEllipseShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
18725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18726 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18729 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
18731 wxPyEndAllowThreads(__tstate
);
18732 if (PyErr_Occurred()) SWIG_fail
;
18734 Py_INCREF(Py_None
); resultobj
= Py_None
;
18741 static PyObject
*_wrap_PyEllipseShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18742 PyObject
*resultobj
;
18743 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18744 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
18747 int arg5
= (int) 0 ;
18748 int arg6
= (int) 0 ;
18749 PyObject
* obj0
= 0 ;
18750 PyObject
* obj1
= 0 ;
18751 char *kwnames
[] = {
18752 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyEllipseShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
18756 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18757 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18760 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
18762 wxPyEndAllowThreads(__tstate
);
18763 if (PyErr_Occurred()) SWIG_fail
;
18765 Py_INCREF(Py_None
); resultobj
= Py_None
;
18772 static PyObject
*_wrap_PyEllipseShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18773 PyObject
*resultobj
;
18774 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18777 PyObject
* obj0
= 0 ;
18778 char *kwnames
[] = {
18779 (char *) "self",(char *) "w",(char *) "h", NULL
18782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyEllipseShape_base_OnBeginSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18786 (arg1
)->base_OnBeginSize(arg2
,arg3
);
18788 wxPyEndAllowThreads(__tstate
);
18789 if (PyErr_Occurred()) SWIG_fail
;
18791 Py_INCREF(Py_None
); resultobj
= Py_None
;
18798 static PyObject
*_wrap_PyEllipseShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18799 PyObject
*resultobj
;
18800 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18803 PyObject
* obj0
= 0 ;
18804 char *kwnames
[] = {
18805 (char *) "self",(char *) "w",(char *) "h", NULL
18808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyEllipseShape_base_OnEndSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18809 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18812 (arg1
)->base_OnEndSize(arg2
,arg3
);
18814 wxPyEndAllowThreads(__tstate
);
18815 if (PyErr_Occurred()) SWIG_fail
;
18817 Py_INCREF(Py_None
); resultobj
= Py_None
;
18824 static PyObject
* PyEllipseShape_swigregister(PyObject
*self
, PyObject
*args
) {
18826 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18827 SWIG_TypeClientData(SWIGTYPE_p_wxPyEllipseShape
, obj
);
18829 return Py_BuildValue((char *)"");
18831 static PyObject
*_wrap_new_PyCircleShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18832 PyObject
*resultobj
;
18833 double arg1
= (double) 0.0 ;
18834 wxPyCircleShape
*result
;
18835 char *kwnames
[] = {
18836 (char *) "width", NULL
18839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|d:new_PyCircleShape",kwnames
,&arg1
)) goto fail
;
18841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18842 result
= (wxPyCircleShape
*)new wxPyCircleShape(arg1
);
18844 wxPyEndAllowThreads(__tstate
);
18845 if (PyErr_Occurred()) SWIG_fail
;
18847 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyCircleShape
, 1);
18854 static PyObject
*_wrap_PyCircleShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18855 PyObject
*resultobj
;
18856 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
18857 PyObject
*arg2
= (PyObject
*) 0 ;
18858 PyObject
*arg3
= (PyObject
*) 0 ;
18859 PyObject
* obj0
= 0 ;
18860 PyObject
* obj1
= 0 ;
18861 PyObject
* obj2
= 0 ;
18862 char *kwnames
[] = {
18863 (char *) "self",(char *) "self",(char *) "_class", NULL
18866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCircleShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18867 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18872 (arg1
)->_setCallbackInfo(arg2
,arg3
);
18874 wxPyEndAllowThreads(__tstate
);
18875 if (PyErr_Occurred()) SWIG_fail
;
18877 Py_INCREF(Py_None
); resultobj
= Py_None
;
18884 static PyObject
*_wrap_PyCircleShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18885 PyObject
*resultobj
;
18886 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
18888 PyObject
* obj0
= 0 ;
18889 PyObject
* obj1
= 0 ;
18890 char *kwnames
[] = {
18891 (char *) "self",(char *) "dc", NULL
18894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
18895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18896 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18897 if (arg2
== NULL
) {
18898 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18902 (arg1
)->base_OnDraw(*arg2
);
18904 wxPyEndAllowThreads(__tstate
);
18905 if (PyErr_Occurred()) SWIG_fail
;
18907 Py_INCREF(Py_None
); resultobj
= Py_None
;
18914 static PyObject
*_wrap_PyCircleShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18915 PyObject
*resultobj
;
18916 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
18918 PyObject
* obj0
= 0 ;
18919 PyObject
* obj1
= 0 ;
18920 char *kwnames
[] = {
18921 (char *) "self",(char *) "dc", NULL
18924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
18925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18926 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18927 if (arg2
== NULL
) {
18928 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18932 (arg1
)->base_OnDrawContents(*arg2
);
18934 wxPyEndAllowThreads(__tstate
);
18935 if (PyErr_Occurred()) SWIG_fail
;
18937 Py_INCREF(Py_None
); resultobj
= Py_None
;
18944 static PyObject
*_wrap_PyCircleShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18945 PyObject
*resultobj
;
18946 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
18948 bool arg3
= (bool) FALSE
;
18949 PyObject
* obj0
= 0 ;
18950 PyObject
* obj1
= 0 ;
18951 PyObject
* obj2
= 0 ;
18952 char *kwnames
[] = {
18953 (char *) "self",(char *) "dc",(char *) "erase", NULL
18956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCircleShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18957 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18958 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18959 if (arg2
== NULL
) {
18960 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18963 arg3
= PyInt_AsLong(obj2
) ? true : false;
18964 if (PyErr_Occurred()) SWIG_fail
;
18967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18968 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
18970 wxPyEndAllowThreads(__tstate
);
18971 if (PyErr_Occurred()) SWIG_fail
;
18973 Py_INCREF(Py_None
); resultobj
= Py_None
;
18980 static PyObject
*_wrap_PyCircleShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18981 PyObject
*resultobj
;
18982 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
18984 PyObject
* obj0
= 0 ;
18985 PyObject
* obj1
= 0 ;
18986 char *kwnames
[] = {
18987 (char *) "self",(char *) "dc", NULL
18990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
18991 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18992 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18993 if (arg2
== NULL
) {
18994 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18998 (arg1
)->base_OnMoveLinks(*arg2
);
19000 wxPyEndAllowThreads(__tstate
);
19001 if (PyErr_Occurred()) SWIG_fail
;
19003 Py_INCREF(Py_None
); resultobj
= Py_None
;
19010 static PyObject
*_wrap_PyCircleShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19011 PyObject
*resultobj
;
19012 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19014 PyObject
* obj0
= 0 ;
19015 PyObject
* obj1
= 0 ;
19016 char *kwnames
[] = {
19017 (char *) "self",(char *) "dc", NULL
19020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
19021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19022 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19023 if (arg2
== NULL
) {
19024 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19028 (arg1
)->base_OnErase(*arg2
);
19030 wxPyEndAllowThreads(__tstate
);
19031 if (PyErr_Occurred()) SWIG_fail
;
19033 Py_INCREF(Py_None
); resultobj
= Py_None
;
19040 static PyObject
*_wrap_PyCircleShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19041 PyObject
*resultobj
;
19042 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19044 PyObject
* obj0
= 0 ;
19045 PyObject
* obj1
= 0 ;
19046 char *kwnames
[] = {
19047 (char *) "self",(char *) "dc", NULL
19050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
19051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19052 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19053 if (arg2
== NULL
) {
19054 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19058 (arg1
)->base_OnEraseContents(*arg2
);
19060 wxPyEndAllowThreads(__tstate
);
19061 if (PyErr_Occurred()) SWIG_fail
;
19063 Py_INCREF(Py_None
); resultobj
= Py_None
;
19070 static PyObject
*_wrap_PyCircleShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19071 PyObject
*resultobj
;
19072 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19074 PyObject
* obj0
= 0 ;
19075 PyObject
* obj1
= 0 ;
19076 char *kwnames
[] = {
19077 (char *) "self",(char *) "dc", NULL
19080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
19081 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19082 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19083 if (arg2
== NULL
) {
19084 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19088 (arg1
)->base_OnHighlight(*arg2
);
19090 wxPyEndAllowThreads(__tstate
);
19091 if (PyErr_Occurred()) SWIG_fail
;
19093 Py_INCREF(Py_None
); resultobj
= Py_None
;
19100 static PyObject
*_wrap_PyCircleShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19101 PyObject
*resultobj
;
19102 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19105 int arg4
= (int) 0 ;
19106 int arg5
= (int) 0 ;
19107 PyObject
* obj0
= 0 ;
19108 char *kwnames
[] = {
19109 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyCircleShape_base_OnLeftClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
19113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19116 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
19118 wxPyEndAllowThreads(__tstate
);
19119 if (PyErr_Occurred()) SWIG_fail
;
19121 Py_INCREF(Py_None
); resultobj
= Py_None
;
19128 static PyObject
*_wrap_PyCircleShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19129 PyObject
*resultobj
;
19130 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19133 int arg4
= (int) 0 ;
19134 int arg5
= (int) 0 ;
19135 PyObject
* obj0
= 0 ;
19136 char *kwnames
[] = {
19137 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyCircleShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
19141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19144 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
19146 wxPyEndAllowThreads(__tstate
);
19147 if (PyErr_Occurred()) SWIG_fail
;
19149 Py_INCREF(Py_None
); resultobj
= Py_None
;
19156 static PyObject
*_wrap_PyCircleShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19157 PyObject
*resultobj
;
19158 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19161 int arg4
= (int) 0 ;
19162 int arg5
= (int) 0 ;
19163 PyObject
* obj0
= 0 ;
19164 char *kwnames
[] = {
19165 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyCircleShape_base_OnRightClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
19169 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19172 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
19174 wxPyEndAllowThreads(__tstate
);
19175 if (PyErr_Occurred()) SWIG_fail
;
19177 Py_INCREF(Py_None
); resultobj
= Py_None
;
19184 static PyObject
*_wrap_PyCircleShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19185 PyObject
*resultobj
;
19186 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19189 PyObject
* obj0
= 0 ;
19190 char *kwnames
[] = {
19191 (char *) "self",(char *) "x",(char *) "y", NULL
19194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyCircleShape_base_OnSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19195 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19198 (arg1
)->base_OnSize(arg2
,arg3
);
19200 wxPyEndAllowThreads(__tstate
);
19201 if (PyErr_Occurred()) SWIG_fail
;
19203 Py_INCREF(Py_None
); resultobj
= Py_None
;
19210 static PyObject
*_wrap_PyCircleShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19211 PyObject
*resultobj
;
19212 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19218 bool arg7
= (bool) True
;
19220 PyObject
* obj0
= 0 ;
19221 PyObject
* obj1
= 0 ;
19222 PyObject
* obj6
= 0 ;
19223 char *kwnames
[] = {
19224 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
19227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyCircleShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
19228 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19229 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19230 if (arg2
== NULL
) {
19231 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19234 arg7
= PyInt_AsLong(obj6
) ? true : false;
19235 if (PyErr_Occurred()) SWIG_fail
;
19238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19239 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19241 wxPyEndAllowThreads(__tstate
);
19242 if (PyErr_Occurred()) SWIG_fail
;
19244 resultobj
= PyInt_FromLong((long)result
);
19251 static PyObject
*_wrap_PyCircleShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19252 PyObject
*resultobj
;
19253 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19259 bool arg7
= (bool) True
;
19260 PyObject
* obj0
= 0 ;
19261 PyObject
* obj1
= 0 ;
19262 PyObject
* obj6
= 0 ;
19263 char *kwnames
[] = {
19264 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
19267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyCircleShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
19268 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19269 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19270 if (arg2
== NULL
) {
19271 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19274 arg7
= PyInt_AsLong(obj6
) ? true : false;
19275 if (PyErr_Occurred()) SWIG_fail
;
19278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19279 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19281 wxPyEndAllowThreads(__tstate
);
19282 if (PyErr_Occurred()) SWIG_fail
;
19284 Py_INCREF(Py_None
); resultobj
= Py_None
;
19291 static PyObject
*_wrap_PyCircleShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19292 PyObject
*resultobj
;
19293 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19297 int arg5
= (int) 0 ;
19298 int arg6
= (int) 0 ;
19299 PyObject
* obj0
= 0 ;
19300 PyObject
* obj1
= 0 ;
19301 char *kwnames
[] = {
19302 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyCircleShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
19306 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19307 arg2
= PyInt_AsLong(obj1
) ? true : false;
19308 if (PyErr_Occurred()) SWIG_fail
;
19310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19311 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
19313 wxPyEndAllowThreads(__tstate
);
19314 if (PyErr_Occurred()) SWIG_fail
;
19316 Py_INCREF(Py_None
); resultobj
= Py_None
;
19323 static PyObject
*_wrap_PyCircleShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19324 PyObject
*resultobj
;
19325 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19328 int arg4
= (int) 0 ;
19329 int arg5
= (int) 0 ;
19330 PyObject
* obj0
= 0 ;
19331 char *kwnames
[] = {
19332 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyCircleShape_base_OnBeginDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
19336 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19339 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
19341 wxPyEndAllowThreads(__tstate
);
19342 if (PyErr_Occurred()) SWIG_fail
;
19344 Py_INCREF(Py_None
); resultobj
= Py_None
;
19351 static PyObject
*_wrap_PyCircleShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19352 PyObject
*resultobj
;
19353 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19356 int arg4
= (int) 0 ;
19357 int arg5
= (int) 0 ;
19358 PyObject
* obj0
= 0 ;
19359 char *kwnames
[] = {
19360 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyCircleShape_base_OnEndDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
19364 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19367 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
19369 wxPyEndAllowThreads(__tstate
);
19370 if (PyErr_Occurred()) SWIG_fail
;
19372 Py_INCREF(Py_None
); resultobj
= Py_None
;
19379 static PyObject
*_wrap_PyCircleShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19380 PyObject
*resultobj
;
19381 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19385 int arg5
= (int) 0 ;
19386 int arg6
= (int) 0 ;
19387 PyObject
* obj0
= 0 ;
19388 PyObject
* obj1
= 0 ;
19389 char *kwnames
[] = {
19390 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyCircleShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
19394 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19395 arg2
= PyInt_AsLong(obj1
) ? true : false;
19396 if (PyErr_Occurred()) SWIG_fail
;
19398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19399 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
19401 wxPyEndAllowThreads(__tstate
);
19402 if (PyErr_Occurred()) SWIG_fail
;
19404 Py_INCREF(Py_None
); resultobj
= Py_None
;
19411 static PyObject
*_wrap_PyCircleShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19412 PyObject
*resultobj
;
19413 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19416 int arg4
= (int) 0 ;
19417 int arg5
= (int) 0 ;
19418 PyObject
* obj0
= 0 ;
19419 char *kwnames
[] = {
19420 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyCircleShape_base_OnBeginDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
19424 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19427 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
19429 wxPyEndAllowThreads(__tstate
);
19430 if (PyErr_Occurred()) SWIG_fail
;
19432 Py_INCREF(Py_None
); resultobj
= Py_None
;
19439 static PyObject
*_wrap_PyCircleShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19440 PyObject
*resultobj
;
19441 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19444 int arg4
= (int) 0 ;
19445 int arg5
= (int) 0 ;
19446 PyObject
* obj0
= 0 ;
19447 char *kwnames
[] = {
19448 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyCircleShape_base_OnEndDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
19452 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19455 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
19457 wxPyEndAllowThreads(__tstate
);
19458 if (PyErr_Occurred()) SWIG_fail
;
19460 Py_INCREF(Py_None
); resultobj
= Py_None
;
19467 static PyObject
*_wrap_PyCircleShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19468 PyObject
*resultobj
;
19469 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19475 PyObject
* obj0
= 0 ;
19476 PyObject
* obj1
= 0 ;
19477 char *kwnames
[] = {
19478 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
19481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd:PyCircleShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
19482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19483 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19484 if (arg2
== NULL
) {
19485 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19489 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
19491 wxPyEndAllowThreads(__tstate
);
19492 if (PyErr_Occurred()) SWIG_fail
;
19494 Py_INCREF(Py_None
); resultobj
= Py_None
;
19501 static PyObject
*_wrap_PyCircleShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19502 PyObject
*resultobj
;
19503 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19505 PyObject
* obj0
= 0 ;
19506 PyObject
* obj1
= 0 ;
19507 char *kwnames
[] = {
19508 (char *) "self",(char *) "dc", NULL
19511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
19512 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19513 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19514 if (arg2
== NULL
) {
19515 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19519 (arg1
)->base_OnDrawControlPoints(*arg2
);
19521 wxPyEndAllowThreads(__tstate
);
19522 if (PyErr_Occurred()) SWIG_fail
;
19524 Py_INCREF(Py_None
); resultobj
= Py_None
;
19531 static PyObject
*_wrap_PyCircleShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19532 PyObject
*resultobj
;
19533 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19535 PyObject
* obj0
= 0 ;
19536 PyObject
* obj1
= 0 ;
19537 char *kwnames
[] = {
19538 (char *) "self",(char *) "dc", NULL
19541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
19542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19543 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19544 if (arg2
== NULL
) {
19545 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19549 (arg1
)->base_OnEraseControlPoints(*arg2
);
19551 wxPyEndAllowThreads(__tstate
);
19552 if (PyErr_Occurred()) SWIG_fail
;
19554 Py_INCREF(Py_None
); resultobj
= Py_None
;
19561 static PyObject
*_wrap_PyCircleShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19562 PyObject
*resultobj
;
19563 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19565 bool arg3
= (bool) True
;
19566 PyObject
* obj0
= 0 ;
19567 PyObject
* obj1
= 0 ;
19568 PyObject
* obj2
= 0 ;
19569 char *kwnames
[] = {
19570 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
19573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCircleShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19575 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19576 if (arg2
== NULL
) {
19577 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19580 arg3
= PyInt_AsLong(obj2
) ? true : false;
19581 if (PyErr_Occurred()) SWIG_fail
;
19584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19585 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
19587 wxPyEndAllowThreads(__tstate
);
19588 if (PyErr_Occurred()) SWIG_fail
;
19590 Py_INCREF(Py_None
); resultobj
= Py_None
;
19597 static PyObject
*_wrap_PyCircleShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19598 PyObject
*resultobj
;
19599 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19600 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
19604 int arg6
= (int) 0 ;
19605 int arg7
= (int) 0 ;
19606 PyObject
* obj0
= 0 ;
19607 PyObject
* obj1
= 0 ;
19608 PyObject
* obj2
= 0 ;
19609 char *kwnames
[] = {
19610 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd|ii:PyCircleShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
19614 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19615 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19616 arg3
= PyInt_AsLong(obj2
) ? true : false;
19617 if (PyErr_Occurred()) SWIG_fail
;
19619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19620 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19622 wxPyEndAllowThreads(__tstate
);
19623 if (PyErr_Occurred()) SWIG_fail
;
19625 Py_INCREF(Py_None
); resultobj
= Py_None
;
19632 static PyObject
*_wrap_PyCircleShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19633 PyObject
*resultobj
;
19634 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19635 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
19638 int arg5
= (int) 0 ;
19639 int arg6
= (int) 0 ;
19640 PyObject
* obj0
= 0 ;
19641 PyObject
* obj1
= 0 ;
19642 char *kwnames
[] = {
19643 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyCircleShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
19647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19648 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19651 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
19653 wxPyEndAllowThreads(__tstate
);
19654 if (PyErr_Occurred()) SWIG_fail
;
19656 Py_INCREF(Py_None
); resultobj
= Py_None
;
19663 static PyObject
*_wrap_PyCircleShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19664 PyObject
*resultobj
;
19665 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19666 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
19669 int arg5
= (int) 0 ;
19670 int arg6
= (int) 0 ;
19671 PyObject
* obj0
= 0 ;
19672 PyObject
* obj1
= 0 ;
19673 char *kwnames
[] = {
19674 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyCircleShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
19678 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19679 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19682 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
19684 wxPyEndAllowThreads(__tstate
);
19685 if (PyErr_Occurred()) SWIG_fail
;
19687 Py_INCREF(Py_None
); resultobj
= Py_None
;
19694 static PyObject
*_wrap_PyCircleShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19695 PyObject
*resultobj
;
19696 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19699 PyObject
* obj0
= 0 ;
19700 char *kwnames
[] = {
19701 (char *) "self",(char *) "w",(char *) "h", NULL
19704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyCircleShape_base_OnBeginSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19705 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19708 (arg1
)->base_OnBeginSize(arg2
,arg3
);
19710 wxPyEndAllowThreads(__tstate
);
19711 if (PyErr_Occurred()) SWIG_fail
;
19713 Py_INCREF(Py_None
); resultobj
= Py_None
;
19720 static PyObject
*_wrap_PyCircleShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19721 PyObject
*resultobj
;
19722 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19725 PyObject
* obj0
= 0 ;
19726 char *kwnames
[] = {
19727 (char *) "self",(char *) "w",(char *) "h", NULL
19730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyCircleShape_base_OnEndSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19734 (arg1
)->base_OnEndSize(arg2
,arg3
);
19736 wxPyEndAllowThreads(__tstate
);
19737 if (PyErr_Occurred()) SWIG_fail
;
19739 Py_INCREF(Py_None
); resultobj
= Py_None
;
19746 static PyObject
* PyCircleShape_swigregister(PyObject
*self
, PyObject
*args
) {
19748 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19749 SWIG_TypeClientData(SWIGTYPE_p_wxPyCircleShape
, obj
);
19751 return Py_BuildValue((char *)"");
19753 static PyObject
*_wrap_new_ArrowHead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19754 PyObject
*resultobj
;
19755 int arg1
= (int) 0 ;
19756 int arg2
= (int) 0 ;
19757 double arg3
= (double) 0.0 ;
19758 double arg4
= (double) 0.0 ;
19759 wxString
const &arg5_defvalue
= wxPyEmptyString
;
19760 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
19761 wxPseudoMetaFile
*arg6
= (wxPseudoMetaFile
*) NULL
;
19762 long arg7
= (long) -1 ;
19763 wxArrowHead
*result
;
19764 bool temp5
= False
;
19765 PyObject
* obj4
= 0 ;
19766 PyObject
* obj5
= 0 ;
19767 char *kwnames
[] = {
19768 (char *) "type",(char *) "end",(char *) "size",(char *) "dist",(char *) "name",(char *) "mf",(char *) "arrowId", NULL
19771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiddOOl:new_ArrowHead",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
,&obj4
,&obj5
,&arg7
)) goto fail
;
19774 arg5
= wxString_in_helper(obj4
);
19775 if (arg5
== NULL
) SWIG_fail
;
19780 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19784 result
= (wxArrowHead
*)new wxArrowHead(arg1
,arg2
,arg3
,arg4
,(wxString
const &)*arg5
,arg6
,arg7
);
19786 wxPyEndAllowThreads(__tstate
);
19787 if (PyErr_Occurred()) SWIG_fail
;
19790 resultobj
= wxPyMake_wxObject(result
);
19806 static PyObject
*_wrap_delete_ArrowHead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19807 PyObject
*resultobj
;
19808 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
19809 PyObject
* obj0
= 0 ;
19810 char *kwnames
[] = {
19811 (char *) "self", NULL
19814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ArrowHead",kwnames
,&obj0
)) goto fail
;
19815 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19820 wxPyEndAllowThreads(__tstate
);
19821 if (PyErr_Occurred()) SWIG_fail
;
19823 Py_INCREF(Py_None
); resultobj
= Py_None
;
19830 static PyObject
*_wrap_ArrowHead__GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19831 PyObject
*resultobj
;
19832 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
19834 PyObject
* obj0
= 0 ;
19835 char *kwnames
[] = {
19836 (char *) "self", NULL
19839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead__GetType",kwnames
,&obj0
)) goto fail
;
19840 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19843 result
= (int)(arg1
)->_GetType();
19845 wxPyEndAllowThreads(__tstate
);
19846 if (PyErr_Occurred()) SWIG_fail
;
19848 resultobj
= PyInt_FromLong((long)result
);
19855 static PyObject
*_wrap_ArrowHead_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19856 PyObject
*resultobj
;
19857 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
19859 PyObject
* obj0
= 0 ;
19860 char *kwnames
[] = {
19861 (char *) "self", NULL
19864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetPosition",kwnames
,&obj0
)) goto fail
;
19865 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19868 result
= (int)(arg1
)->GetPosition();
19870 wxPyEndAllowThreads(__tstate
);
19871 if (PyErr_Occurred()) SWIG_fail
;
19873 resultobj
= PyInt_FromLong((long)result
);
19880 static PyObject
*_wrap_ArrowHead_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19881 PyObject
*resultobj
;
19882 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
19884 PyObject
* obj0
= 0 ;
19885 char *kwnames
[] = {
19886 (char *) "self",(char *) "pos", NULL
19889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ArrowHead_SetPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
19890 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19893 (arg1
)->SetPosition(arg2
);
19895 wxPyEndAllowThreads(__tstate
);
19896 if (PyErr_Occurred()) SWIG_fail
;
19898 Py_INCREF(Py_None
); resultobj
= Py_None
;
19905 static PyObject
*_wrap_ArrowHead_GetXOffset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19906 PyObject
*resultobj
;
19907 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
19909 PyObject
* obj0
= 0 ;
19910 char *kwnames
[] = {
19911 (char *) "self", NULL
19914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetXOffset",kwnames
,&obj0
)) goto fail
;
19915 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19918 result
= (double)(arg1
)->GetXOffset();
19920 wxPyEndAllowThreads(__tstate
);
19921 if (PyErr_Occurred()) SWIG_fail
;
19923 resultobj
= PyFloat_FromDouble(result
);
19930 static PyObject
*_wrap_ArrowHead_GetYOffset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19931 PyObject
*resultobj
;
19932 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
19934 PyObject
* obj0
= 0 ;
19935 char *kwnames
[] = {
19936 (char *) "self", NULL
19939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetYOffset",kwnames
,&obj0
)) goto fail
;
19940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19943 result
= (double)(arg1
)->GetYOffset();
19945 wxPyEndAllowThreads(__tstate
);
19946 if (PyErr_Occurred()) SWIG_fail
;
19948 resultobj
= PyFloat_FromDouble(result
);
19955 static PyObject
*_wrap_ArrowHead_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19956 PyObject
*resultobj
;
19957 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
19959 PyObject
* obj0
= 0 ;
19960 char *kwnames
[] = {
19961 (char *) "self", NULL
19964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetSpacing",kwnames
,&obj0
)) goto fail
;
19965 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19968 result
= (double)(arg1
)->GetSpacing();
19970 wxPyEndAllowThreads(__tstate
);
19971 if (PyErr_Occurred()) SWIG_fail
;
19973 resultobj
= PyFloat_FromDouble(result
);
19980 static PyObject
*_wrap_ArrowHead_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19981 PyObject
*resultobj
;
19982 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
19984 PyObject
* obj0
= 0 ;
19985 char *kwnames
[] = {
19986 (char *) "self", NULL
19989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetSize",kwnames
,&obj0
)) goto fail
;
19990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19993 result
= (double)(arg1
)->GetSize();
19995 wxPyEndAllowThreads(__tstate
);
19996 if (PyErr_Occurred()) SWIG_fail
;
19998 resultobj
= PyFloat_FromDouble(result
);
20005 static PyObject
*_wrap_ArrowHead_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20006 PyObject
*resultobj
;
20007 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
20009 PyObject
* obj0
= 0 ;
20010 char *kwnames
[] = {
20011 (char *) "self", NULL
20014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetName",kwnames
,&obj0
)) goto fail
;
20015 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20018 result
= (arg1
)->GetName();
20020 wxPyEndAllowThreads(__tstate
);
20021 if (PyErr_Occurred()) SWIG_fail
;
20025 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20027 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20036 static PyObject
*_wrap_ArrowHead_SetXOffset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20037 PyObject
*resultobj
;
20038 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
20040 PyObject
* obj0
= 0 ;
20041 char *kwnames
[] = {
20042 (char *) "self",(char *) "x", NULL
20045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:ArrowHead_SetXOffset",kwnames
,&obj0
,&arg2
)) goto fail
;
20046 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20049 (arg1
)->SetXOffset(arg2
);
20051 wxPyEndAllowThreads(__tstate
);
20052 if (PyErr_Occurred()) SWIG_fail
;
20054 Py_INCREF(Py_None
); resultobj
= Py_None
;
20061 static PyObject
*_wrap_ArrowHead_SetYOffset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20062 PyObject
*resultobj
;
20063 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
20065 PyObject
* obj0
= 0 ;
20066 char *kwnames
[] = {
20067 (char *) "self",(char *) "y", NULL
20070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:ArrowHead_SetYOffset",kwnames
,&obj0
,&arg2
)) goto fail
;
20071 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20074 (arg1
)->SetYOffset(arg2
);
20076 wxPyEndAllowThreads(__tstate
);
20077 if (PyErr_Occurred()) SWIG_fail
;
20079 Py_INCREF(Py_None
); resultobj
= Py_None
;
20086 static PyObject
*_wrap_ArrowHead_GetMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20087 PyObject
*resultobj
;
20088 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
20089 wxPseudoMetaFile
*result
;
20090 PyObject
* obj0
= 0 ;
20091 char *kwnames
[] = {
20092 (char *) "self", NULL
20095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetMetaFile",kwnames
,&obj0
)) goto fail
;
20096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20099 result
= (wxPseudoMetaFile
*)(arg1
)->GetMetaFile();
20101 wxPyEndAllowThreads(__tstate
);
20102 if (PyErr_Occurred()) SWIG_fail
;
20105 resultobj
= wxPyMake_wxObject(result
);
20113 static PyObject
*_wrap_ArrowHead_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20114 PyObject
*resultobj
;
20115 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
20117 PyObject
* obj0
= 0 ;
20118 char *kwnames
[] = {
20119 (char *) "self", NULL
20122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetId",kwnames
,&obj0
)) goto fail
;
20123 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20126 result
= (long)(arg1
)->GetId();
20128 wxPyEndAllowThreads(__tstate
);
20129 if (PyErr_Occurred()) SWIG_fail
;
20131 resultobj
= PyInt_FromLong((long)result
);
20138 static PyObject
*_wrap_ArrowHead_GetArrowEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20139 PyObject
*resultobj
;
20140 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
20142 PyObject
* obj0
= 0 ;
20143 char *kwnames
[] = {
20144 (char *) "self", NULL
20147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetArrowEnd",kwnames
,&obj0
)) goto fail
;
20148 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20151 result
= (int)(arg1
)->GetArrowEnd();
20153 wxPyEndAllowThreads(__tstate
);
20154 if (PyErr_Occurred()) SWIG_fail
;
20156 resultobj
= PyInt_FromLong((long)result
);
20163 static PyObject
*_wrap_ArrowHead_GetArrowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20164 PyObject
*resultobj
;
20165 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
20167 PyObject
* obj0
= 0 ;
20168 char *kwnames
[] = {
20169 (char *) "self", NULL
20172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetArrowSize",kwnames
,&obj0
)) goto fail
;
20173 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20176 result
= (double)(arg1
)->GetArrowSize();
20178 wxPyEndAllowThreads(__tstate
);
20179 if (PyErr_Occurred()) SWIG_fail
;
20181 resultobj
= PyFloat_FromDouble(result
);
20188 static PyObject
*_wrap_ArrowHead_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20189 PyObject
*resultobj
;
20190 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
20192 PyObject
* obj0
= 0 ;
20193 char *kwnames
[] = {
20194 (char *) "self",(char *) "size", NULL
20197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:ArrowHead_SetSize",kwnames
,&obj0
,&arg2
)) goto fail
;
20198 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20201 (arg1
)->SetSize(arg2
);
20203 wxPyEndAllowThreads(__tstate
);
20204 if (PyErr_Occurred()) SWIG_fail
;
20206 Py_INCREF(Py_None
); resultobj
= Py_None
;
20213 static PyObject
*_wrap_ArrowHead_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20214 PyObject
*resultobj
;
20215 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
20217 PyObject
* obj0
= 0 ;
20218 char *kwnames
[] = {
20219 (char *) "self",(char *) "sp", NULL
20222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:ArrowHead_SetSpacing",kwnames
,&obj0
,&arg2
)) goto fail
;
20223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20226 (arg1
)->SetSpacing(arg2
);
20228 wxPyEndAllowThreads(__tstate
);
20229 if (PyErr_Occurred()) SWIG_fail
;
20231 Py_INCREF(Py_None
); resultobj
= Py_None
;
20238 static PyObject
* ArrowHead_swigregister(PyObject
*self
, PyObject
*args
) {
20240 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20241 SWIG_TypeClientData(SWIGTYPE_p_wxArrowHead
, obj
);
20243 return Py_BuildValue((char *)"");
20245 static PyObject
*_wrap_new_PyLineShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20246 PyObject
*resultobj
;
20247 wxPyLineShape
*result
;
20248 char *kwnames
[] = {
20252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLineShape",kwnames
)) goto fail
;
20254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20255 result
= (wxPyLineShape
*)new wxPyLineShape();
20257 wxPyEndAllowThreads(__tstate
);
20258 if (PyErr_Occurred()) SWIG_fail
;
20260 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyLineShape
, 1);
20267 static PyObject
*_wrap_PyLineShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20268 PyObject
*resultobj
;
20269 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20270 PyObject
*arg2
= (PyObject
*) 0 ;
20271 PyObject
*arg3
= (PyObject
*) 0 ;
20272 PyObject
* obj0
= 0 ;
20273 PyObject
* obj1
= 0 ;
20274 PyObject
* obj2
= 0 ;
20275 char *kwnames
[] = {
20276 (char *) "self",(char *) "self",(char *) "_class", NULL
20279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20280 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20285 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20287 wxPyEndAllowThreads(__tstate
);
20288 if (PyErr_Occurred()) SWIG_fail
;
20290 Py_INCREF(Py_None
); resultobj
= Py_None
;
20297 static PyObject
*_wrap_PyLineShape_AddArrow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20298 PyObject
*resultobj
;
20299 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20301 int arg3
= (int) ARROW_POSITION_END
;
20302 double arg4
= (double) 10.0 ;
20303 double arg5
= (double) 0.0 ;
20304 wxString
const &arg6_defvalue
= wxPyEmptyString
;
20305 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20306 wxPseudoMetaFile
*arg7
= (wxPseudoMetaFile
*) NULL
;
20307 long arg8
= (long) -1 ;
20308 bool temp6
= False
;
20309 PyObject
* obj0
= 0 ;
20310 PyObject
* obj5
= 0 ;
20311 PyObject
* obj6
= 0 ;
20312 char *kwnames
[] = {
20313 (char *) "self",(char *) "type",(char *) "end",(char *) "arrowSize",(char *) "xOffset",(char *) "name",(char *) "mf",(char *) "arrowId", NULL
20316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|iddOOl:PyLineShape_AddArrow",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&obj5
,&obj6
,&arg8
)) goto fail
;
20317 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20320 arg6
= wxString_in_helper(obj5
);
20321 if (arg6
== NULL
) SWIG_fail
;
20326 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20330 (arg1
)->AddArrow(arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
,arg8
);
20332 wxPyEndAllowThreads(__tstate
);
20333 if (PyErr_Occurred()) SWIG_fail
;
20335 Py_INCREF(Py_None
); resultobj
= Py_None
;
20350 static PyObject
*_wrap_PyLineShape_AddArrowOrdered(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20351 PyObject
*resultobj
;
20352 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20353 wxArrowHead
*arg2
= (wxArrowHead
*) 0 ;
20354 PyObject
*arg3
= (PyObject
*) 0 ;
20356 PyObject
* obj0
= 0 ;
20357 PyObject
* obj1
= 0 ;
20358 PyObject
* obj2
= 0 ;
20359 char *kwnames
[] = {
20360 (char *) "self",(char *) "arrow",(char *) "referenceList",(char *) "end", NULL
20363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOi:PyLineShape_AddArrowOrdered",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
20364 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20365 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20369 wxPyLineShape_AddArrowOrdered(arg1
,arg2
,arg3
,arg4
);
20371 wxPyEndAllowThreads(__tstate
);
20372 if (PyErr_Occurred()) SWIG_fail
;
20374 Py_INCREF(Py_None
); resultobj
= Py_None
;
20381 static PyObject
*_wrap_PyLineShape_ClearArrow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20382 PyObject
*resultobj
;
20383 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20384 wxString
*arg2
= 0 ;
20386 bool temp2
= False
;
20387 PyObject
* obj0
= 0 ;
20388 PyObject
* obj1
= 0 ;
20389 char *kwnames
[] = {
20390 (char *) "self",(char *) "name", NULL
20393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_ClearArrow",kwnames
,&obj0
,&obj1
)) goto fail
;
20394 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20396 arg2
= wxString_in_helper(obj1
);
20397 if (arg2
== NULL
) SWIG_fail
;
20401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20402 result
= (bool)(arg1
)->ClearArrow((wxString
const &)*arg2
);
20404 wxPyEndAllowThreads(__tstate
);
20405 if (PyErr_Occurred()) SWIG_fail
;
20407 resultobj
= PyInt_FromLong((long)result
);
20422 static PyObject
*_wrap_PyLineShape_ClearArrowsAtPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20423 PyObject
*resultobj
;
20424 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20425 int arg2
= (int) -1 ;
20426 PyObject
* obj0
= 0 ;
20427 char *kwnames
[] = {
20428 (char *) "self",(char *) "position", NULL
20431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:PyLineShape_ClearArrowsAtPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
20432 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20435 (arg1
)->ClearArrowsAtPosition(arg2
);
20437 wxPyEndAllowThreads(__tstate
);
20438 if (PyErr_Occurred()) SWIG_fail
;
20440 Py_INCREF(Py_None
); resultobj
= Py_None
;
20447 static PyObject
*_wrap_PyLineShape_DrawArrow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20448 PyObject
*resultobj
;
20449 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20451 wxArrowHead
*arg3
= (wxArrowHead
*) 0 ;
20454 PyObject
* obj0
= 0 ;
20455 PyObject
* obj1
= 0 ;
20456 PyObject
* obj2
= 0 ;
20457 PyObject
* obj4
= 0 ;
20458 char *kwnames
[] = {
20459 (char *) "self",(char *) "dc",(char *) "arrow",(char *) "xOffset",(char *) "proportionalOffset", NULL
20462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdO:PyLineShape_DrawArrow",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&obj4
)) goto fail
;
20463 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20464 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20465 if (arg2
== NULL
) {
20466 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20468 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20469 arg5
= PyInt_AsLong(obj4
) ? true : false;
20470 if (PyErr_Occurred()) SWIG_fail
;
20472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20473 (arg1
)->DrawArrow(*arg2
,arg3
,arg4
,arg5
);
20475 wxPyEndAllowThreads(__tstate
);
20476 if (PyErr_Occurred()) SWIG_fail
;
20478 Py_INCREF(Py_None
); resultobj
= Py_None
;
20485 static PyObject
*_wrap_PyLineShape_DeleteArrowHeadId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20486 PyObject
*resultobj
;
20487 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20490 PyObject
* obj0
= 0 ;
20491 char *kwnames
[] = {
20492 (char *) "self",(char *) "arrowId", NULL
20495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:PyLineShape_DeleteArrowHeadId",kwnames
,&obj0
,&arg2
)) goto fail
;
20496 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20499 result
= (bool)(arg1
)->DeleteArrowHead(arg2
);
20501 wxPyEndAllowThreads(__tstate
);
20502 if (PyErr_Occurred()) SWIG_fail
;
20504 resultobj
= PyInt_FromLong((long)result
);
20511 static PyObject
*_wrap_PyLineShape_DeleteArrowHead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20512 PyObject
*resultobj
;
20513 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20515 wxString
*arg3
= 0 ;
20517 bool temp3
= False
;
20518 PyObject
* obj0
= 0 ;
20519 PyObject
* obj2
= 0 ;
20520 char *kwnames
[] = {
20521 (char *) "self",(char *) "position",(char *) "name", NULL
20524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:PyLineShape_DeleteArrowHead",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
20525 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20527 arg3
= wxString_in_helper(obj2
);
20528 if (arg3
== NULL
) SWIG_fail
;
20532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20533 result
= (bool)(arg1
)->DeleteArrowHead(arg2
,(wxString
const &)*arg3
);
20535 wxPyEndAllowThreads(__tstate
);
20536 if (PyErr_Occurred()) SWIG_fail
;
20538 resultobj
= PyInt_FromLong((long)result
);
20553 static PyObject
*_wrap_PyLineShape_DeleteLineControlPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20554 PyObject
*resultobj
;
20555 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20557 PyObject
* obj0
= 0 ;
20558 char *kwnames
[] = {
20559 (char *) "self", NULL
20562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_DeleteLineControlPoint",kwnames
,&obj0
)) goto fail
;
20563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20566 result
= (bool)(arg1
)->DeleteLineControlPoint();
20568 wxPyEndAllowThreads(__tstate
);
20569 if (PyErr_Occurred()) SWIG_fail
;
20571 resultobj
= PyInt_FromLong((long)result
);
20578 static PyObject
*_wrap_PyLineShape_DrawArrows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20579 PyObject
*resultobj
;
20580 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20582 PyObject
* obj0
= 0 ;
20583 PyObject
* obj1
= 0 ;
20584 char *kwnames
[] = {
20585 (char *) "self",(char *) "dc", NULL
20588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_DrawArrows",kwnames
,&obj0
,&obj1
)) goto fail
;
20589 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20590 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20591 if (arg2
== NULL
) {
20592 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20596 (arg1
)->DrawArrows(*arg2
);
20598 wxPyEndAllowThreads(__tstate
);
20599 if (PyErr_Occurred()) SWIG_fail
;
20601 Py_INCREF(Py_None
); resultobj
= Py_None
;
20608 static PyObject
*_wrap_PyLineShape_DrawRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20609 PyObject
*resultobj
;
20610 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20612 wxShapeRegion
*arg3
= (wxShapeRegion
*) 0 ;
20615 PyObject
* obj0
= 0 ;
20616 PyObject
* obj1
= 0 ;
20617 PyObject
* obj2
= 0 ;
20618 char *kwnames
[] = {
20619 (char *) "self",(char *) "dc",(char *) "region",(char *) "x",(char *) "y", NULL
20622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd:PyLineShape_DrawRegion",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
)) goto fail
;
20623 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20624 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20625 if (arg2
== NULL
) {
20626 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20628 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20631 (arg1
)->DrawRegion(*arg2
,arg3
,arg4
,arg5
);
20633 wxPyEndAllowThreads(__tstate
);
20634 if (PyErr_Occurred()) SWIG_fail
;
20636 Py_INCREF(Py_None
); resultobj
= Py_None
;
20643 static PyObject
*_wrap_PyLineShape_EraseRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20644 PyObject
*resultobj
;
20645 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20647 wxShapeRegion
*arg3
= (wxShapeRegion
*) 0 ;
20650 PyObject
* obj0
= 0 ;
20651 PyObject
* obj1
= 0 ;
20652 PyObject
* obj2
= 0 ;
20653 char *kwnames
[] = {
20654 (char *) "self",(char *) "dc",(char *) "region",(char *) "x",(char *) "y", NULL
20657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd:PyLineShape_EraseRegion",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
)) goto fail
;
20658 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20659 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20660 if (arg2
== NULL
) {
20661 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20663 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20666 (arg1
)->EraseRegion(*arg2
,arg3
,arg4
,arg5
);
20668 wxPyEndAllowThreads(__tstate
);
20669 if (PyErr_Occurred()) SWIG_fail
;
20671 Py_INCREF(Py_None
); resultobj
= Py_None
;
20678 static PyObject
*_wrap_PyLineShape_FindArrowHeadId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20679 PyObject
*resultobj
;
20680 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20682 wxArrowHead
*result
;
20683 PyObject
* obj0
= 0 ;
20684 char *kwnames
[] = {
20685 (char *) "self",(char *) "arrowId", NULL
20688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:PyLineShape_FindArrowHeadId",kwnames
,&obj0
,&arg2
)) goto fail
;
20689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20692 result
= (wxArrowHead
*)(arg1
)->FindArrowHead(arg2
);
20694 wxPyEndAllowThreads(__tstate
);
20695 if (PyErr_Occurred()) SWIG_fail
;
20698 resultobj
= wxPyMake_wxObject(result
);
20706 static PyObject
*_wrap_PyLineShape_FindArrowHead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20707 PyObject
*resultobj
;
20708 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20710 wxString
*arg3
= 0 ;
20711 wxArrowHead
*result
;
20712 bool temp3
= False
;
20713 PyObject
* obj0
= 0 ;
20714 PyObject
* obj2
= 0 ;
20715 char *kwnames
[] = {
20716 (char *) "self",(char *) "position",(char *) "name", NULL
20719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:PyLineShape_FindArrowHead",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
20720 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20722 arg3
= wxString_in_helper(obj2
);
20723 if (arg3
== NULL
) SWIG_fail
;
20727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20728 result
= (wxArrowHead
*)(arg1
)->FindArrowHead(arg2
,(wxString
const &)*arg3
);
20730 wxPyEndAllowThreads(__tstate
);
20731 if (PyErr_Occurred()) SWIG_fail
;
20734 resultobj
= wxPyMake_wxObject(result
);
20750 static PyObject
*_wrap_PyLineShape_FindLineEndPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20751 PyObject
*resultobj
;
20752 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20753 double *arg2
= (double *) 0 ;
20754 double *arg3
= (double *) 0 ;
20755 double *arg4
= (double *) 0 ;
20756 double *arg5
= (double *) 0 ;
20761 PyObject
* obj0
= 0 ;
20762 char *kwnames
[] = {
20763 (char *) "self", NULL
20770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_FindLineEndPoints",kwnames
,&obj0
)) goto fail
;
20771 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20774 (arg1
)->FindLineEndPoints(arg2
,arg3
,arg4
,arg5
);
20776 wxPyEndAllowThreads(__tstate
);
20777 if (PyErr_Occurred()) SWIG_fail
;
20779 Py_INCREF(Py_None
); resultobj
= Py_None
;
20781 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
20782 resultobj
= t_output_helper(resultobj
,o
);
20785 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
20786 resultobj
= t_output_helper(resultobj
,o
);
20789 PyObject
*o
= PyFloat_FromDouble((double) (*arg4
));
20790 resultobj
= t_output_helper(resultobj
,o
);
20793 PyObject
*o
= PyFloat_FromDouble((double) (*arg5
));
20794 resultobj
= t_output_helper(resultobj
,o
);
20802 static PyObject
*_wrap_PyLineShape_FindLinePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20803 PyObject
*resultobj
;
20804 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20808 PyObject
* obj0
= 0 ;
20809 char *kwnames
[] = {
20810 (char *) "self",(char *) "x",(char *) "y", NULL
20813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyLineShape_FindLinePosition",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
20814 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20817 result
= (int)(arg1
)->FindLinePosition(arg2
,arg3
);
20819 wxPyEndAllowThreads(__tstate
);
20820 if (PyErr_Occurred()) SWIG_fail
;
20822 resultobj
= PyInt_FromLong((long)result
);
20829 static PyObject
*_wrap_PyLineShape_FindMinimumWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20830 PyObject
*resultobj
;
20831 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20833 PyObject
* obj0
= 0 ;
20834 char *kwnames
[] = {
20835 (char *) "self", NULL
20838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_FindMinimumWidth",kwnames
,&obj0
)) goto fail
;
20839 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20842 result
= (double)(arg1
)->FindMinimumWidth();
20844 wxPyEndAllowThreads(__tstate
);
20845 if (PyErr_Occurred()) SWIG_fail
;
20847 resultobj
= PyFloat_FromDouble(result
);
20854 static PyObject
*_wrap_PyLineShape_FindNth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20855 PyObject
*resultobj
;
20856 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20857 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
20858 int *arg3
= (int *) 0 ;
20859 int *arg4
= (int *) 0 ;
20863 PyObject
* obj0
= 0 ;
20864 PyObject
* obj1
= 0 ;
20865 PyObject
* obj2
= 0 ;
20866 char *kwnames
[] = {
20867 (char *) "self",(char *) "image",(char *) "incoming", NULL
20872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_FindNth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20873 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20874 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20875 arg5
= PyInt_AsLong(obj2
) ? true : false;
20876 if (PyErr_Occurred()) SWIG_fail
;
20878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20879 (arg1
)->FindNth(arg2
,arg3
,arg4
,arg5
);
20881 wxPyEndAllowThreads(__tstate
);
20882 if (PyErr_Occurred()) SWIG_fail
;
20884 Py_INCREF(Py_None
); resultobj
= Py_None
;
20886 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20887 resultobj
= t_output_helper(resultobj
,o
);
20890 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
20891 resultobj
= t_output_helper(resultobj
,o
);
20899 static PyObject
*_wrap_PyLineShape_GetAttachmentFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20900 PyObject
*resultobj
;
20901 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20903 PyObject
* obj0
= 0 ;
20904 char *kwnames
[] = {
20905 (char *) "self", NULL
20908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetAttachmentFrom",kwnames
,&obj0
)) goto fail
;
20909 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20912 result
= (int)(arg1
)->GetAttachmentFrom();
20914 wxPyEndAllowThreads(__tstate
);
20915 if (PyErr_Occurred()) SWIG_fail
;
20917 resultobj
= PyInt_FromLong((long)result
);
20924 static PyObject
*_wrap_PyLineShape_GetAttachmentTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20925 PyObject
*resultobj
;
20926 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20928 PyObject
* obj0
= 0 ;
20929 char *kwnames
[] = {
20930 (char *) "self", NULL
20933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetAttachmentTo",kwnames
,&obj0
)) goto fail
;
20934 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20937 result
= (int)(arg1
)->GetAttachmentTo();
20939 wxPyEndAllowThreads(__tstate
);
20940 if (PyErr_Occurred()) SWIG_fail
;
20942 resultobj
= PyInt_FromLong((long)result
);
20949 static PyObject
*_wrap_PyLineShape_GetEnds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20950 PyObject
*resultobj
;
20951 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20952 double *arg2
= (double *) 0 ;
20953 double *arg3
= (double *) 0 ;
20954 double *arg4
= (double *) 0 ;
20955 double *arg5
= (double *) 0 ;
20960 PyObject
* obj0
= 0 ;
20961 char *kwnames
[] = {
20962 (char *) "self", NULL
20969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetEnds",kwnames
,&obj0
)) goto fail
;
20970 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20973 (arg1
)->GetEnds(arg2
,arg3
,arg4
,arg5
);
20975 wxPyEndAllowThreads(__tstate
);
20976 if (PyErr_Occurred()) SWIG_fail
;
20978 Py_INCREF(Py_None
); resultobj
= Py_None
;
20980 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
20981 resultobj
= t_output_helper(resultobj
,o
);
20984 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
20985 resultobj
= t_output_helper(resultobj
,o
);
20988 PyObject
*o
= PyFloat_FromDouble((double) (*arg4
));
20989 resultobj
= t_output_helper(resultobj
,o
);
20992 PyObject
*o
= PyFloat_FromDouble((double) (*arg5
));
20993 resultobj
= t_output_helper(resultobj
,o
);
21001 static PyObject
*_wrap_PyLineShape_GetFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21002 PyObject
*resultobj
;
21003 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21005 PyObject
* obj0
= 0 ;
21006 char *kwnames
[] = {
21007 (char *) "self", NULL
21010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetFrom",kwnames
,&obj0
)) goto fail
;
21011 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21014 result
= (wxPyShape
*)(arg1
)->GetFrom();
21016 wxPyEndAllowThreads(__tstate
);
21017 if (PyErr_Occurred()) SWIG_fail
;
21020 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
21028 static PyObject
*_wrap_PyLineShape_GetLabelPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21029 PyObject
*resultobj
;
21030 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21032 double *arg3
= (double *) 0 ;
21033 double *arg4
= (double *) 0 ;
21036 PyObject
* obj0
= 0 ;
21037 char *kwnames
[] = {
21038 (char *) "self",(char *) "position", NULL
21043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyLineShape_GetLabelPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
21044 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21047 (arg1
)->GetLabelPosition(arg2
,arg3
,arg4
);
21049 wxPyEndAllowThreads(__tstate
);
21050 if (PyErr_Occurred()) SWIG_fail
;
21052 Py_INCREF(Py_None
); resultobj
= Py_None
;
21054 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
21055 resultobj
= t_output_helper(resultobj
,o
);
21058 PyObject
*o
= PyFloat_FromDouble((double) (*arg4
));
21059 resultobj
= t_output_helper(resultobj
,o
);
21067 static PyObject
*_wrap_PyLineShape_GetNextControlPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21068 PyObject
*resultobj
;
21069 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21070 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
21071 wxRealPoint
*result
;
21072 PyObject
* obj0
= 0 ;
21073 PyObject
* obj1
= 0 ;
21074 char *kwnames
[] = {
21075 (char *) "self",(char *) "shape", NULL
21078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_GetNextControlPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
21079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21080 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21083 result
= (wxRealPoint
*)(arg1
)->GetNextControlPoint(arg2
);
21085 wxPyEndAllowThreads(__tstate
);
21086 if (PyErr_Occurred()) SWIG_fail
;
21088 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRealPoint
, 0);
21095 static PyObject
*_wrap_PyLineShape_GetTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21096 PyObject
*resultobj
;
21097 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21099 PyObject
* obj0
= 0 ;
21100 char *kwnames
[] = {
21101 (char *) "self", NULL
21104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetTo",kwnames
,&obj0
)) goto fail
;
21105 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21108 result
= (wxPyShape
*)(arg1
)->GetTo();
21110 wxPyEndAllowThreads(__tstate
);
21111 if (PyErr_Occurred()) SWIG_fail
;
21114 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
21122 static PyObject
*_wrap_PyLineShape_Initialise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21123 PyObject
*resultobj
;
21124 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21125 PyObject
* obj0
= 0 ;
21126 char *kwnames
[] = {
21127 (char *) "self", NULL
21130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_Initialise",kwnames
,&obj0
)) goto fail
;
21131 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21134 (arg1
)->Initialise();
21136 wxPyEndAllowThreads(__tstate
);
21137 if (PyErr_Occurred()) SWIG_fail
;
21139 Py_INCREF(Py_None
); resultobj
= Py_None
;
21146 static PyObject
*_wrap_PyLineShape_InsertLineControlPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21147 PyObject
*resultobj
;
21148 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21149 wxDC
*arg2
= (wxDC
*) 0 ;
21150 PyObject
* obj0
= 0 ;
21151 PyObject
* obj1
= 0 ;
21152 char *kwnames
[] = {
21153 (char *) "self",(char *) "dc", NULL
21156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_InsertLineControlPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
21157 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21158 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21161 (arg1
)->InsertLineControlPoint(arg2
);
21163 wxPyEndAllowThreads(__tstate
);
21164 if (PyErr_Occurred()) SWIG_fail
;
21166 Py_INCREF(Py_None
); resultobj
= Py_None
;
21173 static PyObject
*_wrap_PyLineShape_IsEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21174 PyObject
*resultobj
;
21175 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21176 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
21178 PyObject
* obj0
= 0 ;
21179 PyObject
* obj1
= 0 ;
21180 char *kwnames
[] = {
21181 (char *) "self",(char *) "shape", NULL
21184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_IsEnd",kwnames
,&obj0
,&obj1
)) goto fail
;
21185 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21186 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21189 result
= (bool)(arg1
)->IsEnd(arg2
);
21191 wxPyEndAllowThreads(__tstate
);
21192 if (PyErr_Occurred()) SWIG_fail
;
21194 resultobj
= PyInt_FromLong((long)result
);
21201 static PyObject
*_wrap_PyLineShape_IsSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21202 PyObject
*resultobj
;
21203 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21205 PyObject
* obj0
= 0 ;
21206 char *kwnames
[] = {
21207 (char *) "self", NULL
21210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_IsSpline",kwnames
,&obj0
)) goto fail
;
21211 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21214 result
= (bool)(arg1
)->IsSpline();
21216 wxPyEndAllowThreads(__tstate
);
21217 if (PyErr_Occurred()) SWIG_fail
;
21219 resultobj
= PyInt_FromLong((long)result
);
21226 static PyObject
*_wrap_PyLineShape_MakeLineControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21227 PyObject
*resultobj
;
21228 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21230 PyObject
* obj0
= 0 ;
21231 char *kwnames
[] = {
21232 (char *) "self",(char *) "n", NULL
21235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyLineShape_MakeLineControlPoints",kwnames
,&obj0
,&arg2
)) goto fail
;
21236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21239 (arg1
)->MakeLineControlPoints(arg2
);
21241 wxPyEndAllowThreads(__tstate
);
21242 if (PyErr_Occurred()) SWIG_fail
;
21244 Py_INCREF(Py_None
); resultobj
= Py_None
;
21251 static PyObject
*_wrap_PyLineShape_GetLineControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21252 PyObject
*resultobj
;
21253 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21255 PyObject
* obj0
= 0 ;
21256 char *kwnames
[] = {
21257 (char *) "self", NULL
21260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetLineControlPoints",kwnames
,&obj0
)) goto fail
;
21261 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21264 result
= (PyObject
*)wxPyLineShape_GetLineControlPoints(arg1
);
21266 wxPyEndAllowThreads(__tstate
);
21267 if (PyErr_Occurred()) SWIG_fail
;
21269 resultobj
= result
;
21276 static PyObject
*_wrap_PyLineShape_SetAttachmentFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21277 PyObject
*resultobj
;
21278 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21280 PyObject
* obj0
= 0 ;
21281 char *kwnames
[] = {
21282 (char *) "self",(char *) "fromAttach", NULL
21285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyLineShape_SetAttachmentFrom",kwnames
,&obj0
,&arg2
)) goto fail
;
21286 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21289 (arg1
)->SetAttachmentFrom(arg2
);
21291 wxPyEndAllowThreads(__tstate
);
21292 if (PyErr_Occurred()) SWIG_fail
;
21294 Py_INCREF(Py_None
); resultobj
= Py_None
;
21301 static PyObject
*_wrap_PyLineShape_SetAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21302 PyObject
*resultobj
;
21303 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21306 PyObject
* obj0
= 0 ;
21307 char *kwnames
[] = {
21308 (char *) "self",(char *) "fromAttach",(char *) "toAttach", NULL
21311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyLineShape_SetAttachments",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
21312 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21315 (arg1
)->SetAttachments(arg2
,arg3
);
21317 wxPyEndAllowThreads(__tstate
);
21318 if (PyErr_Occurred()) SWIG_fail
;
21320 Py_INCREF(Py_None
); resultobj
= Py_None
;
21327 static PyObject
*_wrap_PyLineShape_SetAttachmentTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21328 PyObject
*resultobj
;
21329 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21331 PyObject
* obj0
= 0 ;
21332 char *kwnames
[] = {
21333 (char *) "self",(char *) "toAttach", NULL
21336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyLineShape_SetAttachmentTo",kwnames
,&obj0
,&arg2
)) goto fail
;
21337 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21340 (arg1
)->SetAttachmentTo(arg2
);
21342 wxPyEndAllowThreads(__tstate
);
21343 if (PyErr_Occurred()) SWIG_fail
;
21345 Py_INCREF(Py_None
); resultobj
= Py_None
;
21352 static PyObject
*_wrap_PyLineShape_SetEnds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21353 PyObject
*resultobj
;
21354 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21359 PyObject
* obj0
= 0 ;
21360 char *kwnames
[] = {
21361 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
21364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odddd:PyLineShape_SetEnds",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
21365 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21368 (arg1
)->SetEnds(arg2
,arg3
,arg4
,arg5
);
21370 wxPyEndAllowThreads(__tstate
);
21371 if (PyErr_Occurred()) SWIG_fail
;
21373 Py_INCREF(Py_None
); resultobj
= Py_None
;
21380 static PyObject
*_wrap_PyLineShape_SetFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21381 PyObject
*resultobj
;
21382 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21383 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
21384 PyObject
* obj0
= 0 ;
21385 PyObject
* obj1
= 0 ;
21386 char *kwnames
[] = {
21387 (char *) "self",(char *) "object", NULL
21390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetFrom",kwnames
,&obj0
,&obj1
)) goto fail
;
21391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21392 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21395 (arg1
)->SetFrom(arg2
);
21397 wxPyEndAllowThreads(__tstate
);
21398 if (PyErr_Occurred()) SWIG_fail
;
21400 Py_INCREF(Py_None
); resultobj
= Py_None
;
21407 static PyObject
*_wrap_PyLineShape_SetIgnoreOffsets(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21408 PyObject
*resultobj
;
21409 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21411 PyObject
* obj0
= 0 ;
21412 PyObject
* obj1
= 0 ;
21413 char *kwnames
[] = {
21414 (char *) "self",(char *) "ignore", NULL
21417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetIgnoreOffsets",kwnames
,&obj0
,&obj1
)) goto fail
;
21418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21419 arg2
= PyInt_AsLong(obj1
) ? true : false;
21420 if (PyErr_Occurred()) SWIG_fail
;
21422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21423 (arg1
)->SetIgnoreOffsets(arg2
);
21425 wxPyEndAllowThreads(__tstate
);
21426 if (PyErr_Occurred()) SWIG_fail
;
21428 Py_INCREF(Py_None
); resultobj
= Py_None
;
21435 static PyObject
*_wrap_PyLineShape_SetSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21436 PyObject
*resultobj
;
21437 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21439 PyObject
* obj0
= 0 ;
21440 PyObject
* obj1
= 0 ;
21441 char *kwnames
[] = {
21442 (char *) "self",(char *) "spline", NULL
21445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
21446 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21447 arg2
= PyInt_AsLong(obj1
) ? true : false;
21448 if (PyErr_Occurred()) SWIG_fail
;
21450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21451 (arg1
)->SetSpline(arg2
);
21453 wxPyEndAllowThreads(__tstate
);
21454 if (PyErr_Occurred()) SWIG_fail
;
21456 Py_INCREF(Py_None
); resultobj
= Py_None
;
21463 static PyObject
*_wrap_PyLineShape_SetTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21464 PyObject
*resultobj
;
21465 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21466 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
21467 PyObject
* obj0
= 0 ;
21468 PyObject
* obj1
= 0 ;
21469 char *kwnames
[] = {
21470 (char *) "self",(char *) "object", NULL
21473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetTo",kwnames
,&obj0
,&obj1
)) goto fail
;
21474 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21475 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21478 (arg1
)->SetTo(arg2
);
21480 wxPyEndAllowThreads(__tstate
);
21481 if (PyErr_Occurred()) SWIG_fail
;
21483 Py_INCREF(Py_None
); resultobj
= Py_None
;
21490 static PyObject
*_wrap_PyLineShape_Straighten(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21491 PyObject
*resultobj
;
21492 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21493 wxDC
*arg2
= (wxDC
*) NULL
;
21494 PyObject
* obj0
= 0 ;
21495 PyObject
* obj1
= 0 ;
21496 char *kwnames
[] = {
21497 (char *) "self",(char *) "dc", NULL
21500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyLineShape_Straighten",kwnames
,&obj0
,&obj1
)) goto fail
;
21501 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21503 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21507 (arg1
)->Straighten(arg2
);
21509 wxPyEndAllowThreads(__tstate
);
21510 if (PyErr_Occurred()) SWIG_fail
;
21512 Py_INCREF(Py_None
); resultobj
= Py_None
;
21519 static PyObject
*_wrap_PyLineShape_Unlink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21520 PyObject
*resultobj
;
21521 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21522 PyObject
* obj0
= 0 ;
21523 char *kwnames
[] = {
21524 (char *) "self", NULL
21527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_Unlink",kwnames
,&obj0
)) goto fail
;
21528 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21533 wxPyEndAllowThreads(__tstate
);
21534 if (PyErr_Occurred()) SWIG_fail
;
21536 Py_INCREF(Py_None
); resultobj
= Py_None
;
21543 static PyObject
*_wrap_PyLineShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21544 PyObject
*resultobj
;
21545 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21547 PyObject
* obj0
= 0 ;
21548 PyObject
* obj1
= 0 ;
21549 char *kwnames
[] = {
21550 (char *) "self",(char *) "dc", NULL
21553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
21554 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21555 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21556 if (arg2
== NULL
) {
21557 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21561 (arg1
)->base_OnDraw(*arg2
);
21563 wxPyEndAllowThreads(__tstate
);
21564 if (PyErr_Occurred()) SWIG_fail
;
21566 Py_INCREF(Py_None
); resultobj
= Py_None
;
21573 static PyObject
*_wrap_PyLineShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21574 PyObject
*resultobj
;
21575 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21577 PyObject
* obj0
= 0 ;
21578 PyObject
* obj1
= 0 ;
21579 char *kwnames
[] = {
21580 (char *) "self",(char *) "dc", NULL
21583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
21584 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21585 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21586 if (arg2
== NULL
) {
21587 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21591 (arg1
)->base_OnDrawContents(*arg2
);
21593 wxPyEndAllowThreads(__tstate
);
21594 if (PyErr_Occurred()) SWIG_fail
;
21596 Py_INCREF(Py_None
); resultobj
= Py_None
;
21603 static PyObject
*_wrap_PyLineShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21604 PyObject
*resultobj
;
21605 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21607 bool arg3
= (bool) FALSE
;
21608 PyObject
* obj0
= 0 ;
21609 PyObject
* obj1
= 0 ;
21610 PyObject
* obj2
= 0 ;
21611 char *kwnames
[] = {
21612 (char *) "self",(char *) "dc",(char *) "erase", NULL
21615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLineShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21616 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21617 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21618 if (arg2
== NULL
) {
21619 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21622 arg3
= PyInt_AsLong(obj2
) ? true : false;
21623 if (PyErr_Occurred()) SWIG_fail
;
21626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21627 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
21629 wxPyEndAllowThreads(__tstate
);
21630 if (PyErr_Occurred()) SWIG_fail
;
21632 Py_INCREF(Py_None
); resultobj
= Py_None
;
21639 static PyObject
*_wrap_PyLineShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21640 PyObject
*resultobj
;
21641 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21643 PyObject
* obj0
= 0 ;
21644 PyObject
* obj1
= 0 ;
21645 char *kwnames
[] = {
21646 (char *) "self",(char *) "dc", NULL
21649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
21650 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21651 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21652 if (arg2
== NULL
) {
21653 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21657 (arg1
)->base_OnMoveLinks(*arg2
);
21659 wxPyEndAllowThreads(__tstate
);
21660 if (PyErr_Occurred()) SWIG_fail
;
21662 Py_INCREF(Py_None
); resultobj
= Py_None
;
21669 static PyObject
*_wrap_PyLineShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21670 PyObject
*resultobj
;
21671 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21673 PyObject
* obj0
= 0 ;
21674 PyObject
* obj1
= 0 ;
21675 char *kwnames
[] = {
21676 (char *) "self",(char *) "dc", NULL
21679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
21680 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21681 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21682 if (arg2
== NULL
) {
21683 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21687 (arg1
)->base_OnErase(*arg2
);
21689 wxPyEndAllowThreads(__tstate
);
21690 if (PyErr_Occurred()) SWIG_fail
;
21692 Py_INCREF(Py_None
); resultobj
= Py_None
;
21699 static PyObject
*_wrap_PyLineShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21700 PyObject
*resultobj
;
21701 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21703 PyObject
* obj0
= 0 ;
21704 PyObject
* obj1
= 0 ;
21705 char *kwnames
[] = {
21706 (char *) "self",(char *) "dc", NULL
21709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
21710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21711 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21712 if (arg2
== NULL
) {
21713 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21717 (arg1
)->base_OnEraseContents(*arg2
);
21719 wxPyEndAllowThreads(__tstate
);
21720 if (PyErr_Occurred()) SWIG_fail
;
21722 Py_INCREF(Py_None
); resultobj
= Py_None
;
21729 static PyObject
*_wrap_PyLineShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21730 PyObject
*resultobj
;
21731 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21733 PyObject
* obj0
= 0 ;
21734 PyObject
* obj1
= 0 ;
21735 char *kwnames
[] = {
21736 (char *) "self",(char *) "dc", NULL
21739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
21740 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21741 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21742 if (arg2
== NULL
) {
21743 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21747 (arg1
)->base_OnHighlight(*arg2
);
21749 wxPyEndAllowThreads(__tstate
);
21750 if (PyErr_Occurred()) SWIG_fail
;
21752 Py_INCREF(Py_None
); resultobj
= Py_None
;
21759 static PyObject
*_wrap_PyLineShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21760 PyObject
*resultobj
;
21761 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21764 int arg4
= (int) 0 ;
21765 int arg5
= (int) 0 ;
21766 PyObject
* obj0
= 0 ;
21767 char *kwnames
[] = {
21768 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyLineShape_base_OnLeftClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
21772 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21775 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
21777 wxPyEndAllowThreads(__tstate
);
21778 if (PyErr_Occurred()) SWIG_fail
;
21780 Py_INCREF(Py_None
); resultobj
= Py_None
;
21787 static PyObject
*_wrap_PyLineShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21788 PyObject
*resultobj
;
21789 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21792 int arg4
= (int) 0 ;
21793 int arg5
= (int) 0 ;
21794 PyObject
* obj0
= 0 ;
21795 char *kwnames
[] = {
21796 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyLineShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
21800 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21803 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
21805 wxPyEndAllowThreads(__tstate
);
21806 if (PyErr_Occurred()) SWIG_fail
;
21808 Py_INCREF(Py_None
); resultobj
= Py_None
;
21815 static PyObject
*_wrap_PyLineShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21816 PyObject
*resultobj
;
21817 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21820 int arg4
= (int) 0 ;
21821 int arg5
= (int) 0 ;
21822 PyObject
* obj0
= 0 ;
21823 char *kwnames
[] = {
21824 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyLineShape_base_OnRightClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
21828 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21831 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
21833 wxPyEndAllowThreads(__tstate
);
21834 if (PyErr_Occurred()) SWIG_fail
;
21836 Py_INCREF(Py_None
); resultobj
= Py_None
;
21843 static PyObject
*_wrap_PyLineShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21844 PyObject
*resultobj
;
21845 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21848 PyObject
* obj0
= 0 ;
21849 char *kwnames
[] = {
21850 (char *) "self",(char *) "x",(char *) "y", NULL
21853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyLineShape_base_OnSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
21854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21857 (arg1
)->base_OnSize(arg2
,arg3
);
21859 wxPyEndAllowThreads(__tstate
);
21860 if (PyErr_Occurred()) SWIG_fail
;
21862 Py_INCREF(Py_None
); resultobj
= Py_None
;
21869 static PyObject
*_wrap_PyLineShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21870 PyObject
*resultobj
;
21871 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21877 bool arg7
= (bool) True
;
21879 PyObject
* obj0
= 0 ;
21880 PyObject
* obj1
= 0 ;
21881 PyObject
* obj6
= 0 ;
21882 char *kwnames
[] = {
21883 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
21886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyLineShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
21887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21888 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21889 if (arg2
== NULL
) {
21890 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21893 arg7
= PyInt_AsLong(obj6
) ? true : false;
21894 if (PyErr_Occurred()) SWIG_fail
;
21897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21898 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21900 wxPyEndAllowThreads(__tstate
);
21901 if (PyErr_Occurred()) SWIG_fail
;
21903 resultobj
= PyInt_FromLong((long)result
);
21910 static PyObject
*_wrap_PyLineShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21911 PyObject
*resultobj
;
21912 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21918 bool arg7
= (bool) True
;
21919 PyObject
* obj0
= 0 ;
21920 PyObject
* obj1
= 0 ;
21921 PyObject
* obj6
= 0 ;
21922 char *kwnames
[] = {
21923 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
21926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyLineShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
21927 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21928 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21929 if (arg2
== NULL
) {
21930 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21933 arg7
= PyInt_AsLong(obj6
) ? true : false;
21934 if (PyErr_Occurred()) SWIG_fail
;
21937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21938 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21940 wxPyEndAllowThreads(__tstate
);
21941 if (PyErr_Occurred()) SWIG_fail
;
21943 Py_INCREF(Py_None
); resultobj
= Py_None
;
21950 static PyObject
*_wrap_PyLineShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21951 PyObject
*resultobj
;
21952 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21956 int arg5
= (int) 0 ;
21957 int arg6
= (int) 0 ;
21958 PyObject
* obj0
= 0 ;
21959 PyObject
* obj1
= 0 ;
21960 char *kwnames
[] = {
21961 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyLineShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
21965 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21966 arg2
= PyInt_AsLong(obj1
) ? true : false;
21967 if (PyErr_Occurred()) SWIG_fail
;
21969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21970 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
21972 wxPyEndAllowThreads(__tstate
);
21973 if (PyErr_Occurred()) SWIG_fail
;
21975 Py_INCREF(Py_None
); resultobj
= Py_None
;
21982 static PyObject
*_wrap_PyLineShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21983 PyObject
*resultobj
;
21984 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21987 int arg4
= (int) 0 ;
21988 int arg5
= (int) 0 ;
21989 PyObject
* obj0
= 0 ;
21990 char *kwnames
[] = {
21991 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyLineShape_base_OnBeginDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
21995 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21998 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
22000 wxPyEndAllowThreads(__tstate
);
22001 if (PyErr_Occurred()) SWIG_fail
;
22003 Py_INCREF(Py_None
); resultobj
= Py_None
;
22010 static PyObject
*_wrap_PyLineShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22011 PyObject
*resultobj
;
22012 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22015 int arg4
= (int) 0 ;
22016 int arg5
= (int) 0 ;
22017 PyObject
* obj0
= 0 ;
22018 char *kwnames
[] = {
22019 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyLineShape_base_OnEndDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
22023 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22026 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
22028 wxPyEndAllowThreads(__tstate
);
22029 if (PyErr_Occurred()) SWIG_fail
;
22031 Py_INCREF(Py_None
); resultobj
= Py_None
;
22038 static PyObject
*_wrap_PyLineShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22039 PyObject
*resultobj
;
22040 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22044 int arg5
= (int) 0 ;
22045 int arg6
= (int) 0 ;
22046 PyObject
* obj0
= 0 ;
22047 PyObject
* obj1
= 0 ;
22048 char *kwnames
[] = {
22049 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyLineShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
22053 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22054 arg2
= PyInt_AsLong(obj1
) ? true : false;
22055 if (PyErr_Occurred()) SWIG_fail
;
22057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22058 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
22060 wxPyEndAllowThreads(__tstate
);
22061 if (PyErr_Occurred()) SWIG_fail
;
22063 Py_INCREF(Py_None
); resultobj
= Py_None
;
22070 static PyObject
*_wrap_PyLineShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22071 PyObject
*resultobj
;
22072 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22075 int arg4
= (int) 0 ;
22076 int arg5
= (int) 0 ;
22077 PyObject
* obj0
= 0 ;
22078 char *kwnames
[] = {
22079 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyLineShape_base_OnBeginDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
22083 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22086 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
22088 wxPyEndAllowThreads(__tstate
);
22089 if (PyErr_Occurred()) SWIG_fail
;
22091 Py_INCREF(Py_None
); resultobj
= Py_None
;
22098 static PyObject
*_wrap_PyLineShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22099 PyObject
*resultobj
;
22100 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22103 int arg4
= (int) 0 ;
22104 int arg5
= (int) 0 ;
22105 PyObject
* obj0
= 0 ;
22106 char *kwnames
[] = {
22107 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyLineShape_base_OnEndDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
22111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22114 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
22116 wxPyEndAllowThreads(__tstate
);
22117 if (PyErr_Occurred()) SWIG_fail
;
22119 Py_INCREF(Py_None
); resultobj
= Py_None
;
22126 static PyObject
*_wrap_PyLineShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22127 PyObject
*resultobj
;
22128 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22134 PyObject
* obj0
= 0 ;
22135 PyObject
* obj1
= 0 ;
22136 char *kwnames
[] = {
22137 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
22140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd:PyLineShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
22141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22142 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22143 if (arg2
== NULL
) {
22144 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22148 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
22150 wxPyEndAllowThreads(__tstate
);
22151 if (PyErr_Occurred()) SWIG_fail
;
22153 Py_INCREF(Py_None
); resultobj
= Py_None
;
22160 static PyObject
*_wrap_PyLineShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22161 PyObject
*resultobj
;
22162 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22164 PyObject
* obj0
= 0 ;
22165 PyObject
* obj1
= 0 ;
22166 char *kwnames
[] = {
22167 (char *) "self",(char *) "dc", NULL
22170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
22171 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22172 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22173 if (arg2
== NULL
) {
22174 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22178 (arg1
)->base_OnDrawControlPoints(*arg2
);
22180 wxPyEndAllowThreads(__tstate
);
22181 if (PyErr_Occurred()) SWIG_fail
;
22183 Py_INCREF(Py_None
); resultobj
= Py_None
;
22190 static PyObject
*_wrap_PyLineShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22191 PyObject
*resultobj
;
22192 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22194 PyObject
* obj0
= 0 ;
22195 PyObject
* obj1
= 0 ;
22196 char *kwnames
[] = {
22197 (char *) "self",(char *) "dc", NULL
22200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
22201 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22202 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22203 if (arg2
== NULL
) {
22204 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22208 (arg1
)->base_OnEraseControlPoints(*arg2
);
22210 wxPyEndAllowThreads(__tstate
);
22211 if (PyErr_Occurred()) SWIG_fail
;
22213 Py_INCREF(Py_None
); resultobj
= Py_None
;
22220 static PyObject
*_wrap_PyLineShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22221 PyObject
*resultobj
;
22222 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22224 bool arg3
= (bool) True
;
22225 PyObject
* obj0
= 0 ;
22226 PyObject
* obj1
= 0 ;
22227 PyObject
* obj2
= 0 ;
22228 char *kwnames
[] = {
22229 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
22232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLineShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22233 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22234 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22235 if (arg2
== NULL
) {
22236 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22239 arg3
= PyInt_AsLong(obj2
) ? true : false;
22240 if (PyErr_Occurred()) SWIG_fail
;
22243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22244 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
22246 wxPyEndAllowThreads(__tstate
);
22247 if (PyErr_Occurred()) SWIG_fail
;
22249 Py_INCREF(Py_None
); resultobj
= Py_None
;
22256 static PyObject
*_wrap_PyLineShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22257 PyObject
*resultobj
;
22258 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22259 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
22263 int arg6
= (int) 0 ;
22264 int arg7
= (int) 0 ;
22265 PyObject
* obj0
= 0 ;
22266 PyObject
* obj1
= 0 ;
22267 PyObject
* obj2
= 0 ;
22268 char *kwnames
[] = {
22269 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd|ii:PyLineShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
22273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22274 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22275 arg3
= PyInt_AsLong(obj2
) ? true : false;
22276 if (PyErr_Occurred()) SWIG_fail
;
22278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22279 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22281 wxPyEndAllowThreads(__tstate
);
22282 if (PyErr_Occurred()) SWIG_fail
;
22284 Py_INCREF(Py_None
); resultobj
= Py_None
;
22291 static PyObject
*_wrap_PyLineShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22292 PyObject
*resultobj
;
22293 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22294 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
22297 int arg5
= (int) 0 ;
22298 int arg6
= (int) 0 ;
22299 PyObject
* obj0
= 0 ;
22300 PyObject
* obj1
= 0 ;
22301 char *kwnames
[] = {
22302 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyLineShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
22306 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22307 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22310 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
22312 wxPyEndAllowThreads(__tstate
);
22313 if (PyErr_Occurred()) SWIG_fail
;
22315 Py_INCREF(Py_None
); resultobj
= Py_None
;
22322 static PyObject
*_wrap_PyLineShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22323 PyObject
*resultobj
;
22324 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22325 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
22328 int arg5
= (int) 0 ;
22329 int arg6
= (int) 0 ;
22330 PyObject
* obj0
= 0 ;
22331 PyObject
* obj1
= 0 ;
22332 char *kwnames
[] = {
22333 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyLineShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
22337 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22338 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22341 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
22343 wxPyEndAllowThreads(__tstate
);
22344 if (PyErr_Occurred()) SWIG_fail
;
22346 Py_INCREF(Py_None
); resultobj
= Py_None
;
22353 static PyObject
*_wrap_PyLineShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22354 PyObject
*resultobj
;
22355 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22358 PyObject
* obj0
= 0 ;
22359 char *kwnames
[] = {
22360 (char *) "self",(char *) "w",(char *) "h", NULL
22363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyLineShape_base_OnBeginSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
22364 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22367 (arg1
)->base_OnBeginSize(arg2
,arg3
);
22369 wxPyEndAllowThreads(__tstate
);
22370 if (PyErr_Occurred()) SWIG_fail
;
22372 Py_INCREF(Py_None
); resultobj
= Py_None
;
22379 static PyObject
*_wrap_PyLineShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22380 PyObject
*resultobj
;
22381 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22384 PyObject
* obj0
= 0 ;
22385 char *kwnames
[] = {
22386 (char *) "self",(char *) "w",(char *) "h", NULL
22389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyLineShape_base_OnEndSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
22390 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22393 (arg1
)->base_OnEndSize(arg2
,arg3
);
22395 wxPyEndAllowThreads(__tstate
);
22396 if (PyErr_Occurred()) SWIG_fail
;
22398 Py_INCREF(Py_None
); resultobj
= Py_None
;
22405 static PyObject
* PyLineShape_swigregister(PyObject
*self
, PyObject
*args
) {
22407 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22408 SWIG_TypeClientData(SWIGTYPE_p_wxPyLineShape
, obj
);
22410 return Py_BuildValue((char *)"");
22412 static PyObject
*_wrap_new_PyPolygonShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22413 PyObject
*resultobj
;
22414 wxPyPolygonShape
*result
;
22415 char *kwnames
[] = {
22419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyPolygonShape",kwnames
)) goto fail
;
22421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22422 result
= (wxPyPolygonShape
*)new wxPyPolygonShape();
22424 wxPyEndAllowThreads(__tstate
);
22425 if (PyErr_Occurred()) SWIG_fail
;
22427 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPolygonShape
, 1);
22434 static PyObject
*_wrap_PyPolygonShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22435 PyObject
*resultobj
;
22436 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
22437 PyObject
*arg2
= (PyObject
*) 0 ;
22438 PyObject
*arg3
= (PyObject
*) 0 ;
22439 PyObject
* obj0
= 0 ;
22440 PyObject
* obj1
= 0 ;
22441 PyObject
* obj2
= 0 ;
22442 char *kwnames
[] = {
22443 (char *) "self",(char *) "self",(char *) "_class", NULL
22446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPolygonShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22447 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22452 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22454 wxPyEndAllowThreads(__tstate
);
22455 if (PyErr_Occurred()) SWIG_fail
;
22457 Py_INCREF(Py_None
); resultobj
= Py_None
;
22464 static PyObject
*_wrap_PyPolygonShape_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22465 PyObject
*resultobj
;
22466 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
22467 PyObject
*arg2
= (PyObject
*) 0 ;
22469 PyObject
* obj0
= 0 ;
22470 PyObject
* obj1
= 0 ;
22471 char *kwnames
[] = {
22472 (char *) "self",(char *) "points", NULL
22475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
22476 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22480 result
= (PyObject
*)wxPyPolygonShape_Create(arg1
,arg2
);
22482 wxPyEndAllowThreads(__tstate
);
22483 if (PyErr_Occurred()) SWIG_fail
;
22485 resultobj
= result
;
22492 static PyObject
*_wrap_PyPolygonShape_AddPolygonPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22493 PyObject
*resultobj
;
22494 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
22495 int arg2
= (int) 0 ;
22496 PyObject
* obj0
= 0 ;
22497 char *kwnames
[] = {
22498 (char *) "self",(char *) "pos", NULL
22501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:PyPolygonShape_AddPolygonPoint",kwnames
,&obj0
,&arg2
)) goto fail
;
22502 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22505 (arg1
)->AddPolygonPoint(arg2
);
22507 wxPyEndAllowThreads(__tstate
);
22508 if (PyErr_Occurred()) SWIG_fail
;
22510 Py_INCREF(Py_None
); resultobj
= Py_None
;
22517 static PyObject
*_wrap_PyPolygonShape_CalculatePolygonCentre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22518 PyObject
*resultobj
;
22519 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
22520 PyObject
* obj0
= 0 ;
22521 char *kwnames
[] = {
22522 (char *) "self", NULL
22525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_CalculatePolygonCentre",kwnames
,&obj0
)) goto fail
;
22526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22529 (arg1
)->CalculatePolygonCentre();
22531 wxPyEndAllowThreads(__tstate
);
22532 if (PyErr_Occurred()) SWIG_fail
;
22534 Py_INCREF(Py_None
); resultobj
= Py_None
;
22541 static PyObject
*_wrap_PyPolygonShape_DeletePolygonPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22542 PyObject
*resultobj
;
22543 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
22544 int arg2
= (int) 0 ;
22545 PyObject
* obj0
= 0 ;
22546 char *kwnames
[] = {
22547 (char *) "self",(char *) "pos", NULL
22550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:PyPolygonShape_DeletePolygonPoint",kwnames
,&obj0
,&arg2
)) goto fail
;
22551 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22554 (arg1
)->DeletePolygonPoint(arg2
);
22556 wxPyEndAllowThreads(__tstate
);
22557 if (PyErr_Occurred()) SWIG_fail
;
22559 Py_INCREF(Py_None
); resultobj
= Py_None
;
22566 static PyObject
*_wrap_PyPolygonShape_GetPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22567 PyObject
*resultobj
;
22568 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
22570 PyObject
* obj0
= 0 ;
22571 char *kwnames
[] = {
22572 (char *) "self", NULL
22575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_GetPoints",kwnames
,&obj0
)) goto fail
;
22576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22579 result
= (PyObject
*)wxPyPolygonShape_GetPoints(arg1
);
22581 wxPyEndAllowThreads(__tstate
);
22582 if (PyErr_Occurred()) SWIG_fail
;
22584 resultobj
= result
;
22591 static PyObject
*_wrap_PyPolygonShape_UpdateOriginalPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22592 PyObject
*resultobj
;
22593 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
22594 PyObject
* obj0
= 0 ;
22595 char *kwnames
[] = {
22596 (char *) "self", NULL
22599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_UpdateOriginalPoints",kwnames
,&obj0
)) goto fail
;
22600 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22603 (arg1
)->UpdateOriginalPoints();
22605 wxPyEndAllowThreads(__tstate
);
22606 if (PyErr_Occurred()) SWIG_fail
;
22608 Py_INCREF(Py_None
); resultobj
= Py_None
;
22615 static PyObject
*_wrap_PyPolygonShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22616 PyObject
*resultobj
;
22617 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
22619 PyObject
* obj0
= 0 ;
22620 PyObject
* obj1
= 0 ;
22621 char *kwnames
[] = {
22622 (char *) "self",(char *) "dc", NULL
22625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
22626 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22627 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22628 if (arg2
== NULL
) {
22629 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22633 (arg1
)->base_OnDraw(*arg2
);
22635 wxPyEndAllowThreads(__tstate
);
22636 if (PyErr_Occurred()) SWIG_fail
;
22638 Py_INCREF(Py_None
); resultobj
= Py_None
;
22645 static PyObject
*_wrap_PyPolygonShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22646 PyObject
*resultobj
;
22647 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
22649 PyObject
* obj0
= 0 ;
22650 PyObject
* obj1
= 0 ;
22651 char *kwnames
[] = {
22652 (char *) "self",(char *) "dc", NULL
22655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
22656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22657 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22658 if (arg2
== NULL
) {
22659 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22663 (arg1
)->base_OnDrawContents(*arg2
);
22665 wxPyEndAllowThreads(__tstate
);
22666 if (PyErr_Occurred()) SWIG_fail
;
22668 Py_INCREF(Py_None
); resultobj
= Py_None
;
22675 static PyObject
*_wrap_PyPolygonShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22676 PyObject
*resultobj
;
22677 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
22679 bool arg3
= (bool) FALSE
;
22680 PyObject
* obj0
= 0 ;
22681 PyObject
* obj1
= 0 ;
22682 PyObject
* obj2
= 0 ;
22683 char *kwnames
[] = {
22684 (char *) "self",(char *) "dc",(char *) "erase", NULL
22687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyPolygonShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22688 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22689 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22690 if (arg2
== NULL
) {
22691 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22694 arg3
= PyInt_AsLong(obj2
) ? true : false;
22695 if (PyErr_Occurred()) SWIG_fail
;
22698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22699 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
22701 wxPyEndAllowThreads(__tstate
);
22702 if (PyErr_Occurred()) SWIG_fail
;
22704 Py_INCREF(Py_None
); resultobj
= Py_None
;
22711 static PyObject
*_wrap_PyPolygonShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22712 PyObject
*resultobj
;
22713 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
22715 PyObject
* obj0
= 0 ;
22716 PyObject
* obj1
= 0 ;
22717 char *kwnames
[] = {
22718 (char *) "self",(char *) "dc", NULL
22721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
22722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22723 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22724 if (arg2
== NULL
) {
22725 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22729 (arg1
)->base_OnMoveLinks(*arg2
);
22731 wxPyEndAllowThreads(__tstate
);
22732 if (PyErr_Occurred()) SWIG_fail
;
22734 Py_INCREF(Py_None
); resultobj
= Py_None
;
22741 static PyObject
*_wrap_PyPolygonShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22742 PyObject
*resultobj
;
22743 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
22745 PyObject
* obj0
= 0 ;
22746 PyObject
* obj1
= 0 ;
22747 char *kwnames
[] = {
22748 (char *) "self",(char *) "dc", NULL
22751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
22752 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22753 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22754 if (arg2
== NULL
) {
22755 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22759 (arg1
)->base_OnErase(*arg2
);
22761 wxPyEndAllowThreads(__tstate
);
22762 if (PyErr_Occurred()) SWIG_fail
;
22764 Py_INCREF(Py_None
); resultobj
= Py_None
;
22771 static PyObject
*_wrap_PyPolygonShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22772 PyObject
*resultobj
;
22773 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
22775 PyObject
* obj0
= 0 ;
22776 PyObject
* obj1
= 0 ;
22777 char *kwnames
[] = {
22778 (char *) "self",(char *) "dc", NULL
22781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
22782 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22783 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22784 if (arg2
== NULL
) {
22785 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22789 (arg1
)->base_OnEraseContents(*arg2
);
22791 wxPyEndAllowThreads(__tstate
);
22792 if (PyErr_Occurred()) SWIG_fail
;
22794 Py_INCREF(Py_None
); resultobj
= Py_None
;
22801 static PyObject
*_wrap_PyPolygonShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22802 PyObject
*resultobj
;
22803 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
22805 PyObject
* obj0
= 0 ;
22806 PyObject
* obj1
= 0 ;
22807 char *kwnames
[] = {
22808 (char *) "self",(char *) "dc", NULL
22811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
22812 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22813 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22814 if (arg2
== NULL
) {
22815 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22819 (arg1
)->base_OnHighlight(*arg2
);
22821 wxPyEndAllowThreads(__tstate
);
22822 if (PyErr_Occurred()) SWIG_fail
;
22824 Py_INCREF(Py_None
); resultobj
= Py_None
;
22831 static PyObject
*_wrap_PyPolygonShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22832 PyObject
*resultobj
;
22833 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
22836 int arg4
= (int) 0 ;
22837 int arg5
= (int) 0 ;
22838 PyObject
* obj0
= 0 ;
22839 char *kwnames
[] = {
22840 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyPolygonShape_base_OnLeftClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
22844 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22847 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
22849 wxPyEndAllowThreads(__tstate
);
22850 if (PyErr_Occurred()) SWIG_fail
;
22852 Py_INCREF(Py_None
); resultobj
= Py_None
;
22859 static PyObject
*_wrap_PyPolygonShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22860 PyObject
*resultobj
;
22861 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
22864 int arg4
= (int) 0 ;
22865 int arg5
= (int) 0 ;
22866 PyObject
* obj0
= 0 ;
22867 char *kwnames
[] = {
22868 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyPolygonShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
22872 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22875 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
22877 wxPyEndAllowThreads(__tstate
);
22878 if (PyErr_Occurred()) SWIG_fail
;
22880 Py_INCREF(Py_None
); resultobj
= Py_None
;
22887 static PyObject
*_wrap_PyPolygonShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22888 PyObject
*resultobj
;
22889 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
22892 int arg4
= (int) 0 ;
22893 int arg5
= (int) 0 ;
22894 PyObject
* obj0
= 0 ;
22895 char *kwnames
[] = {
22896 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyPolygonShape_base_OnRightClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
22900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22903 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
22905 wxPyEndAllowThreads(__tstate
);
22906 if (PyErr_Occurred()) SWIG_fail
;
22908 Py_INCREF(Py_None
); resultobj
= Py_None
;
22915 static PyObject
*_wrap_PyPolygonShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22916 PyObject
*resultobj
;
22917 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
22920 PyObject
* obj0
= 0 ;
22921 char *kwnames
[] = {
22922 (char *) "self",(char *) "x",(char *) "y", NULL
22925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyPolygonShape_base_OnSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
22926 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22929 (arg1
)->base_OnSize(arg2
,arg3
);
22931 wxPyEndAllowThreads(__tstate
);
22932 if (PyErr_Occurred()) SWIG_fail
;
22934 Py_INCREF(Py_None
); resultobj
= Py_None
;
22941 static PyObject
*_wrap_PyPolygonShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22942 PyObject
*resultobj
;
22943 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
22949 bool arg7
= (bool) True
;
22951 PyObject
* obj0
= 0 ;
22952 PyObject
* obj1
= 0 ;
22953 PyObject
* obj6
= 0 ;
22954 char *kwnames
[] = {
22955 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
22958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyPolygonShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
22959 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22960 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22961 if (arg2
== NULL
) {
22962 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22965 arg7
= PyInt_AsLong(obj6
) ? true : false;
22966 if (PyErr_Occurred()) SWIG_fail
;
22969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22970 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22972 wxPyEndAllowThreads(__tstate
);
22973 if (PyErr_Occurred()) SWIG_fail
;
22975 resultobj
= PyInt_FromLong((long)result
);
22982 static PyObject
*_wrap_PyPolygonShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22983 PyObject
*resultobj
;
22984 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
22990 bool arg7
= (bool) True
;
22991 PyObject
* obj0
= 0 ;
22992 PyObject
* obj1
= 0 ;
22993 PyObject
* obj6
= 0 ;
22994 char *kwnames
[] = {
22995 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
22998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyPolygonShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
22999 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23000 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23001 if (arg2
== NULL
) {
23002 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23005 arg7
= PyInt_AsLong(obj6
) ? true : false;
23006 if (PyErr_Occurred()) SWIG_fail
;
23009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23010 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23012 wxPyEndAllowThreads(__tstate
);
23013 if (PyErr_Occurred()) SWIG_fail
;
23015 Py_INCREF(Py_None
); resultobj
= Py_None
;
23022 static PyObject
*_wrap_PyPolygonShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23023 PyObject
*resultobj
;
23024 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23028 int arg5
= (int) 0 ;
23029 int arg6
= (int) 0 ;
23030 PyObject
* obj0
= 0 ;
23031 PyObject
* obj1
= 0 ;
23032 char *kwnames
[] = {
23033 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyPolygonShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
23037 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23038 arg2
= PyInt_AsLong(obj1
) ? true : false;
23039 if (PyErr_Occurred()) SWIG_fail
;
23041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23042 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
23044 wxPyEndAllowThreads(__tstate
);
23045 if (PyErr_Occurred()) SWIG_fail
;
23047 Py_INCREF(Py_None
); resultobj
= Py_None
;
23054 static PyObject
*_wrap_PyPolygonShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23055 PyObject
*resultobj
;
23056 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23059 int arg4
= (int) 0 ;
23060 int arg5
= (int) 0 ;
23061 PyObject
* obj0
= 0 ;
23062 char *kwnames
[] = {
23063 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyPolygonShape_base_OnBeginDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
23067 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23070 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
23072 wxPyEndAllowThreads(__tstate
);
23073 if (PyErr_Occurred()) SWIG_fail
;
23075 Py_INCREF(Py_None
); resultobj
= Py_None
;
23082 static PyObject
*_wrap_PyPolygonShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23083 PyObject
*resultobj
;
23084 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23087 int arg4
= (int) 0 ;
23088 int arg5
= (int) 0 ;
23089 PyObject
* obj0
= 0 ;
23090 char *kwnames
[] = {
23091 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyPolygonShape_base_OnEndDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
23095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23098 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
23100 wxPyEndAllowThreads(__tstate
);
23101 if (PyErr_Occurred()) SWIG_fail
;
23103 Py_INCREF(Py_None
); resultobj
= Py_None
;
23110 static PyObject
*_wrap_PyPolygonShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23111 PyObject
*resultobj
;
23112 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23116 int arg5
= (int) 0 ;
23117 int arg6
= (int) 0 ;
23118 PyObject
* obj0
= 0 ;
23119 PyObject
* obj1
= 0 ;
23120 char *kwnames
[] = {
23121 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyPolygonShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
23125 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23126 arg2
= PyInt_AsLong(obj1
) ? true : false;
23127 if (PyErr_Occurred()) SWIG_fail
;
23129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23130 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
23132 wxPyEndAllowThreads(__tstate
);
23133 if (PyErr_Occurred()) SWIG_fail
;
23135 Py_INCREF(Py_None
); resultobj
= Py_None
;
23142 static PyObject
*_wrap_PyPolygonShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23143 PyObject
*resultobj
;
23144 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23147 int arg4
= (int) 0 ;
23148 int arg5
= (int) 0 ;
23149 PyObject
* obj0
= 0 ;
23150 char *kwnames
[] = {
23151 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyPolygonShape_base_OnBeginDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
23155 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23158 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
23160 wxPyEndAllowThreads(__tstate
);
23161 if (PyErr_Occurred()) SWIG_fail
;
23163 Py_INCREF(Py_None
); resultobj
= Py_None
;
23170 static PyObject
*_wrap_PyPolygonShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23171 PyObject
*resultobj
;
23172 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23175 int arg4
= (int) 0 ;
23176 int arg5
= (int) 0 ;
23177 PyObject
* obj0
= 0 ;
23178 char *kwnames
[] = {
23179 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyPolygonShape_base_OnEndDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
23183 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23186 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
23188 wxPyEndAllowThreads(__tstate
);
23189 if (PyErr_Occurred()) SWIG_fail
;
23191 Py_INCREF(Py_None
); resultobj
= Py_None
;
23198 static PyObject
*_wrap_PyPolygonShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23199 PyObject
*resultobj
;
23200 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23206 PyObject
* obj0
= 0 ;
23207 PyObject
* obj1
= 0 ;
23208 char *kwnames
[] = {
23209 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
23212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd:PyPolygonShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
23213 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23214 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23215 if (arg2
== NULL
) {
23216 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23220 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
23222 wxPyEndAllowThreads(__tstate
);
23223 if (PyErr_Occurred()) SWIG_fail
;
23225 Py_INCREF(Py_None
); resultobj
= Py_None
;
23232 static PyObject
*_wrap_PyPolygonShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23233 PyObject
*resultobj
;
23234 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23236 PyObject
* obj0
= 0 ;
23237 PyObject
* obj1
= 0 ;
23238 char *kwnames
[] = {
23239 (char *) "self",(char *) "dc", NULL
23242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
23243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23244 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23245 if (arg2
== NULL
) {
23246 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23250 (arg1
)->base_OnDrawControlPoints(*arg2
);
23252 wxPyEndAllowThreads(__tstate
);
23253 if (PyErr_Occurred()) SWIG_fail
;
23255 Py_INCREF(Py_None
); resultobj
= Py_None
;
23262 static PyObject
*_wrap_PyPolygonShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23263 PyObject
*resultobj
;
23264 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23266 PyObject
* obj0
= 0 ;
23267 PyObject
* obj1
= 0 ;
23268 char *kwnames
[] = {
23269 (char *) "self",(char *) "dc", NULL
23272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
23273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23274 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23275 if (arg2
== NULL
) {
23276 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23280 (arg1
)->base_OnEraseControlPoints(*arg2
);
23282 wxPyEndAllowThreads(__tstate
);
23283 if (PyErr_Occurred()) SWIG_fail
;
23285 Py_INCREF(Py_None
); resultobj
= Py_None
;
23292 static PyObject
*_wrap_PyPolygonShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23293 PyObject
*resultobj
;
23294 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23296 bool arg3
= (bool) True
;
23297 PyObject
* obj0
= 0 ;
23298 PyObject
* obj1
= 0 ;
23299 PyObject
* obj2
= 0 ;
23300 char *kwnames
[] = {
23301 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
23304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyPolygonShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23305 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23306 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23307 if (arg2
== NULL
) {
23308 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23311 arg3
= PyInt_AsLong(obj2
) ? true : false;
23312 if (PyErr_Occurred()) SWIG_fail
;
23315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23316 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
23318 wxPyEndAllowThreads(__tstate
);
23319 if (PyErr_Occurred()) SWIG_fail
;
23321 Py_INCREF(Py_None
); resultobj
= Py_None
;
23328 static PyObject
*_wrap_PyPolygonShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23329 PyObject
*resultobj
;
23330 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23331 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
23335 int arg6
= (int) 0 ;
23336 int arg7
= (int) 0 ;
23337 PyObject
* obj0
= 0 ;
23338 PyObject
* obj1
= 0 ;
23339 PyObject
* obj2
= 0 ;
23340 char *kwnames
[] = {
23341 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd|ii:PyPolygonShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
23345 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23346 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23347 arg3
= PyInt_AsLong(obj2
) ? true : false;
23348 if (PyErr_Occurred()) SWIG_fail
;
23350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23351 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23353 wxPyEndAllowThreads(__tstate
);
23354 if (PyErr_Occurred()) SWIG_fail
;
23356 Py_INCREF(Py_None
); resultobj
= Py_None
;
23363 static PyObject
*_wrap_PyPolygonShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23364 PyObject
*resultobj
;
23365 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23366 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
23369 int arg5
= (int) 0 ;
23370 int arg6
= (int) 0 ;
23371 PyObject
* obj0
= 0 ;
23372 PyObject
* obj1
= 0 ;
23373 char *kwnames
[] = {
23374 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyPolygonShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
23378 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23379 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23382 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
23384 wxPyEndAllowThreads(__tstate
);
23385 if (PyErr_Occurred()) SWIG_fail
;
23387 Py_INCREF(Py_None
); resultobj
= Py_None
;
23394 static PyObject
*_wrap_PyPolygonShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23395 PyObject
*resultobj
;
23396 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23397 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
23400 int arg5
= (int) 0 ;
23401 int arg6
= (int) 0 ;
23402 PyObject
* obj0
= 0 ;
23403 PyObject
* obj1
= 0 ;
23404 char *kwnames
[] = {
23405 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyPolygonShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
23409 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23410 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23413 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
23415 wxPyEndAllowThreads(__tstate
);
23416 if (PyErr_Occurred()) SWIG_fail
;
23418 Py_INCREF(Py_None
); resultobj
= Py_None
;
23425 static PyObject
*_wrap_PyPolygonShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23426 PyObject
*resultobj
;
23427 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23430 PyObject
* obj0
= 0 ;
23431 char *kwnames
[] = {
23432 (char *) "self",(char *) "w",(char *) "h", NULL
23435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyPolygonShape_base_OnBeginSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
23436 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23439 (arg1
)->base_OnBeginSize(arg2
,arg3
);
23441 wxPyEndAllowThreads(__tstate
);
23442 if (PyErr_Occurred()) SWIG_fail
;
23444 Py_INCREF(Py_None
); resultobj
= Py_None
;
23451 static PyObject
*_wrap_PyPolygonShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23452 PyObject
*resultobj
;
23453 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23456 PyObject
* obj0
= 0 ;
23457 char *kwnames
[] = {
23458 (char *) "self",(char *) "w",(char *) "h", NULL
23461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyPolygonShape_base_OnEndSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
23462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23465 (arg1
)->base_OnEndSize(arg2
,arg3
);
23467 wxPyEndAllowThreads(__tstate
);
23468 if (PyErr_Occurred()) SWIG_fail
;
23470 Py_INCREF(Py_None
); resultobj
= Py_None
;
23477 static PyObject
* PyPolygonShape_swigregister(PyObject
*self
, PyObject
*args
) {
23479 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23480 SWIG_TypeClientData(SWIGTYPE_p_wxPyPolygonShape
, obj
);
23482 return Py_BuildValue((char *)"");
23484 static PyObject
*_wrap_new_PyTextShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23485 PyObject
*resultobj
;
23486 double arg1
= (double) 0.0 ;
23487 double arg2
= (double) 0.0 ;
23488 wxPyTextShape
*result
;
23489 char *kwnames
[] = {
23490 (char *) "width",(char *) "height", NULL
23493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|dd:new_PyTextShape",kwnames
,&arg1
,&arg2
)) goto fail
;
23495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23496 result
= (wxPyTextShape
*)new wxPyTextShape(arg1
,arg2
);
23498 wxPyEndAllowThreads(__tstate
);
23499 if (PyErr_Occurred()) SWIG_fail
;
23501 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTextShape
, 1);
23508 static PyObject
*_wrap_PyTextShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23509 PyObject
*resultobj
;
23510 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
23511 PyObject
*arg2
= (PyObject
*) 0 ;
23512 PyObject
*arg3
= (PyObject
*) 0 ;
23513 PyObject
* obj0
= 0 ;
23514 PyObject
* obj1
= 0 ;
23515 PyObject
* obj2
= 0 ;
23516 char *kwnames
[] = {
23517 (char *) "self",(char *) "self",(char *) "_class", NULL
23520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23526 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23528 wxPyEndAllowThreads(__tstate
);
23529 if (PyErr_Occurred()) SWIG_fail
;
23531 Py_INCREF(Py_None
); resultobj
= Py_None
;
23538 static PyObject
*_wrap_PyTextShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23539 PyObject
*resultobj
;
23540 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
23541 PyObject
* obj0
= 0 ;
23542 char *kwnames
[] = {
23543 (char *) "self", NULL
23546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyTextShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
23547 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23550 (arg1
)->base_OnDelete();
23552 wxPyEndAllowThreads(__tstate
);
23553 if (PyErr_Occurred()) SWIG_fail
;
23555 Py_INCREF(Py_None
); resultobj
= Py_None
;
23562 static PyObject
*_wrap_PyTextShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23563 PyObject
*resultobj
;
23564 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
23566 PyObject
* obj0
= 0 ;
23567 PyObject
* obj1
= 0 ;
23568 char *kwnames
[] = {
23569 (char *) "self",(char *) "dc", NULL
23572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
23573 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23574 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23575 if (arg2
== NULL
) {
23576 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23580 (arg1
)->base_OnDraw(*arg2
);
23582 wxPyEndAllowThreads(__tstate
);
23583 if (PyErr_Occurred()) SWIG_fail
;
23585 Py_INCREF(Py_None
); resultobj
= Py_None
;
23592 static PyObject
*_wrap_PyTextShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23593 PyObject
*resultobj
;
23594 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
23596 PyObject
* obj0
= 0 ;
23597 PyObject
* obj1
= 0 ;
23598 char *kwnames
[] = {
23599 (char *) "self",(char *) "dc", NULL
23602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
23603 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23604 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23605 if (arg2
== NULL
) {
23606 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23610 (arg1
)->base_OnDrawContents(*arg2
);
23612 wxPyEndAllowThreads(__tstate
);
23613 if (PyErr_Occurred()) SWIG_fail
;
23615 Py_INCREF(Py_None
); resultobj
= Py_None
;
23622 static PyObject
*_wrap_PyTextShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23623 PyObject
*resultobj
;
23624 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
23626 bool arg3
= (bool) FALSE
;
23627 PyObject
* obj0
= 0 ;
23628 PyObject
* obj1
= 0 ;
23629 PyObject
* obj2
= 0 ;
23630 char *kwnames
[] = {
23631 (char *) "self",(char *) "dc",(char *) "erase", NULL
23634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyTextShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23635 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23636 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23637 if (arg2
== NULL
) {
23638 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23641 arg3
= PyInt_AsLong(obj2
) ? true : false;
23642 if (PyErr_Occurred()) SWIG_fail
;
23645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23646 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
23648 wxPyEndAllowThreads(__tstate
);
23649 if (PyErr_Occurred()) SWIG_fail
;
23651 Py_INCREF(Py_None
); resultobj
= Py_None
;
23658 static PyObject
*_wrap_PyTextShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23659 PyObject
*resultobj
;
23660 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
23662 PyObject
* obj0
= 0 ;
23663 PyObject
* obj1
= 0 ;
23664 char *kwnames
[] = {
23665 (char *) "self",(char *) "dc", NULL
23668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
23669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23670 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23671 if (arg2
== NULL
) {
23672 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23676 (arg1
)->base_OnMoveLinks(*arg2
);
23678 wxPyEndAllowThreads(__tstate
);
23679 if (PyErr_Occurred()) SWIG_fail
;
23681 Py_INCREF(Py_None
); resultobj
= Py_None
;
23688 static PyObject
*_wrap_PyTextShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23689 PyObject
*resultobj
;
23690 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
23692 PyObject
* obj0
= 0 ;
23693 PyObject
* obj1
= 0 ;
23694 char *kwnames
[] = {
23695 (char *) "self",(char *) "dc", NULL
23698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
23699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23700 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23701 if (arg2
== NULL
) {
23702 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23706 (arg1
)->base_OnErase(*arg2
);
23708 wxPyEndAllowThreads(__tstate
);
23709 if (PyErr_Occurred()) SWIG_fail
;
23711 Py_INCREF(Py_None
); resultobj
= Py_None
;
23718 static PyObject
*_wrap_PyTextShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23719 PyObject
*resultobj
;
23720 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
23722 PyObject
* obj0
= 0 ;
23723 PyObject
* obj1
= 0 ;
23724 char *kwnames
[] = {
23725 (char *) "self",(char *) "dc", NULL
23728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
23729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23730 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23731 if (arg2
== NULL
) {
23732 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23736 (arg1
)->base_OnEraseContents(*arg2
);
23738 wxPyEndAllowThreads(__tstate
);
23739 if (PyErr_Occurred()) SWIG_fail
;
23741 Py_INCREF(Py_None
); resultobj
= Py_None
;
23748 static PyObject
*_wrap_PyTextShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23749 PyObject
*resultobj
;
23750 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
23752 PyObject
* obj0
= 0 ;
23753 PyObject
* obj1
= 0 ;
23754 char *kwnames
[] = {
23755 (char *) "self",(char *) "dc", NULL
23758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
23759 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23760 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23761 if (arg2
== NULL
) {
23762 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23766 (arg1
)->base_OnHighlight(*arg2
);
23768 wxPyEndAllowThreads(__tstate
);
23769 if (PyErr_Occurred()) SWIG_fail
;
23771 Py_INCREF(Py_None
); resultobj
= Py_None
;
23778 static PyObject
*_wrap_PyTextShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23779 PyObject
*resultobj
;
23780 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
23783 int arg4
= (int) 0 ;
23784 int arg5
= (int) 0 ;
23785 PyObject
* obj0
= 0 ;
23786 char *kwnames
[] = {
23787 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyTextShape_base_OnLeftClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
23791 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23794 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
23796 wxPyEndAllowThreads(__tstate
);
23797 if (PyErr_Occurred()) SWIG_fail
;
23799 Py_INCREF(Py_None
); resultobj
= Py_None
;
23806 static PyObject
*_wrap_PyTextShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23807 PyObject
*resultobj
;
23808 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
23811 int arg4
= (int) 0 ;
23812 int arg5
= (int) 0 ;
23813 PyObject
* obj0
= 0 ;
23814 char *kwnames
[] = {
23815 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyTextShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
23819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23822 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
23824 wxPyEndAllowThreads(__tstate
);
23825 if (PyErr_Occurred()) SWIG_fail
;
23827 Py_INCREF(Py_None
); resultobj
= Py_None
;
23834 static PyObject
*_wrap_PyTextShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23835 PyObject
*resultobj
;
23836 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
23839 int arg4
= (int) 0 ;
23840 int arg5
= (int) 0 ;
23841 PyObject
* obj0
= 0 ;
23842 char *kwnames
[] = {
23843 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyTextShape_base_OnRightClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
23847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23850 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
23852 wxPyEndAllowThreads(__tstate
);
23853 if (PyErr_Occurred()) SWIG_fail
;
23855 Py_INCREF(Py_None
); resultobj
= Py_None
;
23862 static PyObject
*_wrap_PyTextShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23863 PyObject
*resultobj
;
23864 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
23867 PyObject
* obj0
= 0 ;
23868 char *kwnames
[] = {
23869 (char *) "self",(char *) "x",(char *) "y", NULL
23872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyTextShape_base_OnSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
23873 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23876 (arg1
)->base_OnSize(arg2
,arg3
);
23878 wxPyEndAllowThreads(__tstate
);
23879 if (PyErr_Occurred()) SWIG_fail
;
23881 Py_INCREF(Py_None
); resultobj
= Py_None
;
23888 static PyObject
*_wrap_PyTextShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23889 PyObject
*resultobj
;
23890 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
23896 bool arg7
= (bool) True
;
23898 PyObject
* obj0
= 0 ;
23899 PyObject
* obj1
= 0 ;
23900 PyObject
* obj6
= 0 ;
23901 char *kwnames
[] = {
23902 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
23905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyTextShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
23906 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23907 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23908 if (arg2
== NULL
) {
23909 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23912 arg7
= PyInt_AsLong(obj6
) ? true : false;
23913 if (PyErr_Occurred()) SWIG_fail
;
23916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23917 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23919 wxPyEndAllowThreads(__tstate
);
23920 if (PyErr_Occurred()) SWIG_fail
;
23922 resultobj
= PyInt_FromLong((long)result
);
23929 static PyObject
*_wrap_PyTextShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23930 PyObject
*resultobj
;
23931 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
23937 bool arg7
= (bool) True
;
23938 PyObject
* obj0
= 0 ;
23939 PyObject
* obj1
= 0 ;
23940 PyObject
* obj6
= 0 ;
23941 char *kwnames
[] = {
23942 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
23945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyTextShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
23946 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23947 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23948 if (arg2
== NULL
) {
23949 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23952 arg7
= PyInt_AsLong(obj6
) ? true : false;
23953 if (PyErr_Occurred()) SWIG_fail
;
23956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23957 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23959 wxPyEndAllowThreads(__tstate
);
23960 if (PyErr_Occurred()) SWIG_fail
;
23962 Py_INCREF(Py_None
); resultobj
= Py_None
;
23969 static PyObject
*_wrap_PyTextShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23970 PyObject
*resultobj
;
23971 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
23975 int arg5
= (int) 0 ;
23976 int arg6
= (int) 0 ;
23977 PyObject
* obj0
= 0 ;
23978 PyObject
* obj1
= 0 ;
23979 char *kwnames
[] = {
23980 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyTextShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
23984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23985 arg2
= PyInt_AsLong(obj1
) ? true : false;
23986 if (PyErr_Occurred()) SWIG_fail
;
23988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23989 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
23991 wxPyEndAllowThreads(__tstate
);
23992 if (PyErr_Occurred()) SWIG_fail
;
23994 Py_INCREF(Py_None
); resultobj
= Py_None
;
24001 static PyObject
*_wrap_PyTextShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24002 PyObject
*resultobj
;
24003 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24006 int arg4
= (int) 0 ;
24007 int arg5
= (int) 0 ;
24008 PyObject
* obj0
= 0 ;
24009 char *kwnames
[] = {
24010 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyTextShape_base_OnBeginDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
24014 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24017 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
24019 wxPyEndAllowThreads(__tstate
);
24020 if (PyErr_Occurred()) SWIG_fail
;
24022 Py_INCREF(Py_None
); resultobj
= Py_None
;
24029 static PyObject
*_wrap_PyTextShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24030 PyObject
*resultobj
;
24031 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24034 int arg4
= (int) 0 ;
24035 int arg5
= (int) 0 ;
24036 PyObject
* obj0
= 0 ;
24037 char *kwnames
[] = {
24038 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyTextShape_base_OnEndDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
24042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24045 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
24047 wxPyEndAllowThreads(__tstate
);
24048 if (PyErr_Occurred()) SWIG_fail
;
24050 Py_INCREF(Py_None
); resultobj
= Py_None
;
24057 static PyObject
*_wrap_PyTextShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24058 PyObject
*resultobj
;
24059 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24063 int arg5
= (int) 0 ;
24064 int arg6
= (int) 0 ;
24065 PyObject
* obj0
= 0 ;
24066 PyObject
* obj1
= 0 ;
24067 char *kwnames
[] = {
24068 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyTextShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
24072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24073 arg2
= PyInt_AsLong(obj1
) ? true : false;
24074 if (PyErr_Occurred()) SWIG_fail
;
24076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24077 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
24079 wxPyEndAllowThreads(__tstate
);
24080 if (PyErr_Occurred()) SWIG_fail
;
24082 Py_INCREF(Py_None
); resultobj
= Py_None
;
24089 static PyObject
*_wrap_PyTextShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24090 PyObject
*resultobj
;
24091 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24094 int arg4
= (int) 0 ;
24095 int arg5
= (int) 0 ;
24096 PyObject
* obj0
= 0 ;
24097 char *kwnames
[] = {
24098 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyTextShape_base_OnBeginDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
24102 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24105 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
24107 wxPyEndAllowThreads(__tstate
);
24108 if (PyErr_Occurred()) SWIG_fail
;
24110 Py_INCREF(Py_None
); resultobj
= Py_None
;
24117 static PyObject
*_wrap_PyTextShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24118 PyObject
*resultobj
;
24119 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24122 int arg4
= (int) 0 ;
24123 int arg5
= (int) 0 ;
24124 PyObject
* obj0
= 0 ;
24125 char *kwnames
[] = {
24126 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyTextShape_base_OnEndDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
24130 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24133 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
24135 wxPyEndAllowThreads(__tstate
);
24136 if (PyErr_Occurred()) SWIG_fail
;
24138 Py_INCREF(Py_None
); resultobj
= Py_None
;
24145 static PyObject
*_wrap_PyTextShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24146 PyObject
*resultobj
;
24147 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24153 PyObject
* obj0
= 0 ;
24154 PyObject
* obj1
= 0 ;
24155 char *kwnames
[] = {
24156 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
24159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd:PyTextShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
24160 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24161 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24162 if (arg2
== NULL
) {
24163 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24167 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
24169 wxPyEndAllowThreads(__tstate
);
24170 if (PyErr_Occurred()) SWIG_fail
;
24172 Py_INCREF(Py_None
); resultobj
= Py_None
;
24179 static PyObject
*_wrap_PyTextShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24180 PyObject
*resultobj
;
24181 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24183 PyObject
* obj0
= 0 ;
24184 PyObject
* obj1
= 0 ;
24185 char *kwnames
[] = {
24186 (char *) "self",(char *) "dc", NULL
24189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
24190 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24191 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24192 if (arg2
== NULL
) {
24193 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24197 (arg1
)->base_OnDrawControlPoints(*arg2
);
24199 wxPyEndAllowThreads(__tstate
);
24200 if (PyErr_Occurred()) SWIG_fail
;
24202 Py_INCREF(Py_None
); resultobj
= Py_None
;
24209 static PyObject
*_wrap_PyTextShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24210 PyObject
*resultobj
;
24211 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24213 PyObject
* obj0
= 0 ;
24214 PyObject
* obj1
= 0 ;
24215 char *kwnames
[] = {
24216 (char *) "self",(char *) "dc", NULL
24219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
24220 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24221 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24222 if (arg2
== NULL
) {
24223 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24227 (arg1
)->base_OnEraseControlPoints(*arg2
);
24229 wxPyEndAllowThreads(__tstate
);
24230 if (PyErr_Occurred()) SWIG_fail
;
24232 Py_INCREF(Py_None
); resultobj
= Py_None
;
24239 static PyObject
*_wrap_PyTextShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24240 PyObject
*resultobj
;
24241 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24243 bool arg3
= (bool) True
;
24244 PyObject
* obj0
= 0 ;
24245 PyObject
* obj1
= 0 ;
24246 PyObject
* obj2
= 0 ;
24247 char *kwnames
[] = {
24248 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
24251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyTextShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24252 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24253 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24254 if (arg2
== NULL
) {
24255 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24258 arg3
= PyInt_AsLong(obj2
) ? true : false;
24259 if (PyErr_Occurred()) SWIG_fail
;
24262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24263 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
24265 wxPyEndAllowThreads(__tstate
);
24266 if (PyErr_Occurred()) SWIG_fail
;
24268 Py_INCREF(Py_None
); resultobj
= Py_None
;
24275 static PyObject
*_wrap_PyTextShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24276 PyObject
*resultobj
;
24277 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24278 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
24282 int arg6
= (int) 0 ;
24283 int arg7
= (int) 0 ;
24284 PyObject
* obj0
= 0 ;
24285 PyObject
* obj1
= 0 ;
24286 PyObject
* obj2
= 0 ;
24287 char *kwnames
[] = {
24288 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd|ii:PyTextShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
24292 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24293 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24294 arg3
= PyInt_AsLong(obj2
) ? true : false;
24295 if (PyErr_Occurred()) SWIG_fail
;
24297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24298 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
24300 wxPyEndAllowThreads(__tstate
);
24301 if (PyErr_Occurred()) SWIG_fail
;
24303 Py_INCREF(Py_None
); resultobj
= Py_None
;
24310 static PyObject
*_wrap_PyTextShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24311 PyObject
*resultobj
;
24312 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24313 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
24316 int arg5
= (int) 0 ;
24317 int arg6
= (int) 0 ;
24318 PyObject
* obj0
= 0 ;
24319 PyObject
* obj1
= 0 ;
24320 char *kwnames
[] = {
24321 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyTextShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
24325 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24326 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24329 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
24331 wxPyEndAllowThreads(__tstate
);
24332 if (PyErr_Occurred()) SWIG_fail
;
24334 Py_INCREF(Py_None
); resultobj
= Py_None
;
24341 static PyObject
*_wrap_PyTextShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24342 PyObject
*resultobj
;
24343 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24344 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
24347 int arg5
= (int) 0 ;
24348 int arg6
= (int) 0 ;
24349 PyObject
* obj0
= 0 ;
24350 PyObject
* obj1
= 0 ;
24351 char *kwnames
[] = {
24352 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyTextShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
24356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24357 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24360 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
24362 wxPyEndAllowThreads(__tstate
);
24363 if (PyErr_Occurred()) SWIG_fail
;
24365 Py_INCREF(Py_None
); resultobj
= Py_None
;
24372 static PyObject
*_wrap_PyTextShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24373 PyObject
*resultobj
;
24374 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24377 PyObject
* obj0
= 0 ;
24378 char *kwnames
[] = {
24379 (char *) "self",(char *) "w",(char *) "h", NULL
24382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyTextShape_base_OnBeginSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
24383 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24386 (arg1
)->base_OnBeginSize(arg2
,arg3
);
24388 wxPyEndAllowThreads(__tstate
);
24389 if (PyErr_Occurred()) SWIG_fail
;
24391 Py_INCREF(Py_None
); resultobj
= Py_None
;
24398 static PyObject
*_wrap_PyTextShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24399 PyObject
*resultobj
;
24400 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24403 PyObject
* obj0
= 0 ;
24404 char *kwnames
[] = {
24405 (char *) "self",(char *) "w",(char *) "h", NULL
24408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyTextShape_base_OnEndSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
24409 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24412 (arg1
)->base_OnEndSize(arg2
,arg3
);
24414 wxPyEndAllowThreads(__tstate
);
24415 if (PyErr_Occurred()) SWIG_fail
;
24417 Py_INCREF(Py_None
); resultobj
= Py_None
;
24424 static PyObject
* PyTextShape_swigregister(PyObject
*self
, PyObject
*args
) {
24426 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24427 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextShape
, obj
);
24429 return Py_BuildValue((char *)"");
24431 static PyObject
*_wrap_new_Diagram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24432 PyObject
*resultobj
;
24434 char *kwnames
[] = {
24438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Diagram",kwnames
)) goto fail
;
24440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24441 result
= (wxDiagram
*)new wxDiagram();
24443 wxPyEndAllowThreads(__tstate
);
24444 if (PyErr_Occurred()) SWIG_fail
;
24447 resultobj
= wxPyMake_wxObject(result
);
24455 static PyObject
*_wrap_Diagram_AddShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24456 PyObject
*resultobj
;
24457 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
24458 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
24459 wxPyShape
*arg3
= (wxPyShape
*) NULL
;
24460 PyObject
* obj0
= 0 ;
24461 PyObject
* obj1
= 0 ;
24462 PyObject
* obj2
= 0 ;
24463 char *kwnames
[] = {
24464 (char *) "self",(char *) "shape",(char *) "addAfter", NULL
24467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Diagram_AddShape",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24469 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24471 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24475 (arg1
)->AddShape(arg2
,arg3
);
24477 wxPyEndAllowThreads(__tstate
);
24478 if (PyErr_Occurred()) SWIG_fail
;
24480 Py_INCREF(Py_None
); resultobj
= Py_None
;
24487 static PyObject
*_wrap_Diagram_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24488 PyObject
*resultobj
;
24489 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
24491 PyObject
* obj0
= 0 ;
24492 PyObject
* obj1
= 0 ;
24493 char *kwnames
[] = {
24494 (char *) "self",(char *) "dc", NULL
24497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
24498 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24499 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24500 if (arg2
== NULL
) {
24501 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24505 (arg1
)->Clear(*arg2
);
24507 wxPyEndAllowThreads(__tstate
);
24508 if (PyErr_Occurred()) SWIG_fail
;
24510 Py_INCREF(Py_None
); resultobj
= Py_None
;
24517 static PyObject
*_wrap_Diagram_DeleteAllShapes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24518 PyObject
*resultobj
;
24519 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
24520 PyObject
* obj0
= 0 ;
24521 char *kwnames
[] = {
24522 (char *) "self", NULL
24525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_DeleteAllShapes",kwnames
,&obj0
)) goto fail
;
24526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24529 (arg1
)->DeleteAllShapes();
24531 wxPyEndAllowThreads(__tstate
);
24532 if (PyErr_Occurred()) SWIG_fail
;
24534 Py_INCREF(Py_None
); resultobj
= Py_None
;
24541 static PyObject
*_wrap_Diagram_DrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24542 PyObject
*resultobj
;
24543 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
24549 PyObject
* obj0
= 0 ;
24550 PyObject
* obj1
= 0 ;
24551 char *kwnames
[] = {
24552 (char *) "self",(char *) "dc",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
24555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd:Diagram_DrawOutline",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
24556 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24557 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24558 if (arg2
== NULL
) {
24559 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24563 (arg1
)->DrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
24565 wxPyEndAllowThreads(__tstate
);
24566 if (PyErr_Occurred()) SWIG_fail
;
24568 Py_INCREF(Py_None
); resultobj
= Py_None
;
24575 static PyObject
*_wrap_Diagram_FindShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24576 PyObject
*resultobj
;
24577 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
24580 PyObject
* obj0
= 0 ;
24581 char *kwnames
[] = {
24582 (char *) "self",(char *) "id", NULL
24585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:Diagram_FindShape",kwnames
,&obj0
,&arg2
)) goto fail
;
24586 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24589 result
= (wxPyShape
*)(arg1
)->FindShape(arg2
);
24591 wxPyEndAllowThreads(__tstate
);
24592 if (PyErr_Occurred()) SWIG_fail
;
24595 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
24603 static PyObject
*_wrap_Diagram_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24604 PyObject
*resultobj
;
24605 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
24606 wxPyShapeCanvas
*result
;
24607 PyObject
* obj0
= 0 ;
24608 char *kwnames
[] = {
24609 (char *) "self", NULL
24612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetCanvas",kwnames
,&obj0
)) goto fail
;
24613 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24616 result
= (wxPyShapeCanvas
*)(arg1
)->GetCanvas();
24618 wxPyEndAllowThreads(__tstate
);
24619 if (PyErr_Occurred()) SWIG_fail
;
24622 resultobj
= wxPyMake_wxObject(result
);
24630 static PyObject
*_wrap_Diagram_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24631 PyObject
*resultobj
;
24632 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
24634 PyObject
* obj0
= 0 ;
24635 char *kwnames
[] = {
24636 (char *) "self", NULL
24639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetCount",kwnames
,&obj0
)) goto fail
;
24640 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24643 result
= (int)(arg1
)->GetCount();
24645 wxPyEndAllowThreads(__tstate
);
24646 if (PyErr_Occurred()) SWIG_fail
;
24648 resultobj
= PyInt_FromLong((long)result
);
24655 static PyObject
*_wrap_Diagram_GetGridSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24656 PyObject
*resultobj
;
24657 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
24659 PyObject
* obj0
= 0 ;
24660 char *kwnames
[] = {
24661 (char *) "self", NULL
24664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetGridSpacing",kwnames
,&obj0
)) goto fail
;
24665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24668 result
= (double)(arg1
)->GetGridSpacing();
24670 wxPyEndAllowThreads(__tstate
);
24671 if (PyErr_Occurred()) SWIG_fail
;
24673 resultobj
= PyFloat_FromDouble(result
);
24680 static PyObject
*_wrap_Diagram_GetMouseTolerance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24681 PyObject
*resultobj
;
24682 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
24684 PyObject
* obj0
= 0 ;
24685 char *kwnames
[] = {
24686 (char *) "self", NULL
24689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetMouseTolerance",kwnames
,&obj0
)) goto fail
;
24690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24693 result
= (int)(arg1
)->GetMouseTolerance();
24695 wxPyEndAllowThreads(__tstate
);
24696 if (PyErr_Occurred()) SWIG_fail
;
24698 resultobj
= PyInt_FromLong((long)result
);
24705 static PyObject
*_wrap_Diagram_GetShapeList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24706 PyObject
*resultobj
;
24707 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
24709 PyObject
* obj0
= 0 ;
24710 char *kwnames
[] = {
24711 (char *) "self", NULL
24714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetShapeList",kwnames
,&obj0
)) goto fail
;
24715 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24718 result
= (PyObject
*)wxDiagram_GetShapeList(arg1
);
24720 wxPyEndAllowThreads(__tstate
);
24721 if (PyErr_Occurred()) SWIG_fail
;
24723 resultobj
= result
;
24730 static PyObject
*_wrap_Diagram_GetQuickEditMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24731 PyObject
*resultobj
;
24732 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
24734 PyObject
* obj0
= 0 ;
24735 char *kwnames
[] = {
24736 (char *) "self", NULL
24739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetQuickEditMode",kwnames
,&obj0
)) goto fail
;
24740 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24743 result
= (bool)(arg1
)->GetQuickEditMode();
24745 wxPyEndAllowThreads(__tstate
);
24746 if (PyErr_Occurred()) SWIG_fail
;
24748 resultobj
= PyInt_FromLong((long)result
);
24755 static PyObject
*_wrap_Diagram_GetSnapToGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24756 PyObject
*resultobj
;
24757 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
24759 PyObject
* obj0
= 0 ;
24760 char *kwnames
[] = {
24761 (char *) "self", NULL
24764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetSnapToGrid",kwnames
,&obj0
)) goto fail
;
24765 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24768 result
= (bool)(arg1
)->GetSnapToGrid();
24770 wxPyEndAllowThreads(__tstate
);
24771 if (PyErr_Occurred()) SWIG_fail
;
24773 resultobj
= PyInt_FromLong((long)result
);
24780 static PyObject
*_wrap_Diagram_InsertShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24781 PyObject
*resultobj
;
24782 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
24783 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
24784 PyObject
* obj0
= 0 ;
24785 PyObject
* obj1
= 0 ;
24786 char *kwnames
[] = {
24787 (char *) "self",(char *) "shape", NULL
24790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_InsertShape",kwnames
,&obj0
,&obj1
)) goto fail
;
24791 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24792 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24795 (arg1
)->InsertShape(arg2
);
24797 wxPyEndAllowThreads(__tstate
);
24798 if (PyErr_Occurred()) SWIG_fail
;
24800 Py_INCREF(Py_None
); resultobj
= Py_None
;
24807 static PyObject
*_wrap_Diagram_RecentreAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24808 PyObject
*resultobj
;
24809 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
24811 PyObject
* obj0
= 0 ;
24812 PyObject
* obj1
= 0 ;
24813 char *kwnames
[] = {
24814 (char *) "self",(char *) "dc", NULL
24817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_RecentreAll",kwnames
,&obj0
,&obj1
)) goto fail
;
24818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24819 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24820 if (arg2
== NULL
) {
24821 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24825 (arg1
)->RecentreAll(*arg2
);
24827 wxPyEndAllowThreads(__tstate
);
24828 if (PyErr_Occurred()) SWIG_fail
;
24830 Py_INCREF(Py_None
); resultobj
= Py_None
;
24837 static PyObject
*_wrap_Diagram_Redraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24838 PyObject
*resultobj
;
24839 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
24841 PyObject
* obj0
= 0 ;
24842 PyObject
* obj1
= 0 ;
24843 char *kwnames
[] = {
24844 (char *) "self",(char *) "dc", NULL
24847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_Redraw",kwnames
,&obj0
,&obj1
)) goto fail
;
24848 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24849 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24850 if (arg2
== NULL
) {
24851 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24855 (arg1
)->Redraw(*arg2
);
24857 wxPyEndAllowThreads(__tstate
);
24858 if (PyErr_Occurred()) SWIG_fail
;
24860 Py_INCREF(Py_None
); resultobj
= Py_None
;
24867 static PyObject
*_wrap_Diagram_RemoveAllShapes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24868 PyObject
*resultobj
;
24869 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
24870 PyObject
* obj0
= 0 ;
24871 char *kwnames
[] = {
24872 (char *) "self", NULL
24875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_RemoveAllShapes",kwnames
,&obj0
)) goto fail
;
24876 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24879 (arg1
)->RemoveAllShapes();
24881 wxPyEndAllowThreads(__tstate
);
24882 if (PyErr_Occurred()) SWIG_fail
;
24884 Py_INCREF(Py_None
); resultobj
= Py_None
;
24891 static PyObject
*_wrap_Diagram_RemoveShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24892 PyObject
*resultobj
;
24893 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
24894 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
24895 PyObject
* obj0
= 0 ;
24896 PyObject
* obj1
= 0 ;
24897 char *kwnames
[] = {
24898 (char *) "self",(char *) "shape", NULL
24901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_RemoveShape",kwnames
,&obj0
,&obj1
)) goto fail
;
24902 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24903 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24906 (arg1
)->RemoveShape(arg2
);
24908 wxPyEndAllowThreads(__tstate
);
24909 if (PyErr_Occurred()) SWIG_fail
;
24911 Py_INCREF(Py_None
); resultobj
= Py_None
;
24918 static PyObject
*_wrap_Diagram_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24919 PyObject
*resultobj
;
24920 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
24921 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
24922 PyObject
* obj0
= 0 ;
24923 PyObject
* obj1
= 0 ;
24924 char *kwnames
[] = {
24925 (char *) "self",(char *) "canvas", NULL
24928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
24929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24930 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24933 (arg1
)->SetCanvas(arg2
);
24935 wxPyEndAllowThreads(__tstate
);
24936 if (PyErr_Occurred()) SWIG_fail
;
24938 Py_INCREF(Py_None
); resultobj
= Py_None
;
24945 static PyObject
*_wrap_Diagram_SetGridSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24946 PyObject
*resultobj
;
24947 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
24949 PyObject
* obj0
= 0 ;
24950 char *kwnames
[] = {
24951 (char *) "self",(char *) "spacing", NULL
24954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:Diagram_SetGridSpacing",kwnames
,&obj0
,&arg2
)) goto fail
;
24955 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24958 (arg1
)->SetGridSpacing(arg2
);
24960 wxPyEndAllowThreads(__tstate
);
24961 if (PyErr_Occurred()) SWIG_fail
;
24963 Py_INCREF(Py_None
); resultobj
= Py_None
;
24970 static PyObject
*_wrap_Diagram_SetMouseTolerance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24971 PyObject
*resultobj
;
24972 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
24974 PyObject
* obj0
= 0 ;
24975 char *kwnames
[] = {
24976 (char *) "self",(char *) "tolerance", NULL
24979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Diagram_SetMouseTolerance",kwnames
,&obj0
,&arg2
)) goto fail
;
24980 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24983 (arg1
)->SetMouseTolerance(arg2
);
24985 wxPyEndAllowThreads(__tstate
);
24986 if (PyErr_Occurred()) SWIG_fail
;
24988 Py_INCREF(Py_None
); resultobj
= Py_None
;
24995 static PyObject
*_wrap_Diagram_SetQuickEditMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24996 PyObject
*resultobj
;
24997 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
24999 PyObject
* obj0
= 0 ;
25000 PyObject
* obj1
= 0 ;
25001 char *kwnames
[] = {
25002 (char *) "self",(char *) "mode", NULL
25005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_SetQuickEditMode",kwnames
,&obj0
,&obj1
)) goto fail
;
25006 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25007 arg2
= PyInt_AsLong(obj1
) ? true : false;
25008 if (PyErr_Occurred()) SWIG_fail
;
25010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25011 (arg1
)->SetQuickEditMode(arg2
);
25013 wxPyEndAllowThreads(__tstate
);
25014 if (PyErr_Occurred()) SWIG_fail
;
25016 Py_INCREF(Py_None
); resultobj
= Py_None
;
25023 static PyObject
*_wrap_Diagram_SetSnapToGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25024 PyObject
*resultobj
;
25025 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
25027 PyObject
* obj0
= 0 ;
25028 PyObject
* obj1
= 0 ;
25029 char *kwnames
[] = {
25030 (char *) "self",(char *) "snap", NULL
25033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_SetSnapToGrid",kwnames
,&obj0
,&obj1
)) goto fail
;
25034 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25035 arg2
= PyInt_AsLong(obj1
) ? true : false;
25036 if (PyErr_Occurred()) SWIG_fail
;
25038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25039 (arg1
)->SetSnapToGrid(arg2
);
25041 wxPyEndAllowThreads(__tstate
);
25042 if (PyErr_Occurred()) SWIG_fail
;
25044 Py_INCREF(Py_None
); resultobj
= Py_None
;
25051 static PyObject
*_wrap_Diagram_ShowAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25052 PyObject
*resultobj
;
25053 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
25055 PyObject
* obj0
= 0 ;
25056 PyObject
* obj1
= 0 ;
25057 char *kwnames
[] = {
25058 (char *) "self",(char *) "show", NULL
25061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_ShowAll",kwnames
,&obj0
,&obj1
)) goto fail
;
25062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25063 arg2
= PyInt_AsLong(obj1
) ? true : false;
25064 if (PyErr_Occurred()) SWIG_fail
;
25066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25067 (arg1
)->ShowAll(arg2
);
25069 wxPyEndAllowThreads(__tstate
);
25070 if (PyErr_Occurred()) SWIG_fail
;
25072 Py_INCREF(Py_None
); resultobj
= Py_None
;
25079 static PyObject
*_wrap_Diagram_Snap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25080 PyObject
*resultobj
;
25081 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
25082 double *arg2
= (double *) 0 ;
25083 double *arg3
= (double *) 0 ;
25086 PyObject
* obj0
= 0 ;
25087 PyObject
* obj1
= 0 ;
25088 PyObject
* obj2
= 0 ;
25089 char *kwnames
[] = {
25090 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
25093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Diagram_Snap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25096 temp2
= PyFloat_AsDouble(obj1
);
25097 if (PyErr_Occurred()) SWIG_fail
;
25101 temp3
= PyFloat_AsDouble(obj2
);
25102 if (PyErr_Occurred()) SWIG_fail
;
25106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25107 (arg1
)->Snap(arg2
,arg3
);
25109 wxPyEndAllowThreads(__tstate
);
25110 if (PyErr_Occurred()) SWIG_fail
;
25112 Py_INCREF(Py_None
); resultobj
= Py_None
;
25114 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
25115 resultobj
= t_output_helper(resultobj
,o
);
25118 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
25119 resultobj
= t_output_helper(resultobj
,o
);
25127 static PyObject
* Diagram_swigregister(PyObject
*self
, PyObject
*args
) {
25129 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25130 SWIG_TypeClientData(SWIGTYPE_p_wxDiagram
, obj
);
25132 return Py_BuildValue((char *)"");
25134 static PyObject
*_wrap_new_PyShapeCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25135 PyObject
*resultobj
;
25136 wxWindow
*arg1
= (wxWindow
*) NULL
;
25137 int arg2
= (int) -1 ;
25138 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25139 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25140 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25141 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25142 long arg5
= (long) wxBORDER
;
25143 wxString
const &arg6_defvalue
= wxPyShapeCanvasNameStr
;
25144 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25145 wxPyShapeCanvas
*result
;
25148 bool temp6
= False
;
25149 PyObject
* obj0
= 0 ;
25150 PyObject
* obj2
= 0 ;
25151 PyObject
* obj3
= 0 ;
25152 PyObject
* obj5
= 0 ;
25153 char *kwnames
[] = {
25154 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OiOOlO:new_PyShapeCanvas",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
25159 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25164 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25170 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25175 arg6
= wxString_in_helper(obj5
);
25176 if (arg6
== NULL
) SWIG_fail
;
25181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25182 result
= (wxPyShapeCanvas
*)new wxPyShapeCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25184 wxPyEndAllowThreads(__tstate
);
25185 if (PyErr_Occurred()) SWIG_fail
;
25188 resultobj
= wxPyMake_wxObject(result
);
25204 static PyObject
*_wrap_PyShapeCanvas__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25205 PyObject
*resultobj
;
25206 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
25207 PyObject
*arg2
= (PyObject
*) 0 ;
25208 PyObject
*arg3
= (PyObject
*) 0 ;
25209 PyObject
* obj0
= 0 ;
25210 PyObject
* obj1
= 0 ;
25211 PyObject
* obj2
= 0 ;
25212 char *kwnames
[] = {
25213 (char *) "self",(char *) "self",(char *) "_class", NULL
25216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeCanvas__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25217 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25222 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25224 wxPyEndAllowThreads(__tstate
);
25225 if (PyErr_Occurred()) SWIG_fail
;
25227 Py_INCREF(Py_None
); resultobj
= Py_None
;
25234 static PyObject
*_wrap_PyShapeCanvas_AddShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25235 PyObject
*resultobj
;
25236 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
25237 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
25238 wxPyShape
*arg3
= (wxPyShape
*) NULL
;
25239 PyObject
* obj0
= 0 ;
25240 PyObject
* obj1
= 0 ;
25241 PyObject
* obj2
= 0 ;
25242 char *kwnames
[] = {
25243 (char *) "self",(char *) "shape",(char *) "addAfter", NULL
25246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShapeCanvas_AddShape",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25247 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25248 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25250 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25254 (arg1
)->AddShape(arg2
,arg3
);
25256 wxPyEndAllowThreads(__tstate
);
25257 if (PyErr_Occurred()) SWIG_fail
;
25259 Py_INCREF(Py_None
); resultobj
= Py_None
;
25266 static PyObject
*_wrap_PyShapeCanvas_FindShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25267 PyObject
*resultobj
;
25268 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
25271 int *arg4
= (int *) 0 ;
25272 wxClassInfo
*arg5
= (wxClassInfo
*) NULL
;
25273 wxPyShape
*arg6
= (wxPyShape
*) NULL
;
25276 PyObject
* obj0
= 0 ;
25277 PyObject
* obj3
= 0 ;
25278 PyObject
* obj4
= 0 ;
25279 char *kwnames
[] = {
25280 (char *) "self",(char *) "x1",(char *) "y",(char *) "info",(char *) "notImage", NULL
25284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|OO:PyShapeCanvas_FindShape",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
,&obj4
)) goto fail
;
25285 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25287 if ((SWIG_ConvertPtr(obj3
,(void **) &arg5
, SWIGTYPE_p_wxClassInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25290 if ((SWIG_ConvertPtr(obj4
,(void **) &arg6
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25294 result
= (wxPyShape
*)(arg1
)->FindShape(arg2
,arg3
,arg4
,arg5
,arg6
);
25296 wxPyEndAllowThreads(__tstate
);
25297 if (PyErr_Occurred()) SWIG_fail
;
25300 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
25303 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
25304 resultobj
= t_output_helper(resultobj
,o
);
25312 static PyObject
*_wrap_PyShapeCanvas_FindFirstSensitiveShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25313 PyObject
*resultobj
;
25314 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
25317 int *arg4
= (int *) 0 ;
25321 PyObject
* obj0
= 0 ;
25322 char *kwnames
[] = {
25323 (char *) "self",(char *) "x1",(char *) "y",(char *) "op", NULL
25327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oddi:PyShapeCanvas_FindFirstSensitiveShape",kwnames
,&obj0
,&arg2
,&arg3
,&arg5
)) goto fail
;
25328 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25331 result
= (wxPyShape
*)(arg1
)->FindFirstSensitiveShape(arg2
,arg3
,arg4
,arg5
);
25333 wxPyEndAllowThreads(__tstate
);
25334 if (PyErr_Occurred()) SWIG_fail
;
25337 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
25340 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
25341 resultobj
= t_output_helper(resultobj
,o
);
25349 static PyObject
*_wrap_PyShapeCanvas_GetDiagram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25350 PyObject
*resultobj
;
25351 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
25353 PyObject
* obj0
= 0 ;
25354 char *kwnames
[] = {
25355 (char *) "self", NULL
25358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeCanvas_GetDiagram",kwnames
,&obj0
)) goto fail
;
25359 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25362 result
= (wxDiagram
*)(arg1
)->GetDiagram();
25364 wxPyEndAllowThreads(__tstate
);
25365 if (PyErr_Occurred()) SWIG_fail
;
25368 resultobj
= wxPyMake_wxObject(result
);
25376 static PyObject
*_wrap_PyShapeCanvas_GetQuickEditMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25377 PyObject
*resultobj
;
25378 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
25380 PyObject
* obj0
= 0 ;
25381 char *kwnames
[] = {
25382 (char *) "self", NULL
25385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeCanvas_GetQuickEditMode",kwnames
,&obj0
)) goto fail
;
25386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25389 result
= (bool)(arg1
)->GetQuickEditMode();
25391 wxPyEndAllowThreads(__tstate
);
25392 if (PyErr_Occurred()) SWIG_fail
;
25394 resultobj
= PyInt_FromLong((long)result
);
25401 static PyObject
*_wrap_PyShapeCanvas_InsertShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25402 PyObject
*resultobj
;
25403 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
25404 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
25405 PyObject
* obj0
= 0 ;
25406 PyObject
* obj1
= 0 ;
25407 char *kwnames
[] = {
25408 (char *) "self",(char *) "shape", NULL
25411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeCanvas_InsertShape",kwnames
,&obj0
,&obj1
)) goto fail
;
25412 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25413 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25416 (arg1
)->InsertShape(arg2
);
25418 wxPyEndAllowThreads(__tstate
);
25419 if (PyErr_Occurred()) SWIG_fail
;
25421 Py_INCREF(Py_None
); resultobj
= Py_None
;
25428 static PyObject
*_wrap_PyShapeCanvas_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25429 PyObject
*resultobj
;
25430 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
25433 int arg4
= (int) 0 ;
25434 PyObject
* obj0
= 0 ;
25435 char *kwnames
[] = {
25436 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
25439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|i:PyShapeCanvas_base_OnBeginDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
25440 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25443 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
);
25445 wxPyEndAllowThreads(__tstate
);
25446 if (PyErr_Occurred()) SWIG_fail
;
25448 Py_INCREF(Py_None
); resultobj
= Py_None
;
25455 static PyObject
*_wrap_PyShapeCanvas_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25456 PyObject
*resultobj
;
25457 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
25460 int arg4
= (int) 0 ;
25461 PyObject
* obj0
= 0 ;
25462 char *kwnames
[] = {
25463 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
25466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|i:PyShapeCanvas_base_OnBeginDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
25467 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25470 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
);
25472 wxPyEndAllowThreads(__tstate
);
25473 if (PyErr_Occurred()) SWIG_fail
;
25475 Py_INCREF(Py_None
); resultobj
= Py_None
;
25482 static PyObject
*_wrap_PyShapeCanvas_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25483 PyObject
*resultobj
;
25484 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
25487 int arg4
= (int) 0 ;
25488 PyObject
* obj0
= 0 ;
25489 char *kwnames
[] = {
25490 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
25493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|i:PyShapeCanvas_base_OnEndDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
25494 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25497 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
);
25499 wxPyEndAllowThreads(__tstate
);
25500 if (PyErr_Occurred()) SWIG_fail
;
25502 Py_INCREF(Py_None
); resultobj
= Py_None
;
25509 static PyObject
*_wrap_PyShapeCanvas_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25510 PyObject
*resultobj
;
25511 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
25514 int arg4
= (int) 0 ;
25515 PyObject
* obj0
= 0 ;
25516 char *kwnames
[] = {
25517 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
25520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|i:PyShapeCanvas_base_OnEndDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
25521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25524 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
);
25526 wxPyEndAllowThreads(__tstate
);
25527 if (PyErr_Occurred()) SWIG_fail
;
25529 Py_INCREF(Py_None
); resultobj
= Py_None
;
25536 static PyObject
*_wrap_PyShapeCanvas_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25537 PyObject
*resultobj
;
25538 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
25542 int arg5
= (int) 0 ;
25543 PyObject
* obj0
= 0 ;
25544 PyObject
* obj1
= 0 ;
25545 char *kwnames
[] = {
25546 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys", NULL
25549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|i:PyShapeCanvas_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
)) goto fail
;
25550 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25551 arg2
= PyInt_AsLong(obj1
) ? true : false;
25552 if (PyErr_Occurred()) SWIG_fail
;
25554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25555 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
);
25557 wxPyEndAllowThreads(__tstate
);
25558 if (PyErr_Occurred()) SWIG_fail
;
25560 Py_INCREF(Py_None
); resultobj
= Py_None
;
25567 static PyObject
*_wrap_PyShapeCanvas_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25568 PyObject
*resultobj
;
25569 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
25573 int arg5
= (int) 0 ;
25574 PyObject
* obj0
= 0 ;
25575 PyObject
* obj1
= 0 ;
25576 char *kwnames
[] = {
25577 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys", NULL
25580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|i:PyShapeCanvas_base_OnDragRight",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
)) goto fail
;
25581 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25582 arg2
= PyInt_AsLong(obj1
) ? true : false;
25583 if (PyErr_Occurred()) SWIG_fail
;
25585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25586 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
);
25588 wxPyEndAllowThreads(__tstate
);
25589 if (PyErr_Occurred()) SWIG_fail
;
25591 Py_INCREF(Py_None
); resultobj
= Py_None
;
25598 static PyObject
*_wrap_PyShapeCanvas_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25599 PyObject
*resultobj
;
25600 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
25603 int arg4
= (int) 0 ;
25604 PyObject
* obj0
= 0 ;
25605 char *kwnames
[] = {
25606 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
25609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|i:PyShapeCanvas_base_OnLeftClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
25610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25613 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
);
25615 wxPyEndAllowThreads(__tstate
);
25616 if (PyErr_Occurred()) SWIG_fail
;
25618 Py_INCREF(Py_None
); resultobj
= Py_None
;
25625 static PyObject
*_wrap_PyShapeCanvas_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25626 PyObject
*resultobj
;
25627 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
25630 int arg4
= (int) 0 ;
25631 PyObject
* obj0
= 0 ;
25632 char *kwnames
[] = {
25633 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
25636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|i:PyShapeCanvas_base_OnRightClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
25637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25640 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
);
25642 wxPyEndAllowThreads(__tstate
);
25643 if (PyErr_Occurred()) SWIG_fail
;
25645 Py_INCREF(Py_None
); resultobj
= Py_None
;
25652 static PyObject
*_wrap_PyShapeCanvas_Redraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25653 PyObject
*resultobj
;
25654 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
25656 PyObject
* obj0
= 0 ;
25657 PyObject
* obj1
= 0 ;
25658 char *kwnames
[] = {
25659 (char *) "self",(char *) "dc", NULL
25662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeCanvas_Redraw",kwnames
,&obj0
,&obj1
)) goto fail
;
25663 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25664 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25665 if (arg2
== NULL
) {
25666 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25670 (arg1
)->Redraw(*arg2
);
25672 wxPyEndAllowThreads(__tstate
);
25673 if (PyErr_Occurred()) SWIG_fail
;
25675 Py_INCREF(Py_None
); resultobj
= Py_None
;
25682 static PyObject
*_wrap_PyShapeCanvas_RemoveShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25683 PyObject
*resultobj
;
25684 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
25685 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
25686 PyObject
* obj0
= 0 ;
25687 PyObject
* obj1
= 0 ;
25688 char *kwnames
[] = {
25689 (char *) "self",(char *) "shape", NULL
25692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeCanvas_RemoveShape",kwnames
,&obj0
,&obj1
)) goto fail
;
25693 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25694 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25697 (arg1
)->RemoveShape(arg2
);
25699 wxPyEndAllowThreads(__tstate
);
25700 if (PyErr_Occurred()) SWIG_fail
;
25702 Py_INCREF(Py_None
); resultobj
= Py_None
;
25709 static PyObject
*_wrap_PyShapeCanvas_SetDiagram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25710 PyObject
*resultobj
;
25711 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
25712 wxDiagram
*arg2
= (wxDiagram
*) 0 ;
25713 PyObject
* obj0
= 0 ;
25714 PyObject
* obj1
= 0 ;
25715 char *kwnames
[] = {
25716 (char *) "self",(char *) "diagram", NULL
25719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeCanvas_SetDiagram",kwnames
,&obj0
,&obj1
)) goto fail
;
25720 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25721 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25724 (arg1
)->SetDiagram(arg2
);
25726 wxPyEndAllowThreads(__tstate
);
25727 if (PyErr_Occurred()) SWIG_fail
;
25729 Py_INCREF(Py_None
); resultobj
= Py_None
;
25736 static PyObject
*_wrap_PyShapeCanvas_Snap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25737 PyObject
*resultobj
;
25738 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
25739 double *arg2
= (double *) 0 ;
25740 double *arg3
= (double *) 0 ;
25743 PyObject
* obj0
= 0 ;
25744 PyObject
* obj1
= 0 ;
25745 PyObject
* obj2
= 0 ;
25746 char *kwnames
[] = {
25747 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
25750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeCanvas_Snap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25751 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25753 temp2
= PyFloat_AsDouble(obj1
);
25754 if (PyErr_Occurred()) SWIG_fail
;
25758 temp3
= PyFloat_AsDouble(obj2
);
25759 if (PyErr_Occurred()) SWIG_fail
;
25763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25764 (arg1
)->Snap(arg2
,arg3
);
25766 wxPyEndAllowThreads(__tstate
);
25767 if (PyErr_Occurred()) SWIG_fail
;
25769 Py_INCREF(Py_None
); resultobj
= Py_None
;
25771 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
25772 resultobj
= t_output_helper(resultobj
,o
);
25775 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
25776 resultobj
= t_output_helper(resultobj
,o
);
25784 static PyObject
* PyShapeCanvas_swigregister(PyObject
*self
, PyObject
*args
) {
25786 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25787 SWIG_TypeClientData(SWIGTYPE_p_wxPyShapeCanvas
, obj
);
25789 return Py_BuildValue((char *)"");
25791 static PyObject
*_wrap_OGLInitialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25792 PyObject
*resultobj
;
25793 char *kwnames
[] = {
25797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":OGLInitialize",kwnames
)) goto fail
;
25799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25802 wxPyEndAllowThreads(__tstate
);
25803 if (PyErr_Occurred()) SWIG_fail
;
25805 Py_INCREF(Py_None
); resultobj
= Py_None
;
25812 static PyObject
*_wrap_OGLCleanUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25813 PyObject
*resultobj
;
25814 char *kwnames
[] = {
25818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":OGLCleanUp",kwnames
)) goto fail
;
25820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25823 wxPyEndAllowThreads(__tstate
);
25824 if (PyErr_Occurred()) SWIG_fail
;
25826 Py_INCREF(Py_None
); resultobj
= Py_None
;
25833 static PyMethodDef SwigMethods
[] = {
25834 { (char *)"new_ShapeRegion", (PyCFunction
) _wrap_new_ShapeRegion
, METH_VARARGS
| METH_KEYWORDS
},
25835 { (char *)"ShapeRegion_SetText", (PyCFunction
) _wrap_ShapeRegion_SetText
, METH_VARARGS
| METH_KEYWORDS
},
25836 { (char *)"ShapeRegion_SetFont", (PyCFunction
) _wrap_ShapeRegion_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
25837 { (char *)"ShapeRegion_SetMinSize", (PyCFunction
) _wrap_ShapeRegion_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
25838 { (char *)"ShapeRegion_SetSize", (PyCFunction
) _wrap_ShapeRegion_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
25839 { (char *)"ShapeRegion_SetPosition", (PyCFunction
) _wrap_ShapeRegion_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
25840 { (char *)"ShapeRegion_SetProportions", (PyCFunction
) _wrap_ShapeRegion_SetProportions
, METH_VARARGS
| METH_KEYWORDS
},
25841 { (char *)"ShapeRegion_SetFormatMode", (PyCFunction
) _wrap_ShapeRegion_SetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
25842 { (char *)"ShapeRegion_SetName", (PyCFunction
) _wrap_ShapeRegion_SetName
, METH_VARARGS
| METH_KEYWORDS
},
25843 { (char *)"ShapeRegion_SetColour", (PyCFunction
) _wrap_ShapeRegion_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
25844 { (char *)"ShapeRegion_GetText", (PyCFunction
) _wrap_ShapeRegion_GetText
, METH_VARARGS
| METH_KEYWORDS
},
25845 { (char *)"ShapeRegion_GetFont", (PyCFunction
) _wrap_ShapeRegion_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
25846 { (char *)"ShapeRegion_GetMinSize", (PyCFunction
) _wrap_ShapeRegion_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
25847 { (char *)"ShapeRegion_GetProportion", (PyCFunction
) _wrap_ShapeRegion_GetProportion
, METH_VARARGS
| METH_KEYWORDS
},
25848 { (char *)"ShapeRegion_GetSize", (PyCFunction
) _wrap_ShapeRegion_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
25849 { (char *)"ShapeRegion_GetPosition", (PyCFunction
) _wrap_ShapeRegion_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
25850 { (char *)"ShapeRegion_GetFormatMode", (PyCFunction
) _wrap_ShapeRegion_GetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
25851 { (char *)"ShapeRegion_GetName", (PyCFunction
) _wrap_ShapeRegion_GetName
, METH_VARARGS
| METH_KEYWORDS
},
25852 { (char *)"ShapeRegion_GetColour", (PyCFunction
) _wrap_ShapeRegion_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
25853 { (char *)"ShapeRegion_GetActualColourObject", (PyCFunction
) _wrap_ShapeRegion_GetActualColourObject
, METH_VARARGS
| METH_KEYWORDS
},
25854 { (char *)"ShapeRegion_GetFormattedText", (PyCFunction
) _wrap_ShapeRegion_GetFormattedText
, METH_VARARGS
| METH_KEYWORDS
},
25855 { (char *)"ShapeRegion_GetPenColour", (PyCFunction
) _wrap_ShapeRegion_GetPenColour
, METH_VARARGS
| METH_KEYWORDS
},
25856 { (char *)"ShapeRegion_GetPenStyle", (PyCFunction
) _wrap_ShapeRegion_GetPenStyle
, METH_VARARGS
| METH_KEYWORDS
},
25857 { (char *)"ShapeRegion_SetPenStyle", (PyCFunction
) _wrap_ShapeRegion_SetPenStyle
, METH_VARARGS
| METH_KEYWORDS
},
25858 { (char *)"ShapeRegion_SetPenColour", (PyCFunction
) _wrap_ShapeRegion_SetPenColour
, METH_VARARGS
| METH_KEYWORDS
},
25859 { (char *)"ShapeRegion_GetActualPen", (PyCFunction
) _wrap_ShapeRegion_GetActualPen
, METH_VARARGS
| METH_KEYWORDS
},
25860 { (char *)"ShapeRegion_GetWidth", (PyCFunction
) _wrap_ShapeRegion_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
25861 { (char *)"ShapeRegion_GetHeight", (PyCFunction
) _wrap_ShapeRegion_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
25862 { (char *)"ShapeRegion_ClearText", (PyCFunction
) _wrap_ShapeRegion_ClearText
, METH_VARARGS
| METH_KEYWORDS
},
25863 { (char *)"ShapeRegion_swigregister", ShapeRegion_swigregister
, METH_VARARGS
},
25864 { (char *)"new_PyShapeEvtHandler", (PyCFunction
) _wrap_new_PyShapeEvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
25865 { (char *)"PyShapeEvtHandler__setCallbackInfo", (PyCFunction
) _wrap_PyShapeEvtHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25866 { (char *)"PyShapeEvtHandler__setOORInfo", (PyCFunction
) _wrap_PyShapeEvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
25867 { (char *)"PyShapeEvtHandler_SetShape", (PyCFunction
) _wrap_PyShapeEvtHandler_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
25868 { (char *)"PyShapeEvtHandler_GetShape", (PyCFunction
) _wrap_PyShapeEvtHandler_GetShape
, METH_VARARGS
| METH_KEYWORDS
},
25869 { (char *)"PyShapeEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_PyShapeEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
25870 { (char *)"PyShapeEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_PyShapeEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
25871 { (char *)"PyShapeEvtHandler_CreateNewCopy", (PyCFunction
) _wrap_PyShapeEvtHandler_CreateNewCopy
, METH_VARARGS
| METH_KEYWORDS
},
25872 { (char *)"PyShapeEvtHandler_base_OnDelete", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
25873 { (char *)"PyShapeEvtHandler_base_OnDraw", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
25874 { (char *)"PyShapeEvtHandler_base_OnDrawContents", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
25875 { (char *)"PyShapeEvtHandler_base_OnDrawBranches", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
25876 { (char *)"PyShapeEvtHandler_base_OnMoveLinks", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
25877 { (char *)"PyShapeEvtHandler_base_OnErase", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
25878 { (char *)"PyShapeEvtHandler_base_OnEraseContents", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
25879 { (char *)"PyShapeEvtHandler_base_OnHighlight", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
25880 { (char *)"PyShapeEvtHandler_base_OnLeftClick", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
25881 { (char *)"PyShapeEvtHandler_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
25882 { (char *)"PyShapeEvtHandler_base_OnRightClick", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
25883 { (char *)"PyShapeEvtHandler_base_OnSize", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
25884 { (char *)"PyShapeEvtHandler_base_OnMovePre", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
25885 { (char *)"PyShapeEvtHandler_base_OnMovePost", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
25886 { (char *)"PyShapeEvtHandler_base_OnDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
25887 { (char *)"PyShapeEvtHandler_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
25888 { (char *)"PyShapeEvtHandler_base_OnEndDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
25889 { (char *)"PyShapeEvtHandler_base_OnDragRight", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
25890 { (char *)"PyShapeEvtHandler_base_OnBeginDragRight", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
25891 { (char *)"PyShapeEvtHandler_base_OnEndDragRight", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
25892 { (char *)"PyShapeEvtHandler_base_OnDrawOutline", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
25893 { (char *)"PyShapeEvtHandler_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
25894 { (char *)"PyShapeEvtHandler_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
25895 { (char *)"PyShapeEvtHandler_base_OnMoveLink", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
25896 { (char *)"PyShapeEvtHandler_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
25897 { (char *)"PyShapeEvtHandler_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
25898 { (char *)"PyShapeEvtHandler_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
25899 { (char *)"PyShapeEvtHandler_base_OnBeginSize", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
25900 { (char *)"PyShapeEvtHandler_base_OnEndSize", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
25901 { (char *)"PyShapeEvtHandler_swigregister", PyShapeEvtHandler_swigregister
, METH_VARARGS
},
25902 { (char *)"new_PyShape", (PyCFunction
) _wrap_new_PyShape
, METH_VARARGS
| METH_KEYWORDS
},
25903 { (char *)"PyShape__setCallbackInfo", (PyCFunction
) _wrap_PyShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25904 { (char *)"PyShape_GetBoundingBoxMax", (PyCFunction
) _wrap_PyShape_GetBoundingBoxMax
, METH_VARARGS
| METH_KEYWORDS
},
25905 { (char *)"PyShape_GetBoundingBoxMin", (PyCFunction
) _wrap_PyShape_GetBoundingBoxMin
, METH_VARARGS
| METH_KEYWORDS
},
25906 { (char *)"PyShape_GetPerimeterPoint", (PyCFunction
) _wrap_PyShape_GetPerimeterPoint
, METH_VARARGS
| METH_KEYWORDS
},
25907 { (char *)"PyShape_GetCanvas", (PyCFunction
) _wrap_PyShape_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25908 { (char *)"PyShape_SetCanvas", (PyCFunction
) _wrap_PyShape_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25909 { (char *)"PyShape_AddToCanvas", (PyCFunction
) _wrap_PyShape_AddToCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25910 { (char *)"PyShape_InsertInCanvas", (PyCFunction
) _wrap_PyShape_InsertInCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25911 { (char *)"PyShape_RemoveFromCanvas", (PyCFunction
) _wrap_PyShape_RemoveFromCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25912 { (char *)"PyShape_GetX", (PyCFunction
) _wrap_PyShape_GetX
, METH_VARARGS
| METH_KEYWORDS
},
25913 { (char *)"PyShape_GetY", (PyCFunction
) _wrap_PyShape_GetY
, METH_VARARGS
| METH_KEYWORDS
},
25914 { (char *)"PyShape_SetX", (PyCFunction
) _wrap_PyShape_SetX
, METH_VARARGS
| METH_KEYWORDS
},
25915 { (char *)"PyShape_SetY", (PyCFunction
) _wrap_PyShape_SetY
, METH_VARARGS
| METH_KEYWORDS
},
25916 { (char *)"PyShape_GetParent", (PyCFunction
) _wrap_PyShape_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
25917 { (char *)"PyShape_SetParent", (PyCFunction
) _wrap_PyShape_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
25918 { (char *)"PyShape_GetTopAncestor", (PyCFunction
) _wrap_PyShape_GetTopAncestor
, METH_VARARGS
| METH_KEYWORDS
},
25919 { (char *)"PyShape_GetChildren", (PyCFunction
) _wrap_PyShape_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
25920 { (char *)"PyShape_Unlink", (PyCFunction
) _wrap_PyShape_Unlink
, METH_VARARGS
| METH_KEYWORDS
},
25921 { (char *)"PyShape_SetDrawHandles", (PyCFunction
) _wrap_PyShape_SetDrawHandles
, METH_VARARGS
| METH_KEYWORDS
},
25922 { (char *)"PyShape_GetDrawHandles", (PyCFunction
) _wrap_PyShape_GetDrawHandles
, METH_VARARGS
| METH_KEYWORDS
},
25923 { (char *)"PyShape_MakeControlPoints", (PyCFunction
) _wrap_PyShape_MakeControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
25924 { (char *)"PyShape_DeleteControlPoints", (PyCFunction
) _wrap_PyShape_DeleteControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
25925 { (char *)"PyShape_ResetControlPoints", (PyCFunction
) _wrap_PyShape_ResetControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
25926 { (char *)"PyShape_GetEventHandler", (PyCFunction
) _wrap_PyShape_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
25927 { (char *)"PyShape_SetEventHandler", (PyCFunction
) _wrap_PyShape_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
25928 { (char *)"PyShape_MakeMandatoryControlPoints", (PyCFunction
) _wrap_PyShape_MakeMandatoryControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
25929 { (char *)"PyShape_ResetMandatoryControlPoints", (PyCFunction
) _wrap_PyShape_ResetMandatoryControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
25930 { (char *)"PyShape_Recompute", (PyCFunction
) _wrap_PyShape_Recompute
, METH_VARARGS
| METH_KEYWORDS
},
25931 { (char *)"PyShape_CalculateSize", (PyCFunction
) _wrap_PyShape_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
},
25932 { (char *)"PyShape_Select", (PyCFunction
) _wrap_PyShape_Select
, METH_VARARGS
| METH_KEYWORDS
},
25933 { (char *)"PyShape_SetHighlight", (PyCFunction
) _wrap_PyShape_SetHighlight
, METH_VARARGS
| METH_KEYWORDS
},
25934 { (char *)"PyShape_IsHighlighted", (PyCFunction
) _wrap_PyShape_IsHighlighted
, METH_VARARGS
| METH_KEYWORDS
},
25935 { (char *)"PyShape_Selected", (PyCFunction
) _wrap_PyShape_Selected
, METH_VARARGS
| METH_KEYWORDS
},
25936 { (char *)"PyShape_AncestorSelected", (PyCFunction
) _wrap_PyShape_AncestorSelected
, METH_VARARGS
| METH_KEYWORDS
},
25937 { (char *)"PyShape_SetSensitivityFilter", (PyCFunction
) _wrap_PyShape_SetSensitivityFilter
, METH_VARARGS
| METH_KEYWORDS
},
25938 { (char *)"PyShape_GetSensitivityFilter", (PyCFunction
) _wrap_PyShape_GetSensitivityFilter
, METH_VARARGS
| METH_KEYWORDS
},
25939 { (char *)"PyShape_SetDraggable", (PyCFunction
) _wrap_PyShape_SetDraggable
, METH_VARARGS
| METH_KEYWORDS
},
25940 { (char *)"PyShape_SetFixedSize", (PyCFunction
) _wrap_PyShape_SetFixedSize
, METH_VARARGS
| METH_KEYWORDS
},
25941 { (char *)"PyShape_GetFixedSize", (PyCFunction
) _wrap_PyShape_GetFixedSize
, METH_VARARGS
| METH_KEYWORDS
},
25942 { (char *)"PyShape_GetFixedWidth", (PyCFunction
) _wrap_PyShape_GetFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
25943 { (char *)"PyShape_GetFixedHeight", (PyCFunction
) _wrap_PyShape_GetFixedHeight
, METH_VARARGS
| METH_KEYWORDS
},
25944 { (char *)"PyShape_SetSpaceAttachments", (PyCFunction
) _wrap_PyShape_SetSpaceAttachments
, METH_VARARGS
| METH_KEYWORDS
},
25945 { (char *)"PyShape_GetSpaceAttachments", (PyCFunction
) _wrap_PyShape_GetSpaceAttachments
, METH_VARARGS
| METH_KEYWORDS
},
25946 { (char *)"PyShape_SetShadowMode", (PyCFunction
) _wrap_PyShape_SetShadowMode
, METH_VARARGS
| METH_KEYWORDS
},
25947 { (char *)"PyShape_GetShadowMode", (PyCFunction
) _wrap_PyShape_GetShadowMode
, METH_VARARGS
| METH_KEYWORDS
},
25948 { (char *)"PyShape_HitTest", (PyCFunction
) _wrap_PyShape_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
25949 { (char *)"PyShape_SetCentreResize", (PyCFunction
) _wrap_PyShape_SetCentreResize
, METH_VARARGS
| METH_KEYWORDS
},
25950 { (char *)"PyShape_GetCentreResize", (PyCFunction
) _wrap_PyShape_GetCentreResize
, METH_VARARGS
| METH_KEYWORDS
},
25951 { (char *)"PyShape_SetMaintainAspectRatio", (PyCFunction
) _wrap_PyShape_SetMaintainAspectRatio
, METH_VARARGS
| METH_KEYWORDS
},
25952 { (char *)"PyShape_GetMaintainAspectRatio", (PyCFunction
) _wrap_PyShape_GetMaintainAspectRatio
, METH_VARARGS
| METH_KEYWORDS
},
25953 { (char *)"PyShape_GetLines", (PyCFunction
) _wrap_PyShape_GetLines
, METH_VARARGS
| METH_KEYWORDS
},
25954 { (char *)"PyShape_SetDisableLabel", (PyCFunction
) _wrap_PyShape_SetDisableLabel
, METH_VARARGS
| METH_KEYWORDS
},
25955 { (char *)"PyShape_GetDisableLabel", (PyCFunction
) _wrap_PyShape_GetDisableLabel
, METH_VARARGS
| METH_KEYWORDS
},
25956 { (char *)"PyShape_SetAttachmentMode", (PyCFunction
) _wrap_PyShape_SetAttachmentMode
, METH_VARARGS
| METH_KEYWORDS
},
25957 { (char *)"PyShape_GetAttachmentMode", (PyCFunction
) _wrap_PyShape_GetAttachmentMode
, METH_VARARGS
| METH_KEYWORDS
},
25958 { (char *)"PyShape_SetId", (PyCFunction
) _wrap_PyShape_SetId
, METH_VARARGS
| METH_KEYWORDS
},
25959 { (char *)"PyShape_GetId", (PyCFunction
) _wrap_PyShape_GetId
, METH_VARARGS
| METH_KEYWORDS
},
25960 { (char *)"PyShape_SetPen", (PyCFunction
) _wrap_PyShape_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
25961 { (char *)"PyShape_SetBrush", (PyCFunction
) _wrap_PyShape_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
25962 { (char *)"PyShape_Show", (PyCFunction
) _wrap_PyShape_Show
, METH_VARARGS
| METH_KEYWORDS
},
25963 { (char *)"PyShape_IsShown", (PyCFunction
) _wrap_PyShape_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
25964 { (char *)"PyShape_Move", (PyCFunction
) _wrap_PyShape_Move
, METH_VARARGS
| METH_KEYWORDS
},
25965 { (char *)"PyShape_Erase", (PyCFunction
) _wrap_PyShape_Erase
, METH_VARARGS
| METH_KEYWORDS
},
25966 { (char *)"PyShape_EraseContents", (PyCFunction
) _wrap_PyShape_EraseContents
, METH_VARARGS
| METH_KEYWORDS
},
25967 { (char *)"PyShape_Draw", (PyCFunction
) _wrap_PyShape_Draw
, METH_VARARGS
| METH_KEYWORDS
},
25968 { (char *)"PyShape_Flash", (PyCFunction
) _wrap_PyShape_Flash
, METH_VARARGS
| METH_KEYWORDS
},
25969 { (char *)"PyShape_MoveLinks", (PyCFunction
) _wrap_PyShape_MoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
25970 { (char *)"PyShape_DrawContents", (PyCFunction
) _wrap_PyShape_DrawContents
, METH_VARARGS
| METH_KEYWORDS
},
25971 { (char *)"PyShape_SetSize", (PyCFunction
) _wrap_PyShape_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
25972 { (char *)"PyShape_SetAttachmentSize", (PyCFunction
) _wrap_PyShape_SetAttachmentSize
, METH_VARARGS
| METH_KEYWORDS
},
25973 { (char *)"PyShape_Attach", (PyCFunction
) _wrap_PyShape_Attach
, METH_VARARGS
| METH_KEYWORDS
},
25974 { (char *)"PyShape_Detach", (PyCFunction
) _wrap_PyShape_Detach
, METH_VARARGS
| METH_KEYWORDS
},
25975 { (char *)"PyShape_Constrain", (PyCFunction
) _wrap_PyShape_Constrain
, METH_VARARGS
| METH_KEYWORDS
},
25976 { (char *)"PyShape_AddLine", (PyCFunction
) _wrap_PyShape_AddLine
, METH_VARARGS
| METH_KEYWORDS
},
25977 { (char *)"PyShape_GetLinePosition", (PyCFunction
) _wrap_PyShape_GetLinePosition
, METH_VARARGS
| METH_KEYWORDS
},
25978 { (char *)"PyShape_AddText", (PyCFunction
) _wrap_PyShape_AddText
, METH_VARARGS
| METH_KEYWORDS
},
25979 { (char *)"PyShape_GetPen", (PyCFunction
) _wrap_PyShape_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
25980 { (char *)"PyShape_GetBrush", (PyCFunction
) _wrap_PyShape_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
25981 { (char *)"PyShape_SetDefaultRegionSize", (PyCFunction
) _wrap_PyShape_SetDefaultRegionSize
, METH_VARARGS
| METH_KEYWORDS
},
25982 { (char *)"PyShape_FormatText", (PyCFunction
) _wrap_PyShape_FormatText
, METH_VARARGS
| METH_KEYWORDS
},
25983 { (char *)"PyShape_SetFormatMode", (PyCFunction
) _wrap_PyShape_SetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
25984 { (char *)"PyShape_GetFormatMode", (PyCFunction
) _wrap_PyShape_GetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
25985 { (char *)"PyShape_SetFont", (PyCFunction
) _wrap_PyShape_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
25986 { (char *)"PyShape_GetFont", (PyCFunction
) _wrap_PyShape_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
25987 { (char *)"PyShape_SetTextColour", (PyCFunction
) _wrap_PyShape_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
25988 { (char *)"PyShape_GetTextColour", (PyCFunction
) _wrap_PyShape_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
25989 { (char *)"PyShape_GetNumberOfTextRegions", (PyCFunction
) _wrap_PyShape_GetNumberOfTextRegions
, METH_VARARGS
| METH_KEYWORDS
},
25990 { (char *)"PyShape_SetRegionName", (PyCFunction
) _wrap_PyShape_SetRegionName
, METH_VARARGS
| METH_KEYWORDS
},
25991 { (char *)"PyShape_GetRegionName", (PyCFunction
) _wrap_PyShape_GetRegionName
, METH_VARARGS
| METH_KEYWORDS
},
25992 { (char *)"PyShape_GetRegionId", (PyCFunction
) _wrap_PyShape_GetRegionId
, METH_VARARGS
| METH_KEYWORDS
},
25993 { (char *)"PyShape_NameRegions", (PyCFunction
) _wrap_PyShape_NameRegions
, METH_VARARGS
| METH_KEYWORDS
},
25994 { (char *)"PyShape_GetRegions", (PyCFunction
) _wrap_PyShape_GetRegions
, METH_VARARGS
| METH_KEYWORDS
},
25995 { (char *)"PyShape_AddRegion", (PyCFunction
) _wrap_PyShape_AddRegion
, METH_VARARGS
| METH_KEYWORDS
},
25996 { (char *)"PyShape_ClearRegions", (PyCFunction
) _wrap_PyShape_ClearRegions
, METH_VARARGS
| METH_KEYWORDS
},
25997 { (char *)"PyShape_AssignNewIds", (PyCFunction
) _wrap_PyShape_AssignNewIds
, METH_VARARGS
| METH_KEYWORDS
},
25998 { (char *)"PyShape_FindRegion", (PyCFunction
) _wrap_PyShape_FindRegion
, METH_VARARGS
| METH_KEYWORDS
},
25999 { (char *)"PyShape_FindRegionNames", (PyCFunction
) _wrap_PyShape_FindRegionNames
, METH_VARARGS
| METH_KEYWORDS
},
26000 { (char *)"PyShape_ClearText", (PyCFunction
) _wrap_PyShape_ClearText
, METH_VARARGS
| METH_KEYWORDS
},
26001 { (char *)"PyShape_RemoveLine", (PyCFunction
) _wrap_PyShape_RemoveLine
, METH_VARARGS
| METH_KEYWORDS
},
26002 { (char *)"PyShape_GetAttachmentPosition", (PyCFunction
) _wrap_PyShape_GetAttachmentPosition
, METH_VARARGS
| METH_KEYWORDS
},
26003 { (char *)"PyShape_GetNumberOfAttachments", (PyCFunction
) _wrap_PyShape_GetNumberOfAttachments
, METH_VARARGS
| METH_KEYWORDS
},
26004 { (char *)"PyShape_AttachmentIsValid", (PyCFunction
) _wrap_PyShape_AttachmentIsValid
, METH_VARARGS
| METH_KEYWORDS
},
26005 { (char *)"PyShape_GetAttachmentPositionEdge", (PyCFunction
) _wrap_PyShape_GetAttachmentPositionEdge
, METH_VARARGS
| METH_KEYWORDS
},
26006 { (char *)"PyShape_CalcSimpleAttachment", (PyCFunction
) _wrap_PyShape_CalcSimpleAttachment
, METH_VARARGS
| METH_KEYWORDS
},
26007 { (char *)"PyShape_AttachmentSortTest", (PyCFunction
) _wrap_PyShape_AttachmentSortTest
, METH_VARARGS
| METH_KEYWORDS
},
26008 { (char *)"PyShape_EraseLinks", (PyCFunction
) _wrap_PyShape_EraseLinks
, METH_VARARGS
| METH_KEYWORDS
},
26009 { (char *)"PyShape_DrawLinks", (PyCFunction
) _wrap_PyShape_DrawLinks
, METH_VARARGS
| METH_KEYWORDS
},
26010 { (char *)"PyShape_MoveLineToNewAttachment", (PyCFunction
) _wrap_PyShape_MoveLineToNewAttachment
, METH_VARARGS
| METH_KEYWORDS
},
26011 { (char *)"PyShape_ApplyAttachmentOrdering", (PyCFunction
) _wrap_PyShape_ApplyAttachmentOrdering
, METH_VARARGS
| METH_KEYWORDS
},
26012 { (char *)"PyShape_GetBranchingAttachmentRoot", (PyCFunction
) _wrap_PyShape_GetBranchingAttachmentRoot
, METH_VARARGS
| METH_KEYWORDS
},
26013 { (char *)"PyShape_GetBranchingAttachmentInfo", (PyCFunction
) _wrap_PyShape_GetBranchingAttachmentInfo
, METH_VARARGS
| METH_KEYWORDS
},
26014 { (char *)"PyShape_GetBranchingAttachmentPoint", (PyCFunction
) _wrap_PyShape_GetBranchingAttachmentPoint
, METH_VARARGS
| METH_KEYWORDS
},
26015 { (char *)"PyShape_GetAttachmentLineCount", (PyCFunction
) _wrap_PyShape_GetAttachmentLineCount
, METH_VARARGS
| METH_KEYWORDS
},
26016 { (char *)"PyShape_SetBranchNeckLength", (PyCFunction
) _wrap_PyShape_SetBranchNeckLength
, METH_VARARGS
| METH_KEYWORDS
},
26017 { (char *)"PyShape_GetBranchNeckLength", (PyCFunction
) _wrap_PyShape_GetBranchNeckLength
, METH_VARARGS
| METH_KEYWORDS
},
26018 { (char *)"PyShape_SetBranchStemLength", (PyCFunction
) _wrap_PyShape_SetBranchStemLength
, METH_VARARGS
| METH_KEYWORDS
},
26019 { (char *)"PyShape_GetBranchStemLength", (PyCFunction
) _wrap_PyShape_GetBranchStemLength
, METH_VARARGS
| METH_KEYWORDS
},
26020 { (char *)"PyShape_SetBranchSpacing", (PyCFunction
) _wrap_PyShape_SetBranchSpacing
, METH_VARARGS
| METH_KEYWORDS
},
26021 { (char *)"PyShape_GetBranchSpacing", (PyCFunction
) _wrap_PyShape_GetBranchSpacing
, METH_VARARGS
| METH_KEYWORDS
},
26022 { (char *)"PyShape_SetBranchStyle", (PyCFunction
) _wrap_PyShape_SetBranchStyle
, METH_VARARGS
| METH_KEYWORDS
},
26023 { (char *)"PyShape_GetBranchStyle", (PyCFunction
) _wrap_PyShape_GetBranchStyle
, METH_VARARGS
| METH_KEYWORDS
},
26024 { (char *)"PyShape_PhysicalToLogicalAttachment", (PyCFunction
) _wrap_PyShape_PhysicalToLogicalAttachment
, METH_VARARGS
| METH_KEYWORDS
},
26025 { (char *)"PyShape_LogicalToPhysicalAttachment", (PyCFunction
) _wrap_PyShape_LogicalToPhysicalAttachment
, METH_VARARGS
| METH_KEYWORDS
},
26026 { (char *)"PyShape_Draggable", (PyCFunction
) _wrap_PyShape_Draggable
, METH_VARARGS
| METH_KEYWORDS
},
26027 { (char *)"PyShape_HasDescendant", (PyCFunction
) _wrap_PyShape_HasDescendant
, METH_VARARGS
| METH_KEYWORDS
},
26028 { (char *)"PyShape_CreateNewCopy", (PyCFunction
) _wrap_PyShape_CreateNewCopy
, METH_VARARGS
| METH_KEYWORDS
},
26029 { (char *)"PyShape_Copy", (PyCFunction
) _wrap_PyShape_Copy
, METH_VARARGS
| METH_KEYWORDS
},
26030 { (char *)"PyShape_CopyWithHandler", (PyCFunction
) _wrap_PyShape_CopyWithHandler
, METH_VARARGS
| METH_KEYWORDS
},
26031 { (char *)"PyShape_Rotate", (PyCFunction
) _wrap_PyShape_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
26032 { (char *)"PyShape_GetRotation", (PyCFunction
) _wrap_PyShape_GetRotation
, METH_VARARGS
| METH_KEYWORDS
},
26033 { (char *)"PyShape_ClearAttachments", (PyCFunction
) _wrap_PyShape_ClearAttachments
, METH_VARARGS
| METH_KEYWORDS
},
26034 { (char *)"PyShape_Recentre", (PyCFunction
) _wrap_PyShape_Recentre
, METH_VARARGS
| METH_KEYWORDS
},
26035 { (char *)"PyShape_ClearPointList", (PyCFunction
) _wrap_PyShape_ClearPointList
, METH_VARARGS
| METH_KEYWORDS
},
26036 { (char *)"PyShape_GetBackgroundPen", (PyCFunction
) _wrap_PyShape_GetBackgroundPen
, METH_VARARGS
| METH_KEYWORDS
},
26037 { (char *)"PyShape_GetBackgroundBrush", (PyCFunction
) _wrap_PyShape_GetBackgroundBrush
, METH_VARARGS
| METH_KEYWORDS
},
26038 { (char *)"PyShape_base_OnDelete", (PyCFunction
) _wrap_PyShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
26039 { (char *)"PyShape_base_OnDraw", (PyCFunction
) _wrap_PyShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
26040 { (char *)"PyShape_base_OnDrawContents", (PyCFunction
) _wrap_PyShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
26041 { (char *)"PyShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
26042 { (char *)"PyShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
26043 { (char *)"PyShape_base_OnErase", (PyCFunction
) _wrap_PyShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
26044 { (char *)"PyShape_base_OnEraseContents", (PyCFunction
) _wrap_PyShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
26045 { (char *)"PyShape_base_OnHighlight", (PyCFunction
) _wrap_PyShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
26046 { (char *)"PyShape_base_OnLeftClick", (PyCFunction
) _wrap_PyShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
26047 { (char *)"PyShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
26048 { (char *)"PyShape_base_OnRightClick", (PyCFunction
) _wrap_PyShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
26049 { (char *)"PyShape_base_OnSize", (PyCFunction
) _wrap_PyShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
26050 { (char *)"PyShape_base_OnMovePre", (PyCFunction
) _wrap_PyShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
26051 { (char *)"PyShape_base_OnMovePost", (PyCFunction
) _wrap_PyShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
26052 { (char *)"PyShape_base_OnDragLeft", (PyCFunction
) _wrap_PyShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26053 { (char *)"PyShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26054 { (char *)"PyShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26055 { (char *)"PyShape_base_OnDragRight", (PyCFunction
) _wrap_PyShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26056 { (char *)"PyShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26057 { (char *)"PyShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26058 { (char *)"PyShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
26059 { (char *)"PyShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26060 { (char *)"PyShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26061 { (char *)"PyShape_base_OnMoveLink", (PyCFunction
) _wrap_PyShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
26062 { (char *)"PyShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26063 { (char *)"PyShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26064 { (char *)"PyShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26065 { (char *)"PyShape_base_OnBeginSize", (PyCFunction
) _wrap_PyShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
26066 { (char *)"PyShape_base_OnEndSize", (PyCFunction
) _wrap_PyShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
26067 { (char *)"PyShape_swigregister", PyShape_swigregister
, METH_VARARGS
},
26068 { (char *)"new_PseudoMetaFile", (PyCFunction
) _wrap_new_PseudoMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
26069 { (char *)"delete_PseudoMetaFile", (PyCFunction
) _wrap_delete_PseudoMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
26070 { (char *)"PseudoMetaFile_Draw", (PyCFunction
) _wrap_PseudoMetaFile_Draw
, METH_VARARGS
| METH_KEYWORDS
},
26071 { (char *)"PseudoMetaFile_Clear", (PyCFunction
) _wrap_PseudoMetaFile_Clear
, METH_VARARGS
| METH_KEYWORDS
},
26072 { (char *)"PseudoMetaFile_Copy", (PyCFunction
) _wrap_PseudoMetaFile_Copy
, METH_VARARGS
| METH_KEYWORDS
},
26073 { (char *)"PseudoMetaFile_Scale", (PyCFunction
) _wrap_PseudoMetaFile_Scale
, METH_VARARGS
| METH_KEYWORDS
},
26074 { (char *)"PseudoMetaFile_ScaleTo", (PyCFunction
) _wrap_PseudoMetaFile_ScaleTo
, METH_VARARGS
| METH_KEYWORDS
},
26075 { (char *)"PseudoMetaFile_Translate", (PyCFunction
) _wrap_PseudoMetaFile_Translate
, METH_VARARGS
| METH_KEYWORDS
},
26076 { (char *)"PseudoMetaFile_Rotate", (PyCFunction
) _wrap_PseudoMetaFile_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
26077 { (char *)"PseudoMetaFile_LoadFromMetaFile", (PyCFunction
) _wrap_PseudoMetaFile_LoadFromMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
26078 { (char *)"PseudoMetaFile_GetBounds", (PyCFunction
) _wrap_PseudoMetaFile_GetBounds
, METH_VARARGS
| METH_KEYWORDS
},
26079 { (char *)"PseudoMetaFile_CalculateSize", (PyCFunction
) _wrap_PseudoMetaFile_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
},
26080 { (char *)"PseudoMetaFile_SetRotateable", (PyCFunction
) _wrap_PseudoMetaFile_SetRotateable
, METH_VARARGS
| METH_KEYWORDS
},
26081 { (char *)"PseudoMetaFile_GetRotateable", (PyCFunction
) _wrap_PseudoMetaFile_GetRotateable
, METH_VARARGS
| METH_KEYWORDS
},
26082 { (char *)"PseudoMetaFile_SetSize", (PyCFunction
) _wrap_PseudoMetaFile_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
26083 { (char *)"PseudoMetaFile_SetFillBrush", (PyCFunction
) _wrap_PseudoMetaFile_SetFillBrush
, METH_VARARGS
| METH_KEYWORDS
},
26084 { (char *)"PseudoMetaFile_GetFillBrush", (PyCFunction
) _wrap_PseudoMetaFile_GetFillBrush
, METH_VARARGS
| METH_KEYWORDS
},
26085 { (char *)"PseudoMetaFile_SetOutlinePen", (PyCFunction
) _wrap_PseudoMetaFile_SetOutlinePen
, METH_VARARGS
| METH_KEYWORDS
},
26086 { (char *)"PseudoMetaFile_GetOutlinePen", (PyCFunction
) _wrap_PseudoMetaFile_GetOutlinePen
, METH_VARARGS
| METH_KEYWORDS
},
26087 { (char *)"PseudoMetaFile_SetOutlineOp", (PyCFunction
) _wrap_PseudoMetaFile_SetOutlineOp
, METH_VARARGS
| METH_KEYWORDS
},
26088 { (char *)"PseudoMetaFile_GetOutlineOp", (PyCFunction
) _wrap_PseudoMetaFile_GetOutlineOp
, METH_VARARGS
| METH_KEYWORDS
},
26089 { (char *)"PseudoMetaFile_IsValid", (PyCFunction
) _wrap_PseudoMetaFile_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
26090 { (char *)"PseudoMetaFile_DrawLine", (PyCFunction
) _wrap_PseudoMetaFile_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
26091 { (char *)"PseudoMetaFile_DrawRectangle", (PyCFunction
) _wrap_PseudoMetaFile_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
26092 { (char *)"PseudoMetaFile_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoMetaFile_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
26093 { (char *)"PseudoMetaFile_DrawArc", (PyCFunction
) _wrap_PseudoMetaFile_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
26094 { (char *)"PseudoMetaFile_DrawEllipticArc", (PyCFunction
) _wrap_PseudoMetaFile_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
26095 { (char *)"PseudoMetaFile_DrawEllipse", (PyCFunction
) _wrap_PseudoMetaFile_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
26096 { (char *)"PseudoMetaFile_DrawPoint", (PyCFunction
) _wrap_PseudoMetaFile_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
26097 { (char *)"PseudoMetaFile_DrawText", (PyCFunction
) _wrap_PseudoMetaFile_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
26098 { (char *)"PseudoMetaFile_DrawLines", (PyCFunction
) _wrap_PseudoMetaFile_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
26099 { (char *)"PseudoMetaFile_DrawPolygon", (PyCFunction
) _wrap_PseudoMetaFile_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
26100 { (char *)"PseudoMetaFile_DrawSpline", (PyCFunction
) _wrap_PseudoMetaFile_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
26101 { (char *)"PseudoMetaFile_SetClippingRect", (PyCFunction
) _wrap_PseudoMetaFile_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
26102 { (char *)"PseudoMetaFile_DestroyClippingRect", (PyCFunction
) _wrap_PseudoMetaFile_DestroyClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
26103 { (char *)"PseudoMetaFile_SetPen", (PyCFunction
) _wrap_PseudoMetaFile_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
26104 { (char *)"PseudoMetaFile_SetBrush", (PyCFunction
) _wrap_PseudoMetaFile_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
26105 { (char *)"PseudoMetaFile_SetFont", (PyCFunction
) _wrap_PseudoMetaFile_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
26106 { (char *)"PseudoMetaFile_SetTextColour", (PyCFunction
) _wrap_PseudoMetaFile_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26107 { (char *)"PseudoMetaFile_SetBackgroundColour", (PyCFunction
) _wrap_PseudoMetaFile_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26108 { (char *)"PseudoMetaFile_SetBackgroundMode", (PyCFunction
) _wrap_PseudoMetaFile_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
26109 { (char *)"PseudoMetaFile_swigregister", PseudoMetaFile_swigregister
, METH_VARARGS
},
26110 { (char *)"new_PyRectangleShape", (PyCFunction
) _wrap_new_PyRectangleShape
, METH_VARARGS
| METH_KEYWORDS
},
26111 { (char *)"PyRectangleShape__setCallbackInfo", (PyCFunction
) _wrap_PyRectangleShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26112 { (char *)"PyRectangleShape_SetCornerRadius", (PyCFunction
) _wrap_PyRectangleShape_SetCornerRadius
, METH_VARARGS
| METH_KEYWORDS
},
26113 { (char *)"PyRectangleShape_base_OnDelete", (PyCFunction
) _wrap_PyRectangleShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
26114 { (char *)"PyRectangleShape_base_OnDraw", (PyCFunction
) _wrap_PyRectangleShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
26115 { (char *)"PyRectangleShape_base_OnDrawContents", (PyCFunction
) _wrap_PyRectangleShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
26116 { (char *)"PyRectangleShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyRectangleShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
26117 { (char *)"PyRectangleShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyRectangleShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
26118 { (char *)"PyRectangleShape_base_OnErase", (PyCFunction
) _wrap_PyRectangleShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
26119 { (char *)"PyRectangleShape_base_OnEraseContents", (PyCFunction
) _wrap_PyRectangleShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
26120 { (char *)"PyRectangleShape_base_OnHighlight", (PyCFunction
) _wrap_PyRectangleShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
26121 { (char *)"PyRectangleShape_base_OnLeftClick", (PyCFunction
) _wrap_PyRectangleShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
26122 { (char *)"PyRectangleShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyRectangleShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
26123 { (char *)"PyRectangleShape_base_OnRightClick", (PyCFunction
) _wrap_PyRectangleShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
26124 { (char *)"PyRectangleShape_base_OnSize", (PyCFunction
) _wrap_PyRectangleShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
26125 { (char *)"PyRectangleShape_base_OnMovePre", (PyCFunction
) _wrap_PyRectangleShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
26126 { (char *)"PyRectangleShape_base_OnMovePost", (PyCFunction
) _wrap_PyRectangleShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
26127 { (char *)"PyRectangleShape_base_OnDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26128 { (char *)"PyRectangleShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26129 { (char *)"PyRectangleShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26130 { (char *)"PyRectangleShape_base_OnDragRight", (PyCFunction
) _wrap_PyRectangleShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26131 { (char *)"PyRectangleShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyRectangleShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26132 { (char *)"PyRectangleShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyRectangleShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26133 { (char *)"PyRectangleShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyRectangleShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
26134 { (char *)"PyRectangleShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyRectangleShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26135 { (char *)"PyRectangleShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyRectangleShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26136 { (char *)"PyRectangleShape_base_OnMoveLink", (PyCFunction
) _wrap_PyRectangleShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
26137 { (char *)"PyRectangleShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26138 { (char *)"PyRectangleShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26139 { (char *)"PyRectangleShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26140 { (char *)"PyRectangleShape_base_OnBeginSize", (PyCFunction
) _wrap_PyRectangleShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
26141 { (char *)"PyRectangleShape_base_OnEndSize", (PyCFunction
) _wrap_PyRectangleShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
26142 { (char *)"PyRectangleShape_swigregister", PyRectangleShape_swigregister
, METH_VARARGS
},
26143 { (char *)"new_PyControlPoint", (PyCFunction
) _wrap_new_PyControlPoint
, METH_VARARGS
| METH_KEYWORDS
},
26144 { (char *)"PyControlPoint__setCallbackInfo", (PyCFunction
) _wrap_PyControlPoint__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26145 { (char *)"PyControlPoint_SetCornerRadius", (PyCFunction
) _wrap_PyControlPoint_SetCornerRadius
, METH_VARARGS
| METH_KEYWORDS
},
26146 { (char *)"PyControlPoint_base_OnDelete", (PyCFunction
) _wrap_PyControlPoint_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
26147 { (char *)"PyControlPoint_base_OnDraw", (PyCFunction
) _wrap_PyControlPoint_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
26148 { (char *)"PyControlPoint_base_OnDrawContents", (PyCFunction
) _wrap_PyControlPoint_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
26149 { (char *)"PyControlPoint_base_OnDrawBranches", (PyCFunction
) _wrap_PyControlPoint_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
26150 { (char *)"PyControlPoint_base_OnMoveLinks", (PyCFunction
) _wrap_PyControlPoint_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
26151 { (char *)"PyControlPoint_base_OnErase", (PyCFunction
) _wrap_PyControlPoint_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
26152 { (char *)"PyControlPoint_base_OnEraseContents", (PyCFunction
) _wrap_PyControlPoint_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
26153 { (char *)"PyControlPoint_base_OnHighlight", (PyCFunction
) _wrap_PyControlPoint_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
26154 { (char *)"PyControlPoint_base_OnLeftClick", (PyCFunction
) _wrap_PyControlPoint_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
26155 { (char *)"PyControlPoint_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyControlPoint_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
26156 { (char *)"PyControlPoint_base_OnRightClick", (PyCFunction
) _wrap_PyControlPoint_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
26157 { (char *)"PyControlPoint_base_OnSize", (PyCFunction
) _wrap_PyControlPoint_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
26158 { (char *)"PyControlPoint_base_OnMovePre", (PyCFunction
) _wrap_PyControlPoint_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
26159 { (char *)"PyControlPoint_base_OnMovePost", (PyCFunction
) _wrap_PyControlPoint_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
26160 { (char *)"PyControlPoint_base_OnDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26161 { (char *)"PyControlPoint_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26162 { (char *)"PyControlPoint_base_OnEndDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26163 { (char *)"PyControlPoint_base_OnDragRight", (PyCFunction
) _wrap_PyControlPoint_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26164 { (char *)"PyControlPoint_base_OnBeginDragRight", (PyCFunction
) _wrap_PyControlPoint_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26165 { (char *)"PyControlPoint_base_OnEndDragRight", (PyCFunction
) _wrap_PyControlPoint_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26166 { (char *)"PyControlPoint_base_OnDrawOutline", (PyCFunction
) _wrap_PyControlPoint_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
26167 { (char *)"PyControlPoint_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyControlPoint_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26168 { (char *)"PyControlPoint_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyControlPoint_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26169 { (char *)"PyControlPoint_base_OnMoveLink", (PyCFunction
) _wrap_PyControlPoint_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
26170 { (char *)"PyControlPoint_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26171 { (char *)"PyControlPoint_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26172 { (char *)"PyControlPoint_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26173 { (char *)"PyControlPoint_base_OnBeginSize", (PyCFunction
) _wrap_PyControlPoint_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
26174 { (char *)"PyControlPoint_base_OnEndSize", (PyCFunction
) _wrap_PyControlPoint_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
26175 { (char *)"PyControlPoint_swigregister", PyControlPoint_swigregister
, METH_VARARGS
},
26176 { (char *)"new_PyBitmapShape", (PyCFunction
) _wrap_new_PyBitmapShape
, METH_VARARGS
| METH_KEYWORDS
},
26177 { (char *)"PyBitmapShape__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26178 { (char *)"PyBitmapShape_GetBitmap", (PyCFunction
) _wrap_PyBitmapShape_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26179 { (char *)"PyBitmapShape_GetFilename", (PyCFunction
) _wrap_PyBitmapShape_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
26180 { (char *)"PyBitmapShape_SetBitmap", (PyCFunction
) _wrap_PyBitmapShape_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26181 { (char *)"PyBitmapShape_SetFilename", (PyCFunction
) _wrap_PyBitmapShape_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
26182 { (char *)"PyBitmapShape_base_OnDelete", (PyCFunction
) _wrap_PyBitmapShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
26183 { (char *)"PyBitmapShape_base_OnDraw", (PyCFunction
) _wrap_PyBitmapShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
26184 { (char *)"PyBitmapShape_base_OnDrawContents", (PyCFunction
) _wrap_PyBitmapShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
26185 { (char *)"PyBitmapShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyBitmapShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
26186 { (char *)"PyBitmapShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyBitmapShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
26187 { (char *)"PyBitmapShape_base_OnErase", (PyCFunction
) _wrap_PyBitmapShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
26188 { (char *)"PyBitmapShape_base_OnEraseContents", (PyCFunction
) _wrap_PyBitmapShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
26189 { (char *)"PyBitmapShape_base_OnHighlight", (PyCFunction
) _wrap_PyBitmapShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
26190 { (char *)"PyBitmapShape_base_OnLeftClick", (PyCFunction
) _wrap_PyBitmapShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
26191 { (char *)"PyBitmapShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyBitmapShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
26192 { (char *)"PyBitmapShape_base_OnRightClick", (PyCFunction
) _wrap_PyBitmapShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
26193 { (char *)"PyBitmapShape_base_OnSize", (PyCFunction
) _wrap_PyBitmapShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
26194 { (char *)"PyBitmapShape_base_OnMovePre", (PyCFunction
) _wrap_PyBitmapShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
26195 { (char *)"PyBitmapShape_base_OnMovePost", (PyCFunction
) _wrap_PyBitmapShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
26196 { (char *)"PyBitmapShape_base_OnDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26197 { (char *)"PyBitmapShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26198 { (char *)"PyBitmapShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26199 { (char *)"PyBitmapShape_base_OnDragRight", (PyCFunction
) _wrap_PyBitmapShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26200 { (char *)"PyBitmapShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyBitmapShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26201 { (char *)"PyBitmapShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyBitmapShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26202 { (char *)"PyBitmapShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyBitmapShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
26203 { (char *)"PyBitmapShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyBitmapShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26204 { (char *)"PyBitmapShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyBitmapShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26205 { (char *)"PyBitmapShape_base_OnMoveLink", (PyCFunction
) _wrap_PyBitmapShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
26206 { (char *)"PyBitmapShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26207 { (char *)"PyBitmapShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26208 { (char *)"PyBitmapShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26209 { (char *)"PyBitmapShape_base_OnBeginSize", (PyCFunction
) _wrap_PyBitmapShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
26210 { (char *)"PyBitmapShape_base_OnEndSize", (PyCFunction
) _wrap_PyBitmapShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
26211 { (char *)"PyBitmapShape_swigregister", PyBitmapShape_swigregister
, METH_VARARGS
},
26212 { (char *)"new_PyDrawnShape", (PyCFunction
) _wrap_new_PyDrawnShape
, METH_VARARGS
| METH_KEYWORDS
},
26213 { (char *)"PyDrawnShape__setCallbackInfo", (PyCFunction
) _wrap_PyDrawnShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26214 { (char *)"PyDrawnShape_CalculateSize", (PyCFunction
) _wrap_PyDrawnShape_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
},
26215 { (char *)"PyDrawnShape_DestroyClippingRect", (PyCFunction
) _wrap_PyDrawnShape_DestroyClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
26216 { (char *)"PyDrawnShape_DrawArc", (PyCFunction
) _wrap_PyDrawnShape_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
26217 { (char *)"PyDrawnShape_DrawAtAngle", (PyCFunction
) _wrap_PyDrawnShape_DrawAtAngle
, METH_VARARGS
| METH_KEYWORDS
},
26218 { (char *)"PyDrawnShape_DrawEllipticArc", (PyCFunction
) _wrap_PyDrawnShape_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
26219 { (char *)"PyDrawnShape_DrawLine", (PyCFunction
) _wrap_PyDrawnShape_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
26220 { (char *)"PyDrawnShape_DrawLines", (PyCFunction
) _wrap_PyDrawnShape_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
26221 { (char *)"PyDrawnShape_DrawPoint", (PyCFunction
) _wrap_PyDrawnShape_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
26222 { (char *)"PyDrawnShape_DrawPolygon", (PyCFunction
) _wrap_PyDrawnShape_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
26223 { (char *)"PyDrawnShape_DrawRectangle", (PyCFunction
) _wrap_PyDrawnShape_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
26224 { (char *)"PyDrawnShape_DrawRoundedRectangle", (PyCFunction
) _wrap_PyDrawnShape_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
26225 { (char *)"PyDrawnShape_DrawSpline", (PyCFunction
) _wrap_PyDrawnShape_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
26226 { (char *)"PyDrawnShape_DrawText", (PyCFunction
) _wrap_PyDrawnShape_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
26227 { (char *)"PyDrawnShape_GetAngle", (PyCFunction
) _wrap_PyDrawnShape_GetAngle
, METH_VARARGS
| METH_KEYWORDS
},
26228 { (char *)"PyDrawnShape_GetMetaFile", (PyCFunction
) _wrap_PyDrawnShape_GetMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
26229 { (char *)"PyDrawnShape_GetRotation", (PyCFunction
) _wrap_PyDrawnShape_GetRotation
, METH_VARARGS
| METH_KEYWORDS
},
26230 { (char *)"PyDrawnShape_LoadFromMetaFile", (PyCFunction
) _wrap_PyDrawnShape_LoadFromMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
26231 { (char *)"PyDrawnShape_Rotate", (PyCFunction
) _wrap_PyDrawnShape_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
26232 { (char *)"PyDrawnShape_SetClippingRect", (PyCFunction
) _wrap_PyDrawnShape_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
26233 { (char *)"PyDrawnShape_SetDrawnBackgroundColour", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26234 { (char *)"PyDrawnShape_SetDrawnBackgroundMode", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
26235 { (char *)"PyDrawnShape_SetDrawnBrush", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnBrush
, METH_VARARGS
| METH_KEYWORDS
},
26236 { (char *)"PyDrawnShape_SetDrawnFont", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnFont
, METH_VARARGS
| METH_KEYWORDS
},
26237 { (char *)"PyDrawnShape_SetDrawnPen", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnPen
, METH_VARARGS
| METH_KEYWORDS
},
26238 { (char *)"PyDrawnShape_SetDrawnTextColour", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26239 { (char *)"PyDrawnShape_Scale", (PyCFunction
) _wrap_PyDrawnShape_Scale
, METH_VARARGS
| METH_KEYWORDS
},
26240 { (char *)"PyDrawnShape_SetSaveToFile", (PyCFunction
) _wrap_PyDrawnShape_SetSaveToFile
, METH_VARARGS
| METH_KEYWORDS
},
26241 { (char *)"PyDrawnShape_Translate", (PyCFunction
) _wrap_PyDrawnShape_Translate
, METH_VARARGS
| METH_KEYWORDS
},
26242 { (char *)"PyDrawnShape_base_OnDelete", (PyCFunction
) _wrap_PyDrawnShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
26243 { (char *)"PyDrawnShape_base_OnDraw", (PyCFunction
) _wrap_PyDrawnShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
26244 { (char *)"PyDrawnShape_base_OnDrawContents", (PyCFunction
) _wrap_PyDrawnShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
26245 { (char *)"PyDrawnShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyDrawnShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
26246 { (char *)"PyDrawnShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyDrawnShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
26247 { (char *)"PyDrawnShape_base_OnErase", (PyCFunction
) _wrap_PyDrawnShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
26248 { (char *)"PyDrawnShape_base_OnEraseContents", (PyCFunction
) _wrap_PyDrawnShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
26249 { (char *)"PyDrawnShape_base_OnHighlight", (PyCFunction
) _wrap_PyDrawnShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
26250 { (char *)"PyDrawnShape_base_OnLeftClick", (PyCFunction
) _wrap_PyDrawnShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
26251 { (char *)"PyDrawnShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyDrawnShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
26252 { (char *)"PyDrawnShape_base_OnRightClick", (PyCFunction
) _wrap_PyDrawnShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
26253 { (char *)"PyDrawnShape_base_OnSize", (PyCFunction
) _wrap_PyDrawnShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
26254 { (char *)"PyDrawnShape_base_OnMovePre", (PyCFunction
) _wrap_PyDrawnShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
26255 { (char *)"PyDrawnShape_base_OnMovePost", (PyCFunction
) _wrap_PyDrawnShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
26256 { (char *)"PyDrawnShape_base_OnDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26257 { (char *)"PyDrawnShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26258 { (char *)"PyDrawnShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26259 { (char *)"PyDrawnShape_base_OnDragRight", (PyCFunction
) _wrap_PyDrawnShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26260 { (char *)"PyDrawnShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyDrawnShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26261 { (char *)"PyDrawnShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyDrawnShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26262 { (char *)"PyDrawnShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyDrawnShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
26263 { (char *)"PyDrawnShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyDrawnShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26264 { (char *)"PyDrawnShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyDrawnShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26265 { (char *)"PyDrawnShape_base_OnMoveLink", (PyCFunction
) _wrap_PyDrawnShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
26266 { (char *)"PyDrawnShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26267 { (char *)"PyDrawnShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26268 { (char *)"PyDrawnShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26269 { (char *)"PyDrawnShape_base_OnBeginSize", (PyCFunction
) _wrap_PyDrawnShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
26270 { (char *)"PyDrawnShape_base_OnEndSize", (PyCFunction
) _wrap_PyDrawnShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
26271 { (char *)"PyDrawnShape_swigregister", PyDrawnShape_swigregister
, METH_VARARGS
},
26272 { (char *)"new_OGLConstraint", (PyCFunction
) _wrap_new_OGLConstraint
, METH_VARARGS
| METH_KEYWORDS
},
26273 { (char *)"OGLConstraint_Evaluate", (PyCFunction
) _wrap_OGLConstraint_Evaluate
, METH_VARARGS
| METH_KEYWORDS
},
26274 { (char *)"OGLConstraint_SetSpacing", (PyCFunction
) _wrap_OGLConstraint_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
26275 { (char *)"OGLConstraint_Equals", (PyCFunction
) _wrap_OGLConstraint_Equals
, METH_VARARGS
| METH_KEYWORDS
},
26276 { (char *)"OGLConstraint_swigregister", OGLConstraint_swigregister
, METH_VARARGS
},
26277 { (char *)"new_PyCompositeShape", (PyCFunction
) _wrap_new_PyCompositeShape
, METH_VARARGS
| METH_KEYWORDS
},
26278 { (char *)"PyCompositeShape__setCallbackInfo", (PyCFunction
) _wrap_PyCompositeShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26279 { (char *)"PyCompositeShape_AddChild", (PyCFunction
) _wrap_PyCompositeShape_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
26280 { (char *)"PyCompositeShape_AddConstraint", (PyCFunction
) _wrap_PyCompositeShape_AddConstraint
, METH_VARARGS
| METH_KEYWORDS
},
26281 { (char *)"PyCompositeShape_AddConstrainedShapes", (PyCFunction
) _wrap_PyCompositeShape_AddConstrainedShapes
, METH_VARARGS
| METH_KEYWORDS
},
26282 { (char *)"PyCompositeShape_AddSimpleConstraint", (PyCFunction
) _wrap_PyCompositeShape_AddSimpleConstraint
, METH_VARARGS
| METH_KEYWORDS
},
26283 { (char *)"PyCompositeShape_CalculateSize", (PyCFunction
) _wrap_PyCompositeShape_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
},
26284 { (char *)"PyCompositeShape_ContainsDivision", (PyCFunction
) _wrap_PyCompositeShape_ContainsDivision
, METH_VARARGS
| METH_KEYWORDS
},
26285 { (char *)"PyCompositeShape_DeleteConstraint", (PyCFunction
) _wrap_PyCompositeShape_DeleteConstraint
, METH_VARARGS
| METH_KEYWORDS
},
26286 { (char *)"PyCompositeShape_DeleteConstraintsInvolvingChild", (PyCFunction
) _wrap_PyCompositeShape_DeleteConstraintsInvolvingChild
, METH_VARARGS
| METH_KEYWORDS
},
26287 { (char *)"PyCompositeShape_FindContainerImage", (PyCFunction
) _wrap_PyCompositeShape_FindContainerImage
, METH_VARARGS
| METH_KEYWORDS
},
26288 { (char *)"PyCompositeShape_GetConstraints", (PyCFunction
) _wrap_PyCompositeShape_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
26289 { (char *)"PyCompositeShape_GetDivisions", (PyCFunction
) _wrap_PyCompositeShape_GetDivisions
, METH_VARARGS
| METH_KEYWORDS
},
26290 { (char *)"PyCompositeShape_MakeContainer", (PyCFunction
) _wrap_PyCompositeShape_MakeContainer
, METH_VARARGS
| METH_KEYWORDS
},
26291 { (char *)"PyCompositeShape_Recompute", (PyCFunction
) _wrap_PyCompositeShape_Recompute
, METH_VARARGS
| METH_KEYWORDS
},
26292 { (char *)"PyCompositeShape_RemoveChild", (PyCFunction
) _wrap_PyCompositeShape_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
26293 { (char *)"PyCompositeShape_base_OnDelete", (PyCFunction
) _wrap_PyCompositeShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
26294 { (char *)"PyCompositeShape_base_OnDraw", (PyCFunction
) _wrap_PyCompositeShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
26295 { (char *)"PyCompositeShape_base_OnDrawContents", (PyCFunction
) _wrap_PyCompositeShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
26296 { (char *)"PyCompositeShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyCompositeShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
26297 { (char *)"PyCompositeShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyCompositeShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
26298 { (char *)"PyCompositeShape_base_OnErase", (PyCFunction
) _wrap_PyCompositeShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
26299 { (char *)"PyCompositeShape_base_OnEraseContents", (PyCFunction
) _wrap_PyCompositeShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
26300 { (char *)"PyCompositeShape_base_OnHighlight", (PyCFunction
) _wrap_PyCompositeShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
26301 { (char *)"PyCompositeShape_base_OnLeftClick", (PyCFunction
) _wrap_PyCompositeShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
26302 { (char *)"PyCompositeShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyCompositeShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
26303 { (char *)"PyCompositeShape_base_OnRightClick", (PyCFunction
) _wrap_PyCompositeShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
26304 { (char *)"PyCompositeShape_base_OnSize", (PyCFunction
) _wrap_PyCompositeShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
26305 { (char *)"PyCompositeShape_base_OnMovePre", (PyCFunction
) _wrap_PyCompositeShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
26306 { (char *)"PyCompositeShape_base_OnMovePost", (PyCFunction
) _wrap_PyCompositeShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
26307 { (char *)"PyCompositeShape_base_OnDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26308 { (char *)"PyCompositeShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26309 { (char *)"PyCompositeShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26310 { (char *)"PyCompositeShape_base_OnDragRight", (PyCFunction
) _wrap_PyCompositeShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26311 { (char *)"PyCompositeShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyCompositeShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26312 { (char *)"PyCompositeShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyCompositeShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26313 { (char *)"PyCompositeShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyCompositeShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
26314 { (char *)"PyCompositeShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyCompositeShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26315 { (char *)"PyCompositeShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyCompositeShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26316 { (char *)"PyCompositeShape_base_OnMoveLink", (PyCFunction
) _wrap_PyCompositeShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
26317 { (char *)"PyCompositeShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26318 { (char *)"PyCompositeShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26319 { (char *)"PyCompositeShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26320 { (char *)"PyCompositeShape_base_OnBeginSize", (PyCFunction
) _wrap_PyCompositeShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
26321 { (char *)"PyCompositeShape_base_OnEndSize", (PyCFunction
) _wrap_PyCompositeShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
26322 { (char *)"PyCompositeShape_swigregister", PyCompositeShape_swigregister
, METH_VARARGS
},
26323 { (char *)"new_PyDividedShape", (PyCFunction
) _wrap_new_PyDividedShape
, METH_VARARGS
| METH_KEYWORDS
},
26324 { (char *)"PyDividedShape__setCallbackInfo", (PyCFunction
) _wrap_PyDividedShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26325 { (char *)"PyDividedShape_EditRegions", (PyCFunction
) _wrap_PyDividedShape_EditRegions
, METH_VARARGS
| METH_KEYWORDS
},
26326 { (char *)"PyDividedShape_SetRegionSizes", (PyCFunction
) _wrap_PyDividedShape_SetRegionSizes
, METH_VARARGS
| METH_KEYWORDS
},
26327 { (char *)"PyDividedShape_base_OnDelete", (PyCFunction
) _wrap_PyDividedShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
26328 { (char *)"PyDividedShape_base_OnDraw", (PyCFunction
) _wrap_PyDividedShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
26329 { (char *)"PyDividedShape_base_OnDrawContents", (PyCFunction
) _wrap_PyDividedShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
26330 { (char *)"PyDividedShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyDividedShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
26331 { (char *)"PyDividedShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyDividedShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
26332 { (char *)"PyDividedShape_base_OnErase", (PyCFunction
) _wrap_PyDividedShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
26333 { (char *)"PyDividedShape_base_OnEraseContents", (PyCFunction
) _wrap_PyDividedShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
26334 { (char *)"PyDividedShape_base_OnHighlight", (PyCFunction
) _wrap_PyDividedShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
26335 { (char *)"PyDividedShape_base_OnLeftClick", (PyCFunction
) _wrap_PyDividedShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
26336 { (char *)"PyDividedShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyDividedShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
26337 { (char *)"PyDividedShape_base_OnRightClick", (PyCFunction
) _wrap_PyDividedShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
26338 { (char *)"PyDividedShape_base_OnSize", (PyCFunction
) _wrap_PyDividedShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
26339 { (char *)"PyDividedShape_base_OnMovePre", (PyCFunction
) _wrap_PyDividedShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
26340 { (char *)"PyDividedShape_base_OnMovePost", (PyCFunction
) _wrap_PyDividedShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
26341 { (char *)"PyDividedShape_base_OnDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26342 { (char *)"PyDividedShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26343 { (char *)"PyDividedShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26344 { (char *)"PyDividedShape_base_OnDragRight", (PyCFunction
) _wrap_PyDividedShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26345 { (char *)"PyDividedShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyDividedShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26346 { (char *)"PyDividedShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyDividedShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26347 { (char *)"PyDividedShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyDividedShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
26348 { (char *)"PyDividedShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyDividedShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26349 { (char *)"PyDividedShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyDividedShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26350 { (char *)"PyDividedShape_base_OnMoveLink", (PyCFunction
) _wrap_PyDividedShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
26351 { (char *)"PyDividedShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26352 { (char *)"PyDividedShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26353 { (char *)"PyDividedShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26354 { (char *)"PyDividedShape_base_OnBeginSize", (PyCFunction
) _wrap_PyDividedShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
26355 { (char *)"PyDividedShape_base_OnEndSize", (PyCFunction
) _wrap_PyDividedShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
26356 { (char *)"PyDividedShape_swigregister", PyDividedShape_swigregister
, METH_VARARGS
},
26357 { (char *)"new_PyDivisionShape", (PyCFunction
) _wrap_new_PyDivisionShape
, METH_VARARGS
| METH_KEYWORDS
},
26358 { (char *)"PyDivisionShape__setCallbackInfo", (PyCFunction
) _wrap_PyDivisionShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26359 { (char *)"PyDivisionShape_AdjustBottom", (PyCFunction
) _wrap_PyDivisionShape_AdjustBottom
, METH_VARARGS
| METH_KEYWORDS
},
26360 { (char *)"PyDivisionShape_AdjustLeft", (PyCFunction
) _wrap_PyDivisionShape_AdjustLeft
, METH_VARARGS
| METH_KEYWORDS
},
26361 { (char *)"PyDivisionShape_AdjustRight", (PyCFunction
) _wrap_PyDivisionShape_AdjustRight
, METH_VARARGS
| METH_KEYWORDS
},
26362 { (char *)"PyDivisionShape_AdjustTop", (PyCFunction
) _wrap_PyDivisionShape_AdjustTop
, METH_VARARGS
| METH_KEYWORDS
},
26363 { (char *)"PyDivisionShape_Divide", (PyCFunction
) _wrap_PyDivisionShape_Divide
, METH_VARARGS
| METH_KEYWORDS
},
26364 { (char *)"PyDivisionShape_EditEdge", (PyCFunction
) _wrap_PyDivisionShape_EditEdge
, METH_VARARGS
| METH_KEYWORDS
},
26365 { (char *)"PyDivisionShape_GetBottomSide", (PyCFunction
) _wrap_PyDivisionShape_GetBottomSide
, METH_VARARGS
| METH_KEYWORDS
},
26366 { (char *)"PyDivisionShape_GetHandleSide", (PyCFunction
) _wrap_PyDivisionShape_GetHandleSide
, METH_VARARGS
| METH_KEYWORDS
},
26367 { (char *)"PyDivisionShape_GetLeftSide", (PyCFunction
) _wrap_PyDivisionShape_GetLeftSide
, METH_VARARGS
| METH_KEYWORDS
},
26368 { (char *)"PyDivisionShape_GetLeftSideColour", (PyCFunction
) _wrap_PyDivisionShape_GetLeftSideColour
, METH_VARARGS
| METH_KEYWORDS
},
26369 { (char *)"PyDivisionShape_GetLeftSidePen", (PyCFunction
) _wrap_PyDivisionShape_GetLeftSidePen
, METH_VARARGS
| METH_KEYWORDS
},
26370 { (char *)"PyDivisionShape_GetRightSide", (PyCFunction
) _wrap_PyDivisionShape_GetRightSide
, METH_VARARGS
| METH_KEYWORDS
},
26371 { (char *)"PyDivisionShape_GetTopSide", (PyCFunction
) _wrap_PyDivisionShape_GetTopSide
, METH_VARARGS
| METH_KEYWORDS
},
26372 { (char *)"PyDivisionShape_GetTopSidePen", (PyCFunction
) _wrap_PyDivisionShape_GetTopSidePen
, METH_VARARGS
| METH_KEYWORDS
},
26373 { (char *)"PyDivisionShape_ResizeAdjoining", (PyCFunction
) _wrap_PyDivisionShape_ResizeAdjoining
, METH_VARARGS
| METH_KEYWORDS
},
26374 { (char *)"PyDivisionShape_PopupMenu", (PyCFunction
) _wrap_PyDivisionShape_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
26375 { (char *)"PyDivisionShape_SetBottomSide", (PyCFunction
) _wrap_PyDivisionShape_SetBottomSide
, METH_VARARGS
| METH_KEYWORDS
},
26376 { (char *)"PyDivisionShape_SetHandleSide", (PyCFunction
) _wrap_PyDivisionShape_SetHandleSide
, METH_VARARGS
| METH_KEYWORDS
},
26377 { (char *)"PyDivisionShape_SetLeftSide", (PyCFunction
) _wrap_PyDivisionShape_SetLeftSide
, METH_VARARGS
| METH_KEYWORDS
},
26378 { (char *)"PyDivisionShape_SetLeftSideColour", (PyCFunction
) _wrap_PyDivisionShape_SetLeftSideColour
, METH_VARARGS
| METH_KEYWORDS
},
26379 { (char *)"PyDivisionShape_SetLeftSidePen", (PyCFunction
) _wrap_PyDivisionShape_SetLeftSidePen
, METH_VARARGS
| METH_KEYWORDS
},
26380 { (char *)"PyDivisionShape_SetRightSide", (PyCFunction
) _wrap_PyDivisionShape_SetRightSide
, METH_VARARGS
| METH_KEYWORDS
},
26381 { (char *)"PyDivisionShape_SetTopSide", (PyCFunction
) _wrap_PyDivisionShape_SetTopSide
, METH_VARARGS
| METH_KEYWORDS
},
26382 { (char *)"PyDivisionShape_SetTopSideColour", (PyCFunction
) _wrap_PyDivisionShape_SetTopSideColour
, METH_VARARGS
| METH_KEYWORDS
},
26383 { (char *)"PyDivisionShape_SetTopSidePen", (PyCFunction
) _wrap_PyDivisionShape_SetTopSidePen
, METH_VARARGS
| METH_KEYWORDS
},
26384 { (char *)"PyDivisionShape_base_OnDelete", (PyCFunction
) _wrap_PyDivisionShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
26385 { (char *)"PyDivisionShape_base_OnDraw", (PyCFunction
) _wrap_PyDivisionShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
26386 { (char *)"PyDivisionShape_base_OnDrawContents", (PyCFunction
) _wrap_PyDivisionShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
26387 { (char *)"PyDivisionShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyDivisionShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
26388 { (char *)"PyDivisionShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyDivisionShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
26389 { (char *)"PyDivisionShape_base_OnErase", (PyCFunction
) _wrap_PyDivisionShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
26390 { (char *)"PyDivisionShape_base_OnEraseContents", (PyCFunction
) _wrap_PyDivisionShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
26391 { (char *)"PyDivisionShape_base_OnHighlight", (PyCFunction
) _wrap_PyDivisionShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
26392 { (char *)"PyDivisionShape_base_OnLeftClick", (PyCFunction
) _wrap_PyDivisionShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
26393 { (char *)"PyDivisionShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyDivisionShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
26394 { (char *)"PyDivisionShape_base_OnRightClick", (PyCFunction
) _wrap_PyDivisionShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
26395 { (char *)"PyDivisionShape_base_OnSize", (PyCFunction
) _wrap_PyDivisionShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
26396 { (char *)"PyDivisionShape_base_OnMovePre", (PyCFunction
) _wrap_PyDivisionShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
26397 { (char *)"PyDivisionShape_base_OnMovePost", (PyCFunction
) _wrap_PyDivisionShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
26398 { (char *)"PyDivisionShape_base_OnDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26399 { (char *)"PyDivisionShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26400 { (char *)"PyDivisionShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26401 { (char *)"PyDivisionShape_base_OnDragRight", (PyCFunction
) _wrap_PyDivisionShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26402 { (char *)"PyDivisionShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyDivisionShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26403 { (char *)"PyDivisionShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyDivisionShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26404 { (char *)"PyDivisionShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyDivisionShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
26405 { (char *)"PyDivisionShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyDivisionShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26406 { (char *)"PyDivisionShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyDivisionShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26407 { (char *)"PyDivisionShape_base_OnMoveLink", (PyCFunction
) _wrap_PyDivisionShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
26408 { (char *)"PyDivisionShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26409 { (char *)"PyDivisionShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26410 { (char *)"PyDivisionShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26411 { (char *)"PyDivisionShape_base_OnBeginSize", (PyCFunction
) _wrap_PyDivisionShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
26412 { (char *)"PyDivisionShape_base_OnEndSize", (PyCFunction
) _wrap_PyDivisionShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
26413 { (char *)"PyDivisionShape_swigregister", PyDivisionShape_swigregister
, METH_VARARGS
},
26414 { (char *)"new_PyEllipseShape", (PyCFunction
) _wrap_new_PyEllipseShape
, METH_VARARGS
| METH_KEYWORDS
},
26415 { (char *)"PyEllipseShape__setCallbackInfo", (PyCFunction
) _wrap_PyEllipseShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26416 { (char *)"PyEllipseShape_base_OnDraw", (PyCFunction
) _wrap_PyEllipseShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
26417 { (char *)"PyEllipseShape_base_OnDrawContents", (PyCFunction
) _wrap_PyEllipseShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
26418 { (char *)"PyEllipseShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyEllipseShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
26419 { (char *)"PyEllipseShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyEllipseShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
26420 { (char *)"PyEllipseShape_base_OnErase", (PyCFunction
) _wrap_PyEllipseShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
26421 { (char *)"PyEllipseShape_base_OnEraseContents", (PyCFunction
) _wrap_PyEllipseShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
26422 { (char *)"PyEllipseShape_base_OnHighlight", (PyCFunction
) _wrap_PyEllipseShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
26423 { (char *)"PyEllipseShape_base_OnLeftClick", (PyCFunction
) _wrap_PyEllipseShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
26424 { (char *)"PyEllipseShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyEllipseShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
26425 { (char *)"PyEllipseShape_base_OnRightClick", (PyCFunction
) _wrap_PyEllipseShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
26426 { (char *)"PyEllipseShape_base_OnSize", (PyCFunction
) _wrap_PyEllipseShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
26427 { (char *)"PyEllipseShape_base_OnMovePre", (PyCFunction
) _wrap_PyEllipseShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
26428 { (char *)"PyEllipseShape_base_OnMovePost", (PyCFunction
) _wrap_PyEllipseShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
26429 { (char *)"PyEllipseShape_base_OnDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26430 { (char *)"PyEllipseShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26431 { (char *)"PyEllipseShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26432 { (char *)"PyEllipseShape_base_OnDragRight", (PyCFunction
) _wrap_PyEllipseShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26433 { (char *)"PyEllipseShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyEllipseShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26434 { (char *)"PyEllipseShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyEllipseShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26435 { (char *)"PyEllipseShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyEllipseShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
26436 { (char *)"PyEllipseShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyEllipseShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26437 { (char *)"PyEllipseShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyEllipseShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26438 { (char *)"PyEllipseShape_base_OnMoveLink", (PyCFunction
) _wrap_PyEllipseShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
26439 { (char *)"PyEllipseShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26440 { (char *)"PyEllipseShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26441 { (char *)"PyEllipseShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26442 { (char *)"PyEllipseShape_base_OnBeginSize", (PyCFunction
) _wrap_PyEllipseShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
26443 { (char *)"PyEllipseShape_base_OnEndSize", (PyCFunction
) _wrap_PyEllipseShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
26444 { (char *)"PyEllipseShape_swigregister", PyEllipseShape_swigregister
, METH_VARARGS
},
26445 { (char *)"new_PyCircleShape", (PyCFunction
) _wrap_new_PyCircleShape
, METH_VARARGS
| METH_KEYWORDS
},
26446 { (char *)"PyCircleShape__setCallbackInfo", (PyCFunction
) _wrap_PyCircleShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26447 { (char *)"PyCircleShape_base_OnDraw", (PyCFunction
) _wrap_PyCircleShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
26448 { (char *)"PyCircleShape_base_OnDrawContents", (PyCFunction
) _wrap_PyCircleShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
26449 { (char *)"PyCircleShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyCircleShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
26450 { (char *)"PyCircleShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyCircleShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
26451 { (char *)"PyCircleShape_base_OnErase", (PyCFunction
) _wrap_PyCircleShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
26452 { (char *)"PyCircleShape_base_OnEraseContents", (PyCFunction
) _wrap_PyCircleShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
26453 { (char *)"PyCircleShape_base_OnHighlight", (PyCFunction
) _wrap_PyCircleShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
26454 { (char *)"PyCircleShape_base_OnLeftClick", (PyCFunction
) _wrap_PyCircleShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
26455 { (char *)"PyCircleShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyCircleShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
26456 { (char *)"PyCircleShape_base_OnRightClick", (PyCFunction
) _wrap_PyCircleShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
26457 { (char *)"PyCircleShape_base_OnSize", (PyCFunction
) _wrap_PyCircleShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
26458 { (char *)"PyCircleShape_base_OnMovePre", (PyCFunction
) _wrap_PyCircleShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
26459 { (char *)"PyCircleShape_base_OnMovePost", (PyCFunction
) _wrap_PyCircleShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
26460 { (char *)"PyCircleShape_base_OnDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26461 { (char *)"PyCircleShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26462 { (char *)"PyCircleShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26463 { (char *)"PyCircleShape_base_OnDragRight", (PyCFunction
) _wrap_PyCircleShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26464 { (char *)"PyCircleShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyCircleShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26465 { (char *)"PyCircleShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyCircleShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26466 { (char *)"PyCircleShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyCircleShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
26467 { (char *)"PyCircleShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyCircleShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26468 { (char *)"PyCircleShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyCircleShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26469 { (char *)"PyCircleShape_base_OnMoveLink", (PyCFunction
) _wrap_PyCircleShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
26470 { (char *)"PyCircleShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26471 { (char *)"PyCircleShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26472 { (char *)"PyCircleShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26473 { (char *)"PyCircleShape_base_OnBeginSize", (PyCFunction
) _wrap_PyCircleShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
26474 { (char *)"PyCircleShape_base_OnEndSize", (PyCFunction
) _wrap_PyCircleShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
26475 { (char *)"PyCircleShape_swigregister", PyCircleShape_swigregister
, METH_VARARGS
},
26476 { (char *)"new_ArrowHead", (PyCFunction
) _wrap_new_ArrowHead
, METH_VARARGS
| METH_KEYWORDS
},
26477 { (char *)"delete_ArrowHead", (PyCFunction
) _wrap_delete_ArrowHead
, METH_VARARGS
| METH_KEYWORDS
},
26478 { (char *)"ArrowHead__GetType", (PyCFunction
) _wrap_ArrowHead__GetType
, METH_VARARGS
| METH_KEYWORDS
},
26479 { (char *)"ArrowHead_GetPosition", (PyCFunction
) _wrap_ArrowHead_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
26480 { (char *)"ArrowHead_SetPosition", (PyCFunction
) _wrap_ArrowHead_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
26481 { (char *)"ArrowHead_GetXOffset", (PyCFunction
) _wrap_ArrowHead_GetXOffset
, METH_VARARGS
| METH_KEYWORDS
},
26482 { (char *)"ArrowHead_GetYOffset", (PyCFunction
) _wrap_ArrowHead_GetYOffset
, METH_VARARGS
| METH_KEYWORDS
},
26483 { (char *)"ArrowHead_GetSpacing", (PyCFunction
) _wrap_ArrowHead_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
26484 { (char *)"ArrowHead_GetSize", (PyCFunction
) _wrap_ArrowHead_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
26485 { (char *)"ArrowHead_GetName", (PyCFunction
) _wrap_ArrowHead_GetName
, METH_VARARGS
| METH_KEYWORDS
},
26486 { (char *)"ArrowHead_SetXOffset", (PyCFunction
) _wrap_ArrowHead_SetXOffset
, METH_VARARGS
| METH_KEYWORDS
},
26487 { (char *)"ArrowHead_SetYOffset", (PyCFunction
) _wrap_ArrowHead_SetYOffset
, METH_VARARGS
| METH_KEYWORDS
},
26488 { (char *)"ArrowHead_GetMetaFile", (PyCFunction
) _wrap_ArrowHead_GetMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
26489 { (char *)"ArrowHead_GetId", (PyCFunction
) _wrap_ArrowHead_GetId
, METH_VARARGS
| METH_KEYWORDS
},
26490 { (char *)"ArrowHead_GetArrowEnd", (PyCFunction
) _wrap_ArrowHead_GetArrowEnd
, METH_VARARGS
| METH_KEYWORDS
},
26491 { (char *)"ArrowHead_GetArrowSize", (PyCFunction
) _wrap_ArrowHead_GetArrowSize
, METH_VARARGS
| METH_KEYWORDS
},
26492 { (char *)"ArrowHead_SetSize", (PyCFunction
) _wrap_ArrowHead_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
26493 { (char *)"ArrowHead_SetSpacing", (PyCFunction
) _wrap_ArrowHead_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
26494 { (char *)"ArrowHead_swigregister", ArrowHead_swigregister
, METH_VARARGS
},
26495 { (char *)"new_PyLineShape", (PyCFunction
) _wrap_new_PyLineShape
, METH_VARARGS
| METH_KEYWORDS
},
26496 { (char *)"PyLineShape__setCallbackInfo", (PyCFunction
) _wrap_PyLineShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26497 { (char *)"PyLineShape_AddArrow", (PyCFunction
) _wrap_PyLineShape_AddArrow
, METH_VARARGS
| METH_KEYWORDS
},
26498 { (char *)"PyLineShape_AddArrowOrdered", (PyCFunction
) _wrap_PyLineShape_AddArrowOrdered
, METH_VARARGS
| METH_KEYWORDS
},
26499 { (char *)"PyLineShape_ClearArrow", (PyCFunction
) _wrap_PyLineShape_ClearArrow
, METH_VARARGS
| METH_KEYWORDS
},
26500 { (char *)"PyLineShape_ClearArrowsAtPosition", (PyCFunction
) _wrap_PyLineShape_ClearArrowsAtPosition
, METH_VARARGS
| METH_KEYWORDS
},
26501 { (char *)"PyLineShape_DrawArrow", (PyCFunction
) _wrap_PyLineShape_DrawArrow
, METH_VARARGS
| METH_KEYWORDS
},
26502 { (char *)"PyLineShape_DeleteArrowHeadId", (PyCFunction
) _wrap_PyLineShape_DeleteArrowHeadId
, METH_VARARGS
| METH_KEYWORDS
},
26503 { (char *)"PyLineShape_DeleteArrowHead", (PyCFunction
) _wrap_PyLineShape_DeleteArrowHead
, METH_VARARGS
| METH_KEYWORDS
},
26504 { (char *)"PyLineShape_DeleteLineControlPoint", (PyCFunction
) _wrap_PyLineShape_DeleteLineControlPoint
, METH_VARARGS
| METH_KEYWORDS
},
26505 { (char *)"PyLineShape_DrawArrows", (PyCFunction
) _wrap_PyLineShape_DrawArrows
, METH_VARARGS
| METH_KEYWORDS
},
26506 { (char *)"PyLineShape_DrawRegion", (PyCFunction
) _wrap_PyLineShape_DrawRegion
, METH_VARARGS
| METH_KEYWORDS
},
26507 { (char *)"PyLineShape_EraseRegion", (PyCFunction
) _wrap_PyLineShape_EraseRegion
, METH_VARARGS
| METH_KEYWORDS
},
26508 { (char *)"PyLineShape_FindArrowHeadId", (PyCFunction
) _wrap_PyLineShape_FindArrowHeadId
, METH_VARARGS
| METH_KEYWORDS
},
26509 { (char *)"PyLineShape_FindArrowHead", (PyCFunction
) _wrap_PyLineShape_FindArrowHead
, METH_VARARGS
| METH_KEYWORDS
},
26510 { (char *)"PyLineShape_FindLineEndPoints", (PyCFunction
) _wrap_PyLineShape_FindLineEndPoints
, METH_VARARGS
| METH_KEYWORDS
},
26511 { (char *)"PyLineShape_FindLinePosition", (PyCFunction
) _wrap_PyLineShape_FindLinePosition
, METH_VARARGS
| METH_KEYWORDS
},
26512 { (char *)"PyLineShape_FindMinimumWidth", (PyCFunction
) _wrap_PyLineShape_FindMinimumWidth
, METH_VARARGS
| METH_KEYWORDS
},
26513 { (char *)"PyLineShape_FindNth", (PyCFunction
) _wrap_PyLineShape_FindNth
, METH_VARARGS
| METH_KEYWORDS
},
26514 { (char *)"PyLineShape_GetAttachmentFrom", (PyCFunction
) _wrap_PyLineShape_GetAttachmentFrom
, METH_VARARGS
| METH_KEYWORDS
},
26515 { (char *)"PyLineShape_GetAttachmentTo", (PyCFunction
) _wrap_PyLineShape_GetAttachmentTo
, METH_VARARGS
| METH_KEYWORDS
},
26516 { (char *)"PyLineShape_GetEnds", (PyCFunction
) _wrap_PyLineShape_GetEnds
, METH_VARARGS
| METH_KEYWORDS
},
26517 { (char *)"PyLineShape_GetFrom", (PyCFunction
) _wrap_PyLineShape_GetFrom
, METH_VARARGS
| METH_KEYWORDS
},
26518 { (char *)"PyLineShape_GetLabelPosition", (PyCFunction
) _wrap_PyLineShape_GetLabelPosition
, METH_VARARGS
| METH_KEYWORDS
},
26519 { (char *)"PyLineShape_GetNextControlPoint", (PyCFunction
) _wrap_PyLineShape_GetNextControlPoint
, METH_VARARGS
| METH_KEYWORDS
},
26520 { (char *)"PyLineShape_GetTo", (PyCFunction
) _wrap_PyLineShape_GetTo
, METH_VARARGS
| METH_KEYWORDS
},
26521 { (char *)"PyLineShape_Initialise", (PyCFunction
) _wrap_PyLineShape_Initialise
, METH_VARARGS
| METH_KEYWORDS
},
26522 { (char *)"PyLineShape_InsertLineControlPoint", (PyCFunction
) _wrap_PyLineShape_InsertLineControlPoint
, METH_VARARGS
| METH_KEYWORDS
},
26523 { (char *)"PyLineShape_IsEnd", (PyCFunction
) _wrap_PyLineShape_IsEnd
, METH_VARARGS
| METH_KEYWORDS
},
26524 { (char *)"PyLineShape_IsSpline", (PyCFunction
) _wrap_PyLineShape_IsSpline
, METH_VARARGS
| METH_KEYWORDS
},
26525 { (char *)"PyLineShape_MakeLineControlPoints", (PyCFunction
) _wrap_PyLineShape_MakeLineControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26526 { (char *)"PyLineShape_GetLineControlPoints", (PyCFunction
) _wrap_PyLineShape_GetLineControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26527 { (char *)"PyLineShape_SetAttachmentFrom", (PyCFunction
) _wrap_PyLineShape_SetAttachmentFrom
, METH_VARARGS
| METH_KEYWORDS
},
26528 { (char *)"PyLineShape_SetAttachments", (PyCFunction
) _wrap_PyLineShape_SetAttachments
, METH_VARARGS
| METH_KEYWORDS
},
26529 { (char *)"PyLineShape_SetAttachmentTo", (PyCFunction
) _wrap_PyLineShape_SetAttachmentTo
, METH_VARARGS
| METH_KEYWORDS
},
26530 { (char *)"PyLineShape_SetEnds", (PyCFunction
) _wrap_PyLineShape_SetEnds
, METH_VARARGS
| METH_KEYWORDS
},
26531 { (char *)"PyLineShape_SetFrom", (PyCFunction
) _wrap_PyLineShape_SetFrom
, METH_VARARGS
| METH_KEYWORDS
},
26532 { (char *)"PyLineShape_SetIgnoreOffsets", (PyCFunction
) _wrap_PyLineShape_SetIgnoreOffsets
, METH_VARARGS
| METH_KEYWORDS
},
26533 { (char *)"PyLineShape_SetSpline", (PyCFunction
) _wrap_PyLineShape_SetSpline
, METH_VARARGS
| METH_KEYWORDS
},
26534 { (char *)"PyLineShape_SetTo", (PyCFunction
) _wrap_PyLineShape_SetTo
, METH_VARARGS
| METH_KEYWORDS
},
26535 { (char *)"PyLineShape_Straighten", (PyCFunction
) _wrap_PyLineShape_Straighten
, METH_VARARGS
| METH_KEYWORDS
},
26536 { (char *)"PyLineShape_Unlink", (PyCFunction
) _wrap_PyLineShape_Unlink
, METH_VARARGS
| METH_KEYWORDS
},
26537 { (char *)"PyLineShape_base_OnDraw", (PyCFunction
) _wrap_PyLineShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
26538 { (char *)"PyLineShape_base_OnDrawContents", (PyCFunction
) _wrap_PyLineShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
26539 { (char *)"PyLineShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyLineShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
26540 { (char *)"PyLineShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyLineShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
26541 { (char *)"PyLineShape_base_OnErase", (PyCFunction
) _wrap_PyLineShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
26542 { (char *)"PyLineShape_base_OnEraseContents", (PyCFunction
) _wrap_PyLineShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
26543 { (char *)"PyLineShape_base_OnHighlight", (PyCFunction
) _wrap_PyLineShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
26544 { (char *)"PyLineShape_base_OnLeftClick", (PyCFunction
) _wrap_PyLineShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
26545 { (char *)"PyLineShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyLineShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
26546 { (char *)"PyLineShape_base_OnRightClick", (PyCFunction
) _wrap_PyLineShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
26547 { (char *)"PyLineShape_base_OnSize", (PyCFunction
) _wrap_PyLineShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
26548 { (char *)"PyLineShape_base_OnMovePre", (PyCFunction
) _wrap_PyLineShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
26549 { (char *)"PyLineShape_base_OnMovePost", (PyCFunction
) _wrap_PyLineShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
26550 { (char *)"PyLineShape_base_OnDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26551 { (char *)"PyLineShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26552 { (char *)"PyLineShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26553 { (char *)"PyLineShape_base_OnDragRight", (PyCFunction
) _wrap_PyLineShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26554 { (char *)"PyLineShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyLineShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26555 { (char *)"PyLineShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyLineShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26556 { (char *)"PyLineShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyLineShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
26557 { (char *)"PyLineShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyLineShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26558 { (char *)"PyLineShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyLineShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26559 { (char *)"PyLineShape_base_OnMoveLink", (PyCFunction
) _wrap_PyLineShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
26560 { (char *)"PyLineShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26561 { (char *)"PyLineShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26562 { (char *)"PyLineShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26563 { (char *)"PyLineShape_base_OnBeginSize", (PyCFunction
) _wrap_PyLineShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
26564 { (char *)"PyLineShape_base_OnEndSize", (PyCFunction
) _wrap_PyLineShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
26565 { (char *)"PyLineShape_swigregister", PyLineShape_swigregister
, METH_VARARGS
},
26566 { (char *)"new_PyPolygonShape", (PyCFunction
) _wrap_new_PyPolygonShape
, METH_VARARGS
| METH_KEYWORDS
},
26567 { (char *)"PyPolygonShape__setCallbackInfo", (PyCFunction
) _wrap_PyPolygonShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26568 { (char *)"PyPolygonShape_Create", (PyCFunction
) _wrap_PyPolygonShape_Create
, METH_VARARGS
| METH_KEYWORDS
},
26569 { (char *)"PyPolygonShape_AddPolygonPoint", (PyCFunction
) _wrap_PyPolygonShape_AddPolygonPoint
, METH_VARARGS
| METH_KEYWORDS
},
26570 { (char *)"PyPolygonShape_CalculatePolygonCentre", (PyCFunction
) _wrap_PyPolygonShape_CalculatePolygonCentre
, METH_VARARGS
| METH_KEYWORDS
},
26571 { (char *)"PyPolygonShape_DeletePolygonPoint", (PyCFunction
) _wrap_PyPolygonShape_DeletePolygonPoint
, METH_VARARGS
| METH_KEYWORDS
},
26572 { (char *)"PyPolygonShape_GetPoints", (PyCFunction
) _wrap_PyPolygonShape_GetPoints
, METH_VARARGS
| METH_KEYWORDS
},
26573 { (char *)"PyPolygonShape_UpdateOriginalPoints", (PyCFunction
) _wrap_PyPolygonShape_UpdateOriginalPoints
, METH_VARARGS
| METH_KEYWORDS
},
26574 { (char *)"PyPolygonShape_base_OnDraw", (PyCFunction
) _wrap_PyPolygonShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
26575 { (char *)"PyPolygonShape_base_OnDrawContents", (PyCFunction
) _wrap_PyPolygonShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
26576 { (char *)"PyPolygonShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyPolygonShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
26577 { (char *)"PyPolygonShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyPolygonShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
26578 { (char *)"PyPolygonShape_base_OnErase", (PyCFunction
) _wrap_PyPolygonShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
26579 { (char *)"PyPolygonShape_base_OnEraseContents", (PyCFunction
) _wrap_PyPolygonShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
26580 { (char *)"PyPolygonShape_base_OnHighlight", (PyCFunction
) _wrap_PyPolygonShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
26581 { (char *)"PyPolygonShape_base_OnLeftClick", (PyCFunction
) _wrap_PyPolygonShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
26582 { (char *)"PyPolygonShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyPolygonShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
26583 { (char *)"PyPolygonShape_base_OnRightClick", (PyCFunction
) _wrap_PyPolygonShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
26584 { (char *)"PyPolygonShape_base_OnSize", (PyCFunction
) _wrap_PyPolygonShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
26585 { (char *)"PyPolygonShape_base_OnMovePre", (PyCFunction
) _wrap_PyPolygonShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
26586 { (char *)"PyPolygonShape_base_OnMovePost", (PyCFunction
) _wrap_PyPolygonShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
26587 { (char *)"PyPolygonShape_base_OnDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26588 { (char *)"PyPolygonShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26589 { (char *)"PyPolygonShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26590 { (char *)"PyPolygonShape_base_OnDragRight", (PyCFunction
) _wrap_PyPolygonShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26591 { (char *)"PyPolygonShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyPolygonShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26592 { (char *)"PyPolygonShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyPolygonShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26593 { (char *)"PyPolygonShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyPolygonShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
26594 { (char *)"PyPolygonShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyPolygonShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26595 { (char *)"PyPolygonShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyPolygonShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26596 { (char *)"PyPolygonShape_base_OnMoveLink", (PyCFunction
) _wrap_PyPolygonShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
26597 { (char *)"PyPolygonShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26598 { (char *)"PyPolygonShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26599 { (char *)"PyPolygonShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26600 { (char *)"PyPolygonShape_base_OnBeginSize", (PyCFunction
) _wrap_PyPolygonShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
26601 { (char *)"PyPolygonShape_base_OnEndSize", (PyCFunction
) _wrap_PyPolygonShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
26602 { (char *)"PyPolygonShape_swigregister", PyPolygonShape_swigregister
, METH_VARARGS
},
26603 { (char *)"new_PyTextShape", (PyCFunction
) _wrap_new_PyTextShape
, METH_VARARGS
| METH_KEYWORDS
},
26604 { (char *)"PyTextShape__setCallbackInfo", (PyCFunction
) _wrap_PyTextShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26605 { (char *)"PyTextShape_base_OnDelete", (PyCFunction
) _wrap_PyTextShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
26606 { (char *)"PyTextShape_base_OnDraw", (PyCFunction
) _wrap_PyTextShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
26607 { (char *)"PyTextShape_base_OnDrawContents", (PyCFunction
) _wrap_PyTextShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
26608 { (char *)"PyTextShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyTextShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
26609 { (char *)"PyTextShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyTextShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
26610 { (char *)"PyTextShape_base_OnErase", (PyCFunction
) _wrap_PyTextShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
26611 { (char *)"PyTextShape_base_OnEraseContents", (PyCFunction
) _wrap_PyTextShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
26612 { (char *)"PyTextShape_base_OnHighlight", (PyCFunction
) _wrap_PyTextShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
26613 { (char *)"PyTextShape_base_OnLeftClick", (PyCFunction
) _wrap_PyTextShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
26614 { (char *)"PyTextShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyTextShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
26615 { (char *)"PyTextShape_base_OnRightClick", (PyCFunction
) _wrap_PyTextShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
26616 { (char *)"PyTextShape_base_OnSize", (PyCFunction
) _wrap_PyTextShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
26617 { (char *)"PyTextShape_base_OnMovePre", (PyCFunction
) _wrap_PyTextShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
26618 { (char *)"PyTextShape_base_OnMovePost", (PyCFunction
) _wrap_PyTextShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
26619 { (char *)"PyTextShape_base_OnDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26620 { (char *)"PyTextShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26621 { (char *)"PyTextShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26622 { (char *)"PyTextShape_base_OnDragRight", (PyCFunction
) _wrap_PyTextShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26623 { (char *)"PyTextShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyTextShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26624 { (char *)"PyTextShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyTextShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26625 { (char *)"PyTextShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyTextShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
26626 { (char *)"PyTextShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyTextShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26627 { (char *)"PyTextShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyTextShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26628 { (char *)"PyTextShape_base_OnMoveLink", (PyCFunction
) _wrap_PyTextShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
26629 { (char *)"PyTextShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26630 { (char *)"PyTextShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26631 { (char *)"PyTextShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26632 { (char *)"PyTextShape_base_OnBeginSize", (PyCFunction
) _wrap_PyTextShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
26633 { (char *)"PyTextShape_base_OnEndSize", (PyCFunction
) _wrap_PyTextShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
26634 { (char *)"PyTextShape_swigregister", PyTextShape_swigregister
, METH_VARARGS
},
26635 { (char *)"new_Diagram", (PyCFunction
) _wrap_new_Diagram
, METH_VARARGS
| METH_KEYWORDS
},
26636 { (char *)"Diagram_AddShape", (PyCFunction
) _wrap_Diagram_AddShape
, METH_VARARGS
| METH_KEYWORDS
},
26637 { (char *)"Diagram_Clear", (PyCFunction
) _wrap_Diagram_Clear
, METH_VARARGS
| METH_KEYWORDS
},
26638 { (char *)"Diagram_DeleteAllShapes", (PyCFunction
) _wrap_Diagram_DeleteAllShapes
, METH_VARARGS
| METH_KEYWORDS
},
26639 { (char *)"Diagram_DrawOutline", (PyCFunction
) _wrap_Diagram_DrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
26640 { (char *)"Diagram_FindShape", (PyCFunction
) _wrap_Diagram_FindShape
, METH_VARARGS
| METH_KEYWORDS
},
26641 { (char *)"Diagram_GetCanvas", (PyCFunction
) _wrap_Diagram_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
26642 { (char *)"Diagram_GetCount", (PyCFunction
) _wrap_Diagram_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
26643 { (char *)"Diagram_GetGridSpacing", (PyCFunction
) _wrap_Diagram_GetGridSpacing
, METH_VARARGS
| METH_KEYWORDS
},
26644 { (char *)"Diagram_GetMouseTolerance", (PyCFunction
) _wrap_Diagram_GetMouseTolerance
, METH_VARARGS
| METH_KEYWORDS
},
26645 { (char *)"Diagram_GetShapeList", (PyCFunction
) _wrap_Diagram_GetShapeList
, METH_VARARGS
| METH_KEYWORDS
},
26646 { (char *)"Diagram_GetQuickEditMode", (PyCFunction
) _wrap_Diagram_GetQuickEditMode
, METH_VARARGS
| METH_KEYWORDS
},
26647 { (char *)"Diagram_GetSnapToGrid", (PyCFunction
) _wrap_Diagram_GetSnapToGrid
, METH_VARARGS
| METH_KEYWORDS
},
26648 { (char *)"Diagram_InsertShape", (PyCFunction
) _wrap_Diagram_InsertShape
, METH_VARARGS
| METH_KEYWORDS
},
26649 { (char *)"Diagram_RecentreAll", (PyCFunction
) _wrap_Diagram_RecentreAll
, METH_VARARGS
| METH_KEYWORDS
},
26650 { (char *)"Diagram_Redraw", (PyCFunction
) _wrap_Diagram_Redraw
, METH_VARARGS
| METH_KEYWORDS
},
26651 { (char *)"Diagram_RemoveAllShapes", (PyCFunction
) _wrap_Diagram_RemoveAllShapes
, METH_VARARGS
| METH_KEYWORDS
},
26652 { (char *)"Diagram_RemoveShape", (PyCFunction
) _wrap_Diagram_RemoveShape
, METH_VARARGS
| METH_KEYWORDS
},
26653 { (char *)"Diagram_SetCanvas", (PyCFunction
) _wrap_Diagram_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
26654 { (char *)"Diagram_SetGridSpacing", (PyCFunction
) _wrap_Diagram_SetGridSpacing
, METH_VARARGS
| METH_KEYWORDS
},
26655 { (char *)"Diagram_SetMouseTolerance", (PyCFunction
) _wrap_Diagram_SetMouseTolerance
, METH_VARARGS
| METH_KEYWORDS
},
26656 { (char *)"Diagram_SetQuickEditMode", (PyCFunction
) _wrap_Diagram_SetQuickEditMode
, METH_VARARGS
| METH_KEYWORDS
},
26657 { (char *)"Diagram_SetSnapToGrid", (PyCFunction
) _wrap_Diagram_SetSnapToGrid
, METH_VARARGS
| METH_KEYWORDS
},
26658 { (char *)"Diagram_ShowAll", (PyCFunction
) _wrap_Diagram_ShowAll
, METH_VARARGS
| METH_KEYWORDS
},
26659 { (char *)"Diagram_Snap", (PyCFunction
) _wrap_Diagram_Snap
, METH_VARARGS
| METH_KEYWORDS
},
26660 { (char *)"Diagram_swigregister", Diagram_swigregister
, METH_VARARGS
},
26661 { (char *)"new_PyShapeCanvas", (PyCFunction
) _wrap_new_PyShapeCanvas
, METH_VARARGS
| METH_KEYWORDS
},
26662 { (char *)"PyShapeCanvas__setCallbackInfo", (PyCFunction
) _wrap_PyShapeCanvas__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26663 { (char *)"PyShapeCanvas_AddShape", (PyCFunction
) _wrap_PyShapeCanvas_AddShape
, METH_VARARGS
| METH_KEYWORDS
},
26664 { (char *)"PyShapeCanvas_FindShape", (PyCFunction
) _wrap_PyShapeCanvas_FindShape
, METH_VARARGS
| METH_KEYWORDS
},
26665 { (char *)"PyShapeCanvas_FindFirstSensitiveShape", (PyCFunction
) _wrap_PyShapeCanvas_FindFirstSensitiveShape
, METH_VARARGS
| METH_KEYWORDS
},
26666 { (char *)"PyShapeCanvas_GetDiagram", (PyCFunction
) _wrap_PyShapeCanvas_GetDiagram
, METH_VARARGS
| METH_KEYWORDS
},
26667 { (char *)"PyShapeCanvas_GetQuickEditMode", (PyCFunction
) _wrap_PyShapeCanvas_GetQuickEditMode
, METH_VARARGS
| METH_KEYWORDS
},
26668 { (char *)"PyShapeCanvas_InsertShape", (PyCFunction
) _wrap_PyShapeCanvas_InsertShape
, METH_VARARGS
| METH_KEYWORDS
},
26669 { (char *)"PyShapeCanvas_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyShapeCanvas_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26670 { (char *)"PyShapeCanvas_base_OnBeginDragRight", (PyCFunction
) _wrap_PyShapeCanvas_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26671 { (char *)"PyShapeCanvas_base_OnEndDragLeft", (PyCFunction
) _wrap_PyShapeCanvas_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26672 { (char *)"PyShapeCanvas_base_OnEndDragRight", (PyCFunction
) _wrap_PyShapeCanvas_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26673 { (char *)"PyShapeCanvas_base_OnDragLeft", (PyCFunction
) _wrap_PyShapeCanvas_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26674 { (char *)"PyShapeCanvas_base_OnDragRight", (PyCFunction
) _wrap_PyShapeCanvas_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26675 { (char *)"PyShapeCanvas_base_OnLeftClick", (PyCFunction
) _wrap_PyShapeCanvas_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
26676 { (char *)"PyShapeCanvas_base_OnRightClick", (PyCFunction
) _wrap_PyShapeCanvas_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
26677 { (char *)"PyShapeCanvas_Redraw", (PyCFunction
) _wrap_PyShapeCanvas_Redraw
, METH_VARARGS
| METH_KEYWORDS
},
26678 { (char *)"PyShapeCanvas_RemoveShape", (PyCFunction
) _wrap_PyShapeCanvas_RemoveShape
, METH_VARARGS
| METH_KEYWORDS
},
26679 { (char *)"PyShapeCanvas_SetDiagram", (PyCFunction
) _wrap_PyShapeCanvas_SetDiagram
, METH_VARARGS
| METH_KEYWORDS
},
26680 { (char *)"PyShapeCanvas_Snap", (PyCFunction
) _wrap_PyShapeCanvas_Snap
, METH_VARARGS
| METH_KEYWORDS
},
26681 { (char *)"PyShapeCanvas_swigregister", PyShapeCanvas_swigregister
, METH_VARARGS
},
26682 { (char *)"OGLInitialize", (PyCFunction
) _wrap_OGLInitialize
, METH_VARARGS
| METH_KEYWORDS
},
26683 { (char *)"OGLCleanUp", (PyCFunction
) _wrap_OGLCleanUp
, METH_VARARGS
| METH_KEYWORDS
},
26688 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
26690 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
26691 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
26693 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
26694 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26696 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
26697 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26699 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
26700 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26702 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
26703 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
26705 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
26706 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26708 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
26709 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
26711 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
26712 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26714 static void *_p_wxPyShapeCanvasTo_p_wxPanel(void *x
) {
26715 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
26717 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
26718 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26720 static void *_p_wxPyShapeCanvasTo_p_wxScrolledWindow(void *x
) {
26721 return (void *)((wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
26723 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
26724 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
26726 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
26727 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26729 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
26730 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
26732 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
26733 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
26735 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
26736 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26738 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
26739 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26741 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
26742 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
26744 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
26745 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
26747 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
26748 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26750 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
26751 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26753 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
26754 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
26756 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
26757 return (void *)((wxWindow
*) ((wxPanel
*) x
));
26759 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
26760 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
26762 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
26763 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
26765 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
26766 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26768 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
26769 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26771 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
26772 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26774 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
26775 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
26777 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
26778 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26780 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
26781 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
26783 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
26784 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
26786 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
26787 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
26789 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
26790 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
26792 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
26793 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
26795 static void *_p_wxControlTo_p_wxWindow(void *x
) {
26796 return (void *)((wxWindow
*) ((wxControl
*) x
));
26798 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
26799 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
26801 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
26802 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26804 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
26805 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26807 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
26808 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
26810 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
26811 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
26813 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
26814 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26816 static void *_p_wxPyShapeCanvasTo_p_wxWindow(void *x
) {
26817 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
26819 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
26820 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26822 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
26823 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26825 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
26826 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
26828 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
26829 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26831 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
26832 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
26834 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
26835 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26837 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
26838 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26840 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
26841 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26843 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
26844 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
26846 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
26847 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
26849 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
26850 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
26852 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
26853 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26855 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
26856 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
26858 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
26859 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
26861 static void *_p_wxPyControlPointTo_p_wxObject(void *x
) {
26862 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyControlPoint
*) x
));
26864 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
26865 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
26867 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
26868 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26870 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
26871 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
26873 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
26874 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
26876 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
26877 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
26879 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
26880 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
26882 static void *_p_wxOGLConstraintTo_p_wxObject(void *x
) {
26883 return (void *)((wxObject
*) ((wxOGLConstraint
*) x
));
26885 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
26886 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
26888 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
26889 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
26891 static void *_p_wxSizerTo_p_wxObject(void *x
) {
26892 return (void *)((wxObject
*) ((wxSizer
*) x
));
26894 static void *_p_wxPyDrawnShapeTo_p_wxObject(void *x
) {
26895 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyDrawnShape
*) x
));
26897 static void *_p_wxPyDivisionShapeTo_p_wxObject(void *x
) {
26898 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*)(wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
26900 static void *_p_wxPyPolygonShapeTo_p_wxObject(void *x
) {
26901 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*) ((wxPyPolygonShape
*) x
));
26903 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
26904 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
26906 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
26907 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26909 static void *_p_wxArrowHeadTo_p_wxObject(void *x
) {
26910 return (void *)((wxObject
*) ((wxArrowHead
*) x
));
26912 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
26913 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
26915 static void *_p_wxEventTo_p_wxObject(void *x
) {
26916 return (void *)((wxObject
*) ((wxEvent
*) x
));
26918 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
26919 return (void *)((wxObject
*) ((wxFontData
*) x
));
26921 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
26922 return (void *)((wxObject
*) ((wxPrintData
*) x
));
26924 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
26925 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
26927 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
26928 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
26930 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
26931 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
26933 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
26934 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
26936 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
26937 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
26939 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
26940 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
26942 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
26943 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
26945 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
26946 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
26948 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
26949 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
26951 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
26952 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
26954 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
26955 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
26957 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
26958 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
26960 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
26961 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26963 static void *_p_wxPyShapeCanvasTo_p_wxObject(void *x
) {
26964 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
26966 static void *_p_wxControlTo_p_wxObject(void *x
) {
26967 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
26969 static void *_p_wxPyEllipseShapeTo_p_wxObject(void *x
) {
26970 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*) ((wxPyEllipseShape
*) x
));
26972 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
26973 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
26975 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
26976 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26978 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
26979 return (void *)((wxObject
*) ((wxFSFile
*) x
));
26981 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
26982 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
26984 static void *_p_wxPyBitmapShapeTo_p_wxObject(void *x
) {
26985 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyBitmapShape
*) x
));
26987 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
26988 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
26990 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
26991 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26993 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
26994 return (void *)((wxObject
*) ((wxColourData
*) x
));
26996 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
26997 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
26999 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
27000 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
27002 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
27003 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
27005 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
27006 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
27008 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
27009 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
27011 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
27012 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
27014 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
27015 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
27017 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
27018 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
27020 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
27021 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
27023 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
27024 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
27026 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
27027 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
27029 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
27030 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
27032 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
27033 return (void *)((wxObject
*) ((wxPrinter
*) x
));
27035 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
27036 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
27038 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
27039 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
27041 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
27042 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
27044 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
27045 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
27047 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
27048 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
27050 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
27051 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
27053 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
27054 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
27056 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
27057 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
27059 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
27060 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
27062 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
27063 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
27065 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
27066 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
27068 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
27069 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
27071 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
27072 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
27074 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
27075 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
27077 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
27078 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
27080 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
27081 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
27083 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
27084 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
27086 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
27087 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
27089 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
27090 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
27092 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
27093 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
27095 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
27096 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
27098 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
27099 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
27101 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
27102 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
27104 static void *_p_wxPyShapeEvtHandlerTo_p_wxObject(void *x
) {
27105 return (void *)((wxObject
*) ((wxPyShapeEvtHandler
*) x
));
27107 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
27108 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
27110 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
27111 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
27113 static void *_p_wxPyTextShapeTo_p_wxObject(void *x
) {
27114 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyTextShape
*) x
));
27116 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
27117 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
27119 static void *_p_wxPyDividedShapeTo_p_wxObject(void *x
) {
27120 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyDividedShape
*) x
));
27122 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
27123 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
27125 static void *_p_wxImageTo_p_wxObject(void *x
) {
27126 return (void *)((wxObject
*) ((wxImage
*) x
));
27128 static void *_p_wxFrameTo_p_wxObject(void *x
) {
27129 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
27131 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
27132 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
27134 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
27135 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
27137 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
27138 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
27140 static void *_p_wxDiagramTo_p_wxObject(void *x
) {
27141 return (void *)((wxObject
*) ((wxDiagram
*) x
));
27143 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
27144 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
27146 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
27147 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
27149 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
27150 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
27152 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
27153 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
27155 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
27156 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
27158 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
27159 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
27161 static void *_p_wxWindowTo_p_wxObject(void *x
) {
27162 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
27164 static void *_p_wxMenuTo_p_wxObject(void *x
) {
27165 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
27167 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
27168 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
27170 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
27171 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
27173 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
27174 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
27176 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
27177 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
27179 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
27180 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
27182 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
27183 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
27185 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
27186 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
27188 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
27189 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
27191 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
27192 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
27194 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
27195 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
27197 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
27198 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
27200 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
27201 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
27203 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
27204 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
27206 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
27207 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
27209 static void *_p_wxPanelTo_p_wxObject(void *x
) {
27210 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
27212 static void *_p_wxDialogTo_p_wxObject(void *x
) {
27213 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
27215 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
27216 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
27218 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
27219 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
27221 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
27222 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
27224 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
27225 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
27227 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
27228 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
27230 static void *_p_wxPyShapeTo_p_wxObject(void *x
) {
27231 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*) ((wxPyShape
*) x
));
27233 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
27234 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
27236 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
27237 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
27239 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
27240 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
27242 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
27243 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
27245 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
27246 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
27248 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
27249 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
27251 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
27252 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
27254 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
27255 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
27257 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
27258 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
27260 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
27261 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
27263 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
27264 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
27266 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
27267 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
27269 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
27270 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
27272 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
27273 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
27275 static void *_p_wxPyRectangleShapeTo_p_wxObject(void *x
) {
27276 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*) ((wxPyRectangleShape
*) x
));
27278 static void *_p_wxPyCompositeShapeTo_p_wxObject(void *x
) {
27279 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyCompositeShape
*) x
));
27281 static void *_p_wxPyCircleShapeTo_p_wxObject(void *x
) {
27282 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyEllipseShape
*) ((wxPyCircleShape
*) x
));
27284 static void *_p_wxPyLineShapeTo_p_wxObject(void *x
) {
27285 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*) ((wxPyLineShape
*) x
));
27287 static void *_p_wxPseudoMetaFileTo_p_wxObject(void *x
) {
27288 return (void *)((wxObject
*) ((wxPseudoMetaFile
*) x
));
27290 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
27291 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
27293 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
27294 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
27296 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
27297 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
27299 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
27300 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
27302 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
27303 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
27305 static void *_p_wxShapeRegionTo_p_wxObject(void *x
) {
27306 return (void *)((wxObject
*) ((wxShapeRegion
*) x
));
27308 static void *_p_wxPyRectangleShapeTo_p_wxPyShapeEvtHandler(void *x
) {
27309 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*) ((wxPyRectangleShape
*) x
));
27311 static void *_p_wxPyBitmapShapeTo_p_wxPyShapeEvtHandler(void *x
) {
27312 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyBitmapShape
*) x
));
27314 static void *_p_wxPyCompositeShapeTo_p_wxPyShapeEvtHandler(void *x
) {
27315 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyCompositeShape
*) x
));
27317 static void *_p_wxPyCircleShapeTo_p_wxPyShapeEvtHandler(void *x
) {
27318 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyEllipseShape
*) ((wxPyCircleShape
*) x
));
27320 static void *_p_wxPyLineShapeTo_p_wxPyShapeEvtHandler(void *x
) {
27321 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*) ((wxPyLineShape
*) x
));
27323 static void *_p_wxPyTextShapeTo_p_wxPyShapeEvtHandler(void *x
) {
27324 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyTextShape
*) x
));
27326 static void *_p_wxPyControlPointTo_p_wxPyShapeEvtHandler(void *x
) {
27327 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyControlPoint
*) x
));
27329 static void *_p_wxPyDrawnShapeTo_p_wxPyShapeEvtHandler(void *x
) {
27330 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyDrawnShape
*) x
));
27332 static void *_p_wxPyDivisionShapeTo_p_wxPyShapeEvtHandler(void *x
) {
27333 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*)(wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
27335 static void *_p_wxPyPolygonShapeTo_p_wxPyShapeEvtHandler(void *x
) {
27336 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*) ((wxPyPolygonShape
*) x
));
27338 static void *_p_wxPyDividedShapeTo_p_wxPyShapeEvtHandler(void *x
) {
27339 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyDividedShape
*) x
));
27341 static void *_p_wxPyShapeTo_p_wxPyShapeEvtHandler(void *x
) {
27342 return (void *)((wxPyShapeEvtHandler
*) ((wxPyShape
*) x
));
27344 static void *_p_wxPyEllipseShapeTo_p_wxPyShapeEvtHandler(void *x
) {
27345 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*) ((wxPyEllipseShape
*) x
));
27347 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
27348 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
27350 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
27351 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
27353 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
27354 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
27356 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
27357 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
27359 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
27360 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
27362 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
27363 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
27365 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
27366 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
27368 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
27369 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
27371 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
27372 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
27374 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
27375 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
27377 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
27378 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
27380 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
27381 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
27383 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
27384 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
27386 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
27387 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
27389 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
27390 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
27392 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
27393 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
27395 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
27396 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
27398 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
27399 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
27401 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
27402 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
27404 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
27405 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
27407 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
27408 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
27410 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
27411 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
27413 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
27414 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
27416 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
27417 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
27419 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
27420 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
27422 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
27423 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
27425 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
27426 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
27428 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
27429 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
27431 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
27432 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
27434 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
27435 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
27437 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
27438 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
27440 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
27441 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
27443 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
27444 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
27446 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
27447 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
27449 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
27450 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
27452 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
27453 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
27455 static void *_p_wxPyShapeCanvasTo_p_wxEvtHandler(void *x
) {
27456 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
27458 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
27459 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
27461 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
27462 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
27464 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
27465 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
27467 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
27468 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
27470 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
27471 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
27473 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
27474 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
27476 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
27477 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
27479 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
27480 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
27482 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
27483 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
27485 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
27486 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
27488 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
27489 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
27491 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
27492 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
27494 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
27495 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
27497 static void *_p_wxPyCircleShapeTo_p_wxPyEllipseShape(void *x
) {
27498 return (void *)((wxPyEllipseShape
*) ((wxPyCircleShape
*) x
));
27500 static void *_p_wxPyRectangleShapeTo_p_wxPyShape(void *x
) {
27501 return (void *)((wxPyShape
*) ((wxPyRectangleShape
*) x
));
27503 static void *_p_wxPyBitmapShapeTo_p_wxPyShape(void *x
) {
27504 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyBitmapShape
*) x
));
27506 static void *_p_wxPyCompositeShapeTo_p_wxPyShape(void *x
) {
27507 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyCompositeShape
*) x
));
27509 static void *_p_wxPyCircleShapeTo_p_wxPyShape(void *x
) {
27510 return (void *)((wxPyShape
*) (wxPyEllipseShape
*) ((wxPyCircleShape
*) x
));
27512 static void *_p_wxPyLineShapeTo_p_wxPyShape(void *x
) {
27513 return (void *)((wxPyShape
*) ((wxPyLineShape
*) x
));
27515 static void *_p_wxPyTextShapeTo_p_wxPyShape(void *x
) {
27516 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyTextShape
*) x
));
27518 static void *_p_wxPyControlPointTo_p_wxPyShape(void *x
) {
27519 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyControlPoint
*) x
));
27521 static void *_p_wxPyDrawnShapeTo_p_wxPyShape(void *x
) {
27522 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyDrawnShape
*) x
));
27524 static void *_p_wxPyDivisionShapeTo_p_wxPyShape(void *x
) {
27525 return (void *)((wxPyShape
*) (wxPyRectangleShape
*)(wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
27527 static void *_p_wxPyPolygonShapeTo_p_wxPyShape(void *x
) {
27528 return (void *)((wxPyShape
*) ((wxPyPolygonShape
*) x
));
27530 static void *_p_wxPyDividedShapeTo_p_wxPyShape(void *x
) {
27531 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyDividedShape
*) x
));
27533 static void *_p_wxPyEllipseShapeTo_p_wxPyShape(void *x
) {
27534 return (void *)((wxPyShape
*) ((wxPyEllipseShape
*) x
));
27536 static void *_p_wxPyBitmapShapeTo_p_wxPyRectangleShape(void *x
) {
27537 return (void *)((wxPyRectangleShape
*) ((wxPyBitmapShape
*) x
));
27539 static void *_p_wxPyCompositeShapeTo_p_wxPyRectangleShape(void *x
) {
27540 return (void *)((wxPyRectangleShape
*) ((wxPyCompositeShape
*) x
));
27542 static void *_p_wxPyTextShapeTo_p_wxPyRectangleShape(void *x
) {
27543 return (void *)((wxPyRectangleShape
*) ((wxPyTextShape
*) x
));
27545 static void *_p_wxPyControlPointTo_p_wxPyRectangleShape(void *x
) {
27546 return (void *)((wxPyRectangleShape
*) ((wxPyControlPoint
*) x
));
27548 static void *_p_wxPyDrawnShapeTo_p_wxPyRectangleShape(void *x
) {
27549 return (void *)((wxPyRectangleShape
*) ((wxPyDrawnShape
*) x
));
27551 static void *_p_wxPyDivisionShapeTo_p_wxPyRectangleShape(void *x
) {
27552 return (void *)((wxPyRectangleShape
*) (wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
27554 static void *_p_wxPyDividedShapeTo_p_wxPyRectangleShape(void *x
) {
27555 return (void *)((wxPyRectangleShape
*) ((wxPyDividedShape
*) x
));
27557 static void *_p_wxPyDivisionShapeTo_p_wxPyCompositeShape(void *x
) {
27558 return (void *)((wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
27560 static swig_type_info _swigt__p_wxOGLConstraint
[] = {{"_p_wxOGLConstraint", 0, "wxOGLConstraint *", 0},{"_p_wxOGLConstraint"},{0}};
27561 static swig_type_info _swigt__p_wxBrush
[] = {{"_p_wxBrush", 0, "wxBrush *", 0},{"_p_wxBrush"},{0}};
27562 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
27563 static swig_type_info _swigt__p_wxShapeRegion
[] = {{"_p_wxShapeRegion", 0, "wxShapeRegion *", 0},{"_p_wxShapeRegion"},{0}};
27564 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
27565 static swig_type_info _swigt__p_wxRealPoint
[] = {{"_p_wxRealPoint", 0, "wxRealPoint *", 0},{"_p_wxRealPoint"},{0}};
27566 static swig_type_info _swigt__p_wxPyControlPoint
[] = {{"_p_wxPyControlPoint", 0, "wxPyControlPoint *", 0},{"_p_wxPyControlPoint"},{0}};
27567 static swig_type_info _swigt__p_wxArrowHead
[] = {{"_p_wxArrowHead", 0, "wxArrowHead *", 0},{"_p_wxArrowHead"},{0}};
27568 static swig_type_info _swigt__p_wxStringList
[] = {{"_p_wxStringList", 0, "wxStringList *", 0},{"_p_wxStringList"},{0}};
27569 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}};
27570 static swig_type_info _swigt__p_bool
[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
27571 static swig_type_info _swigt__p_wxList
[] = {{"_p_wxList", 0, "wxList *", 0},{"_p_wxList"},{0}};
27572 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
27573 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}};
27574 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}};
27575 static swig_type_info _swigt__p_double
[] = {{"_p_double", 0, "double *", 0},{"_p_double"},{0}};
27576 static swig_type_info _swigt__p_wxPyDivisionShape
[] = {{"_p_wxPyDivisionShape", 0, "wxPyDivisionShape *", 0},{"_p_wxPyDivisionShape"},{0}};
27577 static swig_type_info _swigt__p_wxPyDrawnShape
[] = {{"_p_wxPyDrawnShape", 0, "wxPyDrawnShape *", 0},{"_p_wxPyDrawnShape"},{0}};
27578 static swig_type_info _swigt__p_wxPyPolygonShape
[] = {{"_p_wxPyPolygonShape", 0, "wxPyPolygonShape *", 0},{"_p_wxPyPolygonShape"},{0}};
27579 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
27580 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}};
27581 static swig_type_info _swigt__p_wxPyBitmapShape
[] = {{"_p_wxPyBitmapShape", 0, "wxPyBitmapShape *", 0},{"_p_wxPyBitmapShape"},{0}};
27582 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
27583 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}};
27584 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}};
27585 static swig_type_info _swigt__p_wxPyEllipseShape
[] = {{"_p_wxPyEllipseShape", 0, "wxPyEllipseShape *", 0},{"_p_wxPyCircleShape", _p_wxPyCircleShapeTo_p_wxPyEllipseShape
},{"_p_wxPyEllipseShape"},{0}};
27586 static swig_type_info _swigt__p_wxPyShapeCanvas
[] = {{"_p_wxPyShapeCanvas", 0, "wxPyShapeCanvas *", 0},{"_p_wxPyShapeCanvas"},{0}};
27587 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
27588 static swig_type_info _swigt__p_wxDiagram
[] = {{"_p_wxDiagram", 0, "wxDiagram *", 0},{"_p_wxDiagram"},{0}};
27589 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}};
27590 static swig_type_info _swigt__p_wxClassInfo
[] = {{"_p_wxClassInfo", 0, "wxClassInfo *", 0},{"_p_wxClassInfo"},{0}};
27591 static swig_type_info _swigt__p_wxPyLineShape
[] = {{"_p_wxPyLineShape", 0, "wxPyLineShape *", 0},{"_p_wxPyLineShape"},{0}};
27592 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}};
27593 static swig_type_info _swigt__p_wxPyCompositeShape
[] = {{"_p_wxPyCompositeShape", 0, "wxPyCompositeShape *", 0},{"_p_wxPyCompositeShape"},{"_p_wxPyDivisionShape", _p_wxPyDivisionShapeTo_p_wxPyCompositeShape
},{0}};
27594 static swig_type_info _swigt__p_wxPyCircleShape
[] = {{"_p_wxPyCircleShape", 0, "wxPyCircleShape *", 0},{"_p_wxPyCircleShape"},{0}};
27595 static swig_type_info _swigt__p_wxPen
[] = {{"_p_wxPen", 0, "wxPen *", 0},{"_p_wxPen"},{0}};
27596 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
27597 static swig_type_info _swigt__p_wxPseudoMetaFile
[] = {{"_p_wxPseudoMetaFile", 0, "wxPseudoMetaFile *", 0},{"_p_wxPseudoMetaFile"},{0}};
27598 static swig_type_info _swigt__p_wxPyTextShape
[] = {{"_p_wxPyTextShape", 0, "wxPyTextShape *", 0},{"_p_wxPyTextShape"},{0}};
27599 static swig_type_info _swigt__p_wxPyDividedShape
[] = {{"_p_wxPyDividedShape", 0, "wxPyDividedShape *", 0},{"_p_wxPyDividedShape"},{0}};
27601 static swig_type_info
*swig_types_initial
[] = {
27602 _swigt__p_wxOGLConstraint
,
27604 _swigt__p_wxColour
,
27605 _swigt__p_wxShapeRegion
,
27607 _swigt__p_wxRealPoint
,
27608 _swigt__p_wxPyControlPoint
,
27609 _swigt__p_wxArrowHead
,
27610 _swigt__p_wxStringList
,
27615 _swigt__p_wxScrolledWindow
,
27616 _swigt__p_wxWindow
,
27618 _swigt__p_wxPyDivisionShape
,
27619 _swigt__p_wxPyDrawnShape
,
27620 _swigt__p_wxPyPolygonShape
,
27621 _swigt__p_wxBitmap
,
27622 _swigt__p_wxObject
,
27623 _swigt__p_wxPyBitmapShape
,
27624 _swigt__p_wxString
,
27625 _swigt__p_wxPyShapeEvtHandler
,
27626 _swigt__p_wxEvtHandler
,
27627 _swigt__p_wxPyEllipseShape
,
27628 _swigt__p_wxPyShapeCanvas
,
27630 _swigt__p_wxDiagram
,
27631 _swigt__p_wxPyShape
,
27632 _swigt__p_wxClassInfo
,
27633 _swigt__p_wxPyLineShape
,
27634 _swigt__p_wxPyRectangleShape
,
27635 _swigt__p_wxPyCompositeShape
,
27636 _swigt__p_wxPyCircleShape
,
27639 _swigt__p_wxPseudoMetaFile
,
27640 _swigt__p_wxPyTextShape
,
27641 _swigt__p_wxPyDividedShape
,
27646 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
27648 static swig_const_info swig_const_table
[] = {
27649 { SWIG_PY_INT
, (char *)"oglMETAFLAGS_OUTLINE", (long) oglMETAFLAGS_OUTLINE
, 0, 0, 0},
27650 { SWIG_PY_INT
, (char *)"oglMETAFLAGS_ATTACHMENTS", (long) oglMETAFLAGS_ATTACHMENTS
, 0, 0, 0},
27651 { SWIG_PY_INT
, (char *)"KEY_SHIFT", (long) KEY_SHIFT
, 0, 0, 0},
27652 { SWIG_PY_INT
, (char *)"KEY_CTRL", (long) KEY_CTRL
, 0, 0, 0},
27653 { SWIG_PY_INT
, (char *)"ARROW_NONE", (long) ARROW_NONE
, 0, 0, 0},
27654 { SWIG_PY_INT
, (char *)"ARROW_END", (long) ARROW_END
, 0, 0, 0},
27655 { SWIG_PY_INT
, (char *)"ARROW_BOTH", (long) ARROW_BOTH
, 0, 0, 0},
27656 { SWIG_PY_INT
, (char *)"ARROW_MIDDLE", (long) ARROW_MIDDLE
, 0, 0, 0},
27657 { SWIG_PY_INT
, (char *)"ARROW_START", (long) ARROW_START
, 0, 0, 0},
27658 { SWIG_PY_INT
, (char *)"ARROW_HOLLOW_CIRCLE", (long) ARROW_HOLLOW_CIRCLE
, 0, 0, 0},
27659 { SWIG_PY_INT
, (char *)"ARROW_FILLED_CIRCLE", (long) ARROW_FILLED_CIRCLE
, 0, 0, 0},
27660 { SWIG_PY_INT
, (char *)"ARROW_ARROW", (long) ARROW_ARROW
, 0, 0, 0},
27661 { SWIG_PY_INT
, (char *)"ARROW_SINGLE_OBLIQUE", (long) ARROW_SINGLE_OBLIQUE
, 0, 0, 0},
27662 { SWIG_PY_INT
, (char *)"ARROW_DOUBLE_OBLIQUE", (long) ARROW_DOUBLE_OBLIQUE
, 0, 0, 0},
27663 { SWIG_PY_INT
, (char *)"ARROW_METAFILE", (long) ARROW_METAFILE
, 0, 0, 0},
27664 { SWIG_PY_INT
, (char *)"ARROW_POSITION_END", (long) ARROW_POSITION_END
, 0, 0, 0},
27665 { SWIG_PY_INT
, (char *)"ARROW_POSITION_START", (long) ARROW_POSITION_START
, 0, 0, 0},
27666 { SWIG_PY_INT
, (char *)"CONTROL_POINT_VERTICAL", (long) CONTROL_POINT_VERTICAL
, 0, 0, 0},
27667 { SWIG_PY_INT
, (char *)"CONTROL_POINT_HORIZONTAL", (long) CONTROL_POINT_HORIZONTAL
, 0, 0, 0},
27668 { SWIG_PY_INT
, (char *)"CONTROL_POINT_DIAGONAL", (long) CONTROL_POINT_DIAGONAL
, 0, 0, 0},
27669 { SWIG_PY_INT
, (char *)"CONTROL_POINT_ENDPOINT_TO", (long) CONTROL_POINT_ENDPOINT_TO
, 0, 0, 0},
27670 { SWIG_PY_INT
, (char *)"CONTROL_POINT_ENDPOINT_FROM", (long) CONTROL_POINT_ENDPOINT_FROM
, 0, 0, 0},
27671 { SWIG_PY_INT
, (char *)"CONTROL_POINT_LINE", (long) CONTROL_POINT_LINE
, 0, 0, 0},
27672 { SWIG_PY_INT
, (char *)"FORMAT_NONE", (long) FORMAT_NONE
, 0, 0, 0},
27673 { SWIG_PY_INT
, (char *)"FORMAT_CENTRE_HORIZ", (long) FORMAT_CENTRE_HORIZ
, 0, 0, 0},
27674 { SWIG_PY_INT
, (char *)"FORMAT_CENTRE_VERT", (long) FORMAT_CENTRE_VERT
, 0, 0, 0},
27675 { SWIG_PY_INT
, (char *)"FORMAT_SIZE_TO_CONTENTS", (long) FORMAT_SIZE_TO_CONTENTS
, 0, 0, 0},
27676 { SWIG_PY_INT
, (char *)"LINE_ALIGNMENT_HORIZ", (long) LINE_ALIGNMENT_HORIZ
, 0, 0, 0},
27677 { SWIG_PY_INT
, (char *)"LINE_ALIGNMENT_VERT", (long) LINE_ALIGNMENT_VERT
, 0, 0, 0},
27678 { SWIG_PY_INT
, (char *)"LINE_ALIGNMENT_TO_NEXT_HANDLE", (long) LINE_ALIGNMENT_TO_NEXT_HANDLE
, 0, 0, 0},
27679 { SWIG_PY_INT
, (char *)"LINE_ALIGNMENT_NONE", (long) LINE_ALIGNMENT_NONE
, 0, 0, 0},
27680 { SWIG_PY_INT
, (char *)"SHADOW_NONE", (long) SHADOW_NONE
, 0, 0, 0},
27681 { SWIG_PY_INT
, (char *)"SHADOW_LEFT", (long) SHADOW_LEFT
, 0, 0, 0},
27682 { SWIG_PY_INT
, (char *)"SHADOW_RIGHT", (long) SHADOW_RIGHT
, 0, 0, 0},
27683 { SWIG_PY_INT
, (char *)"OP_CLICK_LEFT", (long) OP_CLICK_LEFT
, 0, 0, 0},
27684 { SWIG_PY_INT
, (char *)"OP_CLICK_RIGHT", (long) OP_CLICK_RIGHT
, 0, 0, 0},
27685 { SWIG_PY_INT
, (char *)"OP_DRAG_LEFT", (long) OP_DRAG_LEFT
, 0, 0, 0},
27686 { SWIG_PY_INT
, (char *)"OP_DRAG_RIGHT", (long) OP_DRAG_RIGHT
, 0, 0, 0},
27687 { SWIG_PY_INT
, (char *)"OP_ALL", (long) OP_ALL
, 0, 0, 0},
27688 { SWIG_PY_INT
, (char *)"ATTACHMENT_MODE_NONE", (long) ATTACHMENT_MODE_NONE
, 0, 0, 0},
27689 { SWIG_PY_INT
, (char *)"ATTACHMENT_MODE_EDGE", (long) ATTACHMENT_MODE_EDGE
, 0, 0, 0},
27690 { SWIG_PY_INT
, (char *)"ATTACHMENT_MODE_BRANCHING", (long) ATTACHMENT_MODE_BRANCHING
, 0, 0, 0},
27691 { SWIG_PY_INT
, (char *)"BRANCHING_ATTACHMENT_NORMAL", (long) BRANCHING_ATTACHMENT_NORMAL
, 0, 0, 0},
27692 { SWIG_PY_INT
, (char *)"BRANCHING_ATTACHMENT_BLOB", (long) BRANCHING_ATTACHMENT_BLOB
, 0, 0, 0},
27693 { SWIG_PY_INT
, (char *)"gyCONSTRAINT_CENTRED_VERTICALLY", (long) gyCONSTRAINT_CENTRED_VERTICALLY
, 0, 0, 0},
27694 { SWIG_PY_INT
, (char *)"gyCONSTRAINT_CENTRED_HORIZONTALLY", (long) gyCONSTRAINT_CENTRED_HORIZONTALLY
, 0, 0, 0},
27695 { SWIG_PY_INT
, (char *)"gyCONSTRAINT_CENTRED_BOTH", (long) gyCONSTRAINT_CENTRED_BOTH
, 0, 0, 0},
27696 { SWIG_PY_INT
, (char *)"gyCONSTRAINT_LEFT_OF", (long) gyCONSTRAINT_LEFT_OF
, 0, 0, 0},
27697 { SWIG_PY_INT
, (char *)"gyCONSTRAINT_RIGHT_OF", (long) gyCONSTRAINT_RIGHT_OF
, 0, 0, 0},
27698 { SWIG_PY_INT
, (char *)"gyCONSTRAINT_ABOVE", (long) gyCONSTRAINT_ABOVE
, 0, 0, 0},
27699 { SWIG_PY_INT
, (char *)"gyCONSTRAINT_BELOW", (long) gyCONSTRAINT_BELOW
, 0, 0, 0},
27700 { SWIG_PY_INT
, (char *)"gyCONSTRAINT_ALIGNED_TOP", (long) gyCONSTRAINT_ALIGNED_TOP
, 0, 0, 0},
27701 { SWIG_PY_INT
, (char *)"gyCONSTRAINT_ALIGNED_BOTTOM", (long) gyCONSTRAINT_ALIGNED_BOTTOM
, 0, 0, 0},
27702 { SWIG_PY_INT
, (char *)"gyCONSTRAINT_ALIGNED_LEFT", (long) gyCONSTRAINT_ALIGNED_LEFT
, 0, 0, 0},
27703 { SWIG_PY_INT
, (char *)"gyCONSTRAINT_ALIGNED_RIGHT", (long) gyCONSTRAINT_ALIGNED_RIGHT
, 0, 0, 0},
27704 { SWIG_PY_INT
, (char *)"gyCONSTRAINT_MIDALIGNED_TOP", (long) gyCONSTRAINT_MIDALIGNED_TOP
, 0, 0, 0},
27705 { SWIG_PY_INT
, (char *)"gyCONSTRAINT_MIDALIGNED_BOTTOM", (long) gyCONSTRAINT_MIDALIGNED_BOTTOM
, 0, 0, 0},
27706 { SWIG_PY_INT
, (char *)"gyCONSTRAINT_MIDALIGNED_LEFT", (long) gyCONSTRAINT_MIDALIGNED_LEFT
, 0, 0, 0},
27707 { SWIG_PY_INT
, (char *)"gyCONSTRAINT_MIDALIGNED_RIGHT", (long) gyCONSTRAINT_MIDALIGNED_RIGHT
, 0, 0, 0},
27708 { SWIG_PY_INT
, (char *)"DIVISION_SIDE_NONE", (long) DIVISION_SIDE_NONE
, 0, 0, 0},
27709 { SWIG_PY_INT
, (char *)"DIVISION_SIDE_LEFT", (long) DIVISION_SIDE_LEFT
, 0, 0, 0},
27710 { SWIG_PY_INT
, (char *)"DIVISION_SIDE_TOP", (long) DIVISION_SIDE_TOP
, 0, 0, 0},
27711 { SWIG_PY_INT
, (char *)"DIVISION_SIDE_RIGHT", (long) DIVISION_SIDE_RIGHT
, 0, 0, 0},
27712 { SWIG_PY_INT
, (char *)"DIVISION_SIDE_BOTTOM", (long) DIVISION_SIDE_BOTTOM
, 0, 0, 0},
27722 SWIGEXPORT(void) SWIG_init(void) {
27723 static PyObject
*SWIG_globals
= 0;
27724 static int typeinit
= 0;
27727 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
27728 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
27729 d
= PyModule_GetDict(m
);
27732 for (i
= 0; swig_types_initial
[i
]; i
++) {
27733 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
27737 SWIG_InstallConstants(d
,swig_const_table
);
27741 // initoglbasicc();
27742 // initoglshapesc();
27743 // initoglshapes2c();
27744 // initoglcanvasc();
27747 wxPyPtrTypeMap_Add("wxControlPoint", "wxPyControlPoint");
27748 wxPyPtrTypeMap_Add("wxShapeCanvas", "wxPyShapeCanvas");
27749 wxPyPtrTypeMap_Add("wxShapeEvtHandler", "wxPyShapeEvtHandler");
27750 wxPyPtrTypeMap_Add("wxShape", "wxPyShape");
27751 wxPyPtrTypeMap_Add("wxRectangleShape", "wxPyRectangleShape");
27752 wxPyPtrTypeMap_Add("wxDrawnShape", "wxPyDrawnShape");
27753 wxPyPtrTypeMap_Add("wxCompositeShape", "wxPyCompositeShape");
27754 wxPyPtrTypeMap_Add("wxDividedShape", "wxPyDividedShape");
27755 wxPyPtrTypeMap_Add("wxDivisionShape", "wxPyDivisionShape");
27756 wxPyPtrTypeMap_Add("wxEllipseShape", "wxPyEllipseShape");
27757 wxPyPtrTypeMap_Add("wxCircleShape", "wxPyCircleShape");
27758 wxPyPtrTypeMap_Add("wxLineShape", "wxPyLineShape");
27759 wxPyPtrTypeMap_Add("wxPolygonShape", "wxPyPolygonShape");
27760 wxPyPtrTypeMap_Add("wxTextShape", "wxPyTextShape");